
/* WARNING: Removing unreachable block (ram,0x000a24cd) */

int sqlite3VdbeExec(Vdbe *p)

{
  sqlite3 *db;
  _func_int_void_ptr *p_Var1;
  yDbMask yVar2;
  Db *pDVar3;
  Btree *p_00;
  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var4;
  Vdbe *pVVar5;
  int iVar6;
  char *pcVar7;
  int iVar8;
  uint uVar9;
  Op *pOVar10;
  void *pKey;
  int unaff_EDI;
  void *pKey_1;
  int iVar11;
  int in_GS_OFFSET;
  bool bVar12;
  uint local_1cc;
  uint uVar13;
  int iVar14;
  Vdbe *p_01;
  uint uVar15;
  uint local_1b4;
  uint local_1b0;
  MergeEngine *pRoot;
  MergeEngine *pMerger;
  IncrMerger *pIncr;
  u32 t;
  Mem sMem;
  sqlite3_context ctx;
  char zErr [100];
  RowSetEntry *p_1;
  
  pVVar5 = (Vdbe *)__x86_get_pc_thunk_di();
  iVar11 = unaff_EDI + 0x63db7;
  db = pVVar5->db;
  iVar14 = *(int *)(in_GS_OFFSET + 0x14);
  pOVar10 = pVVar5->aOp;
  p_01 = pVVar5;
  if (pVVar5->lockMask != 0) {
    iVar6 = db->nDb;
    pDVar3 = db->aDb;
    if (0 < iVar6) {
      iVar8 = 0;
      do {
        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&
            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&
           ((p_00->sharable != '\0' &&
            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {
          btreeLockCarefully(p_00);
        }
        iVar8 = iVar8 + 1;
      } while (iVar6 != iVar8);
    }
  }
  local_1b4 = 0xffffffff;
  local_1b0 = 0xffffffff;
  if (db->xProgress != (_func_int_void_ptr *)0x0) {
    local_1b0 = 0;
    local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;
  }
  if (p_01->rc == 7) {
    uVar13 = 0;
    uVar15._0_1_ = db->temp_store;
    uVar15._1_1_ = db->mallocFailed;
    uVar15._2_1_ = db->bBenignMalloc;
    uVar15._3_1_ = db->dfltLockMode;
    if ((uVar15 & 0xffff00) == 0) {
      sqlite3OomFault(db);
    }
    sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756));
    uVar15 = 7;
  }
  else {
    p_01->rc = 0;
    *(undefined4 *)&p_01->iCurrentTime = 0;
    *(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;
    p_01->pResultSet = (Mem *)0x0;
    (db->busyHandler).nBusy = 0;
    if ((db->u1).isInterrupted == 0) {
      local_1cc = 0;
      iVar14 = 0;
      pOVar10 = pOVar10 + p_01->pc;
      while( true ) {
        bVar12 = 0xfffffffe < local_1cc;
        local_1cc = local_1cc + 1;
        iVar14 = iVar14 + (uint)bVar12;
        if (pOVar10->opcode < 0xab) break;
        pOVar10 = pOVar10 + 1;
      }
                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))
                         (iVar14,iVar11,p_01,0);
      return iVar14;
    }
    uVar13 = 0;
    uVar15 = 9;
  }
  do {
    pcVar7 = p_01->zErrMsg;
    if (db->mallocFailed == '\0') {
      if (pcVar7 == (char *)0x0) {
        if (uVar15 != 0xc0a) {
          uVar9 = uVar15 & 0xfb;
          goto LAB_000a2c5d;
        }
        p_01->rc = 0xc0a;
      }
      else {
        p_01->rc = uVar15;
        if (uVar15 != 0xc0a) {
          uVar9 = uVar15 & 0xfb;
          goto LAB_000a2c1e;
        }
      }
      pVVar5 = p_01;
      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);
      sqlite3VdbeHalt(p_01);
      uVar9._0_1_ = db->temp_store;
      uVar9._1_1_ = db->mallocFailed;
      uVar9._2_1_ = db->bBenignMalloc;
      uVar9._3_1_ = db->dfltLockMode;
      p_01 = pVVar5;
      if ((uVar9 & 0xffff00) == 0) {
        sqlite3OomFault(db);
        p_01 = pVVar5;
      }
    }
    else {
      if (pcVar7 == (char *)0x0) {
        uVar9 = 3;
        uVar15 = 7;
LAB_000a2c5d:
        pcVar7 = sqlite3ErrStr(uVar15);
        pVVar5 = p_01;
        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);
        p_01->rc = uVar15;
        p_01 = pVVar5;
LAB_000a2c1e:
        if (uVar9 == 10) {
          p_Var4 = db->pVfs->xGetLastError;
          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {
            iVar6 = 0;
          }
          else {
            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);
          }
          db->iSysErrno = iVar6;
        }
      }
      else {
        uVar15 = 7;
        p_01->rc = 7;
      }
      pVVar5 = p_01;
      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);
      sqlite3VdbeHalt(p_01);
      p_01 = pVVar5;
    }
    if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) {
LAB_000a2422:
      yVar2 = p_01->lockMask;
      p_01->aCounter[4] = p_01->aCounter[4];
      if (yVar2 != 0) {
        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);
      }
      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        __stack_chk_fail_local();
      }
      return 1;
    }
    p_Var1 = db->xProgress;
    while( true ) {
      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;
      bVar12 = CARRY4(local_1b4,db->nProgressOps);
      local_1b4 = local_1b4 + db->nProgressOps;
      local_1b0 = local_1b0 + bVar12;
      iVar6 = (*p_Var1)(db->pProgressArg);
      if (iVar6 != 0) break;
      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;
      p_Var1 = db->xProgress;
    }
    uVar15 = 9;
    local_1b4 = 0xffffffff;
    local_1b0 = 0xffffffff;
  } while( true );
}



/* WARNING: Removing unreachable block (ram,0x000a24cd) */

undefined4 FUN_000a2240(void)

{
  int *piVar1;
  code *pcVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int iVar7;
  undefined4 uVar8;
  int iVar9;
  uint uVar10;
  byte *pbVar11;
  int unaff_EDI;
  int iVar12;
  int in_GS_OFFSET;
  bool bVar13;
  uint local_1cc;
  uint uVar14;
  int iVar15;
  int *piVar16;
  uint uVar17;
  uint local_1b4;
  uint local_1b0;
  
  piVar6 = (int *)FUN_000d0aaf();
  iVar12 = unaff_EDI + 0x63db7;
  piVar1 = (int *)*piVar6;
  iVar15 = *(int *)(in_GS_OFFSET + 0x14);
  iVar7 = piVar6[0x19];
  piVar16 = piVar6;
  if (piVar6[0x25] != 0) {
    iVar3 = piVar1[5];
    iVar4 = piVar1[4];
    if (0 < iVar3) {
      iVar9 = 0;
      do {
        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&
            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&
           ((*(char *)(iVar5 + 9) != '\0' &&
            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {
          FUN_00024a50();
        }
        iVar9 = iVar9 + 1;
      } while (iVar3 != iVar9);
    }
  }
  local_1b4 = 0xffffffff;
  local_1b0 = 0xffffffff;
  if (piVar1[0x54] != 0) {
    local_1b0 = 0;
    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];
  }
  if (piVar16[10] == 7) {
    uVar14 = 0;
    if ((piVar1[0x13] & 0xffff00U) == 0) {
      FUN_000265f0();
    }
    FUN_00048e30(piVar16,iVar12 + -0x34756);
    uVar17 = 7;
  }
  else {
    piVar16[10] = 0;
    piVar16[0xd] = 0;
    piVar16[0xe] = 0;
    piVar16[0x1d] = 0;
    piVar1[0x69] = 0;
    if (piVar1[0x42] == 0) {
      local_1cc = 0;
      iVar15 = 0;
      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);
      while( true ) {
        bVar13 = 0xfffffffe < local_1cc;
        local_1cc = local_1cc + 1;
        iVar15 = iVar15 + (uint)bVar13;
        if (*pbVar11 < 0xab) break;
        pbVar11 = pbVar11 + 0x14;
      }
                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))
                        (iVar15,iVar12,piVar16,0);
      return uVar8;
    }
    uVar14 = 0;
    uVar17 = 9;
  }
  do {
    iVar7 = piVar16[0x1e];
    if (*(char *)((int)piVar1 + 0x4d) == '\0') {
      if (iVar7 == 0) {
        if (uVar17 != 0xc0a) {
          uVar10 = uVar17 & 0xfb;
          goto LAB_000a2c5d;
        }
        piVar16[10] = 0xc0a;
      }
      else {
        piVar16[10] = uVar17;
        if (uVar17 != 0xc0a) {
          uVar10 = uVar17 & 0xfb;
          goto LAB_000a2c1e;
        }
      }
      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);
      FUN_0008a3b0();
      if ((piVar1[0x13] & 0xffff00U) == 0) {
        FUN_000265f0();
      }
    }
    else {
      if (iVar7 == 0) {
        uVar10 = 3;
        uVar17 = 7;
LAB_000a2c5d:
        uVar8 = FUN_00027de0();
        piVar6 = piVar16;
        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);
        piVar16[10] = uVar17;
        piVar16 = piVar6;
LAB_000a2c1e:
        if (uVar10 == 10) {
          pcVar2 = *(code **)(*piVar1 + 0x44);
          if (pcVar2 == (code *)0x0) {
            iVar7 = 0;
          }
          else {
            iVar7 = (*pcVar2)(*piVar1,0,0);
          }
          piVar1[0x11] = iVar7;
        }
      }
      else {
        uVar17 = 7;
        piVar16[10] = 7;
      }
      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);
      FUN_0008a3b0();
    }
    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {
LAB_000a2422:
      piVar16[0x2a] = piVar16[0x2a];
      if (piVar16[0x25] != 0) {
        FUN_00029ff0();
      }
      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_000d1450();
      }
      return 1;
    }
    pcVar2 = (code *)piVar1[0x54];
    while( true ) {
      if (pcVar2 == (code *)0x0) goto LAB_000a2422;
      bVar13 = CARRY4(local_1b4,piVar1[0x56]);
      local_1b4 = local_1b4 + piVar1[0x56];
      local_1b0 = local_1b0 + bVar13;
      iVar7 = (*pcVar2)(piVar1[0x55]);
      if (iVar7 != 0) break;
      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;
      pcVar2 = (code *)piVar1[0x54];
    }
    uVar17 = 9;
    local_1b4 = 0xffffffff;
    local_1b0 = 0xffffffff;
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000d0aaf
ADD EDI,0x63db7
SUB ESP,0x1bc
MOV dword ptr [ESP + 0x8],EDI
MOV EDI,EAX
MOV dword ptr [ESP + 0xc],EAX
MOV ESI,dword ptr [EDI]
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1ac],EAX
XOR EAX,EAX
MOV EAX,dword ptr [EDI + 0x64]
MOV dword ptr [ESP + 0x20],EAX
MOVZX EAX,byte ptr [ESI + 0x4a]
MOV byte ptr [ESP + 0x3f],AL
MOV EAX,EDI
MOV EDI,dword ptr [EDI + 0x54]
MOV EBP,dword ptr [EAX + 0x94]
MOV dword ptr [ESP + 0x38],EDI
TEST EBP,EBP
JNZ 0x000a2730
MOV EDI,dword ptr [ESI + 0x150]
MOV dword ptr [ESP + 0x18],0xffffffff
MOV dword ptr [ESP + 0x1c],0xffffffff
TEST EDI,EDI
JZ 0x000a22d2
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESI + 0x158]
XOR EDX,EDX
MOV dword ptr [ESP + 0x1c],0x0
MOV EAX,dword ptr [EAX + 0xa8]
DIV ECX
SUB ECX,EDX
MOV dword ptr [ESP + 0x18],ECX
MOV EDI,dword ptr [ESP + 0xc]
CMP dword ptr [EDI + 0x28],0x7
JNZ 0x000a2500
MOV EAX,dword ptr [ESP + 0x20]
XOR EDI,EDI
XOR EBX,EBX
MOV dword ptr [ESP],0x0
MOV dword ptr [ESP + 0x4],0x0
MOV byte ptr [ESP + 0x3e],0x0
MOV dword ptr [ESP + 0x28],EAX
TEST dword ptr [ESI + 0x4c],0xffff00
JZ 0x000a2800
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffcb8aa]
PUSH EAX
PUSH dword ptr [ESP + 0x18]
CALL 0x00048e30
ADD ESP,0x10
MOV dword ptr [ESP + 0x10],0x7
CMP byte ptr [ESI + 0x4d],0x0
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX + 0x78]
JNZ 0x000a2470
TEST EAX,EAX
JZ 0x000a2c98
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0xc]
CMP EDX,0xc0a
MOV dword ptr [ECX + 0x28],EDX
JNZ 0x000a2c18
SUB ESP,0xc
PUSH EAX
MOV EBP,dword ptr [ESP + 0x1c]
PUSH dword ptr [EBP + 0xb4]
PUSH EBX
MOV EBX,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0xfffcee08]
PUSH EAX
PUSH 0xc0a
CALL 0x00016ab0
ADD ESP,0x20
MOV EAX,EBP
CALL 0x0008a3b0
TEST dword ptr [ESI + 0x4c],0xffff00
JZ 0x000a2cc0
CMP byte ptr [ESP + 0x3e],0x0
MOV dword ptr [ESP + 0x30],0x1
JNZ 0x000a24cd
MOV EBX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP]
CMP EDX,EBX
JC 0x000a2422
JA 0x000a23c6
CMP EAX,ECX
JC 0x000a2422
MOV ECX,dword ptr [ESI + 0x150]
TEST ECX,ECX
JZ 0x000a2422
MOV EBP,ESI
MOV EBX,EDI
MOV ESI,dword ptr [ESP + 0x18]
MOV EDI,dword ptr [ESP + 0x1c]
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP + 0x158]
XOR EDX,EDX
ADD ESI,EAX
ADC EDI,EDX
SUB ESP,0xc
PUSH dword ptr [EBP + 0x154]
CALL ECX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000a2798
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP]
CMP EDI,EDX
JA 0x000a2420
JC 0x000a24e8
CMP ESI,EAX
JBE 0x000a24e8
NOP
LEA ESI,[ESI]
MOV EDI,EBX
MOV EAX,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [EAX + 0x94]
ADD dword ptr [EAX + 0xa8],EDI
TEST EBX,EBX
JZ 0x000a2443
LEA EDX,[EAX + 0x94]
MOV EAX,dword ptr [EAX]
CALL 0x00029ff0
MOV ESI,dword ptr [ESP + 0x1ac]
XOR ESI,dword ptr GS:[0x14]
MOV EAX,dword ptr [ESP + 0x30]
JNZ 0x000addac
ADD ESP,0x1bc
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EAX,EAX
JZ 0x000a2c50
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x10],0x7
MOV dword ptr [EAX + 0x28],0x7
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x18]
PUSH dword ptr [EBP + 0x78]
PUSH dword ptr [EBP + 0xb4]
PUSH EBX
MOV EBX,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0xfffcee08]
PUSH EAX
PUSH dword ptr [ESP + 0x2c]
CALL 0x00016ab0
ADD ESP,0x20
MOV EAX,EBP
CALL 0x0008a3b0
CMP byte ptr [ESP + 0x3e],0x0
MOV dword ptr [ESP + 0x30],0x1
JZ 0x000a23ad
MOVZX EDX,byte ptr [ESP + 0x3e]
MOV EAX,ESI
SUB EDX,0x1
CALL 0x00058140
JMP 0x000a23ad
MOV ECX,dword ptr [EBP + 0x150]
TEST ECX,ECX
JNZ 0x000a23e0
JMP 0x000a2420
LEA EAX,[ESI + 0x108]
MOV dword ptr [EDI + 0x28],0x0
MOV dword ptr [EDI + 0x34],0x0
MOV dword ptr [EDI + 0x38],0x0
MOV dword ptr [EDI + 0x74],0x0
MOV dword ptr [ESP + 0x40],EAX
MOV dword ptr [ESI + 0x1a4],0x0
MOV EAX,dword ptr [ESI + 0x108]
TEST EAX,EAX
JNZ 0x000a27d0
MOV EAX,dword ptr [EDI + 0x24]
MOV EDI,dword ptr [ESP + 0x20]
MOV dword ptr [ESP],0x0
MOV dword ptr [ESP + 0x4],0x0
MOV dword ptr [ESP + 0x50],0x0
MOV byte ptr [ESP + 0x3e],0x0
LEA EAX,[EAX + EAX*0x4]
MOV dword ptr [ESP + 0x10],0x0
MOV dword ptr [ESP + 0x24],ESI
LEA EBP,[EDI + EAX*0x4]
MOVZX EAX,byte ptr [ESP + 0x3f]
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [EAX + 0xffffffe0]
MOV dword ptr [ESP + 0x68],EAX
LEA ESI,[ESI]
MOVZX EBX,byte ptr [EBP]
ADD dword ptr [ESP],0x1
ADC dword ptr [ESP + 0x4],0x0
CMP BL,0xaa
MOV ECX,EBX
JA 0x000a2720
MOV EAX,dword ptr [ESP + 0x8]
ADD EAX,dword ptr [EAX + EBX*0x4 + 0xfffd1aa4]
JMP EAX
ADD EBP,0x14
JMP 0x000a2590
MOV EBX,dword ptr [ESI + 0x14]
MOV EDI,dword ptr [ESI + 0x10]
TEST EBX,EBX
JLE 0x000a2296
XOR ECX,ECX
MOV EBP,EAX
JMP 0x000a2753
ADD ECX,0x1
CMP EBX,ECX
JZ 0x000a2296
CMP ECX,0x1
JZ 0x000a2748
MOV EAX,0x1
SHL EAX,CL
TEST dword ptr [EBP + 0x94],EAX
JZ 0x000a2748
MOV EAX,ECX
SHL EAX,0x4
MOV EAX,dword ptr [EDI + EAX*0x1 + 0x4]
TEST EAX,EAX
JZ 0x000a2748
CMP byte ptr [EAX + 0x9],0x0
JZ 0x000a2748
ADD dword ptr [EAX + 0xc],0x1
CMP byte ptr [EAX + 0xa],0x0
JNZ 0x000a2748
MOV dword ptr [ESP],ECX
CALL 0x00024a50
MOV ECX,dword ptr [ESP]
JMP 0x000a2748
MOV EDI,EBX
MOV EBX,dword ptr [ESP + 0x28]
SUB EBX,dword ptr [ESP + 0x20]
MOV ESI,EBP
MOV dword ptr [ESP + 0x10],0x9
MOV dword ptr [ESP + 0x18],0xffffffff
MOV dword ptr [ESP + 0x1c],0xffffffff
SAR EBX,0x2
IMUL EBX,EBX,-0x33333333
JMP 0x000a232f
MOV EAX,dword ptr [ESP + 0x20]
XOR EDI,EDI
XOR EBX,EBX
MOV dword ptr [ESP],0x0
MOV dword ptr [ESP + 0x4],0x0
MOV byte ptr [ESP + 0x3e],0x0
MOV dword ptr [ESP + 0x10],0x9
MOV dword ptr [ESP + 0x28],EAX
JMP 0x000a232f
MOV EAX,ESI
CALL 0x000265f0
JMP 0x000a230d
AND EDX,0xfb
CMP EDX,0xa
JNZ 0x000a248b
MOV EDX,dword ptr [ESI]
MOV EAX,dword ptr [EDX + 0x44]
TEST EAX,EAX
JZ 0x000a8540
SUB ESP,0x4
PUSH 0x0
PUSH 0x0
PUSH EDX
CALL EAX
ADD ESP,0x10
MOV dword ptr [ESI + 0x44],EAX
JMP 0x000a248b
MOV EDX,0x3
MOV dword ptr [ESP + 0x10],0x7
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x24],EDX
CALL 0x00027de0
SUB ESP,0x4
PUSH EAX
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffcb760]
PUSH EAX
MOV EBP,dword ptr [ESP + 0x18]
PUSH EBP
CALL 0x00048e30
MOV EDX,dword ptr [ESP + 0x20]
ADD ESP,0x10
MOV dword ptr [EBP + 0x28],EDX
MOV EDX,dword ptr [ESP + 0x24]
JMP 0x000a2c1e
CMP dword ptr [ESP + 0x10],0xc0a
JNZ 0x000a77b0
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [EDX + 0x28],0xc0a
JMP 0x000a235f
MOV EAX,ESI
CALL 0x000265f0
JMP 0x000a239a
MOV EDX,dword ptr [ESP + 0x10]
AND EDX,0xfb
JMP 0x000a2c5d
XOR EAX,EAX
JMP 0x000a2c41
CALL 0x000d1450
(translation_unit "/* WARNING: Removing unreachable block (ram,0x000a24cd) */\n\nundefined4 FUN_000a2240(void)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}\n\n" comment (function_definition "undefined4 FUN_000a2240(void)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" type_identifier (function_declarator "FUN_000a2240(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "uint local_1cc;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint local_1b4;" type_identifier identifier ;) (declaration "uint local_1b0;" type_identifier identifier ;) (expression_statement "piVar6 = (int *)FUN_000d0aaf();" (assignment_expression "piVar6 = (int *)FUN_000d0aaf()" identifier = (cast_expression "(int *)FUN_000d0aaf()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000d0aaf()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar12 = unaff_EDI + 0x63db7;" (assignment_expression "iVar12 = unaff_EDI + 0x63db7" identifier = (binary_expression "unaff_EDI + 0x63db7" identifier + number_literal)) ;) (expression_statement "piVar1 = (int *)*piVar6;" (assignment_expression "piVar1 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (expression_statement "iVar15 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar15 = *(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 "iVar7 = piVar6[0x19];" (assignment_expression "iVar7 = piVar6[0x19]" identifier = (subscript_expression "piVar6[0x19]" identifier [ number_literal ])) ;) (expression_statement "piVar16 = piVar6;" (assignment_expression "piVar16 = piVar6" identifier = identifier) ;) (if_statement "if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }" if (parenthesized_expression "(piVar6[0x25] != 0)" ( (binary_expression "piVar6[0x25] != 0" (subscript_expression "piVar6[0x25]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }" { (expression_statement "iVar3 = piVar1[5];" (assignment_expression "iVar3 = piVar1[5]" identifier = (subscript_expression "piVar1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = piVar1[4];" (assignment_expression "iVar4 = piVar1[4]" identifier = (subscript_expression "piVar1[4]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);" do (compound_statement "{\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      }" { (if_statement "if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }" if (parenthesized_expression "((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'))))" ( (binary_expression "(((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))" (parenthesized_expression "(((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0))" ( (binary_expression "((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)" (parenthesized_expression "((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0))" ( (binary_expression "(iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)" (parenthesized_expression "(iVar9 != 1)" ( (binary_expression "iVar9 != 1" identifier != number_literal) )) && (parenthesized_expression "((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)" ( (binary_expression "(piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0" (parenthesized_expression "(piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f))" ( (binary_expression "piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)" (subscript_expression "piVar6[0x25]" identifier [ number_literal ]) & (binary_expression "1 << ((byte)iVar9 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar9 & 0x1f)" ( (binary_expression "(byte)iVar9 & 0x1f" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) )) != number_literal) ))) )) && (parenthesized_expression "(iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)" ( (comma_expression "iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0" (assignment_expression "iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10)" identifier = (pointer_expression "*(int *)(iVar4 + 4 + iVar9 * 0x10)" * (cast_expression "(int *)(iVar4 + 4 + iVar9 * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4 + iVar9 * 0x10)" ( (binary_expression "iVar4 + 4 + iVar9 * 0x10" (binary_expression "iVar4 + 4" identifier + number_literal) + (binary_expression "iVar9 * 0x10" identifier * number_literal)) ))))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))" ( (parenthesized_expression "(*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'))" ( (binary_expression "*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')" (binary_expression "*(char *)(iVar5 + 9) != '\0'" (pointer_expression "*(char *)(iVar5 + 9)" * (cast_expression "(char *)(iVar5 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 9)" ( (binary_expression "iVar5 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')" ( (comma_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'" (assignment_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar5 + 0xc) + 1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) + number_literal)) , (binary_expression "*(char *)(iVar5 + 10) == '\0'" (pointer_expression "*(char *)(iVar5 + 10)" * (cast_expression "(char *)(iVar5 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 10)" ( (binary_expression "iVar5 + 10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n          FUN_00024a50();\n        }" { (expression_statement "FUN_00024a50();" (call_expression "FUN_00024a50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != iVar9)" ( (binary_expression "iVar3 != iVar9" identifier != identifier) )) ;) })) })) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }" if (parenthesized_expression "(piVar1[0x54] != 0)" ( (binary_expression "piVar1[0x54] != 0" (subscript_expression "piVar1[0x54]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }" { (expression_statement "local_1b0 = 0;" (assignment_expression "local_1b0 = 0" identifier = number_literal) ;) (expression_statement "local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];" (assignment_expression "local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56]" identifier = (binary_expression "piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56]" (subscript_expression "piVar1[0x56]" identifier [ number_literal ]) - (binary_expression "(uint)piVar16[0x2a] % (uint)piVar1[0x56]" (cast_expression "(uint)piVar16[0x2a]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar16[0x2a]" identifier [ number_literal ])) % (cast_expression "(uint)piVar1[0x56]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[0x56]" identifier [ number_literal ]))))) ;) })) (if_statement "if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" if (parenthesized_expression "(piVar16[10] == 7)" ( (binary_expression "piVar16[10] == 7" (subscript_expression "piVar16[10]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (if_statement "if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }" if (parenthesized_expression "((piVar1[0x13] & 0xffff00U) == 0)" ( (binary_expression "(piVar1[0x13] & 0xffff00U) == 0" (parenthesized_expression "(piVar1[0x13] & 0xffff00U)" ( (binary_expression "piVar1[0x13] & 0xffff00U" (subscript_expression "piVar1[0x13]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_000265f0();\n    }" { (expression_statement "FUN_000265f0();" (call_expression "FUN_000265f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00048e30(piVar16,iVar12 + -0x34756);" (call_expression "FUN_00048e30(piVar16,iVar12 + -0x34756)" identifier (argument_list "(piVar16,iVar12 + -0x34756)" ( identifier , (binary_expression "iVar12 + -0x34756" identifier + number_literal) ))) ;) (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" else (compound_statement "{\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" { (expression_statement "piVar16[10] = 0;" (assignment_expression "piVar16[10] = 0" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar16[0xd] = 0;" (assignment_expression "piVar16[0xd] = 0" (subscript_expression "piVar16[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar16[0xe] = 0;" (assignment_expression "piVar16[0xe] = 0" (subscript_expression "piVar16[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar16[0x1d] = 0;" (assignment_expression "piVar16[0x1d] = 0" (subscript_expression "piVar16[0x1d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[0x69] = 0;" (assignment_expression "piVar1[0x69] = 0" (subscript_expression "piVar1[0x69]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }" if (parenthesized_expression "(piVar1[0x42] == 0)" ( (binary_expression "piVar1[0x42] == 0" (subscript_expression "piVar1[0x42]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }" { (expression_statement "local_1cc = 0;" (assignment_expression "local_1cc = 0" identifier = number_literal) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);" (assignment_expression "pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14)" identifier = (cast_expression "(byte *)(iVar7 + piVar16[9] * 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + piVar16[9] * 0x14)" ( (binary_expression "iVar7 + piVar16[9] * 0x14" identifier + (binary_expression "piVar16[9] * 0x14" (subscript_expression "piVar16[9]" identifier [ number_literal ]) * number_literal)) )))) ;) (while_statement "while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }" { (expression_statement "bVar13 = 0xfffffffe < local_1cc;" (assignment_expression "bVar13 = 0xfffffffe < local_1cc" identifier = (binary_expression "0xfffffffe < local_1cc" number_literal < identifier)) ;) (expression_statement "local_1cc = local_1cc + 1;" (assignment_expression "local_1cc = local_1cc + 1" identifier = (binary_expression "local_1cc + 1" identifier + number_literal)) ;) (expression_statement "iVar15 = iVar15 + (uint)bVar13;" (assignment_expression "iVar15 = iVar15 + (uint)bVar13" identifier = (binary_expression "iVar15 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (*pbVar11 < 0xab) break;" if (parenthesized_expression "(*pbVar11 < 0xab)" ( (binary_expression "*pbVar11 < 0xab" (pointer_expression "*pbVar11" * identifier) < number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar11 = pbVar11 + 0x14;" (assignment_expression "pbVar11 = pbVar11 + 0x14" identifier = (binary_expression "pbVar11 + 0x14" identifier + number_literal)) ;) })) comment comment (expression_statement "uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);" (assignment_expression "uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0)" identifier = (call_expression "(*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0)" (parenthesized_expression "(*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))" ( (pointer_expression "*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" * (cast_expression "(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" ( (binary_expression "iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" identifier + (pointer_expression "*(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" * (cast_expression "(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" ( (binary_expression "iVar12 + -0x2e55c + (uint)*pbVar11 * 4" (binary_expression "iVar12 + -0x2e55c" identifier + number_literal) + (binary_expression "(uint)*pbVar11 * 4" (binary_expression "(uint)*pbVar11" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) ))))) )))) )) (argument_list "(iVar15,iVar12,piVar16,0)" ( identifier , identifier , identifier , number_literal )))) ;) (return_statement "return uVar8;" return identifier ;) })) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "uVar17 = 9;" (assignment_expression "uVar17 = 9" identifier = number_literal) ;) }))) (do_statement "do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );" do (compound_statement "{\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  }" { (expression_statement "iVar7 = piVar16[0x1e];" (assignment_expression "iVar7 = piVar16[0x1e]" identifier = (subscript_expression "piVar16[0x1e]" identifier [ number_literal ])) ;) (if_statement "if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" if (parenthesized_expression "(*(char *)((int)piVar1 + 0x4d) == '\0')" ( (binary_expression "*(char *)((int)piVar1 + 0x4d) == '\0'" (pointer_expression "*(char *)((int)piVar1 + 0x4d)" * (cast_expression "(char *)((int)piVar1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x4d)" ( (binary_expression "(int)piVar1 + 0x4d" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }" { (if_statement "if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }" { (if_statement "if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }" if (parenthesized_expression "(uVar17 != 0xc0a)" ( (binary_expression "uVar17 != 0xc0a" identifier != number_literal) )) (compound_statement "{\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }" { (expression_statement "uVar10 = uVar17 & 0xfb;" (assignment_expression "uVar10 = uVar17 & 0xfb" identifier = (binary_expression "uVar17 & 0xfb" identifier & number_literal)) ;) (goto_statement "goto LAB_000a2c5d;" goto statement_identifier ;) })) (expression_statement "piVar16[10] = 0xc0a;" (assignment_expression "piVar16[10] = 0xc0a" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" else (compound_statement "{\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" { (expression_statement "piVar16[10] = uVar17;" (assignment_expression "piVar16[10] = uVar17" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }" if (parenthesized_expression "(uVar17 != 0xc0a)" ( (binary_expression "uVar17 != 0xc0a" identifier != number_literal) )) (compound_statement "{\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }" { (expression_statement "uVar10 = uVar17 & 0xfb;" (assignment_expression "uVar10 = uVar17 & 0xfb" identifier = (binary_expression "uVar17 & 0xfb" identifier & number_literal)) ;) (goto_statement "goto LAB_000a2c1e;" goto statement_identifier ;) })) }))) (expression_statement "sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);" (call_expression "sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7)" identifier (argument_list "(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7)" ( number_literal , (binary_expression "iVar12 + -0x311f8" identifier + number_literal) , number_literal , (subscript_expression "piVar16[0x2d]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "FUN_0008a3b0();" (call_expression "FUN_0008a3b0()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }" if (parenthesized_expression "((piVar1[0x13] & 0xffff00U) == 0)" ( (binary_expression "(piVar1[0x13] & 0xffff00U) == 0" (parenthesized_expression "(piVar1[0x13] & 0xffff00U)" ( (binary_expression "piVar1[0x13] & 0xffff00U" (subscript_expression "piVar1[0x13]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        FUN_000265f0();\n      }" { (expression_statement "FUN_000265f0();" (call_expression "FUN_000265f0()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" else (compound_statement "{\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" { (if_statement "if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }" { (expression_statement "uVar10 = 3;" (assignment_expression "uVar10 = 3" identifier = number_literal) ;) (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" identifier = number_literal) ;) (labeled_statement "LAB_000a2c5d:\n        uVar8 = FUN_00027de0();" statement_identifier : (expression_statement "uVar8 = FUN_00027de0();" (assignment_expression "uVar8 = FUN_00027de0()" identifier = (call_expression "FUN_00027de0()" identifier (argument_list "()" ( )))) ;)) (expression_statement "piVar6 = piVar16;" (assignment_expression "piVar6 = piVar16" identifier = identifier) ;) (expression_statement "FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);" (call_expression "FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8)" identifier (argument_list "(piVar16,iVar12 + -0x348a0,uVar8)" ( identifier , (binary_expression "iVar12 + -0x348a0" identifier + number_literal) , identifier ))) ;) (expression_statement "piVar16[10] = uVar17;" (assignment_expression "piVar16[10] = uVar17" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar16 = piVar6;" (assignment_expression "piVar16 = piVar6" identifier = identifier) ;) (labeled_statement "LAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" statement_identifier : (if_statement "if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" if (parenthesized_expression "(uVar10 == 10)" ( (binary_expression "uVar10 == 10" identifier == number_literal) )) (compound_statement "{\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" { (expression_statement "pcVar2 = *(code **)(*piVar1 + 0x44);" (assignment_expression "pcVar2 = *(code **)(*piVar1 + 0x44)" identifier = (pointer_expression "*(code **)(*piVar1 + 0x44)" * (cast_expression "(code **)(*piVar1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x44)" ( (binary_expression "*piVar1 + 0x44" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" if (parenthesized_expression "(pcVar2 == (code *)0x0)" ( (binary_expression "pcVar2 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar7 = 0;\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" else (compound_statement "{\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" { (expression_statement "iVar7 = (*pcVar2)(*piVar1,0,0);" (assignment_expression "iVar7 = (*pcVar2)(*piVar1,0,0)" identifier = (call_expression "(*pcVar2)(*piVar1,0,0)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(*piVar1,0,0)" ( (pointer_expression "*piVar1" * identifier) , number_literal , number_literal )))) ;) }))) (expression_statement "piVar1[0x11] = iVar7;" (assignment_expression "piVar1[0x11] = iVar7" (subscript_expression "piVar1[0x11]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" else (compound_statement "{\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" { (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" identifier = number_literal) ;) (expression_statement "piVar16[10] = 7;" (assignment_expression "piVar16[10] = 7" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);" (call_expression "sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e])" identifier (argument_list "(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e])" ( identifier , (binary_expression "iVar12 + -0x311f8" identifier + number_literal) , number_literal , (subscript_expression "piVar16[0x2d]" identifier [ number_literal ]) , (subscript_expression "piVar16[0x1e]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0008a3b0();" (call_expression "FUN_0008a3b0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }\n      return 1;\n    }" if (parenthesized_expression "((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0))))" ( (binary_expression "(uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar14 < local_1b0)" ( (binary_expression "uVar14 < local_1b0" identifier < identifier) )) || (parenthesized_expression "((uVar14 <= local_1b0 && (local_1b4 != 0)))" ( (parenthesized_expression "(uVar14 <= local_1b0 && (local_1b4 != 0))" ( (binary_expression "uVar14 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar14 <= local_1b0" identifier <= identifier) && (parenthesized_expression "(local_1b4 != 0)" ( (binary_expression "local_1b4 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }\n      return 1;\n    }" { (labeled_statement "LAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];" statement_identifier : (expression_statement "piVar16[0x2a] = piVar16[0x2a];" (assignment_expression "piVar16[0x2a] = piVar16[0x2a]" (subscript_expression "piVar16[0x2a]" identifier [ number_literal ]) = (subscript_expression "piVar16[0x2a]" identifier [ number_literal ])) ;)) (if_statement "if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }" if (parenthesized_expression "(piVar16[0x25] != 0)" ( (binary_expression "piVar16[0x25] != 0" (subscript_expression "piVar16[0x25]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00029ff0();\n      }" { (expression_statement "FUN_00029ff0();" (call_expression "FUN_00029ff0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }" if (parenthesized_expression "(iVar15 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar15 != *(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                    /* WARNING: Subroutine does not return */\n        FUN_000d1450();\n      }" { comment (expression_statement "FUN_000d1450();" (call_expression "FUN_000d1450()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar2 = (code *)piVar1[0x54];" (assignment_expression "pcVar2 = (code *)piVar1[0x54]" identifier = (cast_expression "(code *)piVar1[0x54]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[0x54]" identifier [ number_literal ]))) ;) (while_statement "while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }" { (if_statement "if (pcVar2 == (code *)0x0) goto LAB_000a2422;" if (parenthesized_expression "(pcVar2 == (code *)0x0)" ( (binary_expression "pcVar2 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000a2422;" goto statement_identifier ;)) (expression_statement "bVar13 = CARRY4(local_1b4,piVar1[0x56]);" (assignment_expression "bVar13 = CARRY4(local_1b4,piVar1[0x56])" identifier = (call_expression "CARRY4(local_1b4,piVar1[0x56])" identifier (argument_list "(local_1b4,piVar1[0x56])" ( identifier , (subscript_expression "piVar1[0x56]" identifier [ number_literal ]) )))) ;) (expression_statement "local_1b4 = local_1b4 + piVar1[0x56];" (assignment_expression "local_1b4 = local_1b4 + piVar1[0x56]" identifier = (binary_expression "local_1b4 + piVar1[0x56]" identifier + (subscript_expression "piVar1[0x56]" identifier [ number_literal ]))) ;) (expression_statement "local_1b0 = local_1b0 + bVar13;" (assignment_expression "local_1b0 = local_1b0 + bVar13" identifier = (binary_expression "local_1b0 + bVar13" identifier + identifier)) ;) (expression_statement "iVar7 = (*pcVar2)(piVar1[0x55]);" (assignment_expression "iVar7 = (*pcVar2)(piVar1[0x55])" identifier = (call_expression "(*pcVar2)(piVar1[0x55])" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(piVar1[0x55])" ( (subscript_expression "piVar1[0x55]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar7 != 0) break;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;" if (parenthesized_expression "((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0))))" ( (binary_expression "(uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar14 < local_1b0)" ( (binary_expression "uVar14 < local_1b0" identifier < identifier) )) || (parenthesized_expression "((uVar14 <= local_1b0 && (local_1b4 != 0)))" ( (parenthesized_expression "(uVar14 <= local_1b0 && (local_1b4 != 0))" ( (binary_expression "uVar14 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar14 <= local_1b0" identifier <= identifier) && (parenthesized_expression "(local_1b4 != 0)" ( (binary_expression "local_1b4 != 0" identifier != number_literal) ))) )) ))) )) (goto_statement "goto LAB_000a2422;" goto statement_identifier ;)) (expression_statement "pcVar2 = (code *)piVar1[0x54];" (assignment_expression "pcVar2 = (code *)piVar1[0x54]" identifier = (cast_expression "(code *)piVar1[0x54]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[0x54]" identifier [ number_literal ]))) ;) })) (expression_statement "uVar17 = 9;" (assignment_expression "uVar17 = 9" identifier = number_literal) ;) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x000a24cd) */\n\nint sqlite3VdbeExec(Vdbe *p)\n\n{\n  sqlite3 *db;\n  _func_int_void_ptr *p_Var1;\n  yDbMask yVar2;\n  Db *pDVar3;\n  Btree *p_00;\n  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var4;\n  Vdbe *pVVar5;\n  int iVar6;\n  char *pcVar7;\n  int iVar8;\n  uint uVar9;\n  Op *pOVar10;\n  void *pKey;\n  int unaff_EDI;\n  void *pKey_1;\n  int iVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  uint local_1cc;\n  uint uVar13;\n  int iVar14;\n  Vdbe *p_01;\n  uint uVar15;\n  uint local_1b4;\n  uint local_1b0;\n  MergeEngine *pRoot;\n  MergeEngine *pMerger;\n  IncrMerger *pIncr;\n  u32 t;\n  Mem sMem;\n  sqlite3_context ctx;\n  char zErr [100];\n  RowSetEntry *p_1;\n  \n  pVVar5 = (Vdbe *)__x86_get_pc_thunk_di();\n  iVar11 = unaff_EDI + 0x63db7;\n  db = pVVar5->db;\n  iVar14 = *(int *)(in_GS_OFFSET + 0x14);\n  pOVar10 = pVVar5->aOp;\n  p_01 = pVVar5;\n  if (pVVar5->lockMask != 0) {\n    iVar6 = db->nDb;\n    pDVar3 = db->aDb;\n    if (0 < iVar6) {\n      iVar8 = 0;\n      do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (db->xProgress != (_func_int_void_ptr *)0x0) {\n    local_1b0 = 0;\n    local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;\n  }\n  if (p_01->rc == 7) {\n    uVar13 = 0;\n    uVar15._0_1_ = db->temp_store;\n    uVar15._1_1_ = db->mallocFailed;\n    uVar15._2_1_ = db->bBenignMalloc;\n    uVar15._3_1_ = db->dfltLockMode;\n    if ((uVar15 & 0xffff00) == 0) {\n      sqlite3OomFault(db);\n    }\n    sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756));\n    uVar15 = 7;\n  }\n  else {\n    p_01->rc = 0;\n    *(undefined4 *)&p_01->iCurrentTime = 0;\n    *(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;\n    p_01->pResultSet = (Mem *)0x0;\n    (db->busyHandler).nBusy = 0;\n    if ((db->u1).isInterrupted == 0) {\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }\n    uVar13 = 0;\n    uVar15 = 9;\n  }\n  do {\n    pcVar7 = p_01->zErrMsg;\n    if (db->mallocFailed == '\0') {\n      if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      pVVar5 = p_01;\n      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);\n      sqlite3VdbeHalt(p_01);\n      uVar9._0_1_ = db->temp_store;\n      uVar9._1_1_ = db->mallocFailed;\n      uVar9._2_1_ = db->bBenignMalloc;\n      uVar9._3_1_ = db->dfltLockMode;\n      p_01 = pVVar5;\n      if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }\n    }\n    else {\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }\n    if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      yVar2 = p_01->lockMask;\n      p_01->aCounter[4] = p_01->aCounter[4];\n      if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }\n      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return 1;\n    }\n    p_Var1 = db->xProgress;\n    while( true ) {\n      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;\n      bVar12 = CARRY4(local_1b4,db->nProgressOps);\n      local_1b4 = local_1b4 + db->nProgressOps;\n      local_1b0 = local_1b0 + bVar12;\n      iVar6 = (*p_Var1)(db->pProgressArg);\n      if (iVar6 != 0) break;\n      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      p_Var1 = db->xProgress;\n    }\n    uVar15 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}\n\n" comment (function_definition "int sqlite3VdbeExec(Vdbe *p)\n\n{\n  sqlite3 *db;\n  _func_int_void_ptr *p_Var1;\n  yDbMask yVar2;\n  Db *pDVar3;\n  Btree *p_00;\n  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var4;\n  Vdbe *pVVar5;\n  int iVar6;\n  char *pcVar7;\n  int iVar8;\n  uint uVar9;\n  Op *pOVar10;\n  void *pKey;\n  int unaff_EDI;\n  void *pKey_1;\n  int iVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  uint local_1cc;\n  uint uVar13;\n  int iVar14;\n  Vdbe *p_01;\n  uint uVar15;\n  uint local_1b4;\n  uint local_1b0;\n  MergeEngine *pRoot;\n  MergeEngine *pMerger;\n  IncrMerger *pIncr;\n  u32 t;\n  Mem sMem;\n  sqlite3_context ctx;\n  char zErr [100];\n  RowSetEntry *p_1;\n  \n  pVVar5 = (Vdbe *)__x86_get_pc_thunk_di();\n  iVar11 = unaff_EDI + 0x63db7;\n  db = pVVar5->db;\n  iVar14 = *(int *)(in_GS_OFFSET + 0x14);\n  pOVar10 = pVVar5->aOp;\n  p_01 = pVVar5;\n  if (pVVar5->lockMask != 0) {\n    iVar6 = db->nDb;\n    pDVar3 = db->aDb;\n    if (0 < iVar6) {\n      iVar8 = 0;\n      do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (db->xProgress != (_func_int_void_ptr *)0x0) {\n    local_1b0 = 0;\n    local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;\n  }\n  if (p_01->rc == 7) {\n    uVar13 = 0;\n    uVar15._0_1_ = db->temp_store;\n    uVar15._1_1_ = db->mallocFailed;\n    uVar15._2_1_ = db->bBenignMalloc;\n    uVar15._3_1_ = db->dfltLockMode;\n    if ((uVar15 & 0xffff00) == 0) {\n      sqlite3OomFault(db);\n    }\n    sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756));\n    uVar15 = 7;\n  }\n  else {\n    p_01->rc = 0;\n    *(undefined4 *)&p_01->iCurrentTime = 0;\n    *(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;\n    p_01->pResultSet = (Mem *)0x0;\n    (db->busyHandler).nBusy = 0;\n    if ((db->u1).isInterrupted == 0) {\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }\n    uVar13 = 0;\n    uVar15 = 9;\n  }\n  do {\n    pcVar7 = p_01->zErrMsg;\n    if (db->mallocFailed == '\0') {\n      if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      pVVar5 = p_01;\n      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);\n      sqlite3VdbeHalt(p_01);\n      uVar9._0_1_ = db->temp_store;\n      uVar9._1_1_ = db->mallocFailed;\n      uVar9._2_1_ = db->bBenignMalloc;\n      uVar9._3_1_ = db->dfltLockMode;\n      p_01 = pVVar5;\n      if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }\n    }\n    else {\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }\n    if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      yVar2 = p_01->lockMask;\n      p_01->aCounter[4] = p_01->aCounter[4];\n      if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }\n      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return 1;\n    }\n    p_Var1 = db->xProgress;\n    while( true ) {\n      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;\n      bVar12 = CARRY4(local_1b4,db->nProgressOps);\n      local_1b4 = local_1b4 + db->nProgressOps;\n      local_1b0 = local_1b0 + bVar12;\n      iVar6 = (*p_Var1)(db->pProgressArg);\n      if (iVar6 != 0) break;\n      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      p_Var1 = db->xProgress;\n    }\n    uVar15 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" primitive_type (function_declarator "sqlite3VdbeExec(Vdbe *p)" identifier (parameter_list "(Vdbe *p)" ( (parameter_declaration "Vdbe *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  sqlite3 *db;\n  _func_int_void_ptr *p_Var1;\n  yDbMask yVar2;\n  Db *pDVar3;\n  Btree *p_00;\n  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var4;\n  Vdbe *pVVar5;\n  int iVar6;\n  char *pcVar7;\n  int iVar8;\n  uint uVar9;\n  Op *pOVar10;\n  void *pKey;\n  int unaff_EDI;\n  void *pKey_1;\n  int iVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  uint local_1cc;\n  uint uVar13;\n  int iVar14;\n  Vdbe *p_01;\n  uint uVar15;\n  uint local_1b4;\n  uint local_1b0;\n  MergeEngine *pRoot;\n  MergeEngine *pMerger;\n  IncrMerger *pIncr;\n  u32 t;\n  Mem sMem;\n  sqlite3_context ctx;\n  char zErr [100];\n  RowSetEntry *p_1;\n  \n  pVVar5 = (Vdbe *)__x86_get_pc_thunk_di();\n  iVar11 = unaff_EDI + 0x63db7;\n  db = pVVar5->db;\n  iVar14 = *(int *)(in_GS_OFFSET + 0x14);\n  pOVar10 = pVVar5->aOp;\n  p_01 = pVVar5;\n  if (pVVar5->lockMask != 0) {\n    iVar6 = db->nDb;\n    pDVar3 = db->aDb;\n    if (0 < iVar6) {\n      iVar8 = 0;\n      do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (db->xProgress != (_func_int_void_ptr *)0x0) {\n    local_1b0 = 0;\n    local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;\n  }\n  if (p_01->rc == 7) {\n    uVar13 = 0;\n    uVar15._0_1_ = db->temp_store;\n    uVar15._1_1_ = db->mallocFailed;\n    uVar15._2_1_ = db->bBenignMalloc;\n    uVar15._3_1_ = db->dfltLockMode;\n    if ((uVar15 & 0xffff00) == 0) {\n      sqlite3OomFault(db);\n    }\n    sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756));\n    uVar15 = 7;\n  }\n  else {\n    p_01->rc = 0;\n    *(undefined4 *)&p_01->iCurrentTime = 0;\n    *(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;\n    p_01->pResultSet = (Mem *)0x0;\n    (db->busyHandler).nBusy = 0;\n    if ((db->u1).isInterrupted == 0) {\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }\n    uVar13 = 0;\n    uVar15 = 9;\n  }\n  do {\n    pcVar7 = p_01->zErrMsg;\n    if (db->mallocFailed == '\0') {\n      if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      pVVar5 = p_01;\n      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);\n      sqlite3VdbeHalt(p_01);\n      uVar9._0_1_ = db->temp_store;\n      uVar9._1_1_ = db->mallocFailed;\n      uVar9._2_1_ = db->bBenignMalloc;\n      uVar9._3_1_ = db->dfltLockMode;\n      p_01 = pVVar5;\n      if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }\n    }\n    else {\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }\n    if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      yVar2 = p_01->lockMask;\n      p_01->aCounter[4] = p_01->aCounter[4];\n      if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }\n      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return 1;\n    }\n    p_Var1 = db->xProgress;\n    while( true ) {\n      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;\n      bVar12 = CARRY4(local_1b4,db->nProgressOps);\n      local_1b4 = local_1b4 + db->nProgressOps;\n      local_1b0 = local_1b0 + bVar12;\n      iVar6 = (*p_Var1)(db->pProgressArg);\n      if (iVar6 != 0) break;\n      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      p_Var1 = db->xProgress;\n    }\n    uVar15 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" { (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "_func_int_void_ptr *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "yDbMask yVar2;" type_identifier identifier ;) (declaration "Db *pDVar3;" type_identifier (pointer_declarator "*pDVar3" * identifier) ;) (declaration "Btree *p_00;" type_identifier (pointer_declarator "*p_00" * identifier) ;) (declaration "_func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "Vdbe *pVVar5;" type_identifier (pointer_declarator "*pVVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "Op *pOVar10;" type_identifier (pointer_declarator "*pOVar10" * identifier) ;) (declaration "void *pKey;" primitive_type (pointer_declarator "*pKey" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "void *pKey_1;" primitive_type (pointer_declarator "*pKey_1" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "uint local_1cc;" type_identifier identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "Vdbe *p_01;" type_identifier (pointer_declarator "*p_01" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint local_1b4;" type_identifier identifier ;) (declaration "uint local_1b0;" type_identifier identifier ;) (declaration "MergeEngine *pRoot;" type_identifier (pointer_declarator "*pRoot" * identifier) ;) (declaration "MergeEngine *pMerger;" type_identifier (pointer_declarator "*pMerger" * identifier) ;) (declaration "IncrMerger *pIncr;" type_identifier (pointer_declarator "*pIncr" * identifier) ;) (declaration "u32 t;" type_identifier identifier ;) (declaration "Mem sMem;" type_identifier identifier ;) (declaration "sqlite3_context ctx;" type_identifier identifier ;) (declaration "char zErr [100];" primitive_type (array_declarator "zErr [100]" identifier [ number_literal ]) ;) (declaration "RowSetEntry *p_1;" type_identifier (pointer_declarator "*p_1" * identifier) ;) (expression_statement "pVVar5 = (Vdbe *)__x86_get_pc_thunk_di();" (assignment_expression "pVVar5 = (Vdbe *)__x86_get_pc_thunk_di()" identifier = (cast_expression "(Vdbe *)__x86_get_pc_thunk_di()" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar11 = unaff_EDI + 0x63db7;" (assignment_expression "iVar11 = unaff_EDI + 0x63db7" identifier = (binary_expression "unaff_EDI + 0x63db7" identifier + number_literal)) ;) (expression_statement "db = pVVar5->db;" (assignment_expression "db = pVVar5->db" identifier = (field_expression "pVVar5->db" identifier -> field_identifier)) ;) (expression_statement "iVar14 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar14 = *(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 "pOVar10 = pVVar5->aOp;" (assignment_expression "pOVar10 = pVVar5->aOp" identifier = (field_expression "pVVar5->aOp" identifier -> field_identifier)) ;) (expression_statement "p_01 = pVVar5;" (assignment_expression "p_01 = pVVar5" identifier = identifier) ;) (if_statement "if (pVVar5->lockMask != 0) {\n    iVar6 = db->nDb;\n    pDVar3 = db->aDb;\n    if (0 < iVar6) {\n      iVar8 = 0;\n      do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);\n    }\n  }" if (parenthesized_expression "(pVVar5->lockMask != 0)" ( (binary_expression "pVVar5->lockMask != 0" (field_expression "pVVar5->lockMask" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    iVar6 = db->nDb;\n    pDVar3 = db->aDb;\n    if (0 < iVar6) {\n      iVar8 = 0;\n      do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);\n    }\n  }" { (expression_statement "iVar6 = db->nDb;" (assignment_expression "iVar6 = db->nDb" identifier = (field_expression "db->nDb" identifier -> field_identifier)) ;) (expression_statement "pDVar3 = db->aDb;" (assignment_expression "pDVar3 = db->aDb" identifier = (field_expression "db->aDb" identifier -> field_identifier)) ;) (if_statement "if (0 < iVar6) {\n      iVar8 = 0;\n      do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);\n    }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n      iVar8 = 0;\n      do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);\n    }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      } while (iVar6 != iVar8);" do (compound_statement "{\n        if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }\n        iVar8 = iVar8 + 1;\n      }" { (if_statement "if ((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))) {\n          btreeLockCarefully(p_00);\n        }" if (parenthesized_expression "((((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0'))))" ( (binary_expression "(((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)) &&\n           ((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))" (parenthesized_expression "(((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0))" ( (binary_expression "((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)) &&\n            (p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)" (parenthesized_expression "((iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0))" ( (binary_expression "(iVar8 != 1) && ((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)" (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) && (parenthesized_expression "((pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0)" ( (binary_expression "(pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)) != 0" (parenthesized_expression "(pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f))" ( (binary_expression "pVVar5->lockMask & 1 << ((byte)iVar8 & 0x1f)" (field_expression "pVVar5->lockMask" identifier -> field_identifier) & (binary_expression "1 << ((byte)iVar8 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar8 & 0x1f)" ( (binary_expression "(byte)iVar8 & 0x1f" (cast_expression "(byte)iVar8" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) )) != number_literal) ))) )) && (parenthesized_expression "(p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0)" ( (comma_expression "p_00 = pDVar3[iVar8].pBt, p_00 != (Btree *)0x0" (assignment_expression "p_00 = pDVar3[iVar8].pBt" identifier = (field_expression "pDVar3[iVar8].pBt" (subscript_expression "pDVar3[iVar8]" identifier [ identifier ]) . field_identifier)) , (binary_expression "p_00 != (Btree *)0x0" identifier != (cast_expression "(Btree *)0x0" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "((p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')))" ( (parenthesized_expression "(p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0'))" ( (binary_expression "p_00->sharable != '\0' &&\n            (p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')" (binary_expression "p_00->sharable != '\0'" (field_expression "p_00->sharable" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0')" ( (comma_expression "p_00->wantToLock = p_00->wantToLock + 1, p_00->locked == '\0'" (assignment_expression "p_00->wantToLock = p_00->wantToLock + 1" (field_expression "p_00->wantToLock" identifier -> field_identifier) = (binary_expression "p_00->wantToLock + 1" (field_expression "p_00->wantToLock" identifier -> field_identifier) + number_literal)) , (binary_expression "p_00->locked == '\0'" (field_expression "p_00->locked" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n          btreeLockCarefully(p_00);\n        }" { (expression_statement "btreeLockCarefully(p_00);" (call_expression "btreeLockCarefully(p_00)" identifier (argument_list "(p_00)" ( identifier ))) ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != iVar8)" ( (binary_expression "iVar6 != iVar8" identifier != identifier) )) ;) })) })) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (db->xProgress != (_func_int_void_ptr *)0x0) {\n    local_1b0 = 0;\n    local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;\n  }" if (parenthesized_expression "(db->xProgress != (_func_int_void_ptr *)0x0)" ( (binary_expression "db->xProgress != (_func_int_void_ptr *)0x0" (field_expression "db->xProgress" identifier -> field_identifier) != (cast_expression "(_func_int_void_ptr *)0x0" ( (type_descriptor "_func_int_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_1b0 = 0;\n    local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;\n  }" { (expression_statement "local_1b0 = 0;" (assignment_expression "local_1b0 = 0" identifier = number_literal) ;) (expression_statement "local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;" (assignment_expression "local_1b4 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps" identifier = (binary_expression "db->nProgressOps - p_01->aCounter[4] % db->nProgressOps" (field_expression "db->nProgressOps" identifier -> field_identifier) - (binary_expression "p_01->aCounter[4] % db->nProgressOps" (subscript_expression "p_01->aCounter[4]" (field_expression "p_01->aCounter" identifier -> field_identifier) [ number_literal ]) % (field_expression "db->nProgressOps" identifier -> field_identifier)))) ;) })) (if_statement "if (p_01->rc == 7) {\n    uVar13 = 0;\n    uVar15._0_1_ = db->temp_store;\n    uVar15._1_1_ = db->mallocFailed;\n    uVar15._2_1_ = db->bBenignMalloc;\n    uVar15._3_1_ = db->dfltLockMode;\n    if ((uVar15 & 0xffff00) == 0) {\n      sqlite3OomFault(db);\n    }\n    sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756));\n    uVar15 = 7;\n  }\n  else {\n    p_01->rc = 0;\n    *(undefined4 *)&p_01->iCurrentTime = 0;\n    *(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;\n    p_01->pResultSet = (Mem *)0x0;\n    (db->busyHandler).nBusy = 0;\n    if ((db->u1).isInterrupted == 0) {\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }\n    uVar13 = 0;\n    uVar15 = 9;\n  }" if (parenthesized_expression "(p_01->rc == 7)" ( (binary_expression "p_01->rc == 7" (field_expression "p_01->rc" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    uVar13 = 0;\n    uVar15._0_1_ = db->temp_store;\n    uVar15._1_1_ = db->mallocFailed;\n    uVar15._2_1_ = db->bBenignMalloc;\n    uVar15._3_1_ = db->dfltLockMode;\n    if ((uVar15 & 0xffff00) == 0) {\n      sqlite3OomFault(db);\n    }\n    sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756));\n    uVar15 = 7;\n  }" { (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar15._0_1_ = db->temp_store;" (assignment_expression "uVar15._0_1_ = db->temp_store" (field_expression "uVar15._0_1_" identifier . field_identifier) = (field_expression "db->temp_store" identifier -> field_identifier)) ;) (expression_statement "uVar15._1_1_ = db->mallocFailed;" (assignment_expression "uVar15._1_1_ = db->mallocFailed" (field_expression "uVar15._1_1_" identifier . field_identifier) = (field_expression "db->mallocFailed" identifier -> field_identifier)) ;) (expression_statement "uVar15._2_1_ = db->bBenignMalloc;" (assignment_expression "uVar15._2_1_ = db->bBenignMalloc" (field_expression "uVar15._2_1_" identifier . field_identifier) = (field_expression "db->bBenignMalloc" identifier -> field_identifier)) ;) (expression_statement "uVar15._3_1_ = db->dfltLockMode;" (assignment_expression "uVar15._3_1_ = db->dfltLockMode" (field_expression "uVar15._3_1_" identifier . field_identifier) = (field_expression "db->dfltLockMode" identifier -> field_identifier)) ;) (if_statement "if ((uVar15 & 0xffff00) == 0) {\n      sqlite3OomFault(db);\n    }" if (parenthesized_expression "((uVar15 & 0xffff00) == 0)" ( (binary_expression "(uVar15 & 0xffff00) == 0" (parenthesized_expression "(uVar15 & 0xffff00)" ( (binary_expression "uVar15 & 0xffff00" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      sqlite3OomFault(db);\n    }" { (expression_statement "sqlite3OomFault(db);" (call_expression "sqlite3OomFault(db)" identifier (argument_list "(db)" ( identifier ))) ;) })) (expression_statement "sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756));" (call_expression "sqlite3VdbeError(p_01,(char *)(iVar11 + -0x34756))" identifier (argument_list "(p_01,(char *)(iVar11 + -0x34756))" ( identifier , (cast_expression "(char *)(iVar11 + -0x34756)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x34756)" ( (binary_expression "iVar11 + -0x34756" identifier + number_literal) ))) ))) ;) (expression_statement "uVar15 = 7;" (assignment_expression "uVar15 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    p_01->rc = 0;\n    *(undefined4 *)&p_01->iCurrentTime = 0;\n    *(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;\n    p_01->pResultSet = (Mem *)0x0;\n    (db->busyHandler).nBusy = 0;\n    if ((db->u1).isInterrupted == 0) {\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }\n    uVar13 = 0;\n    uVar15 = 9;\n  }" else (compound_statement "{\n    p_01->rc = 0;\n    *(undefined4 *)&p_01->iCurrentTime = 0;\n    *(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;\n    p_01->pResultSet = (Mem *)0x0;\n    (db->busyHandler).nBusy = 0;\n    if ((db->u1).isInterrupted == 0) {\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }\n    uVar13 = 0;\n    uVar15 = 9;\n  }" { (expression_statement "p_01->rc = 0;" (assignment_expression "p_01->rc = 0" (field_expression "p_01->rc" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(undefined4 *)&p_01->iCurrentTime = 0;" (assignment_expression "*(undefined4 *)&p_01->iCurrentTime = 0" (pointer_expression "*(undefined4 *)&p_01->iCurrentTime" * (cast_expression "(undefined4 *)&p_01->iCurrentTime" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_01->iCurrentTime" & (field_expression "p_01->iCurrentTime" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&p_01->iCurrentTime + 4) = 0" (pointer_expression "*(undefined4 *)((int)&p_01->iCurrentTime + 4)" * (cast_expression "(undefined4 *)((int)&p_01->iCurrentTime + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p_01->iCurrentTime + 4)" ( (binary_expression "(int)&p_01->iCurrentTime + 4" (cast_expression "(int)&p_01->iCurrentTime" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_01->iCurrentTime" & (field_expression "p_01->iCurrentTime" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "p_01->pResultSet = (Mem *)0x0;" (assignment_expression "p_01->pResultSet = (Mem *)0x0" (field_expression "p_01->pResultSet" identifier -> field_identifier) = (cast_expression "(Mem *)0x0" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(db->busyHandler).nBusy = 0;" (assignment_expression "(db->busyHandler).nBusy = 0" (field_expression "(db->busyHandler).nBusy" (parenthesized_expression "(db->busyHandler)" ( (field_expression "db->busyHandler" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (if_statement "if ((db->u1).isInterrupted == 0) {\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }" if (parenthesized_expression "((db->u1).isInterrupted == 0)" ( (binary_expression "(db->u1).isInterrupted == 0" (field_expression "(db->u1).isInterrupted" (parenthesized_expression "(db->u1)" ( (field_expression "db->u1" identifier -> field_identifier) )) . field_identifier) == number_literal) )) (compound_statement "{\n      local_1cc = 0;\n      iVar14 = 0;\n      pOVar10 = pOVar10 + p_01->pc;\n      while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }\n                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);\n      return iVar14;\n    }" { (expression_statement "local_1cc = 0;" (assignment_expression "local_1cc = 0" identifier = number_literal) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (expression_statement "pOVar10 = pOVar10 + p_01->pc;" (assignment_expression "pOVar10 = pOVar10 + p_01->pc" identifier = (binary_expression "pOVar10 + p_01->pc" identifier + (field_expression "p_01->pc" identifier -> field_identifier))) ;) (while_statement "while( true ) {\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        bVar12 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar14 = iVar14 + (uint)bVar12;\n        if (pOVar10->opcode < 0xab) break;\n        pOVar10 = pOVar10 + 1;\n      }" { (expression_statement "bVar12 = 0xfffffffe < local_1cc;" (assignment_expression "bVar12 = 0xfffffffe < local_1cc" identifier = (binary_expression "0xfffffffe < local_1cc" number_literal < identifier)) ;) (expression_statement "local_1cc = local_1cc + 1;" (assignment_expression "local_1cc = local_1cc + 1" identifier = (binary_expression "local_1cc + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = iVar14 + (uint)bVar12;" (assignment_expression "iVar14 = iVar14 + (uint)bVar12" identifier = (binary_expression "iVar14 + (uint)bVar12" identifier + (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (pOVar10->opcode < 0xab) break;" if (parenthesized_expression "(pOVar10->opcode < 0xab)" ( (binary_expression "pOVar10->opcode < 0xab" (field_expression "pOVar10->opcode" identifier -> field_identifier) < number_literal) )) (break_statement "break;" break ;)) (expression_statement "pOVar10 = pOVar10 + 1;" (assignment_expression "pOVar10 = pOVar10 + 1" identifier = (binary_expression "pOVar10 + 1" identifier + number_literal)) ;) })) comment comment (expression_statement "iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0);" (assignment_expression "iVar14 = (*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0)" identifier = (call_expression "(*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))\n                         (iVar14,iVar11,p_01,0)" (parenthesized_expression "(*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)))" ( (pointer_expression "*(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4))" * (cast_expression "(code *)(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4))" ( (binary_expression "iVar11 + *(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)" identifier + (pointer_expression "*(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)" * (cast_expression "(int *)(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4)" ( (binary_expression "iVar11 + -0x2e55c + (uint)pOVar10->opcode * 4" (binary_expression "iVar11 + -0x2e55c" identifier + number_literal) + (binary_expression "(uint)pOVar10->opcode * 4" (cast_expression "(uint)pOVar10->opcode" ( (type_descriptor "uint" type_identifier) ) (field_expression "pOVar10->opcode" identifier -> field_identifier)) * number_literal)) ))))) )))) )) (argument_list "(iVar14,iVar11,p_01,0)" ( identifier , identifier , identifier , number_literal )))) ;) (return_statement "return iVar14;" return identifier ;) })) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar15 = 9;" (assignment_expression "uVar15 = 9" identifier = number_literal) ;) }))) (do_statement "do {\n    pcVar7 = p_01->zErrMsg;\n    if (db->mallocFailed == '\0') {\n      if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      pVVar5 = p_01;\n      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);\n      sqlite3VdbeHalt(p_01);\n      uVar9._0_1_ = db->temp_store;\n      uVar9._1_1_ = db->mallocFailed;\n      uVar9._2_1_ = db->bBenignMalloc;\n      uVar9._3_1_ = db->dfltLockMode;\n      p_01 = pVVar5;\n      if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }\n    }\n    else {\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }\n    if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      yVar2 = p_01->lockMask;\n      p_01->aCounter[4] = p_01->aCounter[4];\n      if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }\n      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return 1;\n    }\n    p_Var1 = db->xProgress;\n    while( true ) {\n      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;\n      bVar12 = CARRY4(local_1b4,db->nProgressOps);\n      local_1b4 = local_1b4 + db->nProgressOps;\n      local_1b0 = local_1b0 + bVar12;\n      iVar6 = (*p_Var1)(db->pProgressArg);\n      if (iVar6 != 0) break;\n      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      p_Var1 = db->xProgress;\n    }\n    uVar15 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );" do (compound_statement "{\n    pcVar7 = p_01->zErrMsg;\n    if (db->mallocFailed == '\0') {\n      if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      pVVar5 = p_01;\n      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);\n      sqlite3VdbeHalt(p_01);\n      uVar9._0_1_ = db->temp_store;\n      uVar9._1_1_ = db->mallocFailed;\n      uVar9._2_1_ = db->bBenignMalloc;\n      uVar9._3_1_ = db->dfltLockMode;\n      p_01 = pVVar5;\n      if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }\n    }\n    else {\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }\n    if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      yVar2 = p_01->lockMask;\n      p_01->aCounter[4] = p_01->aCounter[4];\n      if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }\n      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return 1;\n    }\n    p_Var1 = db->xProgress;\n    while( true ) {\n      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;\n      bVar12 = CARRY4(local_1b4,db->nProgressOps);\n      local_1b4 = local_1b4 + db->nProgressOps;\n      local_1b0 = local_1b0 + bVar12;\n      iVar6 = (*p_Var1)(db->pProgressArg);\n      if (iVar6 != 0) break;\n      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      p_Var1 = db->xProgress;\n    }\n    uVar15 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  }" { (expression_statement "pcVar7 = p_01->zErrMsg;" (assignment_expression "pcVar7 = p_01->zErrMsg" identifier = (field_expression "p_01->zErrMsg" identifier -> field_identifier)) ;) (if_statement "if (db->mallocFailed == '\0') {\n      if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      pVVar5 = p_01;\n      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);\n      sqlite3VdbeHalt(p_01);\n      uVar9._0_1_ = db->temp_store;\n      uVar9._1_1_ = db->mallocFailed;\n      uVar9._2_1_ = db->bBenignMalloc;\n      uVar9._3_1_ = db->dfltLockMode;\n      p_01 = pVVar5;\n      if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }\n    }\n    else {\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }" if (parenthesized_expression "(db->mallocFailed == '\0')" ( (binary_expression "db->mallocFailed == '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      pVVar5 = p_01;\n      sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);\n      sqlite3VdbeHalt(p_01);\n      uVar9._0_1_ = db->temp_store;\n      uVar9._1_1_ = db->mallocFailed;\n      uVar9._2_1_ = db->bBenignMalloc;\n      uVar9._3_1_ = db->dfltLockMode;\n      p_01 = pVVar5;\n      if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }\n    }" { (if_statement "if (pcVar7 == (char *)0x0) {\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }\n      else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        p_01->rc = 0xc0a;\n      }" { (if_statement "if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }" if (parenthesized_expression "(uVar15 != 0xc0a)" ( (binary_expression "uVar15 != 0xc0a" identifier != number_literal) )) (compound_statement "{\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c5d;\n        }" { (expression_statement "uVar9 = uVar15 & 0xfb;" (assignment_expression "uVar9 = uVar15 & 0xfb" identifier = (binary_expression "uVar15 & 0xfb" identifier & number_literal)) ;) (goto_statement "goto LAB_000a2c5d;" goto statement_identifier ;) })) (expression_statement "p_01->rc = 0xc0a;" (assignment_expression "p_01->rc = 0xc0a" (field_expression "p_01->rc" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" else (compound_statement "{\n        p_01->rc = uVar15;\n        if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" { (expression_statement "p_01->rc = uVar15;" (assignment_expression "p_01->rc = uVar15" (field_expression "p_01->rc" identifier -> field_identifier) = identifier) ;) (if_statement "if (uVar15 != 0xc0a) {\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }" if (parenthesized_expression "(uVar15 != 0xc0a)" ( (binary_expression "uVar15 != 0xc0a" identifier != number_literal) )) (compound_statement "{\n          uVar9 = uVar15 & 0xfb;\n          goto LAB_000a2c1e;\n        }" { (expression_statement "uVar9 = uVar15 & 0xfb;" (assignment_expression "uVar9 = uVar15 & 0xfb" identifier = (binary_expression "uVar15 & 0xfb" identifier & number_literal)) ;) (goto_statement "goto LAB_000a2c1e;" goto statement_identifier ;) })) }))) (expression_statement "pVVar5 = p_01;" (assignment_expression "pVVar5 = p_01" identifier = identifier) ;) (expression_statement "sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7);" (call_expression "sqlite3_log(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7)" identifier (argument_list "(0xc0a,(char *)(iVar11 + -0x311f8),0,p_01->zSql,pcVar7)" ( number_literal , (cast_expression "(char *)(iVar11 + -0x311f8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x311f8)" ( (binary_expression "iVar11 + -0x311f8" identifier + number_literal) ))) , number_literal , (field_expression "p_01->zSql" identifier -> field_identifier) , identifier ))) ;) (expression_statement "sqlite3VdbeHalt(p_01);" (call_expression "sqlite3VdbeHalt(p_01)" identifier (argument_list "(p_01)" ( identifier ))) ;) (expression_statement "uVar9._0_1_ = db->temp_store;" (assignment_expression "uVar9._0_1_ = db->temp_store" (field_expression "uVar9._0_1_" identifier . field_identifier) = (field_expression "db->temp_store" identifier -> field_identifier)) ;) (expression_statement "uVar9._1_1_ = db->mallocFailed;" (assignment_expression "uVar9._1_1_ = db->mallocFailed" (field_expression "uVar9._1_1_" identifier . field_identifier) = (field_expression "db->mallocFailed" identifier -> field_identifier)) ;) (expression_statement "uVar9._2_1_ = db->bBenignMalloc;" (assignment_expression "uVar9._2_1_ = db->bBenignMalloc" (field_expression "uVar9._2_1_" identifier . field_identifier) = (field_expression "db->bBenignMalloc" identifier -> field_identifier)) ;) (expression_statement "uVar9._3_1_ = db->dfltLockMode;" (assignment_expression "uVar9._3_1_ = db->dfltLockMode" (field_expression "uVar9._3_1_" identifier . field_identifier) = (field_expression "db->dfltLockMode" identifier -> field_identifier)) ;) (expression_statement "p_01 = pVVar5;" (assignment_expression "p_01 = pVVar5" identifier = identifier) ;) (if_statement "if ((uVar9 & 0xffff00) == 0) {\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }" if (parenthesized_expression "((uVar9 & 0xffff00) == 0)" ( (binary_expression "(uVar9 & 0xffff00) == 0" (parenthesized_expression "(uVar9 & 0xffff00)" ( (binary_expression "uVar9 & 0xffff00" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        sqlite3OomFault(db);\n        p_01 = pVVar5;\n      }" { (expression_statement "sqlite3OomFault(db);" (call_expression "sqlite3OomFault(db)" identifier (argument_list "(db)" ( identifier ))) ;) (expression_statement "p_01 = pVVar5;" (assignment_expression "p_01 = pVVar5" identifier = identifier) ;) })) }) (else_clause "else {\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }" else (compound_statement "{\n      if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }\n      pVVar5 = p_01;\n      sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);\n      sqlite3VdbeHalt(p_01);\n      p_01 = pVVar5;\n    }" { (if_statement "if (pcVar7 == (char *)0x0) {\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }\n      else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar9 = 3;\n        uVar15 = 7;\nLAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);\n        pVVar5 = p_01;\n        sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);\n        p_01->rc = uVar15;\n        p_01 = pVVar5;\nLAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }\n      }" { (expression_statement "uVar9 = 3;" (assignment_expression "uVar9 = 3" identifier = number_literal) ;) (expression_statement "uVar15 = 7;" (assignment_expression "uVar15 = 7" identifier = number_literal) ;) (labeled_statement "LAB_000a2c5d:\n        pcVar7 = sqlite3ErrStr(uVar15);" statement_identifier : (expression_statement "pcVar7 = sqlite3ErrStr(uVar15);" (assignment_expression "pcVar7 = sqlite3ErrStr(uVar15)" identifier = (call_expression "sqlite3ErrStr(uVar15)" identifier (argument_list "(uVar15)" ( identifier )))) ;)) (expression_statement "pVVar5 = p_01;" (assignment_expression "pVVar5 = p_01" identifier = identifier) ;) (expression_statement "sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7);" (call_expression "sqlite3VdbeError(p_01,(char *)(iVar11 + -0x348a0),pcVar7)" identifier (argument_list "(p_01,(char *)(iVar11 + -0x348a0),pcVar7)" ( identifier , (cast_expression "(char *)(iVar11 + -0x348a0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x348a0)" ( (binary_expression "iVar11 + -0x348a0" identifier + number_literal) ))) , identifier ))) ;) (expression_statement "p_01->rc = uVar15;" (assignment_expression "p_01->rc = uVar15" (field_expression "p_01->rc" identifier -> field_identifier) = identifier) ;) (expression_statement "p_01 = pVVar5;" (assignment_expression "p_01 = pVVar5" identifier = identifier) ;) (labeled_statement "LAB_000a2c1e:\n        if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }" statement_identifier : (if_statement "if (uVar9 == 10) {\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }" if (parenthesized_expression "(uVar9 == 10)" ( (binary_expression "uVar9 == 10" identifier == number_literal) )) (compound_statement "{\n          p_Var4 = db->pVfs->xGetLastError;\n          if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }\n          db->iSysErrno = iVar6;\n        }" { (expression_statement "p_Var4 = db->pVfs->xGetLastError;" (assignment_expression "p_Var4 = db->pVfs->xGetLastError" identifier = (field_expression "db->pVfs->xGetLastError" (field_expression "db->pVfs" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n            iVar6 = 0;\n          }\n          else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }" if (parenthesized_expression "(p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0)" ( (binary_expression "p_Var4 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0" identifier == (cast_expression "(_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vfs_ptr_int_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar6 = 0;\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }" else (compound_statement "{\n            iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);\n          }" { (expression_statement "iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0);" (assignment_expression "iVar6 = (*p_Var4)(db->pVfs,0,(char *)0x0)" identifier = (call_expression "(*p_Var4)(db->pVfs,0,(char *)0x0)" (parenthesized_expression "(*p_Var4)" ( (pointer_expression "*p_Var4" * identifier) )) (argument_list "(db->pVfs,0,(char *)0x0)" ( (field_expression "db->pVfs" identifier -> field_identifier) , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) }))) (expression_statement "db->iSysErrno = iVar6;" (assignment_expression "db->iSysErrno = iVar6" (field_expression "db->iSysErrno" identifier -> field_identifier) = identifier) ;) }))) }) (else_clause "else {\n        uVar15 = 7;\n        p_01->rc = 7;\n      }" else (compound_statement "{\n        uVar15 = 7;\n        p_01->rc = 7;\n      }" { (expression_statement "uVar15 = 7;" (assignment_expression "uVar15 = 7" identifier = number_literal) ;) (expression_statement "p_01->rc = 7;" (assignment_expression "p_01->rc = 7" (field_expression "p_01->rc" identifier -> field_identifier) = number_literal) ;) }))) (expression_statement "pVVar5 = p_01;" (assignment_expression "pVVar5 = p_01" identifier = identifier) ;) (expression_statement "sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);" (call_expression "sqlite3_log(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg)" identifier (argument_list "(uVar15,(char *)(iVar11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg)" ( identifier , (cast_expression "(char *)(iVar11 + -0x311f8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + -0x311f8)" ( (binary_expression "iVar11 + -0x311f8" identifier + number_literal) ))) , number_literal , (field_expression "p_01->zSql" identifier -> field_identifier) , (field_expression "p_01->zErrMsg" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3VdbeHalt(p_01);" (call_expression "sqlite3VdbeHalt(p_01)" identifier (argument_list "(p_01)" ( identifier ))) ;) (expression_statement "p_01 = pVVar5;" (assignment_expression "p_01 = pVVar5" identifier = identifier) ;) }))) (if_statement "if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      yVar2 = p_01->lockMask;\n      p_01->aCounter[4] = p_01->aCounter[4];\n      if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }\n      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return 1;\n    }" if (parenthesized_expression "((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0))))" ( (binary_expression "(uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar13 < local_1b0)" ( (binary_expression "uVar13 < local_1b0" identifier < identifier) )) || (parenthesized_expression "((uVar13 <= local_1b0 && (local_1b4 != 0)))" ( (parenthesized_expression "(uVar13 <= local_1b0 && (local_1b4 != 0))" ( (binary_expression "uVar13 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar13 <= local_1b0" identifier <= identifier) && (parenthesized_expression "(local_1b4 != 0)" ( (binary_expression "local_1b4 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\nLAB_000a2422:\n      yVar2 = p_01->lockMask;\n      p_01->aCounter[4] = p_01->aCounter[4];\n      if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }\n      if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return 1;\n    }" { (labeled_statement "LAB_000a2422:\n      yVar2 = p_01->lockMask;" statement_identifier : (expression_statement "yVar2 = p_01->lockMask;" (assignment_expression "yVar2 = p_01->lockMask" identifier = (field_expression "p_01->lockMask" identifier -> field_identifier)) ;)) (expression_statement "p_01->aCounter[4] = p_01->aCounter[4];" (assignment_expression "p_01->aCounter[4] = p_01->aCounter[4]" (subscript_expression "p_01->aCounter[4]" (field_expression "p_01->aCounter" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "p_01->aCounter[4]" (field_expression "p_01->aCounter" identifier -> field_identifier) [ number_literal ])) ;) (if_statement "if (yVar2 != 0) {\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }" if (parenthesized_expression "(yVar2 != 0)" ( (binary_expression "yVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);\n      }" { (expression_statement "vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask);" (call_expression "vdbeLeave((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask)" identifier (argument_list "((Vdbe *)p_01->db,(Vdbe *)&p_01->lockMask)" ( (cast_expression "(Vdbe *)p_01->db" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_01->db" identifier -> field_identifier)) , (cast_expression "(Vdbe *)&p_01->lockMask" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_01->lockMask" & (field_expression "p_01->lockMask" identifier -> field_identifier))) ))) ;) })) (if_statement "if (iVar14 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" if (parenthesized_expression "(iVar14 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar14 != *(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                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 1;" return number_literal ;) })) (expression_statement "p_Var1 = db->xProgress;" (assignment_expression "p_Var1 = db->xProgress" identifier = (field_expression "db->xProgress" identifier -> field_identifier)) ;) (while_statement "while( true ) {\n      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;\n      bVar12 = CARRY4(local_1b4,db->nProgressOps);\n      local_1b4 = local_1b4 + db->nProgressOps;\n      local_1b0 = local_1b0 + bVar12;\n      iVar6 = (*p_Var1)(db->pProgressArg);\n      if (iVar6 != 0) break;\n      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      p_Var1 = db->xProgress;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;\n      bVar12 = CARRY4(local_1b4,db->nProgressOps);\n      local_1b4 = local_1b4 + db->nProgressOps;\n      local_1b0 = local_1b0 + bVar12;\n      iVar6 = (*p_Var1)(db->pProgressArg);\n      if (iVar6 != 0) break;\n      if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      p_Var1 = db->xProgress;\n    }" { (if_statement "if (p_Var1 == (_func_int_void_ptr *)0x0) goto LAB_000a2422;" if (parenthesized_expression "(p_Var1 == (_func_int_void_ptr *)0x0)" ( (binary_expression "p_Var1 == (_func_int_void_ptr *)0x0" identifier == (cast_expression "(_func_int_void_ptr *)0x0" ( (type_descriptor "_func_int_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000a2422;" goto statement_identifier ;)) (expression_statement "bVar12 = CARRY4(local_1b4,db->nProgressOps);" (assignment_expression "bVar12 = CARRY4(local_1b4,db->nProgressOps)" identifier = (call_expression "CARRY4(local_1b4,db->nProgressOps)" identifier (argument_list "(local_1b4,db->nProgressOps)" ( identifier , (field_expression "db->nProgressOps" identifier -> field_identifier) )))) ;) (expression_statement "local_1b4 = local_1b4 + db->nProgressOps;" (assignment_expression "local_1b4 = local_1b4 + db->nProgressOps" identifier = (binary_expression "local_1b4 + db->nProgressOps" identifier + (field_expression "db->nProgressOps" identifier -> field_identifier))) ;) (expression_statement "local_1b0 = local_1b0 + bVar12;" (assignment_expression "local_1b0 = local_1b0 + bVar12" identifier = (binary_expression "local_1b0 + bVar12" identifier + identifier)) ;) (expression_statement "iVar6 = (*p_Var1)(db->pProgressArg);" (assignment_expression "iVar6 = (*p_Var1)(db->pProgressArg)" identifier = (call_expression "(*p_Var1)(db->pProgressArg)" (parenthesized_expression "(*p_Var1)" ( (pointer_expression "*p_Var1" * identifier) )) (argument_list "(db->pProgressArg)" ( (field_expression "db->pProgressArg" identifier -> field_identifier) )))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;" if (parenthesized_expression "((uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0))))" ( (binary_expression "(uVar13 < local_1b0) || ((uVar13 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar13 < local_1b0)" ( (binary_expression "uVar13 < local_1b0" identifier < identifier) )) || (parenthesized_expression "((uVar13 <= local_1b0 && (local_1b4 != 0)))" ( (parenthesized_expression "(uVar13 <= local_1b0 && (local_1b4 != 0))" ( (binary_expression "uVar13 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar13 <= local_1b0" identifier <= identifier) && (parenthesized_expression "(local_1b4 != 0)" ( (binary_expression "local_1b4 != 0" identifier != number_literal) ))) )) ))) )) (goto_statement "goto LAB_000a2422;" goto statement_identifier ;)) (expression_statement "p_Var1 = db->xProgress;" (assignment_expression "p_Var1 = db->xProgress" identifier = (field_expression "db->xProgress" identifier -> field_identifier)) ;) })) (expression_statement "uVar15 = 9;" (assignment_expression "uVar15 = 9" identifier = number_literal) ;) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_000a2240(void)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_000a2240(void)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" type_identifier (function_declarator "FUN_000a2240(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "uint local_1cc;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint local_1b4;" type_identifier identifier ;) (declaration "uint local_1b0;" type_identifier identifier ;) (expression_statement "piVar6 = (int *)FUN_000d0aaf();" (assignment_expression "piVar6 = (int *)FUN_000d0aaf()" identifier = (cast_expression "(int *)FUN_000d0aaf()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000d0aaf()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar12 = unaff_EDI + 0x63db7;" (assignment_expression "iVar12 = unaff_EDI + 0x63db7" identifier = (binary_expression "unaff_EDI + 0x63db7" identifier + number_literal)) ;) (expression_statement "piVar1 = (int *)*piVar6;" (assignment_expression "piVar1 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (expression_statement "iVar15 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar15 = *(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 "iVar7 = piVar6[0x19];" (assignment_expression "iVar7 = piVar6[0x19]" identifier = (subscript_expression "piVar6[0x19]" identifier [ number_literal ])) ;) (expression_statement "piVar16 = piVar6;" (assignment_expression "piVar16 = piVar6" identifier = identifier) ;) (if_statement "if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }" if (parenthesized_expression "(piVar6[0x25] != 0)" ( (binary_expression "piVar6[0x25] != 0" (subscript_expression "piVar6[0x25]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }" { (expression_statement "iVar3 = piVar1[5];" (assignment_expression "iVar3 = piVar1[5]" identifier = (subscript_expression "piVar1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = piVar1[4];" (assignment_expression "iVar4 = piVar1[4]" identifier = (subscript_expression "piVar1[4]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);" do (compound_statement "{\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      }" { (if_statement "if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }" if (parenthesized_expression "((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'))))" ( (binary_expression "(((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))" (parenthesized_expression "(((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0))" ( (binary_expression "((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)" (parenthesized_expression "((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0))" ( (binary_expression "(iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)" (parenthesized_expression "(iVar9 != 1)" ( (binary_expression "iVar9 != 1" identifier != number_literal) )) && (parenthesized_expression "((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)" ( (binary_expression "(piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0" (parenthesized_expression "(piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f))" ( (binary_expression "piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)" (subscript_expression "piVar6[0x25]" identifier [ number_literal ]) & (binary_expression "1 << ((byte)iVar9 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar9 & 0x1f)" ( (binary_expression "(byte)iVar9 & 0x1f" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) )) != number_literal) ))) )) && (parenthesized_expression "(iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)" ( (comma_expression "iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0" (assignment_expression "iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10)" identifier = (pointer_expression "*(int *)(iVar4 + 4 + iVar9 * 0x10)" * (cast_expression "(int *)(iVar4 + 4 + iVar9 * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4 + iVar9 * 0x10)" ( (binary_expression "iVar4 + 4 + iVar9 * 0x10" (binary_expression "iVar4 + 4" identifier + number_literal) + (binary_expression "iVar9 * 0x10" identifier * number_literal)) ))))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))" ( (parenthesized_expression "(*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'))" ( (binary_expression "*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')" (binary_expression "*(char *)(iVar5 + 9) != '\0'" (pointer_expression "*(char *)(iVar5 + 9)" * (cast_expression "(char *)(iVar5 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 9)" ( (binary_expression "iVar5 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')" ( (comma_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'" (assignment_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar5 + 0xc) + 1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) + number_literal)) , (binary_expression "*(char *)(iVar5 + 10) == '\0'" (pointer_expression "*(char *)(iVar5 + 10)" * (cast_expression "(char *)(iVar5 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 10)" ( (binary_expression "iVar5 + 10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n          FUN_00024a50();\n        }" { (expression_statement "FUN_00024a50();" (call_expression "FUN_00024a50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != iVar9)" ( (binary_expression "iVar3 != iVar9" identifier != identifier) )) ;) })) })) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }" if (parenthesized_expression "(piVar1[0x54] != 0)" ( (binary_expression "piVar1[0x54] != 0" (subscript_expression "piVar1[0x54]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }" { (expression_statement "local_1b0 = 0;" (assignment_expression "local_1b0 = 0" identifier = number_literal) ;) (expression_statement "local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];" (assignment_expression "local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56]" identifier = (binary_expression "piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56]" (subscript_expression "piVar1[0x56]" identifier [ number_literal ]) - (binary_expression "(uint)piVar16[0x2a] % (uint)piVar1[0x56]" (cast_expression "(uint)piVar16[0x2a]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar16[0x2a]" identifier [ number_literal ])) % (cast_expression "(uint)piVar1[0x56]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[0x56]" identifier [ number_literal ]))))) ;) })) (if_statement "if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" if (parenthesized_expression "(piVar16[10] == 7)" ( (binary_expression "piVar16[10] == 7" (subscript_expression "piVar16[10]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (if_statement "if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }" if (parenthesized_expression "((piVar1[0x13] & 0xffff00U) == 0)" ( (binary_expression "(piVar1[0x13] & 0xffff00U) == 0" (parenthesized_expression "(piVar1[0x13] & 0xffff00U)" ( (binary_expression "piVar1[0x13] & 0xffff00U" (subscript_expression "piVar1[0x13]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_000265f0();\n    }" { (expression_statement "FUN_000265f0();" (call_expression "FUN_000265f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00048e30(piVar16,iVar12 + -0x34756);" (call_expression "FUN_00048e30(piVar16,iVar12 + -0x34756)" identifier (argument_list "(piVar16,iVar12 + -0x34756)" ( identifier , (binary_expression "iVar12 + -0x34756" identifier + number_literal) ))) ;) (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" else (compound_statement "{\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" { (expression_statement "piVar16[10] = 0;" (assignment_expression "piVar16[10] = 0" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar16[0xd] = 0;" (assignment_expression "piVar16[0xd] = 0" (subscript_expression "piVar16[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar16[0xe] = 0;" (assignment_expression "piVar16[0xe] = 0" (subscript_expression "piVar16[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar16[0x1d] = 0;" (assignment_expression "piVar16[0x1d] = 0" (subscript_expression "piVar16[0x1d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[0x69] = 0;" (assignment_expression "piVar1[0x69] = 0" (subscript_expression "piVar1[0x69]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }" if (parenthesized_expression "(piVar1[0x42] == 0)" ( (binary_expression "piVar1[0x42] == 0" (subscript_expression "piVar1[0x42]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }" { (expression_statement "local_1cc = 0;" (assignment_expression "local_1cc = 0" identifier = number_literal) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);" (assignment_expression "pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14)" identifier = (cast_expression "(byte *)(iVar7 + piVar16[9] * 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + piVar16[9] * 0x14)" ( (binary_expression "iVar7 + piVar16[9] * 0x14" identifier + (binary_expression "piVar16[9] * 0x14" (subscript_expression "piVar16[9]" identifier [ number_literal ]) * number_literal)) )))) ;) (while_statement "while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }" { (expression_statement "bVar13 = 0xfffffffe < local_1cc;" (assignment_expression "bVar13 = 0xfffffffe < local_1cc" identifier = (binary_expression "0xfffffffe < local_1cc" number_literal < identifier)) ;) (expression_statement "local_1cc = local_1cc + 1;" (assignment_expression "local_1cc = local_1cc + 1" identifier = (binary_expression "local_1cc + 1" identifier + number_literal)) ;) (expression_statement "iVar15 = iVar15 + (uint)bVar13;" (assignment_expression "iVar15 = iVar15 + (uint)bVar13" identifier = (binary_expression "iVar15 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (*pbVar11 < 0xab) break;" if (parenthesized_expression "(*pbVar11 < 0xab)" ( (binary_expression "*pbVar11 < 0xab" (pointer_expression "*pbVar11" * identifier) < number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar11 = pbVar11 + 0x14;" (assignment_expression "pbVar11 = pbVar11 + 0x14" identifier = (binary_expression "pbVar11 + 0x14" identifier + number_literal)) ;) })) (expression_statement "uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);" (assignment_expression "uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0)" identifier = (call_expression "(*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0)" (parenthesized_expression "(*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))" ( (pointer_expression "*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" * (cast_expression "(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" ( (binary_expression "iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" identifier + (pointer_expression "*(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" * (cast_expression "(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" ( (binary_expression "iVar12 + -0x2e55c + (uint)*pbVar11 * 4" (binary_expression "iVar12 + -0x2e55c" identifier + number_literal) + (binary_expression "(uint)*pbVar11 * 4" (binary_expression "(uint)*pbVar11" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) ))))) )))) )) (argument_list "(iVar15,iVar12,piVar16,0)" ( identifier , identifier , identifier , number_literal )))) ;) (return_statement "return uVar8;" return identifier ;) })) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "uVar17 = 9;" (assignment_expression "uVar17 = 9" identifier = number_literal) ;) }))) (do_statement "do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );" do (compound_statement "{\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  }" { (expression_statement "iVar7 = piVar16[0x1e];" (assignment_expression "iVar7 = piVar16[0x1e]" identifier = (subscript_expression "piVar16[0x1e]" identifier [ number_literal ])) ;) (if_statement "if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" if (parenthesized_expression "(*(char *)((int)piVar1 + 0x4d) == '\0')" ( (binary_expression "*(char *)((int)piVar1 + 0x4d) == '\0'" (pointer_expression "*(char *)((int)piVar1 + 0x4d)" * (cast_expression "(char *)((int)piVar1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x4d)" ( (binary_expression "(int)piVar1 + 0x4d" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }" { (if_statement "if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }" { (if_statement "if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }" if (parenthesized_expression "(uVar17 != 0xc0a)" ( (binary_expression "uVar17 != 0xc0a" identifier != number_literal) )) (compound_statement "{\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }" { (expression_statement "uVar10 = uVar17 & 0xfb;" (assignment_expression "uVar10 = uVar17 & 0xfb" identifier = (binary_expression "uVar17 & 0xfb" identifier & number_literal)) ;) (goto_statement "goto LAB_000a2c5d;" goto statement_identifier ;) })) (expression_statement "piVar16[10] = 0xc0a;" (assignment_expression "piVar16[10] = 0xc0a" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" else (compound_statement "{\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" { (expression_statement "piVar16[10] = uVar17;" (assignment_expression "piVar16[10] = uVar17" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }" if (parenthesized_expression "(uVar17 != 0xc0a)" ( (binary_expression "uVar17 != 0xc0a" identifier != number_literal) )) (compound_statement "{\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }" { (expression_statement "uVar10 = uVar17 & 0xfb;" (assignment_expression "uVar10 = uVar17 & 0xfb" identifier = (binary_expression "uVar17 & 0xfb" identifier & number_literal)) ;) (goto_statement "goto LAB_000a2c1e;" goto statement_identifier ;) })) }))) (expression_statement "sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);" (call_expression "sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7)" identifier (argument_list "(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7)" ( number_literal , (binary_expression "iVar12 + -0x311f8" identifier + number_literal) , number_literal , (subscript_expression "piVar16[0x2d]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "FUN_0008a3b0();" (call_expression "FUN_0008a3b0()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }" if (parenthesized_expression "((piVar1[0x13] & 0xffff00U) == 0)" ( (binary_expression "(piVar1[0x13] & 0xffff00U) == 0" (parenthesized_expression "(piVar1[0x13] & 0xffff00U)" ( (binary_expression "piVar1[0x13] & 0xffff00U" (subscript_expression "piVar1[0x13]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        FUN_000265f0();\n      }" { (expression_statement "FUN_000265f0();" (call_expression "FUN_000265f0()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" else (compound_statement "{\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" { (if_statement "if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }" { (expression_statement "uVar10 = 3;" (assignment_expression "uVar10 = 3" identifier = number_literal) ;) (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" identifier = number_literal) ;) (labeled_statement "LAB_000a2c5d:\n        uVar8 = FUN_00027de0();" statement_identifier : (expression_statement "uVar8 = FUN_00027de0();" (assignment_expression "uVar8 = FUN_00027de0()" identifier = (call_expression "FUN_00027de0()" identifier (argument_list "()" ( )))) ;)) (expression_statement "piVar6 = piVar16;" (assignment_expression "piVar6 = piVar16" identifier = identifier) ;) (expression_statement "FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);" (call_expression "FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8)" identifier (argument_list "(piVar16,iVar12 + -0x348a0,uVar8)" ( identifier , (binary_expression "iVar12 + -0x348a0" identifier + number_literal) , identifier ))) ;) (expression_statement "piVar16[10] = uVar17;" (assignment_expression "piVar16[10] = uVar17" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar16 = piVar6;" (assignment_expression "piVar16 = piVar6" identifier = identifier) ;) (labeled_statement "LAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" statement_identifier : (if_statement "if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" if (parenthesized_expression "(uVar10 == 10)" ( (binary_expression "uVar10 == 10" identifier == number_literal) )) (compound_statement "{\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" { (expression_statement "pcVar2 = *(code **)(*piVar1 + 0x44);" (assignment_expression "pcVar2 = *(code **)(*piVar1 + 0x44)" identifier = (pointer_expression "*(code **)(*piVar1 + 0x44)" * (cast_expression "(code **)(*piVar1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x44)" ( (binary_expression "*piVar1 + 0x44" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" if (parenthesized_expression "(pcVar2 == (code *)0x0)" ( (binary_expression "pcVar2 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar7 = 0;\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" else (compound_statement "{\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" { (expression_statement "iVar7 = (*pcVar2)(*piVar1,0,0);" (assignment_expression "iVar7 = (*pcVar2)(*piVar1,0,0)" identifier = (call_expression "(*pcVar2)(*piVar1,0,0)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(*piVar1,0,0)" ( (pointer_expression "*piVar1" * identifier) , number_literal , number_literal )))) ;) }))) (expression_statement "piVar1[0x11] = iVar7;" (assignment_expression "piVar1[0x11] = iVar7" (subscript_expression "piVar1[0x11]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" else (compound_statement "{\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" { (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" identifier = number_literal) ;) (expression_statement "piVar16[10] = 7;" (assignment_expression "piVar16[10] = 7" (subscript_expression "piVar16[10]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);" (call_expression "sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e])" identifier (argument_list "(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e])" ( identifier , (binary_expression "iVar12 + -0x311f8" identifier + number_literal) , number_literal , (subscript_expression "piVar16[0x2d]" identifier [ number_literal ]) , (subscript_expression "piVar16[0x1e]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0008a3b0();" (call_expression "FUN_0008a3b0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }" if (parenthesized_expression "((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0))))" ( (binary_expression "(uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar14 < local_1b0)" ( (binary_expression "uVar14 < local_1b0" identifier < identifier) )) || (parenthesized_expression "((uVar14 <= local_1b0 && (local_1b4 != 0)))" ( (parenthesized_expression "(uVar14 <= local_1b0 && (local_1b4 != 0))" ( (binary_expression "uVar14 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar14 <= local_1b0" identifier <= identifier) && (parenthesized_expression "(local_1b4 != 0)" ( (binary_expression "local_1b4 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }" { (labeled_statement "LAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];" statement_identifier : (expression_statement "piVar16[0x2a] = piVar16[0x2a];" (assignment_expression "piVar16[0x2a] = piVar16[0x2a]" (subscript_expression "piVar16[0x2a]" identifier [ number_literal ]) = (subscript_expression "piVar16[0x2a]" identifier [ number_literal ])) ;)) (if_statement "if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }" if (parenthesized_expression "(piVar16[0x25] != 0)" ( (binary_expression "piVar16[0x25] != 0" (subscript_expression "piVar16[0x25]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00029ff0();\n      }" { (expression_statement "FUN_00029ff0();" (call_expression "FUN_00029ff0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }" if (parenthesized_expression "(iVar15 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar15 != *(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                    \n        FUN_000d1450();\n      }" { (expression_statement "FUN_000d1450();" (call_expression "FUN_000d1450()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar2 = (code *)piVar1[0x54];" (assignment_expression "pcVar2 = (code *)piVar1[0x54]" identifier = (cast_expression "(code *)piVar1[0x54]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[0x54]" identifier [ number_literal ]))) ;) (while_statement "while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }" { (if_statement "if (pcVar2 == (code *)0x0) goto LAB_000a2422;" if (parenthesized_expression "(pcVar2 == (code *)0x0)" ( (binary_expression "pcVar2 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000a2422;" goto statement_identifier ;)) (expression_statement "bVar13 = CARRY4(local_1b4,piVar1[0x56]);" (assignment_expression "bVar13 = CARRY4(local_1b4,piVar1[0x56])" identifier = (call_expression "CARRY4(local_1b4,piVar1[0x56])" identifier (argument_list "(local_1b4,piVar1[0x56])" ( identifier , (subscript_expression "piVar1[0x56]" identifier [ number_literal ]) )))) ;) (expression_statement "local_1b4 = local_1b4 + piVar1[0x56];" (assignment_expression "local_1b4 = local_1b4 + piVar1[0x56]" identifier = (binary_expression "local_1b4 + piVar1[0x56]" identifier + (subscript_expression "piVar1[0x56]" identifier [ number_literal ]))) ;) (expression_statement "local_1b0 = local_1b0 + bVar13;" (assignment_expression "local_1b0 = local_1b0 + bVar13" identifier = (binary_expression "local_1b0 + bVar13" identifier + identifier)) ;) (expression_statement "iVar7 = (*pcVar2)(piVar1[0x55]);" (assignment_expression "iVar7 = (*pcVar2)(piVar1[0x55])" identifier = (call_expression "(*pcVar2)(piVar1[0x55])" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(piVar1[0x55])" ( (subscript_expression "piVar1[0x55]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar7 != 0) break;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;" if (parenthesized_expression "((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0))))" ( (binary_expression "(uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar14 < local_1b0)" ( (binary_expression "uVar14 < local_1b0" identifier < identifier) )) || (parenthesized_expression "((uVar14 <= local_1b0 && (local_1b4 != 0)))" ( (parenthesized_expression "(uVar14 <= local_1b0 && (local_1b4 != 0))" ( (binary_expression "uVar14 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar14 <= local_1b0" identifier <= identifier) && (parenthesized_expression "(local_1b4 != 0)" ( (binary_expression "local_1b4 != 0" identifier != number_literal) ))) )) ))) )) (goto_statement "goto LAB_000a2422;" goto statement_identifier ;)) (expression_statement "pcVar2 = (code *)piVar1[0x54];" (assignment_expression "pcVar2 = (code *)piVar1[0x54]" identifier = (cast_expression "(code *)piVar1[0x54]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[0x54]" identifier [ number_literal ]))) ;) })) (expression_statement "uVar17 = 9;" (assignment_expression "uVar17 = 9" identifier = number_literal) ;) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (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 ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) )) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (comma_expression (assignment_expression (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) )))) + LIT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence '))) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) % (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) ))))) )))) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) , LIT , LIT )))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_000a2240(void)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_000a2240(void)" (identifier "FUN_000a2240") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int iVar9;\n  uint uVar10;\n  byte *pbVar11;\n  int unaff_EDI;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_1cc;\n  uint uVar14;\n  int iVar15;\n  int *piVar16;\n  uint uVar17;\n  uint local_1b4;\n  uint local_1b0;\n  \n  piVar6 = (int *)FUN_000d0aaf();\n  iVar12 = unaff_EDI + 0x63db7;\n  piVar1 = (int *)*piVar6;\n  iVar15 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar7 = piVar6[0x19];\n  piVar16 = piVar6;\n  if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }\n  local_1b4 = 0xffffffff;\n  local_1b0 = 0xffffffff;\n  if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }\n  if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }\n  do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "byte *pbVar11;" (type_identifier "byte") (pointer_declarator "*pbVar11" (* "*") (identifier "pbVar11")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "uint local_1cc;" (type_identifier "uint") (identifier "local_1cc") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int *piVar16;" (primitive_type "int") (pointer_declarator "*piVar16" (* "*") (identifier "piVar16")) (; ";")) (declaration "uint uVar17;" (type_identifier "uint") (identifier "uVar17") (; ";")) (declaration "uint local_1b4;" (type_identifier "uint") (identifier "local_1b4") (; ";")) (declaration "uint local_1b0;" (type_identifier "uint") (identifier "local_1b0") (; ";")) (expression_statement "piVar6 = (int *)FUN_000d0aaf();" (assignment_expression "piVar6 = (int *)FUN_000d0aaf()" (identifier "piVar6") (= "=") (cast_expression "(int *)FUN_000d0aaf()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000d0aaf()" (identifier "FUN_000d0aaf") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar12 = unaff_EDI + 0x63db7;" (assignment_expression "iVar12 = unaff_EDI + 0x63db7" (identifier "iVar12") (= "=") (binary_expression "unaff_EDI + 0x63db7" (identifier "unaff_EDI") (+ "+") (number_literal "0x63db7"))) (; ";")) (expression_statement "piVar1 = (int *)*piVar6;" (assignment_expression "piVar1 = (int *)*piVar6" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (expression_statement "iVar15 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar15 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar15") (= "=") (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 "iVar7 = piVar6[0x19];" (assignment_expression "iVar7 = piVar6[0x19]" (identifier "iVar7") (= "=") (subscript_expression "piVar6[0x19]" (identifier "piVar6") ([ "[") (number_literal "0x19") (] "]"))) (; ";")) (expression_statement "piVar16 = piVar6;" (assignment_expression "piVar16 = piVar6" (identifier "piVar16") (= "=") (identifier "piVar6")) (; ";")) (if_statement "if (piVar6[0x25] != 0) {\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }" (if "if") (parenthesized_expression "(piVar6[0x25] != 0)" (( "(") (binary_expression "piVar6[0x25] != 0" (subscript_expression "piVar6[0x25]" (identifier "piVar6") ([ "[") (number_literal "0x25") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = piVar1[5];\n    iVar4 = piVar1[4];\n    if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }\n  }" ({ "{") (expression_statement "iVar3 = piVar1[5];" (assignment_expression "iVar3 = piVar1[5]" (identifier "iVar3") (= "=") (subscript_expression "piVar1[5]" (identifier "piVar1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar4 = piVar1[4];" (assignment_expression "iVar4 = piVar1[4]" (identifier "iVar4") (= "=") (subscript_expression "piVar1[4]" (identifier "piVar1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (0 < iVar3) {\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n      iVar9 = 0;\n      do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);\n    }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      } while (iVar3 != iVar9);" (do "do") (compound_statement "{\n        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }\n        iVar9 = iVar9 + 1;\n      }" ({ "{") (if_statement "if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {\n          FUN_00024a50();\n        }" (if "if") (parenthesized_expression "((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'))))" (( "(") (binary_expression "(((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&\n           ((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))" (parenthesized_expression "(((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0))" (( "(") (binary_expression "((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&\n            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)" (parenthesized_expression "((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0))" (( "(") (binary_expression "(iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)" (parenthesized_expression "(iVar9 != 1)" (( "(") (binary_expression "iVar9 != 1" (identifier "iVar9") (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)" (( "(") (binary_expression "(piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0" (parenthesized_expression "(piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f))" (( "(") (binary_expression "piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)" (subscript_expression "piVar6[0x25]" (identifier "piVar6") ([ "[") (number_literal "0x25") (] "]")) (& "&") (binary_expression "1 << ((byte)iVar9 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)iVar9 & 0x1f)" (( "(") (binary_expression "(byte)iVar9 & 0x1f" (cast_expression "(byte)iVar9" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar9")) (& "&") (number_literal "0x1f")) () ")")))) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)" (( "(") (comma_expression "iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0" (assignment_expression "iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 4 + iVar9 * 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 4 + iVar9 * 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4 + iVar9 * 0x10)" (( "(") (binary_expression "iVar4 + 4 + iVar9 * 0x10" (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar9 * 0x10" (identifier "iVar9") (* "*") (number_literal "0x10"))) () ")"))))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))" (( "(") (parenthesized_expression "(*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'))" (( "(") (binary_expression "*(char *)(iVar5 + 9) != '\0' &&\n            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')" (binary_expression "*(char *)(iVar5 + 9) != '\0'" (pointer_expression "*(char *)(iVar5 + 9)" (* "*") (cast_expression "(char *)(iVar5 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 9)" (( "(") (binary_expression "iVar5 + 9" (identifier "iVar5") (+ "+") (number_literal "9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')" (( "(") (comma_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0'" (assignment_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1" (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(int *)(iVar5 + 0xc) + 1" (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "1"))) (, ",") (binary_expression "*(char *)(iVar5 + 10) == '\0'" (pointer_expression "*(char *)(iVar5 + 10)" (* "*") (cast_expression "(char *)(iVar5 + 10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 10)" (( "(") (binary_expression "iVar5 + 10" (identifier "iVar5") (+ "+") (number_literal "10")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          FUN_00024a50();\n        }" ({ "{") (expression_statement "FUN_00024a50();" (call_expression "FUN_00024a50()" (identifier "FUN_00024a50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != iVar9)" (( "(") (binary_expression "iVar3 != iVar9" (identifier "iVar3") (!= "!=") (identifier "iVar9")) () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" (identifier "local_1b4") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" (identifier "local_1b0") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (piVar1[0x54] != 0) {\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }" (if "if") (parenthesized_expression "(piVar1[0x54] != 0)" (( "(") (binary_expression "piVar1[0x54] != 0" (subscript_expression "piVar1[0x54]" (identifier "piVar1") ([ "[") (number_literal "0x54") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_1b0 = 0;\n    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];\n  }" ({ "{") (expression_statement "local_1b0 = 0;" (assignment_expression "local_1b0 = 0" (identifier "local_1b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];" (assignment_expression "local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56]" (identifier "local_1b4") (= "=") (binary_expression "piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56]" (subscript_expression "piVar1[0x56]" (identifier "piVar1") ([ "[") (number_literal "0x56") (] "]")) (- "-") (binary_expression "(uint)piVar16[0x2a] % (uint)piVar1[0x56]" (cast_expression "(uint)piVar16[0x2a]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar16[0x2a]" (identifier "piVar16") ([ "[") (number_literal "0x2a") (] "]"))) (% "%") (cast_expression "(uint)piVar1[0x56]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar1[0x56]" (identifier "piVar1") ([ "[") (number_literal "0x56") (] "]")))))) (; ";")) (} "}"))) (if_statement "if (piVar16[10] == 7) {\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }\n  else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" (if "if") (parenthesized_expression "(piVar16[10] == 7)" (( "(") (binary_expression "piVar16[10] == 7" (subscript_expression "piVar16[10]" (identifier "piVar16") ([ "[") (number_literal "10") (] "]")) (== "==") (number_literal "7")) () ")")) (compound_statement "{\n    uVar14 = 0;\n    if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }\n    FUN_00048e30(piVar16,iVar12 + -0x34756);\n    uVar17 = 7;\n  }" ({ "{") (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((piVar1[0x13] & 0xffff00U) == 0) {\n      FUN_000265f0();\n    }" (if "if") (parenthesized_expression "((piVar1[0x13] & 0xffff00U) == 0)" (( "(") (binary_expression "(piVar1[0x13] & 0xffff00U) == 0" (parenthesized_expression "(piVar1[0x13] & 0xffff00U)" (( "(") (binary_expression "piVar1[0x13] & 0xffff00U" (subscript_expression "piVar1[0x13]" (identifier "piVar1") ([ "[") (number_literal "0x13") (] "]")) (& "&") (number_literal "0xffff00U")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000265f0();\n    }" ({ "{") (expression_statement "FUN_000265f0();" (call_expression "FUN_000265f0()" (identifier "FUN_000265f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00048e30(piVar16,iVar12 + -0x34756);" (call_expression "FUN_00048e30(piVar16,iVar12 + -0x34756)" (identifier "FUN_00048e30") (argument_list "(piVar16,iVar12 + -0x34756)" (( "(") (identifier "piVar16") (, ",") (binary_expression "iVar12 + -0x34756" (identifier "iVar12") (+ "+") (number_literal "-0x34756")) () ")"))) (; ";")) (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" (identifier "uVar17") (= "=") (number_literal "7")) (; ";")) (} "}")) (else_clause "else {\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" (else "else") (compound_statement "{\n    piVar16[10] = 0;\n    piVar16[0xd] = 0;\n    piVar16[0xe] = 0;\n    piVar16[0x1d] = 0;\n    piVar1[0x69] = 0;\n    if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }\n    uVar14 = 0;\n    uVar17 = 9;\n  }" ({ "{") (expression_statement "piVar16[10] = 0;" (assignment_expression "piVar16[10] = 0" (subscript_expression "piVar16[10]" (identifier "piVar16") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar16[0xd] = 0;" (assignment_expression "piVar16[0xd] = 0" (subscript_expression "piVar16[0xd]" (identifier "piVar16") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar16[0xe] = 0;" (assignment_expression "piVar16[0xe] = 0" (subscript_expression "piVar16[0xe]" (identifier "piVar16") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar16[0x1d] = 0;" (assignment_expression "piVar16[0x1d] = 0" (subscript_expression "piVar16[0x1d]" (identifier "piVar16") ([ "[") (number_literal "0x1d") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[0x69] = 0;" (assignment_expression "piVar1[0x69] = 0" (subscript_expression "piVar1[0x69]" (identifier "piVar1") ([ "[") (number_literal "0x69") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (piVar1[0x42] == 0) {\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }" (if "if") (parenthesized_expression "(piVar1[0x42] == 0)" (( "(") (binary_expression "piVar1[0x42] == 0" (subscript_expression "piVar1[0x42]" (identifier "piVar1") ([ "[") (number_literal "0x42") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_1cc = 0;\n      iVar15 = 0;\n      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);\n      while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }\n                    \n                    \n      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);\n      return uVar8;\n    }" ({ "{") (expression_statement "local_1cc = 0;" (assignment_expression "local_1cc = 0" (identifier "local_1cc") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" (identifier "iVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);" (assignment_expression "pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14)" (identifier "pbVar11") (= "=") (cast_expression "(byte *)(iVar7 + piVar16[9] * 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + piVar16[9] * 0x14)" (( "(") (binary_expression "iVar7 + piVar16[9] * 0x14" (identifier "iVar7") (+ "+") (binary_expression "piVar16[9] * 0x14" (subscript_expression "piVar16[9]" (identifier "piVar16") ([ "[") (number_literal "9") (] "]")) (* "*") (number_literal "0x14"))) () ")")))) (; ";")) (while_statement "while( true ) {\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        bVar13 = 0xfffffffe < local_1cc;\n        local_1cc = local_1cc + 1;\n        iVar15 = iVar15 + (uint)bVar13;\n        if (*pbVar11 < 0xab) break;\n        pbVar11 = pbVar11 + 0x14;\n      }" ({ "{") (expression_statement "bVar13 = 0xfffffffe < local_1cc;" (assignment_expression "bVar13 = 0xfffffffe < local_1cc" (identifier "bVar13") (= "=") (binary_expression "0xfffffffe < local_1cc" (number_literal "0xfffffffe") (< "<") (identifier "local_1cc"))) (; ";")) (expression_statement "local_1cc = local_1cc + 1;" (assignment_expression "local_1cc = local_1cc + 1" (identifier "local_1cc") (= "=") (binary_expression "local_1cc + 1" (identifier "local_1cc") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar15 = iVar15 + (uint)bVar13;" (assignment_expression "iVar15 = iVar15 + (uint)bVar13" (identifier "iVar15") (= "=") (binary_expression "iVar15 + (uint)bVar13" (identifier "iVar15") (+ "+") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")))) (; ";")) (if_statement "if (*pbVar11 < 0xab) break;" (if "if") (parenthesized_expression "(*pbVar11 < 0xab)" (( "(") (binary_expression "*pbVar11 < 0xab" (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")) (< "<") (number_literal "0xab")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar11 = pbVar11 + 0x14;" (assignment_expression "pbVar11 = pbVar11 + 0x14" (identifier "pbVar11") (= "=") (binary_expression "pbVar11 + 0x14" (identifier "pbVar11") (+ "+") (number_literal "0x14"))) (; ";")) (} "}"))) (expression_statement "uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0);" (assignment_expression "uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0)" (identifier "uVar8") (= "=") (call_expression "(*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))\n                        (iVar15,iVar12,piVar16,0)" (parenthesized_expression "(*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))" (( "(") (pointer_expression "*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" (* "*") (cast_expression "(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4))" (( "(") (binary_expression "iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" (identifier "iVar12") (+ "+") (pointer_expression "*(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" (* "*") (cast_expression "(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)" (( "(") (binary_expression "iVar12 + -0x2e55c + (uint)*pbVar11 * 4" (binary_expression "iVar12 + -0x2e55c" (identifier "iVar12") (+ "+") (number_literal "-0x2e55c")) (+ "+") (binary_expression "(uint)*pbVar11 * 4" (binary_expression "(uint)*pbVar11" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar11")) (* "*") (number_literal "4"))) () ")"))))) () ")")))) () ")")) (argument_list "(iVar15,iVar12,piVar16,0)" (( "(") (identifier "iVar15") (, ",") (identifier "iVar12") (, ",") (identifier "piVar16") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}"))) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar17 = 9;" (assignment_expression "uVar17 = 9" (identifier "uVar17") (= "=") (number_literal "9")) (; ";")) (} "}")))) (do_statement "do {\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  } while( true );" (do "do") (compound_statement "{\n    iVar7 = piVar16[0x1e];\n    if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }\n    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }\n    pcVar2 = (code *)piVar1[0x54];\n    while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }\n    uVar17 = 9;\n    local_1b4 = 0xffffffff;\n    local_1b0 = 0xffffffff;\n  }" ({ "{") (expression_statement "iVar7 = piVar16[0x1e];" (assignment_expression "iVar7 = piVar16[0x1e]" (identifier "iVar7") (= "=") (subscript_expression "piVar16[0x1e]" (identifier "piVar16") ([ "[") (number_literal "0x1e") (] "]"))) (; ";")) (if_statement "if (*(char *)((int)piVar1 + 0x4d) == '\0') {\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }\n    else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" (if "if") (parenthesized_expression "(*(char *)((int)piVar1 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)((int)piVar1 + 0x4d) == '\0'" (pointer_expression "*(char *)((int)piVar1 + 0x4d)" (* "*") (cast_expression "(char *)((int)piVar1 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + 0x4d)" (( "(") (binary_expression "(int)piVar1 + 0x4d" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }\n      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);\n      FUN_0008a3b0();\n      if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }\n    }" ({ "{") (if_statement "if (iVar7 == 0) {\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }\n      else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }\n        piVar16[10] = 0xc0a;\n      }" ({ "{") (if_statement "if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }" (if "if") (parenthesized_expression "(uVar17 != 0xc0a)" (( "(") (binary_expression "uVar17 != 0xc0a" (identifier "uVar17") (!= "!=") (number_literal "0xc0a")) () ")")) (compound_statement "{\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c5d;\n        }" ({ "{") (expression_statement "uVar10 = uVar17 & 0xfb;" (assignment_expression "uVar10 = uVar17 & 0xfb" (identifier "uVar10") (= "=") (binary_expression "uVar17 & 0xfb" (identifier "uVar17") (& "&") (number_literal "0xfb"))) (; ";")) (goto_statement "goto LAB_000a2c5d;" (goto "goto") (statement_identifier "LAB_000a2c5d") (; ";")) (} "}"))) (expression_statement "piVar16[10] = 0xc0a;" (assignment_expression "piVar16[10] = 0xc0a" (subscript_expression "piVar16[10]" (identifier "piVar16") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0xc0a")) (; ";")) (} "}")) (else_clause "else {\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" (else "else") (compound_statement "{\n        piVar16[10] = uVar17;\n        if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }\n      }" ({ "{") (expression_statement "piVar16[10] = uVar17;" (assignment_expression "piVar16[10] = uVar17" (subscript_expression "piVar16[10]" (identifier "piVar16") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "uVar17")) (; ";")) (if_statement "if (uVar17 != 0xc0a) {\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }" (if "if") (parenthesized_expression "(uVar17 != 0xc0a)" (( "(") (binary_expression "uVar17 != 0xc0a" (identifier "uVar17") (!= "!=") (number_literal "0xc0a")) () ")")) (compound_statement "{\n          uVar10 = uVar17 & 0xfb;\n          goto LAB_000a2c1e;\n        }" ({ "{") (expression_statement "uVar10 = uVar17 & 0xfb;" (assignment_expression "uVar10 = uVar17 & 0xfb" (identifier "uVar10") (= "=") (binary_expression "uVar17 & 0xfb" (identifier "uVar17") (& "&") (number_literal "0xfb"))) (; ";")) (goto_statement "goto LAB_000a2c1e;" (goto "goto") (statement_identifier "LAB_000a2c1e") (; ";")) (} "}"))) (} "}")))) (expression_statement "sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);" (call_expression "sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7)" (identifier "sqlite3_log") (argument_list "(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7)" (( "(") (number_literal "0xc0a") (, ",") (binary_expression "iVar12 + -0x311f8" (identifier "iVar12") (+ "+") (number_literal "-0x311f8")) (, ",") (number_literal "0") (, ",") (subscript_expression "piVar16[0x2d]" (identifier "piVar16") ([ "[") (number_literal "0x2d") (] "]")) (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "FUN_0008a3b0();" (call_expression "FUN_0008a3b0()" (identifier "FUN_0008a3b0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((piVar1[0x13] & 0xffff00U) == 0) {\n        FUN_000265f0();\n      }" (if "if") (parenthesized_expression "((piVar1[0x13] & 0xffff00U) == 0)" (( "(") (binary_expression "(piVar1[0x13] & 0xffff00U) == 0" (parenthesized_expression "(piVar1[0x13] & 0xffff00U)" (( "(") (binary_expression "piVar1[0x13] & 0xffff00U" (subscript_expression "piVar1[0x13]" (identifier "piVar1") ([ "[") (number_literal "0x13") (] "]")) (& "&") (number_literal "0xffff00U")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_000265f0();\n      }" ({ "{") (expression_statement "FUN_000265f0();" (call_expression "FUN_000265f0()" (identifier "FUN_000265f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" (else "else") (compound_statement "{\n      if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }\n      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);\n      FUN_0008a3b0();\n    }" ({ "{") (if_statement "if (iVar7 == 0) {\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }\n      else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = 3;\n        uVar17 = 7;\nLAB_000a2c5d:\n        uVar8 = FUN_00027de0();\n        piVar6 = piVar16;\n        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);\n        piVar16[10] = uVar17;\n        piVar16 = piVar6;\nLAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }\n      }" ({ "{") (expression_statement "uVar10 = 3;" (assignment_expression "uVar10 = 3" (identifier "uVar10") (= "=") (number_literal "3")) (; ";")) (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" (identifier "uVar17") (= "=") (number_literal "7")) (; ";")) (labeled_statement "LAB_000a2c5d:\n        uVar8 = FUN_00027de0();" (statement_identifier "LAB_000a2c5d") (: ":") (expression_statement "uVar8 = FUN_00027de0();" (assignment_expression "uVar8 = FUN_00027de0()" (identifier "uVar8") (= "=") (call_expression "FUN_00027de0()" (identifier "FUN_00027de0") (argument_list "()" (( "(") () ")")))) (; ";"))) (expression_statement "piVar6 = piVar16;" (assignment_expression "piVar6 = piVar16" (identifier "piVar6") (= "=") (identifier "piVar16")) (; ";")) (expression_statement "FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);" (call_expression "FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8)" (identifier "FUN_00048e30") (argument_list "(piVar16,iVar12 + -0x348a0,uVar8)" (( "(") (identifier "piVar16") (, ",") (binary_expression "iVar12 + -0x348a0" (identifier "iVar12") (+ "+") (number_literal "-0x348a0")) (, ",") (identifier "uVar8") () ")"))) (; ";")) (expression_statement "piVar16[10] = uVar17;" (assignment_expression "piVar16[10] = uVar17" (subscript_expression "piVar16[10]" (identifier "piVar16") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "uVar17")) (; ";")) (expression_statement "piVar16 = piVar6;" (assignment_expression "piVar16 = piVar6" (identifier "piVar16") (= "=") (identifier "piVar6")) (; ";")) (labeled_statement "LAB_000a2c1e:\n        if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" (statement_identifier "LAB_000a2c1e") (: ":") (if_statement "if (uVar10 == 10) {\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" (if "if") (parenthesized_expression "(uVar10 == 10)" (( "(") (binary_expression "uVar10 == 10" (identifier "uVar10") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n          pcVar2 = *(code **)(*piVar1 + 0x44);\n          if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }\n          piVar1[0x11] = iVar7;\n        }" ({ "{") (expression_statement "pcVar2 = *(code **)(*piVar1 + 0x44);" (assignment_expression "pcVar2 = *(code **)(*piVar1 + 0x44)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(*piVar1 + 0x44)" (* "*") (cast_expression "(code **)(*piVar1 + 0x44)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x44)" (( "(") (binary_expression "*piVar1 + 0x44" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (if_statement "if (pcVar2 == (code *)0x0) {\n            iVar7 = 0;\n          }\n          else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" (if "if") (parenthesized_expression "(pcVar2 == (code *)0x0)" (( "(") (binary_expression "pcVar2 == (code *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            iVar7 = 0;\n          }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" (else "else") (compound_statement "{\n            iVar7 = (*pcVar2)(*piVar1,0,0);\n          }" ({ "{") (expression_statement "iVar7 = (*pcVar2)(*piVar1,0,0);" (assignment_expression "iVar7 = (*pcVar2)(*piVar1,0,0)" (identifier "iVar7") (= "=") (call_expression "(*pcVar2)(*piVar1,0,0)" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(*piVar1,0,0)" (( "(") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (expression_statement "piVar1[0x11] = iVar7;" (assignment_expression "piVar1[0x11] = iVar7" (subscript_expression "piVar1[0x11]" (identifier "piVar1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" (else "else") (compound_statement "{\n        uVar17 = 7;\n        piVar16[10] = 7;\n      }" ({ "{") (expression_statement "uVar17 = 7;" (assignment_expression "uVar17 = 7" (identifier "uVar17") (= "=") (number_literal "7")) (; ";")) (expression_statement "piVar16[10] = 7;" (assignment_expression "piVar16[10] = 7" (subscript_expression "piVar16[10]" (identifier "piVar16") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "7")) (; ";")) (} "}")))) (expression_statement "sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);" (call_expression "sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e])" (identifier "sqlite3_log") (argument_list "(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e])" (( "(") (identifier "uVar17") (, ",") (binary_expression "iVar12 + -0x311f8" (identifier "iVar12") (+ "+") (number_literal "-0x311f8")) (, ",") (number_literal "0") (, ",") (subscript_expression "piVar16[0x2d]" (identifier "piVar16") ([ "[") (number_literal "0x2d") (] "]")) (, ",") (subscript_expression "piVar16[0x1e]" (identifier "piVar16") ([ "[") (number_literal "0x1e") (] "]")) () ")"))) (; ";")) (expression_statement "FUN_0008a3b0();" (call_expression "FUN_0008a3b0()" (identifier "FUN_0008a3b0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }" (if "if") (parenthesized_expression "((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0))))" (( "(") (binary_expression "(uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar14 < local_1b0)" (( "(") (binary_expression "uVar14 < local_1b0" (identifier "uVar14") (< "<") (identifier "local_1b0")) () ")")) (|| "||") (parenthesized_expression "((uVar14 <= local_1b0 && (local_1b4 != 0)))" (( "(") (parenthesized_expression "(uVar14 <= local_1b0 && (local_1b4 != 0))" (( "(") (binary_expression "uVar14 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar14 <= local_1b0" (identifier "uVar14") (<= "<=") (identifier "local_1b0")) (&& "&&") (parenthesized_expression "(local_1b4 != 0)" (( "(") (binary_expression "local_1b4 != 0" (identifier "local_1b4") (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\nLAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];\n      if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }\n      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }\n      return 1;\n    }" ({ "{") (labeled_statement "LAB_000a2422:\n      piVar16[0x2a] = piVar16[0x2a];" (statement_identifier "LAB_000a2422") (: ":") (expression_statement "piVar16[0x2a] = piVar16[0x2a];" (assignment_expression "piVar16[0x2a] = piVar16[0x2a]" (subscript_expression "piVar16[0x2a]" (identifier "piVar16") ([ "[") (number_literal "0x2a") (] "]")) (= "=") (subscript_expression "piVar16[0x2a]" (identifier "piVar16") ([ "[") (number_literal "0x2a") (] "]"))) (; ";"))) (if_statement "if (piVar16[0x25] != 0) {\n        FUN_00029ff0();\n      }" (if "if") (parenthesized_expression "(piVar16[0x25] != 0)" (( "(") (binary_expression "piVar16[0x25] != 0" (subscript_expression "piVar16[0x25]" (identifier "piVar16") ([ "[") (number_literal "0x25") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00029ff0();\n      }" ({ "{") (expression_statement "FUN_00029ff0();" (call_expression "FUN_00029ff0()" (identifier "FUN_00029ff0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_000d1450();\n      }" (if "if") (parenthesized_expression "(iVar15 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar15 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar15") (!= "!=") (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                    \n        FUN_000d1450();\n      }" ({ "{") (expression_statement "FUN_000d1450();" (call_expression "FUN_000d1450()" (identifier "FUN_000d1450") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pcVar2 = (code *)piVar1[0x54];" (assignment_expression "pcVar2 = (code *)piVar1[0x54]" (identifier "pcVar2") (= "=") (cast_expression "(code *)piVar1[0x54]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[0x54]" (identifier "piVar1") ([ "[") (number_literal "0x54") (] "]")))) (; ";")) (while_statement "while( true ) {\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (pcVar2 == (code *)0x0) goto LAB_000a2422;\n      bVar13 = CARRY4(local_1b4,piVar1[0x56]);\n      local_1b4 = local_1b4 + piVar1[0x56];\n      local_1b0 = local_1b0 + bVar13;\n      iVar7 = (*pcVar2)(piVar1[0x55]);\n      if (iVar7 != 0) break;\n      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;\n      pcVar2 = (code *)piVar1[0x54];\n    }" ({ "{") (if_statement "if (pcVar2 == (code *)0x0) goto LAB_000a2422;" (if "if") (parenthesized_expression "(pcVar2 == (code *)0x0)" (( "(") (binary_expression "pcVar2 == (code *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000a2422;" (goto "goto") (statement_identifier "LAB_000a2422") (; ";"))) (expression_statement "bVar13 = CARRY4(local_1b4,piVar1[0x56]);" (assignment_expression "bVar13 = CARRY4(local_1b4,piVar1[0x56])" (identifier "bVar13") (= "=") (call_expression "CARRY4(local_1b4,piVar1[0x56])" (identifier "CARRY4") (argument_list "(local_1b4,piVar1[0x56])" (( "(") (identifier "local_1b4") (, ",") (subscript_expression "piVar1[0x56]" (identifier "piVar1") ([ "[") (number_literal "0x56") (] "]")) () ")")))) (; ";")) (expression_statement "local_1b4 = local_1b4 + piVar1[0x56];" (assignment_expression "local_1b4 = local_1b4 + piVar1[0x56]" (identifier "local_1b4") (= "=") (binary_expression "local_1b4 + piVar1[0x56]" (identifier "local_1b4") (+ "+") (subscript_expression "piVar1[0x56]" (identifier "piVar1") ([ "[") (number_literal "0x56") (] "]")))) (; ";")) (expression_statement "local_1b0 = local_1b0 + bVar13;" (assignment_expression "local_1b0 = local_1b0 + bVar13" (identifier "local_1b0") (= "=") (binary_expression "local_1b0 + bVar13" (identifier "local_1b0") (+ "+") (identifier "bVar13"))) (; ";")) (expression_statement "iVar7 = (*pcVar2)(piVar1[0x55]);" (assignment_expression "iVar7 = (*pcVar2)(piVar1[0x55])" (identifier "iVar7") (= "=") (call_expression "(*pcVar2)(piVar1[0x55])" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(piVar1[0x55])" (( "(") (subscript_expression "piVar1[0x55]" (identifier "piVar1") ([ "[") (number_literal "0x55") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar7 != 0) break;" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;" (if "if") (parenthesized_expression "((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0))))" (( "(") (binary_expression "(uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))" (parenthesized_expression "(uVar14 < local_1b0)" (( "(") (binary_expression "uVar14 < local_1b0" (identifier "uVar14") (< "<") (identifier "local_1b0")) () ")")) (|| "||") (parenthesized_expression "((uVar14 <= local_1b0 && (local_1b4 != 0)))" (( "(") (parenthesized_expression "(uVar14 <= local_1b0 && (local_1b4 != 0))" (( "(") (binary_expression "uVar14 <= local_1b0 && (local_1b4 != 0)" (binary_expression "uVar14 <= local_1b0" (identifier "uVar14") (<= "<=") (identifier "local_1b0")) (&& "&&") (parenthesized_expression "(local_1b4 != 0)" (( "(") (binary_expression "local_1b4 != 0" (identifier "local_1b4") (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_000a2422;" (goto "goto") (statement_identifier "LAB_000a2422") (; ";"))) (expression_statement "pcVar2 = (code *)piVar1[0x54];" (assignment_expression "pcVar2 = (code *)piVar1[0x54]" (identifier "pcVar2") (= "=") (cast_expression "(code *)piVar1[0x54]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[0x54]" (identifier "piVar1") ([ "[") (number_literal "0x54") (] "]")))) (; ";")) (} "}"))) (expression_statement "uVar17 = 9;" (assignment_expression "uVar17 = 9" (identifier "uVar17") (= "=") (number_literal "9")) (; ";")) (expression_statement "local_1b4 = 0xffffffff;" (assignment_expression "local_1b4 = 0xffffffff" (identifier "local_1b4") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_1b0 = 0xffffffff;" (assignment_expression "local_1b0 = 0xffffffff" (identifier "local_1b0") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x000a24cd) */

int function_1(type_1 *p)

{
  type_2 *db;
  type_3 *var_27;
  type_4 var_24;
  type_5 *pDVar3;
  type_6 *var_6;
  type_7 *var_20;
  type_1 *pVVar5;
  int var_4;
  char *var_15;
  int var_5;
  type_8 var_18;
  type_9 *var_12;
  void *pKey;
  int var_2;
  void *pKey_1;
  int var_11;
  int var_3;
  bool var_29;
  type_8 var_13;
  type_8 var_21;
  int var_14;
  type_1 *p_01;
  type_8 var_8;
  type_8 var_23;
  type_8 var_22;
  type_10 *pRoot;
  type_10 *pMerger;
  type_11 *pIncr;
  type_12 t;
  type_13 sMem;
  type_14 ctx;
  char zErr [100];
  type_15 *p_1;
  
  pVVar5 = (type_1 *)var_1();
  var_11 = var_2 + 0x63db7;
  db = pVVar5->db;
  var_14 = *(int *)(var_3 + 0x14);
  var_12 = pVVar5->aOp;
  p_01 = pVVar5;
  if (pVVar5->lockMask != 0) {
    var_4 = db->nDb;
    pDVar3 = db->aDb;
    if (0 < var_4) {
      var_5 = 0;
      do {
        if ((((var_5 != 1) && ((pVVar5->lockMask & 1 << ((type_16)var_5 & 0x1f)) != 0)) &&
            (var_6 = pDVar3[var_5].pBt, var_6 != (type_6 *)0x0)) &&
           ((var_6->sharable != '\0' &&
            (var_6->wantToLock = var_6->wantToLock + 1, var_6->locked == '\0')))) {
          var_7(var_6);
        }
        var_5 = var_5 + 1;
      } while (var_4 != var_5);
    }
  }
  var_23 = 0xffffffff;
  var_22 = 0xffffffff;
  if (db->xProgress != (type_3 *)0x0) {
    var_22 = 0;
    var_23 = db->nProgressOps - p_01->aCounter[4] % db->nProgressOps;
  }
  if (p_01->rc == 7) {
    var_21 = 0;
    var_8._0_1_ = db->temp_store;
    var_8._1_1_ = db->mallocFailed;
    var_8._2_1_ = db->bBenignMalloc;
    var_8._3_1_ = db->dfltLockMode;
    if ((var_8 & 0xffff00) == 0) {
      var_9(db);
    }
    var_10(p_01,(char *)(var_11 + -0x34756));
    var_8 = 7;
  }
  else {
    p_01->rc = 0;
    *(type_17 *)&p_01->iCurrentTime = 0;
    *(type_17 *)((int)&p_01->iCurrentTime + 4) = 0;
    p_01->pResultSet = (type_13 *)0x0;
    (db->busyHandler).nBusy = 0;
    if ((db->u1).isInterrupted == 0) {
      var_13 = 0;
      var_14 = 0;
      var_12 = var_12 + p_01->pc;
      while( true ) {
        var_29 = 0xfffffffe < var_13;
        var_13 = var_13 + 1;
        var_14 = var_14 + (type_8)var_29;
        if (var_12->opcode < 0xab) break;
        var_12 = var_12 + 1;
      }
                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      var_14 = (*(type_18 *)(var_11 + *(int *)(var_11 + -0x2e55c + (type_8)var_12->opcode * 4)))
                         (var_14,var_11,p_01,0);
      return var_14;
    }
    var_21 = 0;
    var_8 = 9;
  }
  do {
    var_15 = p_01->zErrMsg;
    if (db->mallocFailed == '\0') {
      if (var_15 == (char *)0x0) {
        if (var_8 != 0xc0a) {
          var_18 = var_8 & 0xfb;
          goto LAB_000a2c5d;
        }
        p_01->rc = 0xc0a;
      }
      else {
        p_01->rc = var_8;
        if (var_8 != 0xc0a) {
          var_18 = var_8 & 0xfb;
          goto LAB_000a2c1e;
        }
      }
      pVVar5 = p_01;
      var_16(0xc0a,(char *)(var_11 + -0x311f8),0,p_01->zSql,var_15);
      var_17(p_01);
      var_18._0_1_ = db->temp_store;
      var_18._1_1_ = db->mallocFailed;
      var_18._2_1_ = db->bBenignMalloc;
      var_18._3_1_ = db->dfltLockMode;
      p_01 = pVVar5;
      if ((var_18 & 0xffff00) == 0) {
        var_9(db);
        p_01 = pVVar5;
      }
    }
    else {
      if (var_15 == (char *)0x0) {
        var_18 = 3;
        var_8 = 7;
LAB_000a2c5d:
        var_15 = var_19(var_8);
        pVVar5 = p_01;
        var_10(p_01,(char *)(var_11 + -0x348a0),var_15);
        p_01->rc = var_8;
        p_01 = pVVar5;
LAB_000a2c1e:
        if (var_18 == 10) {
          var_20 = db->pVfs->xGetLastError;
          if (var_20 == (type_7 *)0x0) {
            var_4 = 0;
          }
          else {
            var_4 = (*var_20)(db->pVfs,0,(char *)0x0);
          }
          db->iSysErrno = var_4;
        }
      }
      else {
        var_8 = 7;
        p_01->rc = 7;
      }
      pVVar5 = p_01;
      var_16(var_8,(char *)(var_11 + -0x311f8),0,p_01->zSql,p_01->zErrMsg);
      var_17(p_01);
      p_01 = pVVar5;
    }
    if ((var_21 < var_22) || ((var_21 <= var_22 && (var_23 != 0)))) {
LAB_000a2422:
      var_24 = p_01->lockMask;
      p_01->aCounter[4] = p_01->aCounter[4];
      if (var_24 != 0) {
        var_25((type_1 *)p_01->db,(type_1 *)&p_01->lockMask);
      }
      if (var_14 != *(int *)(var_3 + 0x14)) {
                    /* WARNING: Subroutine does not return */
        var_26();
      }
      return 1;
    }
    var_27 = db->xProgress;
    while( true ) {
      if (var_27 == (type_3 *)0x0) goto LAB_000a2422;
      var_29 = var_28(var_23,db->nProgressOps);
      var_23 = var_23 + db->nProgressOps;
      var_22 = var_22 + var_29;
      var_4 = (*var_27)(db->pProgressArg);
      if (var_4 != 0) break;
      if ((var_21 < var_22) || ((var_21 <= var_22 && (var_23 != 0)))) goto LAB_000a2422;
      var_27 = db->xProgress;
    }
    var_8 = 9;
    var_23 = 0xffffffff;
    var_22 = 0xffffffff;
  } while( true );
}


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

/* WARNING: Removing unreachable block (ram,0x000a24cd) */

undefined4 MASKED(void)

{
  int *piVar1;
  code *pcVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int iVar7;
  undefined4 uVar8;
  int iVar9;
  uint uVar10;
  byte *pbVar11;
  int unaff_EDI;
  int iVar12;
  int in_GS_OFFSET;
  bool bVar13;
  uint local_1cc;
  uint uVar14;
  int iVar15;
  int *piVar16;
  uint uVar17;
  uint local_1b4;
  uint local_1b0;
  
  piVar6 = (int *)FUN_000d0aaf();
  iVar12 = unaff_EDI + 0x63db7;
  piVar1 = (int *)*piVar6;
  iVar15 = *(int *)(in_GS_OFFSET + 0x14);
  iVar7 = piVar6[0x19];
  piVar16 = piVar6;
  if (piVar6[0x25] != 0) {
    iVar3 = piVar1[5];
    iVar4 = piVar1[4];
    if (0 < iVar3) {
      iVar9 = 0;
      do {
        if ((((iVar9 != 1) && ((piVar6[0x25] & 1 << ((byte)iVar9 & 0x1f)) != 0)) &&
            (iVar5 = *(int *)(iVar4 + 4 + iVar9 * 0x10), iVar5 != 0)) &&
           ((*(char *)(iVar5 + 9) != '\0' &&
            (*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + 1, *(char *)(iVar5 + 10) == '\0')))) {
          FUN_00024a50();
        }
        iVar9 = iVar9 + 1;
      } while (iVar3 != iVar9);
    }
  }
  local_1b4 = 0xffffffff;
  local_1b0 = 0xffffffff;
  if (piVar1[0x54] != 0) {
    local_1b0 = 0;
    local_1b4 = piVar1[0x56] - (uint)piVar16[0x2a] % (uint)piVar1[0x56];
  }
  if (piVar16[10] == 7) {
    uVar14 = 0;
    if ((piVar1[0x13] & 0xffff00U) == 0) {
      FUN_000265f0();
    }
    FUN_00048e30(piVar16,iVar12 + -0x34756);
    uVar17 = 7;
  }
  else {
    piVar16[10] = 0;
    piVar16[0xd] = 0;
    piVar16[0xe] = 0;
    piVar16[0x1d] = 0;
    piVar1[0x69] = 0;
    if (piVar1[0x42] == 0) {
      local_1cc = 0;
      iVar15 = 0;
      pbVar11 = (byte *)(iVar7 + piVar16[9] * 0x14);
      while( true ) {
        bVar13 = 0xfffffffe < local_1cc;
        local_1cc = local_1cc + 1;
        iVar15 = iVar15 + (uint)bVar13;
        if (*pbVar11 < 0xab) break;
        pbVar11 = pbVar11 + 0x14;
      }
                    /* WARNING: Could not recover jumptable at 0x000a25b3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar8 = (*(code *)(iVar12 + *(int *)(iVar12 + -0x2e55c + (uint)*pbVar11 * 4)))
                        (iVar15,iVar12,piVar16,0);
      return uVar8;
    }
    uVar14 = 0;
    uVar17 = 9;
  }
  do {
    iVar7 = piVar16[0x1e];
    if (*(char *)((int)piVar1 + 0x4d) == '\0') {
      if (iVar7 == 0) {
        if (uVar17 != 0xc0a) {
          uVar10 = uVar17 & 0xfb;
          goto LAB_000a2c5d;
        }
        piVar16[10] = 0xc0a;
      }
      else {
        piVar16[10] = uVar17;
        if (uVar17 != 0xc0a) {
          uVar10 = uVar17 & 0xfb;
          goto LAB_000a2c1e;
        }
      }
      sqlite3_log(0xc0a,iVar12 + -0x311f8,0,piVar16[0x2d],iVar7);
      FUN_0008a3b0();
      if ((piVar1[0x13] & 0xffff00U) == 0) {
        FUN_000265f0();
      }
    }
    else {
      if (iVar7 == 0) {
        uVar10 = 3;
        uVar17 = 7;
LAB_000a2c5d:
        uVar8 = FUN_00027de0();
        piVar6 = piVar16;
        FUN_00048e30(piVar16,iVar12 + -0x348a0,uVar8);
        piVar16[10] = uVar17;
        piVar16 = piVar6;
LAB_000a2c1e:
        if (uVar10 == 10) {
          pcVar2 = *(code **)(*piVar1 + 0x44);
          if (pcVar2 == (code *)0x0) {
            iVar7 = 0;
          }
          else {
            iVar7 = (*pcVar2)(*piVar1,0,0);
          }
          piVar1[0x11] = iVar7;
        }
      }
      else {
        uVar17 = 7;
        piVar16[10] = 7;
      }
      sqlite3_log(uVar17,iVar12 + -0x311f8,0,piVar16[0x2d],piVar16[0x1e]);
      FUN_0008a3b0();
    }
    if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) {
LAB_000a2422:
      piVar16[0x2a] = piVar16[0x2a];
      if (piVar16[0x25] != 0) {
        FUN_00029ff0();
      }
      if (iVar15 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_000d1450();
      }
      return 1;
    }
    pcVar2 = (code *)piVar1[0x54];
    while( true ) {
      if (pcVar2 == (code *)0x0) goto LAB_000a2422;
      bVar13 = CARRY4(local_1b4,piVar1[0x56]);
      local_1b4 = local_1b4 + piVar1[0x56];
      local_1b0 = local_1b0 + bVar13;
      iVar7 = (*pcVar2)(piVar1[0x55]);
      if (iVar7 != 0) break;
      if ((uVar14 < local_1b0) || ((uVar14 <= local_1b0 && (local_1b4 != 0)))) goto LAB_000a2422;
      pcVar2 = (code *)piVar1[0x54];
    }
    uVar17 = 9;
    local_1b4 = 0xffffffff;
    local_1b0 = 0xffffffff;
  } while( true );
}

