
/* WARNING: Removing unreachable block (ram,0x0010a6dc) */
/* WARNING: Removing unreachable block (ram,0x0010a6f8) */
/* WARNING: Removing unreachable block (ram,0x0010a71c) */
/* WARNING: Removing unreachable block (ram,0x0010af64) */
/* WARNING: Removing unreachable block (ram,0x0010a72c) */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

int getIntFromStmt(sqlite3 *db,char *zSql,int *piVal)

{
  byte bVar1;
  char cVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  char *pcVar7;
  sqlite3_stmt **ppsVar8;
  sqlite3 *db_00;
  int *piVar9;
  int iVar10;
  int *piVar11;
  int iVar12;
  int iVar13;
  sqlite3_stmt *psVar14;
  int *unaff_s4;
  undefined4 *puVar15;
  undefined *puVar16;
  code *pcVar17;
  sqlite3_stmt *psVar18;
  longlong lVar19;
  sqlite3_stmt **ppsVar20;
  int iStack_a8;
  sqlite3_stmt *psStack_9c;
  int aiStack_98 [4];
  int iStack_88;
  int *apiStack_84 [3];
  sqlite3_stmt **ppsStack_78;
  int *piStack_74;
  int *piStack_70;
  int *piStack_6c;
  int *piStack_68;
  int iStack_64;
  undefined *puStack_60;
  int *piStack_5c;
  int *piVar21;
  undefined4 *puStack_24;
  sqlite3_stmt *pStmt;
  sqlite3 *psStack_14;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  ppsVar20 = &pStmt;
  iVar10 = -1;
  piVar21 = (int *)0x0;
  pStmt = (sqlite3_stmt *)0x0;
  psStack_14 = *(sqlite3 **)PTR___stack_chk_guard_0015ba2c;
  iVar4 = sqlite3_prepare_v2(db,zSql,-1,ppsVar20,(char **)0x0);
  if (iVar4 == 0) {
    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt);
    if (iVar4 == 100) {
      zSql = (char *)0x0;
      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);
      *piVal = iVar4;
    }
    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt);
  }
  if (psStack_14 == *(sqlite3 **)puVar3) {
    return iVar4;
  }
  db_00 = psStack_14;
  puVar16 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  puStack_60 = puVar3;
  piVar11 = *(int **)(puVar16 + 0x5162c);
  iStack_64 = *piVar11;
  aiStack_98[3] = *(int *)(puVar16 + 0x511fc) + -0x3350;
  aiStack_98[0] = 0;
  aiStack_98[1] = *(int *)(puVar16 + 0x511fc) + -0x33a0;
  aiStack_98[2] = *(int *)(puVar16 + 0x511fc) + -0x3374;
  iStack_88 = *(int *)(puVar16 + 0x511fc) + -0x332c;
  piStack_5c = piVal;
  if (0x67 < iVar10) {
    iStack_a8 = 1;
    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4);
    *puStack_24 = uVar6;
    goto LAB_0010a8f0;
  }
  (**(code **)(puVar16 + 0x514bc))();
  iVar4 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[1]);
  iVar5 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[2]);
  iVar12 = iVar4 + iVar5 + 0x1fa;
  unaff_s4 = (int *)(**(code **)(puVar16 + 0x51360))(0,iVar12);
  if (unaff_s4 == (int *)0x0) {
    iStack_a8 = 7;
    goto LAB_0010a8f0;
  }
  (**(code **)(puVar16 + 0x515b4))(unaff_s4,0,iVar12);
  unaff_s4[10] = 1;
  piVar9 = unaff_s4 + 0x7e;
  iVar13 = (int)piVar9 + iVar4 + 1;
  unaff_s4[8] = (int)piVar9;
  iVar12 = *(int *)(puVar16 + 0x511d8);
  pcVar17 = *(code **)(puVar16 + 0x51630);
  *(bool *)((int)unaff_s4 + 0x16) = zSql != (char *)0x0;
  unaff_s4[9] = iVar13;
  *unaff_s4 = iVar12 + -0x4cd8;
  (*pcVar17)(piVar9,ppsVar20[1],iVar4);
  (**(code **)(puVar16 + 0x51630))(iVar13,ppsVar20[2],iVar5);
  uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);
  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3304,ppsVar20[3]);
  if (4 < iVar10) {
    iVar5 = *(int *)(puVar16 + 0x511e8);
    iVar4 = 4;
    ppsVar8 = ppsVar20 + 4;
    do {
      while (**ppsVar8 != (sqlite3_stmt)0x2b) {
        pcVar17 = *(code **)(puVar16 + 0x51410);
        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);
          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);
          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;
          if (iVar4 < iVar10) {
            iStack_a8 = 1;
            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)
            ;
            pcVar17 = *(code **)(puVar16 + 0x51220);
            *puStack_24 = uVar6;
            (*pcVar17)(pcVar7);
            goto LAB_0010a998;
          }
          goto LAB_0010a66c;
        }
        iVar4 = iVar4 + 1;
        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';
        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);
        ppsVar8 = ppsVar8 + 1;
        if (iVar10 == iVar4) goto LAB_0010a63c;
      }
      pcVar17 = *(code **)(puVar16 + 0x51410);
      iVar4 = iVar4 + 1;
      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';
      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);
      ppsVar8 = ppsVar8 + 1;
    } while (iVar10 != iVar4);
  }
LAB_0010a63c:
  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);
  pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);
  if (pcVar7 == (char *)0x0) {
LAB_0010a9c0:
    iStack_a8 = 7;
    (**(code **)(puVar16 + 0x51220))(0);
    goto LAB_0010a998;
  }
LAB_0010a66c:
  iStack_a8 = sqlite3_declare_vtab(db_00,pcVar7);
  if (iStack_a8 != 0) {
    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);
    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);
    pcVar17 = *(code **)(puVar16 + 0x51220);
    *puStack_24 = uVar6;
    (*pcVar17)(pcVar7);
    goto LAB_0010a998;
  }
  (**(code **)(puVar16 + 0x51220))(pcVar7);
  bVar1 = *(byte *)((int)unaff_s4 + 0x15);
  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;
  if (bVar1 < 2) {
    iVar4 = 2;
LAB_0010a9e4:
    iStack_a8 = 1;
    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])
    ;
    *puStack_24 = uVar6;
    goto LAB_0010a998;
  }
  if (10 < bVar1) {
    iVar4 = 3;
    goto LAB_0010a9e4;
  }
  if ((bVar1 & 1) != 0) {
    iVar4 = 1;
    goto LAB_0010a9e4;
  }
  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';
  psStack_9c = (sqlite3_stmt *)0x0;
  pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))
                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8]);
  if (pcVar7 == (char *)0x0) {
    iStack_a8 = 7;
LAB_0010ac60:
    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);
    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);
    pcVar17 = *(code **)(puVar16 + 0x51220);
    *puStack_24 = uVar6;
    (*pcVar17)(pcVar7);
    goto LAB_0010a998;
  }
  iStack_a8 = getIntFromStmt(db_00,pcVar7,(int *)&psStack_9c);
  if (iStack_a8 != 0) goto LAB_0010ac60;
  unaff_s4[4] = (int)(psStack_9c + -0x40);
  iVar4 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;
  pcVar17 = *(code **)(puVar16 + 0x51220);
  if (iVar4 < (int)(psStack_9c + -0x40)) {
    unaff_s4[4] = iVar4;
    (*pcVar17)(pcVar7);
  }
  else {
    (*pcVar17)(pcVar7);
  }
  psVar14 = ppsVar20[1];
  pcVar17 = *(code **)(puVar16 + 0x51420);
  psVar18 = ppsVar20[2];
  unaff_s4[3] = (int)db_00;
  uVar6 = (*pcVar17)(db_00);
  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3124,psVar14,psVar18);
  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
    iVar10 = *(int *)(puVar16 + 0x511fc);
    iVar4 = 0;
    do {
      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);
      iVar4 = iVar4 + 1;
    } while (iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));
  }
  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3284,psVar14,psVar18);
  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3244,psVar14,psVar18);
  (**(code **)(puVar16 + 0x51410))
            (uVar6,*(int *)(puVar16 + 0x511fc) + -0x31fc,psVar14,psVar18,unaff_s4[4]);
  iVar4 = (**(code **)(puVar16 + 0x51428))(uVar6);
  if (iVar4 != 0) {
    iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0);
    (**(code **)(puVar16 + 0x51220))(iVar4);
    if (iStack_a8 != 0) goto LAB_0010ac28;
    apiStack_84[0] = unaff_s4 + 0x14;
    apiStack_84[2] = unaff_s4 + 0x16;
    apiStack_84[1] = unaff_s4 + 0x15;
    ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17);
    piStack_74 = unaff_s4 + 0x18;
    piStack_70 = unaff_s4 + 0x19;
    piStack_6c = unaff_s4 + 0x1a;
    piStack_68 = unaff_s4 + 0x1b;
    ppsVar20 = (sqlite3_stmt **)0x0;
    iStack_a8 = sqlite3_table_column_metadata
                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)
                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);
    if (iStack_a8 == 0) {
      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))
                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);
      if (pcVar7 == (char *)0x0) {
LAB_0010add8:
        iStack_a8 = 7;
        ppsVar8 = ppsVar20;
      }
      else {
        ppsVar20 = (sqlite3_stmt **)0x0;
        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);
        if (iStack_a8 == 0) {
          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);
          if (iVar4 == 100) {
            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);
            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);
            if (iStack_a8 != 0) goto LAB_0010af48;
            if (lVar19 != 0) {
              if ((lVar19 < 0) ||
                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&
                  ((uint)lVar19 < 100)))) {
                lVar19 = 100;
                pcVar17 = *(code **)(puVar16 + 0x51220);
              }
              *(longlong *)(unaff_s4 + 0xc) = lVar19;
              (*pcVar17)(pcVar7);
              goto LAB_0010ad1c;
            }
          }
          else {
            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);
            if (iStack_a8 != 0) {
LAB_0010af48:
              pcVar17 = *(code **)(puVar16 + 0x51220);
              goto LAB_0010af4c;
            }
          }
LAB_0010acfc:
          pcVar17 = *(code **)(puVar16 + 0x51220);
          unaff_s4[0xd] = 0x100000;
          unaff_s4[0xc] = 0;
          (*pcVar17)(pcVar7);
          goto LAB_0010ad1c;
        }
        pcVar17 = *(code **)(puVar16 + 0x51220);
        if (iStack_a8 != 7) goto LAB_0010acfc;
LAB_0010af4c:
        (*pcVar17)(pcVar7);
        ppsVar8 = ppsVar20;
      }
LAB_0010a7dc:
      cVar2 = *(char *)((int)unaff_s4 + 0x19);
    }
    else {
      unaff_s4[0xd] = 0x100000;
      unaff_s4[0xc] = 0;
      ppsVar8 = ppsVar20;
      if (iStack_a8 != 1) goto LAB_0010a7dc;
LAB_0010ad1c:
      iVar10 = 0;
      iVar4 = *(int *)(puVar16 + 0x511fc);
      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);
      do {
        if (iVar10 == 3) {
          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {
            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);
            ppsVar8 = ppsStack_78;
          }
          else {
            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);
            ppsVar8 = ppsStack_78;
          }
          ppsStack_78 = ppsVar8;
          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;
          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);
          (**(code **)(puVar16 + 0x51220))(pcVar7);
        }
        else {
          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);
          if (pcVar7 == (char *)0x0) {
LAB_0010adc8:
            (**(code **)(puVar16 + 0x51220))(0);
            goto LAB_0010add8;
          }
          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];
          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);
          (**(code **)(puVar16 + 0x51220))(pcVar7);
          if (iVar10 == 7) {
            iVar4 = *(int *)(puVar16 + 0x511fc);
            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;
            goto LAB_0010af0c;
          }
        }
        iVar10 = iVar10 + 1;
        puVar15 = puVar15 + 1;
        ppsVar20 = ppsVar8;
      } while (iStack_a8 == 0);
      cVar2 = *(char *)((int)unaff_s4 + 0x19);
    }
    if (cVar2 == '\0') goto LAB_0010ac28;
    iVar4 = *(int *)(puVar16 + 0x511fc);
LAB_0010a7ec:
    iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);
    unaff_s4[0x10] = iVar4;
    if (iVar4 != 0) {
      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);
      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);
      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
        iVar5 = *(int *)(puVar16 + 0x511fc);
        iVar10 = *(int *)(puVar16 + 0x511fc);
        iVar4 = *(int *)(puVar16 + 0x511e8);
        ppsVar20 = (sqlite3_stmt **)0x0;
        while( true ) {
          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {
            ppsVar8 = ppsVar20;
            (**(code **)(puVar16 + 0x51410))
                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);
          }
          else {
            (**(code **)(puVar16 + 0x51410))
                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);
          }
          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);
          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;
          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);
        }
      }
      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);
      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);
      if (pcVar7 != (char *)0x0) {
        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),
                                       (char **)0x0);
        (**(code **)(puVar16 + 0x51220))(pcVar7);
LAB_0010af0c:
        if (iStack_a8 == 0) {
          *piVar21 = (int)unaff_s4;
          goto LAB_0010a8f0;
        }
        goto LAB_0010ac28;
      }
    }
  }
  iStack_a8 = 7;
LAB_0010ac28:
  while( true ) {
    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);
    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);
    *puStack_24 = uVar6;
LAB_0010a998:
    iVar4 = unaff_s4[10];
    unaff_s4[10] = iVar4 + -1;
    if (iVar4 + -1 == 0) {
      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);
    }
LAB_0010a8f0:
    if (iStack_64 == *piVar11) break;
    iStack_a8 = (**(code **)(puVar16 + 0x51610))();
  }
  return iStack_a8;
}



/* WARNING: Removing unreachable block (ram,0x0010a6dc) */
/* WARNING: Removing unreachable block (ram,0x0010a6f8) */
/* WARNING: Removing unreachable block (ram,0x0010a71c) */
/* WARNING: Removing unreachable block (ram,0x0010af64) */
/* WARNING: Removing unreachable block (ram,0x0010a72c) */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

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

{
  byte bVar1;
  char cVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined4 uVar7;
  int *piVar8;
  int iVar9;
  int *piVar10;
  int iVar11;
  int iVar12;
  undefined4 uVar13;
  int *unaff_s4;
  undefined4 *puVar14;
  undefined *puVar15;
  code *pcVar16;
  undefined4 uVar17;
  longlong lVar18;
  int *piVar19;
  int iStack_a8;
  int iStack_9c;
  int aiStack_98 [4];
  int iStack_88;
  int *apiStack_84 [4];
  int *piStack_74;
  int *piStack_70;
  int *piStack_6c;
  int *piStack_68;
  int iStack_64;
  undefined *puStack_60;
  undefined4 *puStack_5c;
  undefined4 *puStack_24;
  undefined4 local_18;
  int local_14;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  puVar14 = &local_18;
  iVar9 = -1;
  local_18 = 0;
  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;
  iVar4 = sqlite3_prepare_v2();
  if (iVar4 == 0) {
    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);
    if (iVar4 == 100) {
      param_2 = 0;
      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);
      *param_3 = uVar7;
    }
    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);
  }
  if (local_14 == *(int *)puVar3) {
    return iVar4;
  }
  iVar4 = local_14;
  puVar15 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  puStack_60 = puVar3;
  piVar10 = *(int **)(puVar15 + 0x5162c);
  iStack_64 = *piVar10;
  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;
  aiStack_98[0] = 0;
  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;
  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;
  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;
  puStack_5c = param_3;
  if (0x67 < iVar9) {
    iStack_a8 = 1;
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);
    *puStack_24 = uVar7;
    piVar19 = piRam00000000;
    goto LAB_0010a8f0;
  }
  (**(code **)(puVar15 + 0x514bc))();
  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);
  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);
  iVar11 = iVar5 + iVar6 + 0x1fa;
  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);
  if (unaff_s4 == (int *)0x0) {
    iStack_a8 = 7;
    piVar19 = piRam00000000;
    goto LAB_0010a8f0;
  }
  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);
  unaff_s4[10] = 1;
  piVar19 = unaff_s4 + 0x7e;
  iVar12 = (int)piVar19 + iVar5 + 1;
  unaff_s4[8] = (int)piVar19;
  iVar11 = *(int *)(puVar15 + 0x511d8);
  pcVar16 = *(code **)(puVar15 + 0x51630);
  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;
  unaff_s4[9] = iVar12;
  *unaff_s4 = iVar11 + -0x4cd8;
  (*pcVar16)(piVar19,puVar14[1],iVar5);
  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);
  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);
  if (4 < iVar9) {
    iVar6 = *(int *)(puVar15 + 0x511e8);
    iVar5 = 4;
    piVar19 = puVar14 + 4;
    do {
      while (*(char *)*piVar19 != '+') {
        pcVar16 = *(code **)(puVar15 + 0x51410);
        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);
          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);
          if (iVar6 == 0) goto LAB_0010a9c0;
          if (iVar5 < iVar9) {
            iStack_a8 = 1;
            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)
            ;
            pcVar16 = *(code **)(puVar15 + 0x51220);
            *puStack_24 = uVar7;
            (*pcVar16)(iVar6);
            goto LAB_0010a998;
          }
          goto LAB_0010a66c;
        }
        iVar5 = iVar5 + 1;
        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';
        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);
        piVar19 = piVar19 + 1;
        if (iVar9 == iVar5) goto LAB_0010a63c;
      }
      pcVar16 = *(code **)(puVar15 + 0x51410);
      iVar5 = iVar5 + 1;
      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';
      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);
      piVar19 = piVar19 + 1;
    } while (iVar9 != iVar5);
  }
LAB_0010a63c:
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);
  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);
  if (iVar6 == 0) {
LAB_0010a9c0:
    iStack_a8 = 7;
    (**(code **)(puVar15 + 0x51220))(0);
    goto LAB_0010a998;
  }
LAB_0010a66c:
  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);
  if (iStack_a8 != 0) {
    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);
    pcVar16 = *(code **)(puVar15 + 0x51220);
    *puStack_24 = uVar7;
    (*pcVar16)(iVar6);
    goto LAB_0010a998;
  }
  (**(code **)(puVar15 + 0x51220))(iVar6);
  bVar1 = *(byte *)((int)unaff_s4 + 0x15);
  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;
  if (bVar1 < 2) {
    iVar9 = 2;
LAB_0010a9e4:
    iStack_a8 = 1;
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])
    ;
    *puStack_24 = uVar7;
    goto LAB_0010a998;
  }
  if (10 < bVar1) {
    iVar9 = 3;
    goto LAB_0010a9e4;
  }
  if ((bVar1 & 1) != 0) {
    iVar9 = 1;
    goto LAB_0010a9e4;
  }
  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';
  iStack_9c = 0;
  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);
  if (iVar9 == 0) {
    iStack_a8 = 7;
LAB_0010ac60:
    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);
    pcVar16 = *(code **)(puVar15 + 0x51220);
    *puStack_24 = uVar7;
    (*pcVar16)(iVar9);
    goto LAB_0010a998;
  }
  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);
  if (iStack_a8 != 0) goto LAB_0010ac60;
  unaff_s4[4] = iStack_9c + -0x40;
  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;
  pcVar16 = *(code **)(puVar15 + 0x51220);
  if (iVar5 < iStack_9c + -0x40) {
    unaff_s4[4] = iVar5;
    (*pcVar16)(iVar9);
  }
  else {
    (*pcVar16)(iVar9);
  }
  uVar13 = puVar14[1];
  pcVar16 = *(code **)(puVar15 + 0x51420);
  uVar17 = puVar14[2];
  unaff_s4[3] = iVar4;
  uVar7 = (*pcVar16)(iVar4);
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);
  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
    iVar5 = *(int *)(puVar15 + 0x511fc);
    iVar9 = 0;
    do {
      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);
      iVar9 = iVar9 + 1;
    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));
  }
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);
  (**(code **)(puVar15 + 0x51410))
            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);
  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);
  if (iVar9 != 0) {
    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);
    (**(code **)(puVar15 + 0x51220))(iVar9);
    if (iStack_a8 != 0) goto LAB_0010ac28;
    apiStack_84[0] = unaff_s4 + 0x14;
    apiStack_84[2] = unaff_s4 + 0x16;
    apiStack_84[1] = unaff_s4 + 0x15;
    apiStack_84[3] = unaff_s4 + 0x17;
    piStack_74 = unaff_s4 + 0x18;
    piStack_70 = unaff_s4 + 0x19;
    piStack_6c = unaff_s4 + 0x1a;
    piStack_68 = unaff_s4 + 0x1b;
    piVar19 = (int *)0x0;
    iStack_a8 = sqlite3_table_column_metadata
                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);
    if (iStack_a8 == 0) {
      iVar9 = (**(code **)(puVar15 + 0x51228))
                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);
      if (iVar9 == 0) {
LAB_0010add8:
        iStack_a8 = 7;
        piVar8 = piVar19;
      }
      else {
        piVar19 = (int *)0x0;
        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);
        if (iStack_a8 == 0) {
          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);
          if (iVar5 == 100) {
            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);
            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);
            if (iStack_a8 != 0) goto LAB_0010af48;
            if (lVar18 != 0) {
              if ((lVar18 < 0) ||
                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&
                  ((uint)lVar18 < 100)))) {
                lVar18 = 100;
                pcVar16 = *(code **)(puVar15 + 0x51220);
              }
              *(longlong *)(unaff_s4 + 0xc) = lVar18;
              (*pcVar16)(iVar9);
              goto LAB_0010ad1c;
            }
          }
          else {
            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);
            if (iStack_a8 != 0) {
LAB_0010af48:
              pcVar16 = *(code **)(puVar15 + 0x51220);
              goto LAB_0010af4c;
            }
          }
LAB_0010acfc:
          pcVar16 = *(code **)(puVar15 + 0x51220);
          unaff_s4[0xd] = 0x100000;
          unaff_s4[0xc] = 0;
          (*pcVar16)(iVar9);
          goto LAB_0010ad1c;
        }
        pcVar16 = *(code **)(puVar15 + 0x51220);
        if (iStack_a8 != 7) goto LAB_0010acfc;
LAB_0010af4c:
        (*pcVar16)(iVar9);
        piVar8 = piVar19;
      }
LAB_0010a7dc:
      cVar2 = *(char *)((int)unaff_s4 + 0x19);
    }
    else {
      unaff_s4[0xd] = 0x100000;
      unaff_s4[0xc] = 0;
      piVar8 = piVar19;
      if (iStack_a8 != 1) goto LAB_0010a7dc;
LAB_0010ad1c:
      iVar5 = 0;
      iVar9 = *(int *)(puVar15 + 0x511fc);
      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);
      do {
        if (iVar5 == 3) {
          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {
            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);
            piVar8 = apiStack_84[3];
          }
          else {
            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);
            piVar8 = apiStack_84[3];
          }
          apiStack_84[3] = piVar8;
          if (iVar6 == 0) goto LAB_0010adc8;
          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);
          (**(code **)(puVar15 + 0x51220))(iVar6);
        }
        else {
          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);
          if (iVar6 == 0) {
LAB_0010adc8:
            (**(code **)(puVar15 + 0x51220))(0);
            goto LAB_0010add8;
          }
          piVar8 = apiStack_84[iVar5];
          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);
          (**(code **)(puVar15 + 0x51220))(iVar6);
          if (iVar5 == 7) {
            iVar9 = *(int *)(puVar15 + 0x511fc);
            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;
            goto LAB_0010af0c;
          }
        }
        iVar5 = iVar5 + 1;
        puVar14 = puVar14 + 1;
        piVar19 = piVar8;
      } while (iStack_a8 == 0);
      cVar2 = *(char *)((int)unaff_s4 + 0x19);
    }
    if (cVar2 == '\0') goto LAB_0010ac28;
    iVar9 = *(int *)(puVar15 + 0x511fc);
LAB_0010a7ec:
    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);
    unaff_s4[0x10] = iVar9;
    if (iVar9 != 0) {
      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);
      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);
      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
        iVar6 = *(int *)(puVar15 + 0x511fc);
        iVar5 = *(int *)(puVar15 + 0x511fc);
        iVar9 = *(int *)(puVar15 + 0x511e8);
        piVar19 = (int *)0x0;
        while( true ) {
          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {
            piVar8 = piVar19;
            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)
            ;
          }
          else {
            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);
          }
          piVar19 = (int *)((int)piVar19 + 1);
          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;
          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);
        }
      }
      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);
      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);
      if (iVar9 != 0) {
        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);
        (**(code **)(puVar15 + 0x51220))(iVar9);
LAB_0010af0c:
        piVar19 = unaff_s4;
        if (iStack_a8 == 0) goto LAB_0010a8f0;
        goto LAB_0010ac28;
      }
    }
  }
  iStack_a8 = 7;
LAB_0010ac28:
  while( true ) {
    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);
    *puStack_24 = uVar7;
LAB_0010a998:
    iVar9 = unaff_s4[10];
    unaff_s4[10] = iVar9 + -1;
    piVar19 = piRam00000000;
    if (iVar9 + -1 == 0) {
      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);
      piVar19 = piRam00000000;
    }
LAB_0010a8f0:
    piRam00000000 = piVar19;
    if (iStack_64 == *piVar10) break;
    iStack_a8 = (**(code **)(puVar15 + 0x51610))();
  }
  return iStack_a8;
}


lui gp,0x6
addiu gp,gp,-0x6d88
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7f94(gp)
addiu a3,sp,0x20
sw s0,0x2c(sp)
sw gp,0x18(sp)
sw s1,0x30(sp)
or s1,a2,zero
sw ra,0x34(sp)
li a2,-0x1
sw zero,0x10(sp)
lw s0,-0x7b84(gp)
sw zero,0x20(sp)
lw v0,0x0(s0)
sw v0,0x24(sp)
bal 0x000f71cc
_nop
beq v0,zero,0x0010a3ac
_lw gp,0x18(sp)
lw a0,0x24(sp)
lw v1,0x0(s0)
bne a0,v1,0x0010a3f4
_lw ra,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7f80(gp)
jalr t9
_lw a0,0x20(sp)
li v1,0x64
beq v0,v1,0x0010a3d8
_lw gp,0x18(sp)
lw t9,-0x7f74(gp)
jalr t9
_lw a0,0x20(sp)
b 0x0010a38c
_lw gp,0x18(sp)
lw t9,-0x7f6c(gp)
or a1,zero,zero
jalr t9
_lw a0,0x20(sp)
lw gp,0x18(sp)
b 0x0010a3c4
_sw v0,0x0(s1)
lw t9,-0x7ba0(gp)
jalr t9
_nop
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0010a6dc) */\n/* WARNING: Removing unreachable block (ram,0x0010a6f8) */\n/* WARNING: Removing unreachable block (ram,0x0010a71c) */\n/* WARNING: Removing unreachable block (ram,0x0010af64) */\n/* WARNING: Removing unreachable block (ram,0x0010a72c) */\n/* WARNING: Restarted to delay deadcode elimination for space: stack */\n\nint FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}\n\n" comment comment comment comment comment comment (function_definition "int FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}" primitive_type (function_declarator "FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int *unaff_s4;" primitive_type (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "undefined4 uVar17;" type_identifier identifier ;) (declaration "longlong lVar18;" type_identifier identifier ;) (declaration "int *piVar19;" primitive_type (pointer_declarator "*piVar19" * identifier) ;) (declaration "int iStack_a8;" primitive_type identifier ;) (declaration "int iStack_9c;" primitive_type identifier ;) (declaration "int aiStack_98 [4];" primitive_type (array_declarator "aiStack_98 [4]" identifier [ number_literal ]) ;) (declaration "int iStack_88;" primitive_type identifier ;) (declaration "int *apiStack_84 [4];" primitive_type (pointer_declarator "*apiStack_84 [4]" * (array_declarator "apiStack_84 [4]" identifier [ number_literal ])) ;) (declaration "int *piStack_74;" primitive_type (pointer_declarator "*piStack_74" * identifier) ;) (declaration "int *piStack_70;" primitive_type (pointer_declarator "*piStack_70" * identifier) ;) (declaration "int *piStack_6c;" primitive_type (pointer_declarator "*piStack_6c" * identifier) ;) (declaration "int *piStack_68;" primitive_type (pointer_declarator "*piStack_68" * identifier) ;) (declaration "int iStack_64;" primitive_type identifier ;) (declaration "undefined *puStack_60;" type_identifier (pointer_declarator "*puStack_60" * identifier) ;) (declaration "undefined4 *puStack_5c;" type_identifier (pointer_declarator "*puStack_5c" * identifier) ;) (declaration "undefined4 *puStack_24;" type_identifier (pointer_declarator "*puStack_24" * identifier) ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "puVar14 = &local_18;" (assignment_expression "puVar14 = &local_18" identifier = (pointer_expression "&local_18" & identifier)) ;) (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar4 = sqlite3_prepare_v2();" (assignment_expression "iVar4 = sqlite3_prepare_v2()" identifier = (call_expression "sqlite3_prepare_v2()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }" { (expression_statement "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_0015b630)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015b630)" ( (pointer_expression "*(code *)PTR_sqlite3_step_0015b630" * (cast_expression "(code *)PTR_sqlite3_step_0015b630" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier )))) ;) (if_statement "if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }" if (parenthesized_expression "(iVar4 == 100)" ( (binary_expression "iVar4 == 100" identifier == number_literal) )) (compound_statement "{\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }" { (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);" (assignment_expression "uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int_0015b644)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_0015b644)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int_0015b644" * (cast_expression "(code *)PTR_sqlite3_column_int_0015b644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier )))) ;) (expression_statement "*param_3 = uVar7;" (assignment_expression "*param_3 = uVar7" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)" ( (pointer_expression "*(code *)PTR_sqlite3_finalize_0015b63c" * (cast_expression "(code *)PTR_sqlite3_finalize_0015b63c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier )))) ;) })) (if_statement "if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar3)" ( (binary_expression "local_14 == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) })) (expression_statement "iVar4 = local_14;" (assignment_expression "iVar4 = local_14" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar15 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_60 = puVar3;" (assignment_expression "puStack_60 = puVar3" identifier = identifier) ;) (expression_statement "piVar10 = *(int **)(puVar15 + 0x5162c);" (assignment_expression "piVar10 = *(int **)(puVar15 + 0x5162c)" identifier = (pointer_expression "*(int **)(puVar15 + 0x5162c)" * (cast_expression "(int **)(puVar15 + 0x5162c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x5162c)" ( (binary_expression "puVar15 + 0x5162c" identifier + number_literal) ))))) ;) (expression_statement "iStack_64 = *piVar10;" (assignment_expression "iStack_64 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;" (assignment_expression "aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350" (subscript_expression "aiStack_98[3]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3350" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "aiStack_98[0] = 0;" (assignment_expression "aiStack_98[0] = 0" (subscript_expression "aiStack_98[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;" (assignment_expression "aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0" (subscript_expression "aiStack_98[1]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x33a0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;" (assignment_expression "aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374" (subscript_expression "aiStack_98[2]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3374" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;" (assignment_expression "iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c" identifier = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x332c" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puStack_5c = param_3;" (assignment_expression "puStack_5c = param_3" identifier = identifier) ;) (if_statement "if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" if (parenthesized_expression "(0x67 < iVar9)" ( (binary_expression "0x67 < iVar9" number_literal < identifier) )) (compound_statement "{\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" { (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar15 + 0x514bc))();" (call_expression "(**(code **)(puVar15 + 0x514bc))()" (parenthesized_expression "(**(code **)(puVar15 + 0x514bc))" ( (pointer_expression "**(code **)(puVar15 + 0x514bc)" * (pointer_expression "*(code **)(puVar15 + 0x514bc)" * (cast_expression "(code **)(puVar15 + 0x514bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x514bc)" ( (binary_expression "puVar15 + 0x514bc" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1])" identifier = (call_expression "(**(code **)(puVar15 + 0x515c4))(puVar14[1])" (parenthesized_expression "(**(code **)(puVar15 + 0x515c4))" ( (pointer_expression "**(code **)(puVar15 + 0x515c4)" * (pointer_expression "*(code **)(puVar15 + 0x515c4)" * (cast_expression "(code **)(puVar15 + 0x515c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x515c4)" ( (binary_expression "puVar15 + 0x515c4" identifier + number_literal) ))))) )) (argument_list "(puVar14[1])" ( (subscript_expression "puVar14[1]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2])" identifier = (call_expression "(**(code **)(puVar15 + 0x515c4))(puVar14[2])" (parenthesized_expression "(**(code **)(puVar15 + 0x515c4))" ( (pointer_expression "**(code **)(puVar15 + 0x515c4)" * (pointer_expression "*(code **)(puVar15 + 0x515c4)" * (cast_expression "(code **)(puVar15 + 0x515c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x515c4)" ( (binary_expression "puVar15 + 0x515c4" identifier + number_literal) ))))) )) (argument_list "(puVar14[2])" ( (subscript_expression "puVar14[2]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar11 = iVar5 + iVar6 + 0x1fa;" (assignment_expression "iVar11 = iVar5 + iVar6 + 0x1fa" identifier = (binary_expression "iVar5 + iVar6 + 0x1fa" (binary_expression "iVar5 + iVar6" identifier + identifier) + number_literal)) ;) (expression_statement "unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);" (assignment_expression "unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x51360))(0,iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x51360))(0,iVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x51360))" ( (pointer_expression "**(code **)(puVar15 + 0x51360)" * (pointer_expression "*(code **)(puVar15 + 0x51360)" * (cast_expression "(code **)(puVar15 + 0x51360)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51360)" ( (binary_expression "puVar15 + 0x51360" identifier + number_literal) ))))) )) (argument_list "(0,iVar11)" ( number_literal , identifier ))))) ;) (if_statement "if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" if (parenthesized_expression "(unaff_s4 == (int *)0x0)" ( (binary_expression "unaff_s4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" { (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);" (call_expression "(**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x515b4))" ( (pointer_expression "**(code **)(puVar15 + 0x515b4)" * (pointer_expression "*(code **)(puVar15 + 0x515b4)" * (cast_expression "(code **)(puVar15 + 0x515b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x515b4)" ( (binary_expression "puVar15 + 0x515b4" identifier + number_literal) ))))) )) (argument_list "(unaff_s4,0,iVar11)" ( identifier , number_literal , identifier ))) ;) (expression_statement "unaff_s4[10] = 1;" (assignment_expression "unaff_s4[10] = 1" (subscript_expression "unaff_s4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar19 = unaff_s4 + 0x7e;" (assignment_expression "piVar19 = unaff_s4 + 0x7e" identifier = (binary_expression "unaff_s4 + 0x7e" identifier + number_literal)) ;) (expression_statement "iVar12 = (int)piVar19 + iVar5 + 1;" (assignment_expression "iVar12 = (int)piVar19 + iVar5 + 1" identifier = (binary_expression "(int)piVar19 + iVar5 + 1" (binary_expression "(int)piVar19 + iVar5" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal)) ;) (expression_statement "unaff_s4[8] = (int)piVar19;" (assignment_expression "unaff_s4[8] = (int)piVar19" (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) = (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar11 = *(int *)(puVar15 + 0x511d8);" (assignment_expression "iVar11 = *(int *)(puVar15 + 0x511d8)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511d8)" * (cast_expression "(int *)(puVar15 + 0x511d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511d8)" ( (binary_expression "puVar15 + 0x511d8" identifier + number_literal) ))))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51630);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51630)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51630)" * (cast_expression "(code **)(puVar15 + 0x51630)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51630)" ( (binary_expression "puVar15 + 0x51630" identifier + number_literal) ))))) ;) (expression_statement "*(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;" (assignment_expression "*(bool *)((int)unaff_s4 + 0x16) = param_2 != 0" (pointer_expression "*(bool *)((int)unaff_s4 + 0x16)" * (cast_expression "(bool *)((int)unaff_s4 + 0x16)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x16)" ( (binary_expression "(int)unaff_s4 + 0x16" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "param_2 != 0" identifier != number_literal)) ;) (expression_statement "unaff_s4[9] = iVar12;" (assignment_expression "unaff_s4[9] = iVar12" (subscript_expression "unaff_s4[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*unaff_s4 = iVar11 + -0x4cd8;" (assignment_expression "*unaff_s4 = iVar11 + -0x4cd8" (pointer_expression "*unaff_s4" * identifier) = (binary_expression "iVar11 + -0x4cd8" identifier + number_literal)) ;) (expression_statement "(*pcVar16)(piVar19,puVar14[1],iVar5);" (call_expression "(*pcVar16)(piVar19,puVar14[1],iVar5)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(piVar19,puVar14[1],iVar5)" ( identifier , (subscript_expression "puVar14[1]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "(**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);" (call_expression "(**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51630))" ( (pointer_expression "**(code **)(puVar15 + 0x51630)" * (pointer_expression "*(code **)(puVar15 + 0x51630)" * (cast_expression "(code **)(puVar15 + 0x51630)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51630)" ( (binary_expression "puVar15 + 0x51630" identifier + number_literal) ))))) )) (argument_list "(iVar12,puVar14[2],iVar6)" ( identifier , (subscript_expression "puVar14[2]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51420))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51420))" ( (pointer_expression "**(code **)(puVar15 + 0x51420)" * (pointer_expression "*(code **)(puVar15 + 0x51420)" * (cast_expression "(code **)(puVar15 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51420)" ( (binary_expression "puVar15 + 0x51420" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3])" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3])" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3304" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "puVar14[3]" identifier [ number_literal ]) ))) ;) (if_statement "if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }" if (parenthesized_expression "(4 < iVar9)" ( (binary_expression "4 < iVar9" number_literal < identifier) )) (compound_statement "{\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }" { (expression_statement "iVar6 = *(int *)(puVar15 + 0x511e8);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x511e8)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) (expression_statement "piVar19 = puVar14 + 4;" (assignment_expression "piVar19 = puVar14 + 4" identifier = (binary_expression "puVar14 + 4" identifier + number_literal)) ;) (do_statement "do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);" do (compound_statement "{\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    }" { (while_statement "while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }" while (parenthesized_expression "(*(char *)*piVar19 != '+')" ( (binary_expression "*(char *)*piVar19 != '+'" (pointer_expression "*(char *)*piVar19" * (cast_expression "(char *)*piVar19" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar19" * identifier))) != (char_literal "'+'" ' character ')) )) (compound_statement "{\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51410);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51410)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" { (expression_statement "(*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" (call_expression "(*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_0010a9c0;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010a9c0;" goto statement_identifier ;)) (if_statement "if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }" if (parenthesized_expression "(iVar5 < iVar9)" ( (binary_expression "iVar5 < iVar9" identifier < identifier) )) (compound_statement "{\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }" { (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar6)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (goto_statement "goto LAB_0010a66c;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" * (cast_expression "(char *)((int)unaff_s4 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" * (cast_expression "(char *)((int)unaff_s4 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);" (call_expression "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar7,iVar6 + 0x59ec,*piVar19)" ( identifier , (binary_expression "iVar6 + 0x59ec" identifier + number_literal) , (pointer_expression "*piVar19" * identifier) ))) ;) (expression_statement "piVar19 = piVar19 + 1;" (assignment_expression "piVar19 = piVar19 + 1" identifier = (binary_expression "piVar19 + 1" identifier + number_literal)) ;) (if_statement "if (iVar9 == iVar5) goto LAB_0010a63c;" if (parenthesized_expression "(iVar9 == iVar5)" ( (binary_expression "iVar9 == iVar5" identifier == identifier) )) (goto_statement "goto LAB_0010a63c;" goto statement_identifier ;)) })) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51410);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51410)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);" (call_expression "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar7,iVar6 + 0x59ec,*piVar19 + 1)" ( identifier , (binary_expression "iVar6 + 0x59ec" identifier + number_literal) , (binary_expression "*piVar19 + 1" (pointer_expression "*piVar19" * identifier) + number_literal) ))) ;) (expression_statement "piVar19 = piVar19 + 1;" (assignment_expression "piVar19 = piVar19 + 1" identifier = (binary_expression "piVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 != iVar5)" ( (binary_expression "iVar9 != iVar5" identifier != identifier) )) ;) })) (labeled_statement "LAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;)) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }" { (labeled_statement "LAB_0010a9c0:\n    iStack_a8 = 7;" statement_identifier : (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;)) (expression_statement "(**(code **)(puVar15 + 0x51220))(0);" (call_expression "(**(code **)(puVar15 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (labeled_statement "LAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);" statement_identifier : (expression_statement "iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);" (assignment_expression "iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6)" identifier = (call_expression "sqlite3_declare_vtab(iVar4,iVar6)" identifier (argument_list "(iVar4,iVar6)" ( identifier , identifier )))) ;)) (if_statement "if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }" { (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" ( (pointer_expression "**(code **)(puVar15 + 0x51224)" * (pointer_expression "*(code **)(puVar15 + 0x51224)" * (cast_expression "(code **)(puVar15 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51224)" ( (binary_expression "puVar15 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar6)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "bVar1 = *(byte *)((int)unaff_s4 + 0x15);" (assignment_expression "bVar1 = *(byte *)((int)unaff_s4 + 0x15)" identifier = (pointer_expression "*(byte *)((int)unaff_s4 + 0x15)" * (cast_expression "(byte *)((int)unaff_s4 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(byte *)(unaff_s4 + 5) = bVar1 >> 1;" (assignment_expression "*(byte *)(unaff_s4 + 5) = bVar1 >> 1" (pointer_expression "*(byte *)(unaff_s4 + 5)" * (cast_expression "(byte *)(unaff_s4 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + 5)" ( (binary_expression "unaff_s4 + 5" identifier + number_literal) )))) = (binary_expression "bVar1 >> 1" identifier >> number_literal)) ;) (if_statement "if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(bVar1 < 2)" ( (binary_expression "bVar1 < 2" identifier < number_literal) )) (compound_statement "{\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }" { (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" identifier = number_literal) ;) (labeled_statement "LAB_0010a9e4:\n    iStack_a8 = 1;" statement_identifier : (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;)) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , (subscript_expression "aiStack_98[iVar9]" identifier [ identifier ]) )))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (if_statement "if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }" if (parenthesized_expression "(10 < bVar1)" ( (binary_expression "10 < bVar1" number_literal < identifier) )) (compound_statement "{\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }" { (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" identifier = number_literal) ;) (goto_statement "goto LAB_0010a9e4;" goto statement_identifier ;) })) (if_statement "if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }" if (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0010a9e4;" goto statement_identifier ;) })) (expression_statement "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';" (assignment_expression "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04'" (pointer_expression "*(byte *)((int)unaff_s4 + 0x17)" * (cast_expression "(byte *)((int)unaff_s4 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x17)" ( (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(bVar1 + 2) * '\x04'" (parenthesized_expression "(bVar1 + 2)" ( (binary_expression "bVar1 + 2" identifier + number_literal) )) * (char_literal "'\x04'" ' escape_sequence '))) ;) (expression_statement "iStack_9c = 0;" (assignment_expression "iStack_9c = 0" identifier = number_literal) ;) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" ( (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x33d4" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }" { (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (labeled_statement "LAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" statement_identifier : (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" ( (pointer_expression "**(code **)(puVar15 + 0x51224)" * (pointer_expression "*(code **)(puVar15 + 0x51224)" * (cast_expression "(code **)(puVar15 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51224)" ( (binary_expression "puVar15 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;)) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (expression_statement "iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);" (assignment_expression "iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c)" identifier = (call_expression "FUN_0010a338(iVar4,iVar9,&iStack_9c)" identifier (argument_list "(iVar4,iVar9,&iStack_9c)" ( identifier , identifier , (pointer_expression "&iStack_9c" & identifier) )))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac60;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010ac60;" goto statement_identifier ;)) (expression_statement "unaff_s4[4] = iStack_9c + -0x40;" (assignment_expression "unaff_s4[4] = iStack_9c + -0x40" (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) = (binary_expression "iStack_9c + -0x40" identifier + number_literal)) ;) (expression_statement "iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;" (assignment_expression "iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" identifier = (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)unaff_s4 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x17)" ( (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) * number_literal) + number_literal)) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }" if (parenthesized_expression "(iVar5 < iStack_9c + -0x40)" ( (binary_expression "iVar5 < iStack_9c + -0x40" identifier < (binary_expression "iStack_9c + -0x40" identifier + number_literal)) )) (compound_statement "{\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }" { (expression_statement "unaff_s4[4] = iVar5;" (assignment_expression "unaff_s4[4] = iVar5" (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) }) (else_clause "else {\n    (*pcVar16)(iVar9);\n  }" else (compound_statement "{\n    (*pcVar16)(iVar9);\n  }" { (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) }))) (expression_statement "uVar13 = puVar14[1];" (assignment_expression "uVar13 = puVar14[1]" identifier = (subscript_expression "puVar14[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51420);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51420)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51420)" * (cast_expression "(code **)(puVar15 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51420)" ( (binary_expression "puVar15 + 0x51420" identifier + number_literal) ))))) ;) (expression_statement "uVar17 = puVar14[2];" (assignment_expression "uVar17 = puVar14[2]" identifier = (subscript_expression "puVar14[2]" identifier [ number_literal ])) ;) (expression_statement "unaff_s4[3] = iVar4;" (assignment_expression "unaff_s4[3] = iVar4" (subscript_expression "unaff_s4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = (*pcVar16)(iVar4);" (assignment_expression "uVar7 = (*pcVar16)(iVar4)" identifier = (call_expression "(*pcVar16)(iVar4)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3124" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" { (expression_statement "iVar5 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar5 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));" do (compound_statement "{\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    }" { (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar5 + -0x328c,iVar9)" ( identifier , (binary_expression "iVar5 + -0x328c" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19))" ( (binary_expression "iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19)" identifier < (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) ;) })) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3284" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3244" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);" (call_expression "(**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4])" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4])" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x31fc" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier , (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }" { (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0)" identifier = (call_expression "(**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51270))" ( (pointer_expression "**(code **)(puVar15 + 0x51270)" * (pointer_expression "*(code **)(puVar15 + 0x51270)" * (cast_expression "(code **)(puVar15 + 0x51270)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51270)" ( (binary_expression "puVar15 + 0x51270" identifier + number_literal) ))))) )) (argument_list "(iVar4,iVar9,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar9);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar9)" ( identifier ))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac28;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;)) (expression_statement "apiStack_84[0] = unaff_s4 + 0x14;" (assignment_expression "apiStack_84[0] = unaff_s4 + 0x14" (subscript_expression "apiStack_84[0]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x14" identifier + number_literal)) ;) (expression_statement "apiStack_84[2] = unaff_s4 + 0x16;" (assignment_expression "apiStack_84[2] = unaff_s4 + 0x16" (subscript_expression "apiStack_84[2]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x16" identifier + number_literal)) ;) (expression_statement "apiStack_84[1] = unaff_s4 + 0x15;" (assignment_expression "apiStack_84[1] = unaff_s4 + 0x15" (subscript_expression "apiStack_84[1]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x15" identifier + number_literal)) ;) (expression_statement "apiStack_84[3] = unaff_s4 + 0x17;" (assignment_expression "apiStack_84[3] = unaff_s4 + 0x17" (subscript_expression "apiStack_84[3]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x17" identifier + number_literal)) ;) (expression_statement "piStack_74 = unaff_s4 + 0x18;" (assignment_expression "piStack_74 = unaff_s4 + 0x18" identifier = (binary_expression "unaff_s4 + 0x18" identifier + number_literal)) ;) (expression_statement "piStack_70 = unaff_s4 + 0x19;" (assignment_expression "piStack_70 = unaff_s4 + 0x19" identifier = (binary_expression "unaff_s4 + 0x19" identifier + number_literal)) ;) (expression_statement "piStack_6c = unaff_s4 + 0x1a;" (assignment_expression "piStack_6c = unaff_s4 + 0x1a" identifier = (binary_expression "unaff_s4 + 0x1a" identifier + number_literal)) ;) (expression_statement "piStack_68 = unaff_s4 + 0x1b;" (assignment_expression "piStack_68 = unaff_s4 + 0x1b" identifier = (binary_expression "unaff_s4 + 0x1b" identifier + number_literal)) ;) (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);" (assignment_expression "iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" identifier = (call_expression "sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" identifier (argument_list "(iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" ( identifier , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x65b0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" { (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" ( (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x31c8" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) , (subscript_expression "unaff_s4[9]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }" { (labeled_statement "LAB_0010add8:\n        iStack_a8 = 7;" statement_identifier : (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;)) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) }) (else_clause "else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" else (compound_statement "{\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" { (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0)" identifier = (call_expression "sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0)" identifier (argument_list "(iVar4,iVar9,0xffffffff,&iStack_9c,0)" ( identifier , identifier , number_literal , (pointer_expression "&iStack_9c" & identifier) , number_literal )))) ;) (if_statement "if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }" { (expression_statement "iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c)" identifier = (call_expression "(**(code **)(puVar15 + 0x51230))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x51230))" ( (pointer_expression "**(code **)(puVar15 + 0x51230)" * (pointer_expression "*(code **)(puVar15 + 0x51230)" * (cast_expression "(code **)(puVar15 + 0x51230)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51230)" ( (binary_expression "puVar15 + 0x51230" identifier + number_literal) ))))) )) (argument_list "(iStack_9c)" ( identifier )))) ;) (if_statement "if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" if (parenthesized_expression "(iVar5 == 100)" ( (binary_expression "iVar5 == 100" identifier == number_literal) )) (compound_statement "{\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }" { (expression_statement "lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);" (assignment_expression "lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0)" identifier = (call_expression "(**(code **)(puVar15 + 0x51250))(iStack_9c,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51250))" ( (pointer_expression "**(code **)(puVar15 + 0x51250)" * (pointer_expression "*(code **)(puVar15 + 0x51250)" * (cast_expression "(code **)(puVar15 + 0x51250)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51250)" ( (binary_expression "puVar15 + 0x51250" identifier + number_literal) ))))) )) (argument_list "(iStack_9c,0)" ( identifier , number_literal )))) ;) (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c)" identifier = (call_expression "(**(code **)(puVar15 + 0x5123c))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x5123c))" ( (pointer_expression "**(code **)(puVar15 + 0x5123c)" * (pointer_expression "*(code **)(puVar15 + 0x5123c)" * (cast_expression "(code **)(puVar15 + 0x5123c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x5123c)" ( (binary_expression "puVar15 + 0x5123c" identifier + number_literal) ))))) )) (argument_list "(iStack_9c)" ( identifier )))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010af48;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010af48;" goto statement_identifier ;)) (if_statement "if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }" if (parenthesized_expression "(lVar18 != 0)" ( (binary_expression "lVar18 != 0" identifier != number_literal) )) (compound_statement "{\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }" { (if_statement "if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }" if (parenthesized_expression "((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100))))" ( (binary_expression "(lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))" (parenthesized_expression "(lVar18 < 0)" ( (binary_expression "lVar18 < 0" identifier < number_literal) )) || (parenthesized_expression "((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))" ( (parenthesized_expression "(pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100))" ( (comma_expression "pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) , (binary_expression "(int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)" (binary_expression "(int)((ulonglong)lVar18 >> 0x20) == 0" (cast_expression "(int)((ulonglong)lVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar18 >> 0x20)" ( (binary_expression "(ulonglong)lVar18 >> 0x20" (cast_expression "(ulonglong)lVar18" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) && (parenthesized_expression "((uint)lVar18 < 100)" ( (binary_expression "(uint)lVar18 < 100" (cast_expression "(uint)lVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) )))) )) ))) )) (compound_statement "{\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }" { (expression_statement "lVar18 = 100;" (assignment_expression "lVar18 = 100" identifier = number_literal) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) })) (expression_statement "*(longlong *)(unaff_s4 + 0xc) = lVar18;" (assignment_expression "*(longlong *)(unaff_s4 + 0xc) = lVar18" (pointer_expression "*(longlong *)(unaff_s4 + 0xc)" * (cast_expression "(longlong *)(unaff_s4 + 0xc)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + 0xc)" ( (binary_expression "unaff_s4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0010ad1c;" goto statement_identifier ;) })) }) (else_clause "else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" else (compound_statement "{\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" { (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c)" identifier = (call_expression "(**(code **)(puVar15 + 0x5123c))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x5123c))" ( (pointer_expression "**(code **)(puVar15 + 0x5123c)" * (pointer_expression "*(code **)(puVar15 + 0x5123c)" * (cast_expression "(code **)(puVar15 + 0x5123c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x5123c)" ( (binary_expression "puVar15 + 0x5123c" identifier + number_literal) ))))) )) (argument_list "(iStack_9c)" ( identifier )))) ;) (if_statement "if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }" { (labeled_statement "LAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);" statement_identifier : (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;)) (goto_statement "goto LAB_0010af4c;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);" statement_identifier : (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;)) (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0010ad1c;" goto statement_identifier ;) })) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (if_statement "if (iStack_a8 != 7) goto LAB_0010acfc;" if (parenthesized_expression "(iStack_a8 != 7)" ( (binary_expression "iStack_a8 != 7" identifier != number_literal) )) (goto_statement "goto LAB_0010acfc;" goto statement_identifier ;)) (labeled_statement "LAB_0010af4c:\n        (*pcVar16)(iVar9);" statement_identifier : (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;)) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) }))) (labeled_statement "LAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);" statement_identifier : (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" identifier = (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;)) }) (else_clause "else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" else (compound_statement "{\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" { (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) (if_statement "if (iStack_a8 != 1) goto LAB_0010a7dc;" if (parenthesized_expression "(iStack_a8 != 1)" ( (binary_expression "iStack_a8 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0010a7dc;" goto statement_identifier ;)) (labeled_statement "LAB_0010ad1c:\n      iVar5 = 0;" statement_identifier : (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;)) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);" (assignment_expression "puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x511d8) + -0x73a0)" ( (binary_expression "*(int *)(puVar15 + 0x511d8) + -0x73a0" (pointer_expression "*(int *)(puVar15 + 0x511d8)" * (cast_expression "(int *)(puVar15 + 0x511d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511d8)" ( (binary_expression "puVar15 + 0x511d8" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);" do (compound_statement "{\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      }" { (if_statement "if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (compound_statement "{\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }" { (if_statement "if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) == '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) == '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }" { (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*puVar14,uVar13)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*puVar14,uVar13)" ( (pointer_expression "*puVar14" * identifier) , identifier )))) ;) (expression_statement "piVar8 = apiStack_84[3];" (assignment_expression "piVar8 = apiStack_84[3]" identifier = (subscript_expression "apiStack_84[3]" identifier [ number_literal ])) ;) }) (else_clause "else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" else (compound_statement "{\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" { (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(iVar9 + -0x30e4,uVar13,uVar17)" ( (binary_expression "iVar9 + -0x30e4" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "piVar8 = apiStack_84[3];" (assignment_expression "piVar8 = apiStack_84[3]" identifier = (subscript_expression "apiStack_84[3]" identifier [ number_literal ])) ;) }))) (expression_statement "apiStack_84[3] = piVar8;" (assignment_expression "apiStack_84[3] = piVar8" (subscript_expression "apiStack_84[3]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar6 == 0) goto LAB_0010adc8;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010adc8;" goto statement_identifier ;)) (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier = (call_expression "sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier (argument_list "(iVar4,iVar6,0xffffffff,5,piVar8,0)" ( identifier , identifier , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar6)" ( identifier ))) ;) }) (else_clause "else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" else (compound_statement "{\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" { (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*puVar14,uVar13,uVar17)" ( (pointer_expression "*puVar14" * identifier) , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }" { (labeled_statement "LAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x51220))(0);" (call_expression "(**(code **)(puVar15 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;)) (goto_statement "goto LAB_0010add8;" goto statement_identifier ;) })) (expression_statement "piVar8 = apiStack_84[iVar5];" (assignment_expression "piVar8 = apiStack_84[iVar5]" identifier = (subscript_expression "apiStack_84[iVar5]" identifier [ identifier ])) ;) (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier = (call_expression "sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier (argument_list "(iVar4,iVar6,0xffffffff,5,piVar8,0)" ( identifier , identifier , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar6)" ( identifier ))) ;) (if_statement "if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" if (parenthesized_expression "(iVar5 == 7)" ( (binary_expression "iVar5 == 7" identifier == number_literal) )) (compound_statement "{\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" { (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0010a7ec;" goto statement_identifier ;)) (goto_statement "goto LAB_0010af0c;" goto statement_identifier ;) })) }))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar14 = puVar14 + 1;" (assignment_expression "puVar14 = puVar14 + 1" identifier = (binary_expression "puVar14 + 1" identifier + number_literal)) ;) (expression_statement "piVar19 = piVar8;" (assignment_expression "piVar19 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) ;) (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" identifier = (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (cVar2 == '\0') goto LAB_0010ac28;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;)) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);" statement_identifier : (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(iVar9 + -0x3190,uVar13,uVar17)" ( (binary_expression "iVar9 + -0x3190" identifier + number_literal) , identifier , identifier )))) ;)) (expression_statement "unaff_s4[0x10] = iVar9;" (assignment_expression "unaff_s4[0x10] = iVar9" (subscript_expression "unaff_s4[0x10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }" { (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51420))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51420))" ( (pointer_expression "**(code **)(puVar15 + 0x51420)" * (pointer_expression "*(code **)(puVar15 + 0x51420)" * (cast_expression "(code **)(puVar15 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51420)" ( (binary_expression "puVar15 + 0x51420" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3160" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }" { (expression_statement "iVar6 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar5 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511e8);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511e8)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) ))))) ;) (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }" { (if_statement "if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" if (parenthesized_expression "((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a))" ( (binary_expression "(int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x1a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x1a)" ( (binary_expression "(int)unaff_s4 + 0x1a" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }" { (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)" ( identifier , (binary_expression "iVar5 + -0x3144" identifier + number_literal) , identifier , (binary_expression "(int)piVar19 + 2" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) }) (else_clause "else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" else (compound_statement "{\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" { (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8)" ( identifier , (binary_expression "iVar6 + -0x312c" identifier + number_literal) , identifier , (binary_expression "(int)piVar19 + 2" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) }))) (expression_statement "piVar19 = (int *)((int)piVar19 + 1);" (assignment_expression "piVar19 = (int *)((int)piVar19 + 1)" identifier = (cast_expression "(int *)((int)piVar19 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar19 + 1)" ( (binary_expression "(int)piVar19 + 1" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;" if (parenthesized_expression "((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19)" ( (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19" (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "(**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);" (call_expression "(**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x513c0))" ( (pointer_expression "**(code **)(puVar15 + 0x513c0)" * (pointer_expression "*(code **)(puVar15 + 0x513c0)" * (cast_expression "(code **)(puVar15 + 0x513c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x513c0)" ( (binary_expression "puVar15 + 0x513c0" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar9 + 0x5608,1)" ( identifier , (binary_expression "iVar9 + 0x5608" identifier + number_literal) , number_literal ))) ;) })) })) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x300c" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }" { (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" identifier = (call_expression "sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" identifier (argument_list "(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" ( identifier , identifier , number_literal , number_literal , (binary_expression "unaff_s4 + 0x1c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar9);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar9)" ( identifier ))) ;) (labeled_statement "LAB_0010af0c:\n        piVar19 = unaff_s4;" statement_identifier : (expression_statement "piVar19 = unaff_s4;" (assignment_expression "piVar19 = unaff_s4" identifier = identifier) ;)) (if_statement "if (iStack_a8 == 0) goto LAB_0010a8f0;" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;)) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;) })) })) })) (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (labeled_statement "LAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" statement_identifier : (while_statement "while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" { (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" ( (pointer_expression "**(code **)(puVar15 + 0x51224)" * (pointer_expression "*(code **)(puVar15 + 0x51224)" * (cast_expression "(code **)(puVar15 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51224)" ( (binary_expression "puVar15 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (labeled_statement "LAB_0010a998:\n    iVar9 = unaff_s4[10];" statement_identifier : (expression_statement "iVar9 = unaff_s4[10];" (assignment_expression "iVar9 = unaff_s4[10]" identifier = (subscript_expression "unaff_s4[10]" identifier [ number_literal ])) ;)) (expression_statement "unaff_s4[10] = iVar9 + -1;" (assignment_expression "unaff_s4[10] = iVar9 + -1" (subscript_expression "unaff_s4[10]" identifier [ number_literal ]) = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) (if_statement "if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }" if (parenthesized_expression "(iVar9 + -1 == 0)" ( (binary_expression "iVar9 + -1 == 0" (binary_expression "iVar9 + -1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }" { (expression_statement "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);" (call_expression "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4)" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))" ( (pointer_expression "*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0)" * (cast_expression "(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x512f8) + 0x59d0)" ( (binary_expression "*(int *)(puVar15 + 0x512f8) + 0x59d0" (pointer_expression "*(int *)(puVar15 + 0x512f8)" * (cast_expression "(int *)(puVar15 + 0x512f8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x512f8)" ( (binary_expression "puVar15 + 0x512f8" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(unaff_s4)" ( identifier ))) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) })) (labeled_statement "LAB_0010a8f0:\n    piRam00000000 = piVar19;" statement_identifier : (expression_statement "piRam00000000 = piVar19;" (assignment_expression "piRam00000000 = piVar19" identifier = identifier) ;)) (if_statement "if (iStack_64 == *piVar10) break;" if (parenthesized_expression "(iStack_64 == *piVar10)" ( (binary_expression "iStack_64 == *piVar10" identifier == (pointer_expression "*piVar10" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x51610))();" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x51610))()" identifier = (call_expression "(**(code **)(puVar15 + 0x51610))()" (parenthesized_expression "(**(code **)(puVar15 + 0x51610))" ( (pointer_expression "**(code **)(puVar15 + 0x51610)" * (pointer_expression "*(code **)(puVar15 + 0x51610)" * (cast_expression "(code **)(puVar15 + 0x51610)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51610)" ( (binary_expression "puVar15 + 0x51610" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) }))) (return_statement "return iStack_a8;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0010a6dc) */\n/* WARNING: Removing unreachable block (ram,0x0010a6f8) */\n/* WARNING: Removing unreachable block (ram,0x0010a71c) */\n/* WARNING: Removing unreachable block (ram,0x0010af64) */\n/* WARNING: Removing unreachable block (ram,0x0010a72c) */\n/* WARNING: Restarted to delay deadcode elimination for space: stack */\n\nint getIntFromStmt(sqlite3 *db,char *zSql,int *piVal)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  sqlite3_stmt **ppsVar8;\n  sqlite3 *db_00;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  int iVar13;\n  sqlite3_stmt *psVar14;\n  int *unaff_s4;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  sqlite3_stmt *psVar18;\n  longlong lVar19;\n  sqlite3_stmt **ppsVar20;\n  int iStack_a8;\n  sqlite3_stmt *psStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [3];\n  sqlite3_stmt **ppsStack_78;\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  int *piStack_5c;\n  int *piVar21;\n  undefined4 *puStack_24;\n  sqlite3_stmt *pStmt;\n  sqlite3 *psStack_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  ppsVar20 = &pStmt;\n  iVar10 = -1;\n  piVar21 = (int *)0x0;\n  pStmt = (sqlite3_stmt *)0x0;\n  psStack_14 = *(sqlite3 **)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2(db,zSql,-1,ppsVar20,(char **)0x0);\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt);\n    if (iVar4 == 100) {\n      zSql = (char *)0x0;\n      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);\n      *piVal = iVar4;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt);\n  }\n  if (psStack_14 == *(sqlite3 **)puVar3) {\n    return iVar4;\n  }\n  db_00 = psStack_14;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar11 = *(int **)(puVar16 + 0x5162c);\n  iStack_64 = *piVar11;\n  aiStack_98[3] = *(int *)(puVar16 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar16 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar16 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar16 + 0x511fc) + -0x332c;\n  piStack_5c = piVal;\n  if (0x67 < iVar10) {\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar6;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar16 + 0x514bc))();\n  iVar4 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[1]);\n  iVar5 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[2]);\n  iVar12 = iVar4 + iVar5 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar16 + 0x51360))(0,iVar12);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar16 + 0x515b4))(unaff_s4,0,iVar12);\n  unaff_s4[10] = 1;\n  piVar9 = unaff_s4 + 0x7e;\n  iVar13 = (int)piVar9 + iVar4 + 1;\n  unaff_s4[8] = (int)piVar9;\n  iVar12 = *(int *)(puVar16 + 0x511d8);\n  pcVar17 = *(code **)(puVar16 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = zSql != (char *)0x0;\n  unaff_s4[9] = iVar13;\n  *unaff_s4 = iVar12 + -0x4cd8;\n  (*pcVar17)(piVar9,ppsVar20[1],iVar4);\n  (**(code **)(puVar16 + 0x51630))(iVar13,ppsVar20[2],iVar5);\n  uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3304,ppsVar20[3]);\n  if (4 < iVar10) {\n    iVar5 = *(int *)(puVar16 + 0x511e8);\n    iVar4 = 4;\n    ppsVar8 = ppsVar20 + 4;\n    do {\n      while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }\n      pcVar17 = *(code **)(puVar16 + 0x51410);\n      iVar4 = iVar4 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);\n      ppsVar8 = ppsVar8 + 1;\n    } while (iVar10 != iVar4);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n  pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n  if (pcVar7 == (char *)0x0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar16 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(db_00,pcVar7);\n  if (iStack_a8 != 0) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar16 + 0x51220))(pcVar7);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar4 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])\n    ;\n    *puStack_24 = uVar6;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar4 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar4 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  psStack_9c = (sqlite3_stmt *)0x0;\n  pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (pcVar7 == (char *)0x0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = getIntFromStmt(db_00,pcVar7,(int *)&psStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = (int)(psStack_9c + -0x40);\n  iVar4 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar17 = *(code **)(puVar16 + 0x51220);\n  if (iVar4 < (int)(psStack_9c + -0x40)) {\n    unaff_s4[4] = iVar4;\n    (*pcVar17)(pcVar7);\n  }\n  else {\n    (*pcVar17)(pcVar7);\n  }\n  psVar14 = ppsVar20[1];\n  pcVar17 = *(code **)(puVar16 + 0x51420);\n  psVar18 = ppsVar20[2];\n  unaff_s4[3] = (int)db_00;\n  uVar6 = (*pcVar17)(db_00);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3124,psVar14,psVar18);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar10 = *(int *)(puVar16 + 0x511fc);\n    iVar4 = 0;\n    do {\n      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3284,psVar14,psVar18);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3244,psVar14,psVar18);\n  (**(code **)(puVar16 + 0x51410))\n            (uVar6,*(int *)(puVar16 + 0x511fc) + -0x31fc,psVar14,psVar18,unaff_s4[4]);\n  iVar4 = (**(code **)(puVar16 + 0x51428))(uVar6);\n  if (iVar4 != 0) {\n    iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0);\n    (**(code **)(puVar16 + 0x51220))(iVar4);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17);\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    ppsVar20 = (sqlite3_stmt **)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);\n    if (iStack_a8 == 0) {\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar4 = *(int *)(puVar16 + 0x511fc);\nLAB_0010a7ec:\n    iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);\n    unaff_s4[0x10] = iVar4;\n    if (iVar4 != 0) {\n      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n      if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    *puStack_24 = uVar6;\nLAB_0010a998:\n    iVar4 = unaff_s4[10];\n    unaff_s4[10] = iVar4 + -1;\n    if (iVar4 + -1 == 0) {\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }\nLAB_0010a8f0:\n    if (iStack_64 == *piVar11) break;\n    iStack_a8 = (**(code **)(puVar16 + 0x51610))();\n  }\n  return iStack_a8;\n}\n\n" comment comment comment comment comment comment (function_definition "int getIntFromStmt(sqlite3 *db,char *zSql,int *piVal)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  sqlite3_stmt **ppsVar8;\n  sqlite3 *db_00;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  int iVar13;\n  sqlite3_stmt *psVar14;\n  int *unaff_s4;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  sqlite3_stmt *psVar18;\n  longlong lVar19;\n  sqlite3_stmt **ppsVar20;\n  int iStack_a8;\n  sqlite3_stmt *psStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [3];\n  sqlite3_stmt **ppsStack_78;\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  int *piStack_5c;\n  int *piVar21;\n  undefined4 *puStack_24;\n  sqlite3_stmt *pStmt;\n  sqlite3 *psStack_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  ppsVar20 = &pStmt;\n  iVar10 = -1;\n  piVar21 = (int *)0x0;\n  pStmt = (sqlite3_stmt *)0x0;\n  psStack_14 = *(sqlite3 **)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2(db,zSql,-1,ppsVar20,(char **)0x0);\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt);\n    if (iVar4 == 100) {\n      zSql = (char *)0x0;\n      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);\n      *piVal = iVar4;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt);\n  }\n  if (psStack_14 == *(sqlite3 **)puVar3) {\n    return iVar4;\n  }\n  db_00 = psStack_14;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar11 = *(int **)(puVar16 + 0x5162c);\n  iStack_64 = *piVar11;\n  aiStack_98[3] = *(int *)(puVar16 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar16 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar16 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar16 + 0x511fc) + -0x332c;\n  piStack_5c = piVal;\n  if (0x67 < iVar10) {\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar6;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar16 + 0x514bc))();\n  iVar4 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[1]);\n  iVar5 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[2]);\n  iVar12 = iVar4 + iVar5 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar16 + 0x51360))(0,iVar12);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar16 + 0x515b4))(unaff_s4,0,iVar12);\n  unaff_s4[10] = 1;\n  piVar9 = unaff_s4 + 0x7e;\n  iVar13 = (int)piVar9 + iVar4 + 1;\n  unaff_s4[8] = (int)piVar9;\n  iVar12 = *(int *)(puVar16 + 0x511d8);\n  pcVar17 = *(code **)(puVar16 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = zSql != (char *)0x0;\n  unaff_s4[9] = iVar13;\n  *unaff_s4 = iVar12 + -0x4cd8;\n  (*pcVar17)(piVar9,ppsVar20[1],iVar4);\n  (**(code **)(puVar16 + 0x51630))(iVar13,ppsVar20[2],iVar5);\n  uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3304,ppsVar20[3]);\n  if (4 < iVar10) {\n    iVar5 = *(int *)(puVar16 + 0x511e8);\n    iVar4 = 4;\n    ppsVar8 = ppsVar20 + 4;\n    do {\n      while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }\n      pcVar17 = *(code **)(puVar16 + 0x51410);\n      iVar4 = iVar4 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);\n      ppsVar8 = ppsVar8 + 1;\n    } while (iVar10 != iVar4);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n  pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n  if (pcVar7 == (char *)0x0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar16 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(db_00,pcVar7);\n  if (iStack_a8 != 0) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar16 + 0x51220))(pcVar7);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar4 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])\n    ;\n    *puStack_24 = uVar6;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar4 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar4 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  psStack_9c = (sqlite3_stmt *)0x0;\n  pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (pcVar7 == (char *)0x0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = getIntFromStmt(db_00,pcVar7,(int *)&psStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = (int)(psStack_9c + -0x40);\n  iVar4 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar17 = *(code **)(puVar16 + 0x51220);\n  if (iVar4 < (int)(psStack_9c + -0x40)) {\n    unaff_s4[4] = iVar4;\n    (*pcVar17)(pcVar7);\n  }\n  else {\n    (*pcVar17)(pcVar7);\n  }\n  psVar14 = ppsVar20[1];\n  pcVar17 = *(code **)(puVar16 + 0x51420);\n  psVar18 = ppsVar20[2];\n  unaff_s4[3] = (int)db_00;\n  uVar6 = (*pcVar17)(db_00);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3124,psVar14,psVar18);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar10 = *(int *)(puVar16 + 0x511fc);\n    iVar4 = 0;\n    do {\n      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3284,psVar14,psVar18);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3244,psVar14,psVar18);\n  (**(code **)(puVar16 + 0x51410))\n            (uVar6,*(int *)(puVar16 + 0x511fc) + -0x31fc,psVar14,psVar18,unaff_s4[4]);\n  iVar4 = (**(code **)(puVar16 + 0x51428))(uVar6);\n  if (iVar4 != 0) {\n    iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0);\n    (**(code **)(puVar16 + 0x51220))(iVar4);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17);\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    ppsVar20 = (sqlite3_stmt **)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);\n    if (iStack_a8 == 0) {\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar4 = *(int *)(puVar16 + 0x511fc);\nLAB_0010a7ec:\n    iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);\n    unaff_s4[0x10] = iVar4;\n    if (iVar4 != 0) {\n      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n      if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    *puStack_24 = uVar6;\nLAB_0010a998:\n    iVar4 = unaff_s4[10];\n    unaff_s4[10] = iVar4 + -1;\n    if (iVar4 + -1 == 0) {\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }\nLAB_0010a8f0:\n    if (iStack_64 == *piVar11) break;\n    iStack_a8 = (**(code **)(puVar16 + 0x51610))();\n  }\n  return iStack_a8;\n}" primitive_type (function_declarator "getIntFromStmt(sqlite3 *db,char *zSql,int *piVal)" identifier (parameter_list "(sqlite3 *db,char *zSql,int *piVal)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char *zSql" primitive_type (pointer_declarator "*zSql" * identifier)) , (parameter_declaration "int *piVal" primitive_type (pointer_declarator "*piVal" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  sqlite3_stmt **ppsVar8;\n  sqlite3 *db_00;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  int iVar12;\n  int iVar13;\n  sqlite3_stmt *psVar14;\n  int *unaff_s4;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  sqlite3_stmt *psVar18;\n  longlong lVar19;\n  sqlite3_stmt **ppsVar20;\n  int iStack_a8;\n  sqlite3_stmt *psStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [3];\n  sqlite3_stmt **ppsStack_78;\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  int *piStack_5c;\n  int *piVar21;\n  undefined4 *puStack_24;\n  sqlite3_stmt *pStmt;\n  sqlite3 *psStack_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  ppsVar20 = &pStmt;\n  iVar10 = -1;\n  piVar21 = (int *)0x0;\n  pStmt = (sqlite3_stmt *)0x0;\n  psStack_14 = *(sqlite3 **)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2(db,zSql,-1,ppsVar20,(char **)0x0);\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt);\n    if (iVar4 == 100) {\n      zSql = (char *)0x0;\n      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);\n      *piVal = iVar4;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt);\n  }\n  if (psStack_14 == *(sqlite3 **)puVar3) {\n    return iVar4;\n  }\n  db_00 = psStack_14;\n  puVar16 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar11 = *(int **)(puVar16 + 0x5162c);\n  iStack_64 = *piVar11;\n  aiStack_98[3] = *(int *)(puVar16 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar16 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar16 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar16 + 0x511fc) + -0x332c;\n  piStack_5c = piVal;\n  if (0x67 < iVar10) {\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar6;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar16 + 0x514bc))();\n  iVar4 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[1]);\n  iVar5 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[2]);\n  iVar12 = iVar4 + iVar5 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar16 + 0x51360))(0,iVar12);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar16 + 0x515b4))(unaff_s4,0,iVar12);\n  unaff_s4[10] = 1;\n  piVar9 = unaff_s4 + 0x7e;\n  iVar13 = (int)piVar9 + iVar4 + 1;\n  unaff_s4[8] = (int)piVar9;\n  iVar12 = *(int *)(puVar16 + 0x511d8);\n  pcVar17 = *(code **)(puVar16 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = zSql != (char *)0x0;\n  unaff_s4[9] = iVar13;\n  *unaff_s4 = iVar12 + -0x4cd8;\n  (*pcVar17)(piVar9,ppsVar20[1],iVar4);\n  (**(code **)(puVar16 + 0x51630))(iVar13,ppsVar20[2],iVar5);\n  uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3304,ppsVar20[3]);\n  if (4 < iVar10) {\n    iVar5 = *(int *)(puVar16 + 0x511e8);\n    iVar4 = 4;\n    ppsVar8 = ppsVar20 + 4;\n    do {\n      while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }\n      pcVar17 = *(code **)(puVar16 + 0x51410);\n      iVar4 = iVar4 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);\n      ppsVar8 = ppsVar8 + 1;\n    } while (iVar10 != iVar4);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n  pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n  if (pcVar7 == (char *)0x0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar16 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(db_00,pcVar7);\n  if (iStack_a8 != 0) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar16 + 0x51220))(pcVar7);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar4 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])\n    ;\n    *puStack_24 = uVar6;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar4 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar4 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  psStack_9c = (sqlite3_stmt *)0x0;\n  pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (pcVar7 == (char *)0x0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = getIntFromStmt(db_00,pcVar7,(int *)&psStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = (int)(psStack_9c + -0x40);\n  iVar4 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar17 = *(code **)(puVar16 + 0x51220);\n  if (iVar4 < (int)(psStack_9c + -0x40)) {\n    unaff_s4[4] = iVar4;\n    (*pcVar17)(pcVar7);\n  }\n  else {\n    (*pcVar17)(pcVar7);\n  }\n  psVar14 = ppsVar20[1];\n  pcVar17 = *(code **)(puVar16 + 0x51420);\n  psVar18 = ppsVar20[2];\n  unaff_s4[3] = (int)db_00;\n  uVar6 = (*pcVar17)(db_00);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3124,psVar14,psVar18);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar10 = *(int *)(puVar16 + 0x511fc);\n    iVar4 = 0;\n    do {\n      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3284,psVar14,psVar18);\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3244,psVar14,psVar18);\n  (**(code **)(puVar16 + 0x51410))\n            (uVar6,*(int *)(puVar16 + 0x511fc) + -0x31fc,psVar14,psVar18,unaff_s4[4]);\n  iVar4 = (**(code **)(puVar16 + 0x51428))(uVar6);\n  if (iVar4 != 0) {\n    iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0);\n    (**(code **)(puVar16 + 0x51220))(iVar4);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17);\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    ppsVar20 = (sqlite3_stmt **)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);\n    if (iStack_a8 == 0) {\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar4 = *(int *)(puVar16 + 0x511fc);\nLAB_0010a7ec:\n    iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);\n    unaff_s4[0x10] = iVar4;\n    if (iVar4 != 0) {\n      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n      if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    *puStack_24 = uVar6;\nLAB_0010a998:\n    iVar4 = unaff_s4[10];\n    unaff_s4[10] = iVar4 + -1;\n    if (iVar4 + -1 == 0) {\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }\nLAB_0010a8f0:\n    if (iStack_64 == *piVar11) break;\n    iStack_a8 = (**(code **)(puVar16 + 0x51610))();\n  }\n  return iStack_a8;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "sqlite3_stmt **ppsVar8;" type_identifier (pointer_declarator "**ppsVar8" * (pointer_declarator "*ppsVar8" * identifier)) ;) (declaration "sqlite3 *db_00;" type_identifier (pointer_declarator "*db_00" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "sqlite3_stmt *psVar14;" type_identifier (pointer_declarator "*psVar14" * identifier) ;) (declaration "int *unaff_s4;" primitive_type (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "sqlite3_stmt *psVar18;" type_identifier (pointer_declarator "*psVar18" * identifier) ;) (declaration "longlong lVar19;" type_identifier identifier ;) (declaration "sqlite3_stmt **ppsVar20;" type_identifier (pointer_declarator "**ppsVar20" * (pointer_declarator "*ppsVar20" * identifier)) ;) (declaration "int iStack_a8;" primitive_type identifier ;) (declaration "sqlite3_stmt *psStack_9c;" type_identifier (pointer_declarator "*psStack_9c" * identifier) ;) (declaration "int aiStack_98 [4];" primitive_type (array_declarator "aiStack_98 [4]" identifier [ number_literal ]) ;) (declaration "int iStack_88;" primitive_type identifier ;) (declaration "int *apiStack_84 [3];" primitive_type (pointer_declarator "*apiStack_84 [3]" * (array_declarator "apiStack_84 [3]" identifier [ number_literal ])) ;) (declaration "sqlite3_stmt **ppsStack_78;" type_identifier (pointer_declarator "**ppsStack_78" * (pointer_declarator "*ppsStack_78" * identifier)) ;) (declaration "int *piStack_74;" primitive_type (pointer_declarator "*piStack_74" * identifier) ;) (declaration "int *piStack_70;" primitive_type (pointer_declarator "*piStack_70" * identifier) ;) (declaration "int *piStack_6c;" primitive_type (pointer_declarator "*piStack_6c" * identifier) ;) (declaration "int *piStack_68;" primitive_type (pointer_declarator "*piStack_68" * identifier) ;) (declaration "int iStack_64;" primitive_type identifier ;) (declaration "undefined *puStack_60;" type_identifier (pointer_declarator "*puStack_60" * identifier) ;) (declaration "int *piStack_5c;" primitive_type (pointer_declarator "*piStack_5c" * identifier) ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "undefined4 *puStack_24;" type_identifier (pointer_declarator "*puStack_24" * identifier) ;) (declaration "sqlite3_stmt *pStmt;" type_identifier (pointer_declarator "*pStmt" * identifier) ;) (declaration "sqlite3 *psStack_14;" type_identifier (pointer_declarator "*psStack_14" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "ppsVar20 = &pStmt;" (assignment_expression "ppsVar20 = &pStmt" identifier = (pointer_expression "&pStmt" & identifier)) ;) (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" identifier = number_literal) ;) (expression_statement "piVar21 = (int *)0x0;" (assignment_expression "piVar21 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pStmt = (sqlite3_stmt *)0x0;" (assignment_expression "pStmt = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psStack_14 = *(sqlite3 **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "psStack_14 = *(sqlite3 **)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(sqlite3 **)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(sqlite3 **)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "sqlite3 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar4 = sqlite3_prepare_v2(db,zSql,-1,ppsVar20,(char **)0x0);" (assignment_expression "iVar4 = sqlite3_prepare_v2(db,zSql,-1,ppsVar20,(char **)0x0)" identifier = (call_expression "sqlite3_prepare_v2(db,zSql,-1,ppsVar20,(char **)0x0)" identifier (argument_list "(db,zSql,-1,ppsVar20,(char **)0x0)" ( identifier , identifier , number_literal , identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt);\n    if (iVar4 == 100) {\n      zSql = (char *)0x0;\n      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);\n      *piVal = iVar4;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt);\n    if (iVar4 == 100) {\n      zSql = (char *)0x0;\n      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);\n      *piVal = iVar4;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt);\n  }" { (expression_statement "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(pStmt)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_0015b630)(pStmt)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015b630)" ( (pointer_expression "*(code *)PTR_sqlite3_step_0015b630" * (cast_expression "(code *)PTR_sqlite3_step_0015b630" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pStmt)" ( identifier )))) ;) (if_statement "if (iVar4 == 100) {\n      zSql = (char *)0x0;\n      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);\n      *piVal = iVar4;\n    }" if (parenthesized_expression "(iVar4 == 100)" ( (binary_expression "iVar4 == 100" identifier == number_literal) )) (compound_statement "{\n      zSql = (char *)0x0;\n      iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);\n      *piVal = iVar4;\n    }" { (expression_statement "zSql = (char *)0x0;" (assignment_expression "zSql = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_column_int_0015b644)(pStmt)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int_0015b644)(pStmt)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_0015b644)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int_0015b644" * (cast_expression "(code *)PTR_sqlite3_column_int_0015b644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pStmt)" ( identifier )))) ;) (expression_statement "*piVal = iVar4;" (assignment_expression "*piVal = iVar4" (pointer_expression "*piVal" * identifier) = identifier) ;) })) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)(pStmt)" (parenthesized_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)" ( (pointer_expression "*(code *)PTR_sqlite3_finalize_0015b63c" * (cast_expression "(code *)PTR_sqlite3_finalize_0015b63c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pStmt)" ( identifier )))) ;) })) (if_statement "if (psStack_14 == *(sqlite3 **)puVar3) {\n    return iVar4;\n  }" if (parenthesized_expression "(psStack_14 == *(sqlite3 **)puVar3)" ( (binary_expression "psStack_14 == *(sqlite3 **)puVar3" identifier == (pointer_expression "*(sqlite3 **)puVar3" * (cast_expression "(sqlite3 **)puVar3" ( (type_descriptor "sqlite3 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) })) (expression_statement "db_00 = psStack_14;" (assignment_expression "db_00 = psStack_14" identifier = identifier) ;) (expression_statement "puVar16 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar16 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_60 = puVar3;" (assignment_expression "puStack_60 = puVar3" identifier = identifier) ;) (expression_statement "piVar11 = *(int **)(puVar16 + 0x5162c);" (assignment_expression "piVar11 = *(int **)(puVar16 + 0x5162c)" identifier = (pointer_expression "*(int **)(puVar16 + 0x5162c)" * (cast_expression "(int **)(puVar16 + 0x5162c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x5162c)" ( (binary_expression "puVar16 + 0x5162c" identifier + number_literal) ))))) ;) (expression_statement "iStack_64 = *piVar11;" (assignment_expression "iStack_64 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "aiStack_98[3] = *(int *)(puVar16 + 0x511fc) + -0x3350;" (assignment_expression "aiStack_98[3] = *(int *)(puVar16 + 0x511fc) + -0x3350" (subscript_expression "aiStack_98[3]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x3350" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "aiStack_98[0] = 0;" (assignment_expression "aiStack_98[0] = 0" (subscript_expression "aiStack_98[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_98[1] = *(int *)(puVar16 + 0x511fc) + -0x33a0;" (assignment_expression "aiStack_98[1] = *(int *)(puVar16 + 0x511fc) + -0x33a0" (subscript_expression "aiStack_98[1]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x33a0" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "aiStack_98[2] = *(int *)(puVar16 + 0x511fc) + -0x3374;" (assignment_expression "aiStack_98[2] = *(int *)(puVar16 + 0x511fc) + -0x3374" (subscript_expression "aiStack_98[2]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x3374" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iStack_88 = *(int *)(puVar16 + 0x511fc) + -0x332c;" (assignment_expression "iStack_88 = *(int *)(puVar16 + 0x511fc) + -0x332c" identifier = (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x332c" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "piStack_5c = piVal;" (assignment_expression "piStack_5c = piVal" identifier = identifier) ;) (if_statement "if (0x67 < iVar10) {\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar6;\n    goto LAB_0010a8f0;\n  }" if (parenthesized_expression "(0x67 < iVar10)" ( (binary_expression "0x67 < iVar10" number_literal < identifier) )) (compound_statement "{\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar6;\n    goto LAB_0010a8f0;\n  }" { (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;) (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4)" identifier = (call_expression "(**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511e8) + 0x71f4)" ( (binary_expression "*(int *)(puVar16 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "*puStack_24 = uVar6;" (assignment_expression "*puStack_24 = uVar6" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar16 + 0x514bc))();" (call_expression "(**(code **)(puVar16 + 0x514bc))()" (parenthesized_expression "(**(code **)(puVar16 + 0x514bc))" ( (pointer_expression "**(code **)(puVar16 + 0x514bc)" * (pointer_expression "*(code **)(puVar16 + 0x514bc)" * (cast_expression "(code **)(puVar16 + 0x514bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x514bc)" ( (binary_expression "puVar16 + 0x514bc" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[1]);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[1])" identifier = (call_expression "(**(code **)(puVar16 + 0x515c4))(ppsVar20[1])" (parenthesized_expression "(**(code **)(puVar16 + 0x515c4))" ( (pointer_expression "**(code **)(puVar16 + 0x515c4)" * (pointer_expression "*(code **)(puVar16 + 0x515c4)" * (cast_expression "(code **)(puVar16 + 0x515c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x515c4)" ( (binary_expression "puVar16 + 0x515c4" identifier + number_literal) ))))) )) (argument_list "(ppsVar20[1])" ( (subscript_expression "ppsVar20[1]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar5 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[2]);" (assignment_expression "iVar5 = (**(code **)(puVar16 + 0x515c4))(ppsVar20[2])" identifier = (call_expression "(**(code **)(puVar16 + 0x515c4))(ppsVar20[2])" (parenthesized_expression "(**(code **)(puVar16 + 0x515c4))" ( (pointer_expression "**(code **)(puVar16 + 0x515c4)" * (pointer_expression "*(code **)(puVar16 + 0x515c4)" * (cast_expression "(code **)(puVar16 + 0x515c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x515c4)" ( (binary_expression "puVar16 + 0x515c4" identifier + number_literal) ))))) )) (argument_list "(ppsVar20[2])" ( (subscript_expression "ppsVar20[2]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar12 = iVar4 + iVar5 + 0x1fa;" (assignment_expression "iVar12 = iVar4 + iVar5 + 0x1fa" identifier = (binary_expression "iVar4 + iVar5 + 0x1fa" (binary_expression "iVar4 + iVar5" identifier + identifier) + number_literal)) ;) (expression_statement "unaff_s4 = (int *)(**(code **)(puVar16 + 0x51360))(0,iVar12);" (assignment_expression "unaff_s4 = (int *)(**(code **)(puVar16 + 0x51360))(0,iVar12)" identifier = (cast_expression "(int *)(**(code **)(puVar16 + 0x51360))(0,iVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51360))(0,iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x51360))" ( (pointer_expression "**(code **)(puVar16 + 0x51360)" * (pointer_expression "*(code **)(puVar16 + 0x51360)" * (cast_expression "(code **)(puVar16 + 0x51360)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51360)" ( (binary_expression "puVar16 + 0x51360" identifier + number_literal) ))))) )) (argument_list "(0,iVar12)" ( number_literal , identifier ))))) ;) (if_statement "if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    goto LAB_0010a8f0;\n  }" if (parenthesized_expression "(unaff_s4 == (int *)0x0)" ( (binary_expression "unaff_s4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iStack_a8 = 7;\n    goto LAB_0010a8f0;\n  }" { (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar16 + 0x515b4))(unaff_s4,0,iVar12);" (call_expression "(**(code **)(puVar16 + 0x515b4))(unaff_s4,0,iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x515b4))" ( (pointer_expression "**(code **)(puVar16 + 0x515b4)" * (pointer_expression "*(code **)(puVar16 + 0x515b4)" * (cast_expression "(code **)(puVar16 + 0x515b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x515b4)" ( (binary_expression "puVar16 + 0x515b4" identifier + number_literal) ))))) )) (argument_list "(unaff_s4,0,iVar12)" ( identifier , number_literal , identifier ))) ;) (expression_statement "unaff_s4[10] = 1;" (assignment_expression "unaff_s4[10] = 1" (subscript_expression "unaff_s4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar9 = unaff_s4 + 0x7e;" (assignment_expression "piVar9 = unaff_s4 + 0x7e" identifier = (binary_expression "unaff_s4 + 0x7e" identifier + number_literal)) ;) (expression_statement "iVar13 = (int)piVar9 + iVar4 + 1;" (assignment_expression "iVar13 = (int)piVar9 + iVar4 + 1" identifier = (binary_expression "(int)piVar9 + iVar4 + 1" (binary_expression "(int)piVar9 + iVar4" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal)) ;) (expression_statement "unaff_s4[8] = (int)piVar9;" (assignment_expression "unaff_s4[8] = (int)piVar9" (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) = (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar12 = *(int *)(puVar16 + 0x511d8);" (assignment_expression "iVar12 = *(int *)(puVar16 + 0x511d8)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511d8)" * (cast_expression "(int *)(puVar16 + 0x511d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511d8)" ( (binary_expression "puVar16 + 0x511d8" identifier + number_literal) ))))) ;) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51630);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51630)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51630)" * (cast_expression "(code **)(puVar16 + 0x51630)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51630)" ( (binary_expression "puVar16 + 0x51630" identifier + number_literal) ))))) ;) (expression_statement "*(bool *)((int)unaff_s4 + 0x16) = zSql != (char *)0x0;" (assignment_expression "*(bool *)((int)unaff_s4 + 0x16) = zSql != (char *)0x0" (pointer_expression "*(bool *)((int)unaff_s4 + 0x16)" * (cast_expression "(bool *)((int)unaff_s4 + 0x16)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x16)" ( (binary_expression "(int)unaff_s4 + 0x16" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "zSql != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "unaff_s4[9] = iVar13;" (assignment_expression "unaff_s4[9] = iVar13" (subscript_expression "unaff_s4[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*unaff_s4 = iVar12 + -0x4cd8;" (assignment_expression "*unaff_s4 = iVar12 + -0x4cd8" (pointer_expression "*unaff_s4" * identifier) = (binary_expression "iVar12 + -0x4cd8" identifier + number_literal)) ;) (expression_statement "(*pcVar17)(piVar9,ppsVar20[1],iVar4);" (call_expression "(*pcVar17)(piVar9,ppsVar20[1],iVar4)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(piVar9,ppsVar20[1],iVar4)" ( identifier , (subscript_expression "ppsVar20[1]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "(**(code **)(puVar16 + 0x51630))(iVar13,ppsVar20[2],iVar5);" (call_expression "(**(code **)(puVar16 + 0x51630))(iVar13,ppsVar20[2],iVar5)" (parenthesized_expression "(**(code **)(puVar16 + 0x51630))" ( (pointer_expression "**(code **)(puVar16 + 0x51630)" * (pointer_expression "*(code **)(puVar16 + 0x51630)" * (cast_expression "(code **)(puVar16 + 0x51630)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51630)" ( (binary_expression "puVar16 + 0x51630" identifier + number_literal) ))))) )) (argument_list "(iVar13,ppsVar20[2],iVar5)" ( identifier , (subscript_expression "ppsVar20[2]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51420))(db_00)" identifier = (call_expression "(**(code **)(puVar16 + 0x51420))(db_00)" (parenthesized_expression "(**(code **)(puVar16 + 0x51420))" ( (pointer_expression "**(code **)(puVar16 + 0x51420)" * (pointer_expression "*(code **)(puVar16 + 0x51420)" * (cast_expression "(code **)(puVar16 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51420)" ( (binary_expression "puVar16 + 0x51420" identifier + number_literal) ))))) )) (argument_list "(db_00)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3304,ppsVar20[3]);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3304,ppsVar20[3])" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3304,ppsVar20[3])" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x3304" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "ppsVar20[3]" identifier [ number_literal ]) ))) ;) (if_statement "if (4 < iVar10) {\n    iVar5 = *(int *)(puVar16 + 0x511e8);\n    iVar4 = 4;\n    ppsVar8 = ppsVar20 + 4;\n    do {\n      while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }\n      pcVar17 = *(code **)(puVar16 + 0x51410);\n      iVar4 = iVar4 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);\n      ppsVar8 = ppsVar8 + 1;\n    } while (iVar10 != iVar4);\n  }" if (parenthesized_expression "(4 < iVar10)" ( (binary_expression "4 < iVar10" number_literal < identifier) )) (compound_statement "{\n    iVar5 = *(int *)(puVar16 + 0x511e8);\n    iVar4 = 4;\n    ppsVar8 = ppsVar20 + 4;\n    do {\n      while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }\n      pcVar17 = *(code **)(puVar16 + 0x51410);\n      iVar4 = iVar4 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);\n      ppsVar8 = ppsVar8 + 1;\n    } while (iVar10 != iVar4);\n  }" { (expression_statement "iVar5 = *(int *)(puVar16 + 0x511e8);" (assignment_expression "iVar5 = *(int *)(puVar16 + 0x511e8)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (expression_statement "ppsVar8 = ppsVar20 + 4;" (assignment_expression "ppsVar8 = ppsVar20 + 4" identifier = (binary_expression "ppsVar20 + 4" identifier + number_literal)) ;) (do_statement "do {\n      while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }\n      pcVar17 = *(code **)(puVar16 + 0x51410);\n      iVar4 = iVar4 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);\n      ppsVar8 = ppsVar8 + 1;\n    } while (iVar10 != iVar4);" do (compound_statement "{\n      while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }\n      pcVar17 = *(code **)(puVar16 + 0x51410);\n      iVar4 = iVar4 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);\n      ppsVar8 = ppsVar8 + 1;\n    }" { (while_statement "while (**ppsVar8 != (sqlite3_stmt)0x2b) {\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }" while (parenthesized_expression "(**ppsVar8 != (sqlite3_stmt)0x2b)" ( (binary_expression "**ppsVar8 != (sqlite3_stmt)0x2b" (pointer_expression "**ppsVar8" * (pointer_expression "*ppsVar8" * identifier)) != (cast_expression "(sqlite3_stmt)0x2b" ( (type_descriptor "sqlite3_stmt" type_identifier) ) number_literal)) )) (compound_statement "{\n        pcVar17 = *(code **)(puVar16 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar4 = iVar4 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);\n        ppsVar8 = ppsVar8 + 1;\n        if (iVar10 == iVar4) goto LAB_0010a63c;\n      }" { (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51410);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51410)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n          if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;\n          if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" { (expression_statement "(*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);" (call_expression "(*pcVar17)(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6)" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51428))(uVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51428))(uVar6)" (parenthesized_expression "(**(code **)(puVar16 + 0x51428))" ( (pointer_expression "**(code **)(puVar16 + 0x51428)" * (pointer_expression "*(code **)(puVar16 + 0x51428)" * (cast_expression "(code **)(puVar16 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51428)" ( (binary_expression "puVar16 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar6)" ( identifier ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) goto LAB_0010a9c0;" 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)) )) (goto_statement "goto LAB_0010a9c0;" goto statement_identifier ;)) (if_statement "if (iVar4 < iVar10) {\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }" if (parenthesized_expression "(iVar4 < iVar10)" ( (binary_expression "iVar4 < iVar10" identifier < identifier) )) (compound_statement "{\n            iStack_a8 = 1;\n            uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar17 = *(code **)(puVar16 + 0x51220);\n            *puStack_24 = uVar6;\n            (*pcVar17)(pcVar7);\n            goto LAB_0010a998;\n          }" { (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;) (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)\n            ;" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)" identifier = (call_expression "(**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511e8) + 0x71f4,iStack_88)" ( (binary_expression "*(int *)(puVar16 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar6;" (assignment_expression "*puStack_24 = uVar6" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (goto_statement "goto LAB_0010a66c;" goto statement_identifier ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" * (cast_expression "(char *)((int)unaff_s4 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" * (cast_expression "(char *)((int)unaff_s4 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "(*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8);" (call_expression "(*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(uVar6,iVar5 + 0x59ec,*ppsVar8)" ( identifier , (binary_expression "iVar5 + 0x59ec" identifier + number_literal) , (pointer_expression "*ppsVar8" * identifier) ))) ;) (expression_statement "ppsVar8 = ppsVar8 + 1;" (assignment_expression "ppsVar8 = ppsVar8 + 1" identifier = (binary_expression "ppsVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar10 == iVar4) goto LAB_0010a63c;" if (parenthesized_expression "(iVar10 == iVar4)" ( (binary_expression "iVar10 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_0010a63c;" goto statement_identifier ;)) })) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51410);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51410)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "(*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1);" (call_expression "(*pcVar17)(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(uVar6,iVar5 + 0x59ec,*ppsVar8 + 1)" ( identifier , (binary_expression "iVar5 + 0x59ec" identifier + number_literal) , (binary_expression "*ppsVar8 + 1" (pointer_expression "*ppsVar8" * identifier) + number_literal) ))) ;) (expression_statement "ppsVar8 = ppsVar8 + 1;" (assignment_expression "ppsVar8 = ppsVar8 + 1" identifier = (binary_expression "ppsVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != iVar4)" ( (binary_expression "iVar10 != iVar4" identifier != identifier) )) ;) })) (labeled_statement "LAB_0010a63c:\n  (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);" statement_identifier : (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x32f0)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;)) (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6)" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51428))(uVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51428))(uVar6)" (parenthesized_expression "(**(code **)(puVar16 + 0x51428))" ( (pointer_expression "**(code **)(puVar16 + 0x51428)" * (pointer_expression "*(code **)(puVar16 + 0x51428)" * (cast_expression "(code **)(puVar16 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51428)" ( (binary_expression "puVar16 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar6)" ( identifier ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar16 + 0x51220))(0);\n    goto LAB_0010a998;\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 "{\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar16 + 0x51220))(0);\n    goto LAB_0010a998;\n  }" { (labeled_statement "LAB_0010a9c0:\n    iStack_a8 = 7;" statement_identifier : (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;)) (expression_statement "(**(code **)(puVar16 + 0x51220))(0);" (call_expression "(**(code **)(puVar16 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar16 + 0x51220))" ( (pointer_expression "**(code **)(puVar16 + 0x51220)" * (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (labeled_statement "LAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(db_00,pcVar7);" statement_identifier : (expression_statement "iStack_a8 = sqlite3_declare_vtab(db_00,pcVar7);" (assignment_expression "iStack_a8 = sqlite3_declare_vtab(db_00,pcVar7)" identifier = (call_expression "sqlite3_declare_vtab(db_00,pcVar7)" identifier (argument_list "(db_00,pcVar7)" ( identifier , identifier )))) ;)) (if_statement "if (iStack_a8 != 0) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }" { (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51224))(db_00)" identifier = (call_expression "(**(code **)(puVar16 + 0x51224))(db_00)" (parenthesized_expression "(**(code **)(puVar16 + 0x51224))" ( (pointer_expression "**(code **)(puVar16 + 0x51224)" * (pointer_expression "*(code **)(puVar16 + 0x51224)" * (cast_expression "(code **)(puVar16 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51224)" ( (binary_expression "puVar16 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(db_00)" ( identifier )))) ;) (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" identifier = (call_expression "(**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" ( (binary_expression "*(int *)(puVar16 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar6;" (assignment_expression "*puStack_24 = uVar6" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar16 + 0x51220))(pcVar7);" (call_expression "(**(code **)(puVar16 + 0x51220))(pcVar7)" (parenthesized_expression "(**(code **)(puVar16 + 0x51220))" ( (pointer_expression "**(code **)(puVar16 + 0x51220)" * (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(pcVar7)" ( identifier ))) ;) (expression_statement "bVar1 = *(byte *)((int)unaff_s4 + 0x15);" (assignment_expression "bVar1 = *(byte *)((int)unaff_s4 + 0x15)" identifier = (pointer_expression "*(byte *)((int)unaff_s4 + 0x15)" * (cast_expression "(byte *)((int)unaff_s4 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(byte *)(unaff_s4 + 5) = bVar1 >> 1;" (assignment_expression "*(byte *)(unaff_s4 + 5) = bVar1 >> 1" (pointer_expression "*(byte *)(unaff_s4 + 5)" * (cast_expression "(byte *)(unaff_s4 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + 5)" ( (binary_expression "unaff_s4 + 5" identifier + number_literal) )))) = (binary_expression "bVar1 >> 1" identifier >> number_literal)) ;) (if_statement "if (bVar1 < 2) {\n    iVar4 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])\n    ;\n    *puStack_24 = uVar6;\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(bVar1 < 2)" ( (binary_expression "bVar1 < 2" identifier < number_literal) )) (compound_statement "{\n    iVar4 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])\n    ;\n    *puStack_24 = uVar6;\n    goto LAB_0010a998;\n  }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (labeled_statement "LAB_0010a9e4:\n    iStack_a8 = 1;" statement_identifier : (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;)) (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])\n    ;" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])" identifier = (call_expression "(**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511e8) + 0x71f4,aiStack_98[iVar4])" ( (binary_expression "*(int *)(puVar16 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) )))) + number_literal) , (subscript_expression "aiStack_98[iVar4]" identifier [ identifier ]) )))) ;) (expression_statement "*puStack_24 = uVar6;" (assignment_expression "*puStack_24 = uVar6" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (if_statement "if (10 < bVar1) {\n    iVar4 = 3;\n    goto LAB_0010a9e4;\n  }" if (parenthesized_expression "(10 < bVar1)" ( (binary_expression "10 < bVar1" number_literal < identifier) )) (compound_statement "{\n    iVar4 = 3;\n    goto LAB_0010a9e4;\n  }" { (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (goto_statement "goto LAB_0010a9e4;" goto statement_identifier ;) })) (if_statement "if ((bVar1 & 1) != 0) {\n    iVar4 = 1;\n    goto LAB_0010a9e4;\n  }" if (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar4 = 1;\n    goto LAB_0010a9e4;\n  }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0010a9e4;" goto statement_identifier ;) })) (expression_statement "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';" (assignment_expression "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04'" (pointer_expression "*(byte *)((int)unaff_s4 + 0x17)" * (cast_expression "(byte *)((int)unaff_s4 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x17)" ( (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(bVar1 + 2) * '\x04'" (parenthesized_expression "(bVar1 + 2)" ( (binary_expression "bVar1 + 2" identifier + number_literal) )) * (char_literal "'\x04'" ' escape_sequence '))) ;) (expression_statement "psStack_9c = (sqlite3_stmt *)0x0;" (assignment_expression "psStack_9c = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8]);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8])" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51228))\n                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51228))\n                             (*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8])" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511fc) + -0x33d4,unaff_s4[8])" ( (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x33d4" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\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    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    pcVar17 = *(code **)(puVar16 + 0x51220);\n    *puStack_24 = uVar6;\n    (*pcVar17)(pcVar7);\n    goto LAB_0010a998;\n  }" { (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (labeled_statement "LAB_0010ac60:\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);" statement_identifier : (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51224))(db_00)" identifier = (call_expression "(**(code **)(puVar16 + 0x51224))(db_00)" (parenthesized_expression "(**(code **)(puVar16 + 0x51224))" ( (pointer_expression "**(code **)(puVar16 + 0x51224)" * (pointer_expression "*(code **)(puVar16 + 0x51224)" * (cast_expression "(code **)(puVar16 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51224)" ( (binary_expression "puVar16 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(db_00)" ( identifier )))) ;)) (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" identifier = (call_expression "(**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" ( (binary_expression "*(int *)(puVar16 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar6;" (assignment_expression "*puStack_24 = uVar6" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (expression_statement "iStack_a8 = getIntFromStmt(db_00,pcVar7,(int *)&psStack_9c);" (assignment_expression "iStack_a8 = getIntFromStmt(db_00,pcVar7,(int *)&psStack_9c)" identifier = (call_expression "getIntFromStmt(db_00,pcVar7,(int *)&psStack_9c)" identifier (argument_list "(db_00,pcVar7,(int *)&psStack_9c)" ( identifier , identifier , (cast_expression "(int *)&psStack_9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psStack_9c" & identifier)) )))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac60;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010ac60;" goto statement_identifier ;)) (expression_statement "unaff_s4[4] = (int)(psStack_9c + -0x40);" (assignment_expression "unaff_s4[4] = (int)(psStack_9c + -0x40)" (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) = (cast_expression "(int)(psStack_9c + -0x40)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(psStack_9c + -0x40)" ( (binary_expression "psStack_9c + -0x40" identifier + number_literal) )))) ;) (expression_statement "iVar4 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;" (assignment_expression "iVar4 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" identifier = (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)unaff_s4 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x17)" ( (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) * number_literal) + number_literal)) ;) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 < (int)(psStack_9c + -0x40)) {\n    unaff_s4[4] = iVar4;\n    (*pcVar17)(pcVar7);\n  }\n  else {\n    (*pcVar17)(pcVar7);\n  }" if (parenthesized_expression "(iVar4 < (int)(psStack_9c + -0x40))" ( (binary_expression "iVar4 < (int)(psStack_9c + -0x40)" identifier < (cast_expression "(int)(psStack_9c + -0x40)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(psStack_9c + -0x40)" ( (binary_expression "psStack_9c + -0x40" identifier + number_literal) )))) )) (compound_statement "{\n    unaff_s4[4] = iVar4;\n    (*pcVar17)(pcVar7);\n  }" { (expression_statement "unaff_s4[4] = iVar4;" (assignment_expression "unaff_s4[4] = iVar4" (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) }) (else_clause "else {\n    (*pcVar17)(pcVar7);\n  }" else (compound_statement "{\n    (*pcVar17)(pcVar7);\n  }" { (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) }))) (expression_statement "psVar14 = ppsVar20[1];" (assignment_expression "psVar14 = ppsVar20[1]" identifier = (subscript_expression "ppsVar20[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51420);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51420)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51420)" * (cast_expression "(code **)(puVar16 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51420)" ( (binary_expression "puVar16 + 0x51420" identifier + number_literal) ))))) ;) (expression_statement "psVar18 = ppsVar20[2];" (assignment_expression "psVar18 = ppsVar20[2]" identifier = (subscript_expression "ppsVar20[2]" identifier [ number_literal ])) ;) (expression_statement "unaff_s4[3] = (int)db_00;" (assignment_expression "unaff_s4[3] = (int)db_00" (subscript_expression "unaff_s4[3]" identifier [ number_literal ]) = (cast_expression "(int)db_00" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (*pcVar17)(db_00);" (assignment_expression "uVar6 = (*pcVar17)(db_00)" identifier = (call_expression "(*pcVar17)(db_00)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(db_00)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3124,psVar14,psVar18);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3124,psVar14,psVar18)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3124,psVar14,psVar18)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x3124" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar10 = *(int *)(puVar16 + 0x511fc);\n    iVar4 = 0;\n    do {\n      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar10 = *(int *)(puVar16 + 0x511fc);\n    iVar4 = 0;\n    do {\n      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" { (expression_statement "iVar10 = *(int *)(puVar16 + 0x511fc);" (assignment_expression "iVar10 = *(int *)(puVar16 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));" do (compound_statement "{\n      (**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,iVar10 + -0x328c,iVar4)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,iVar10 + -0x328c,iVar4)" ( identifier , (binary_expression "iVar10 + -0x328c" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19))" ( (binary_expression "iVar4 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19)" identifier < (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) ;) })) (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3284,psVar14,psVar18);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3284,psVar14,psVar18)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3284,psVar14,psVar18)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x3284" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3244,psVar14,psVar18);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3244,psVar14,psVar18)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3244,psVar14,psVar18)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x3244" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar16 + 0x51410))\n            (uVar6,*(int *)(puVar16 + 0x511fc) + -0x31fc,psVar14,psVar18,unaff_s4[4]);" (call_expression "(**(code **)(puVar16 + 0x51410))\n            (uVar6,*(int *)(puVar16 + 0x511fc) + -0x31fc,psVar14,psVar18,unaff_s4[4])" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x31fc,psVar14,psVar18,unaff_s4[4])" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x31fc" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier , (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar4 = (**(code **)(puVar16 + 0x51428))(uVar6);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x51428))(uVar6)" identifier = (call_expression "(**(code **)(puVar16 + 0x51428))(uVar6)" (parenthesized_expression "(**(code **)(puVar16 + 0x51428))" ( (pointer_expression "**(code **)(puVar16 + 0x51428)" * (pointer_expression "*(code **)(puVar16 + 0x51428)" * (cast_expression "(code **)(puVar16 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51428)" ( (binary_expression "puVar16 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n    iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0);\n    (**(code **)(puVar16 + 0x51220))(iVar4);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17);\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    ppsVar20 = (sqlite3_stmt **)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);\n    if (iStack_a8 == 0) {\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar4 = *(int *)(puVar16 + 0x511fc);\nLAB_0010a7ec:\n    iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);\n    unaff_s4[0x10] = iVar4;\n    if (iVar4 != 0) {\n      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n      if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }\n    }\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0);\n    (**(code **)(puVar16 + 0x51220))(iVar4);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17);\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    ppsVar20 = (sqlite3_stmt **)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);\n    if (iStack_a8 == 0) {\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar4 = *(int *)(puVar16 + 0x511fc);\nLAB_0010a7ec:\n    iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);\n    unaff_s4[0x10] = iVar4;\n    if (iVar4 != 0) {\n      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n      if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }\n    }\n  }" { (expression_statement "iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0);" (assignment_expression "iStack_a8 = (**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0)" identifier = (call_expression "(**(code **)(puVar16 + 0x51270))(db_00,iVar4,0,0,0)" (parenthesized_expression "(**(code **)(puVar16 + 0x51270))" ( (pointer_expression "**(code **)(puVar16 + 0x51270)" * (pointer_expression "*(code **)(puVar16 + 0x51270)" * (cast_expression "(code **)(puVar16 + 0x51270)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51270)" ( (binary_expression "puVar16 + 0x51270" identifier + number_literal) ))))) )) (argument_list "(db_00,iVar4,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "(**(code **)(puVar16 + 0x51220))(iVar4);" (call_expression "(**(code **)(puVar16 + 0x51220))(iVar4)" (parenthesized_expression "(**(code **)(puVar16 + 0x51220))" ( (pointer_expression "**(code **)(puVar16 + 0x51220)" * (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac28;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;)) (expression_statement "apiStack_84[0] = unaff_s4 + 0x14;" (assignment_expression "apiStack_84[0] = unaff_s4 + 0x14" (subscript_expression "apiStack_84[0]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x14" identifier + number_literal)) ;) (expression_statement "apiStack_84[2] = unaff_s4 + 0x16;" (assignment_expression "apiStack_84[2] = unaff_s4 + 0x16" (subscript_expression "apiStack_84[2]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x16" identifier + number_literal)) ;) (expression_statement "apiStack_84[1] = unaff_s4 + 0x15;" (assignment_expression "apiStack_84[1] = unaff_s4 + 0x15" (subscript_expression "apiStack_84[1]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x15" identifier + number_literal)) ;) (expression_statement "ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17);" (assignment_expression "ppsStack_78 = (sqlite3_stmt **)(unaff_s4 + 0x17)" identifier = (cast_expression "(sqlite3_stmt **)(unaff_s4 + 0x17)" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_s4 + 0x17)" ( (binary_expression "unaff_s4 + 0x17" identifier + number_literal) )))) ;) (expression_statement "piStack_74 = unaff_s4 + 0x18;" (assignment_expression "piStack_74 = unaff_s4 + 0x18" identifier = (binary_expression "unaff_s4 + 0x18" identifier + number_literal)) ;) (expression_statement "piStack_70 = unaff_s4 + 0x19;" (assignment_expression "piStack_70 = unaff_s4 + 0x19" identifier = (binary_expression "unaff_s4 + 0x19" identifier + number_literal)) ;) (expression_statement "piStack_6c = unaff_s4 + 0x1a;" (assignment_expression "piStack_6c = unaff_s4 + 0x1a" identifier = (binary_expression "unaff_s4 + 0x1a" identifier + number_literal)) ;) (expression_statement "piStack_68 = unaff_s4 + 0x1b;" (assignment_expression "piStack_68 = unaff_s4 + 0x1b" identifier = (binary_expression "unaff_s4 + 0x1b" identifier + number_literal)) ;) (expression_statement "ppsVar20 = (sqlite3_stmt **)0x0;" (assignment_expression "ppsVar20 = (sqlite3_stmt **)0x0" identifier = (cast_expression "(sqlite3_stmt **)0x0" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "iStack_a8 = sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);" (assignment_expression "iStack_a8 = sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0)" identifier = (call_expression "sqlite3_table_column_metadata\n                          (db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0)" identifier (argument_list "(db_00,(char *)unaff_s4[8],(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)\n                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0)" ( identifier , (cast_expression "(char *)unaff_s4[8]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "unaff_s4[8]" identifier [ number_literal ])) , (cast_expression "(char *)(*(int *)(puVar16 + 0x511fc) + -0x65b0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar16 + 0x511fc) + -0x65b0)" ( (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x65b0" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (iStack_a8 == 0) {\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" { (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51228))\n                                 (*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" ( (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x31c8" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) , (subscript_expression "unaff_s4[9]" identifier [ number_literal ]) ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }\n      else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\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 "{\nLAB_0010add8:\n        iStack_a8 = 7;\n        ppsVar8 = ppsVar20;\n      }" { (labeled_statement "LAB_0010add8:\n        iStack_a8 = 7;" statement_identifier : (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;)) (expression_statement "ppsVar8 = ppsVar20;" (assignment_expression "ppsVar8 = ppsVar20" identifier = identifier) ;) }) (else_clause "else {\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }" else (compound_statement "{\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);\n        if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }\n        pcVar17 = *(code **)(puVar16 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar17)(pcVar7);\n        ppsVar8 = ppsVar20;\n      }" { (expression_statement "ppsVar20 = (sqlite3_stmt **)0x0;" (assignment_expression "ppsVar20 = (sqlite3_stmt **)0x0" identifier = (cast_expression "(sqlite3_stmt **)0x0" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0)" identifier = (call_expression "sqlite3_prepare_v2(db_00,pcVar7,-1,&psStack_9c,(char **)0x0)" identifier (argument_list "(db_00,pcVar7,-1,&psStack_9c,(char **)0x0)" ( identifier , identifier , number_literal , (pointer_expression "&psStack_9c" & identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (if_statement "if (iStack_a8 == 0) {\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);\n          if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar17)(pcVar7);\n          goto LAB_0010ad1c;\n        }" { (expression_statement "iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x51230))(psStack_9c)" identifier = (call_expression "(**(code **)(puVar16 + 0x51230))(psStack_9c)" (parenthesized_expression "(**(code **)(puVar16 + 0x51230))" ( (pointer_expression "**(code **)(puVar16 + 0x51230)" * (pointer_expression "*(code **)(puVar16 + 0x51230)" * (cast_expression "(code **)(puVar16 + 0x51230)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51230)" ( (binary_expression "puVar16 + 0x51230" identifier + number_literal) ))))) )) (argument_list "(psStack_9c)" ( identifier )))) ;) (if_statement "if (iVar4 == 100) {\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" if (parenthesized_expression "(iVar4 == 100)" ( (binary_expression "iVar4 == 100" identifier == number_literal) )) (compound_statement "{\n            lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }\n          }" { (expression_statement "lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0);" (assignment_expression "lVar19 = (**(code **)(puVar16 + 0x51250))(psStack_9c,0)" identifier = (call_expression "(**(code **)(puVar16 + 0x51250))(psStack_9c,0)" (parenthesized_expression "(**(code **)(puVar16 + 0x51250))" ( (pointer_expression "**(code **)(puVar16 + 0x51250)" * (pointer_expression "*(code **)(puVar16 + 0x51250)" * (cast_expression "(code **)(puVar16 + 0x51250)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51250)" ( (binary_expression "puVar16 + 0x51250" identifier + number_literal) ))))) )) (argument_list "(psStack_9c,0)" ( identifier , number_literal )))) ;) (expression_statement "iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c)" identifier = (call_expression "(**(code **)(puVar16 + 0x5123c))(psStack_9c)" (parenthesized_expression "(**(code **)(puVar16 + 0x5123c))" ( (pointer_expression "**(code **)(puVar16 + 0x5123c)" * (pointer_expression "*(code **)(puVar16 + 0x5123c)" * (cast_expression "(code **)(puVar16 + 0x5123c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x5123c)" ( (binary_expression "puVar16 + 0x5123c" identifier + number_literal) ))))) )) (argument_list "(psStack_9c)" ( identifier )))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010af48;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010af48;" goto statement_identifier ;)) (if_statement "if (lVar19 != 0) {\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }" if (parenthesized_expression "(lVar19 != 0)" ( (binary_expression "lVar19 != 0" identifier != number_literal) )) (compound_statement "{\n              if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar19;\n              (*pcVar17)(pcVar7);\n              goto LAB_0010ad1c;\n            }" { (if_statement "if ((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))) {\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }" if (parenthesized_expression "((lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100))))" ( (binary_expression "(lVar19 < 0) ||\n                 ((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))" (parenthesized_expression "(lVar19 < 0)" ( (binary_expression "lVar19 < 0" identifier < number_literal) )) || (parenthesized_expression "((pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)))" ( (parenthesized_expression "(pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100))" ( (comma_expression "pcVar17 = *(code **)(puVar16 + 0x51220), (int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) , (binary_expression "(int)((ulonglong)lVar19 >> 0x20) == 0 &&\n                  ((uint)lVar19 < 100)" (binary_expression "(int)((ulonglong)lVar19 >> 0x20) == 0" (cast_expression "(int)((ulonglong)lVar19 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar19 >> 0x20)" ( (binary_expression "(ulonglong)lVar19 >> 0x20" (cast_expression "(ulonglong)lVar19" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) && (parenthesized_expression "((uint)lVar19 < 100)" ( (binary_expression "(uint)lVar19 < 100" (cast_expression "(uint)lVar19" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) )))) )) ))) )) (compound_statement "{\n                lVar19 = 100;\n                pcVar17 = *(code **)(puVar16 + 0x51220);\n              }" { (expression_statement "lVar19 = 100;" (assignment_expression "lVar19 = 100" identifier = number_literal) ;) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;) })) (expression_statement "*(longlong *)(unaff_s4 + 0xc) = lVar19;" (assignment_expression "*(longlong *)(unaff_s4 + 0xc) = lVar19" (pointer_expression "*(longlong *)(unaff_s4 + 0xc)" * (cast_expression "(longlong *)(unaff_s4 + 0xc)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + 0xc)" ( (binary_expression "unaff_s4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) (goto_statement "goto LAB_0010ad1c;" goto statement_identifier ;) })) }) (else_clause "else {\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" else (compound_statement "{\n            iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" { (expression_statement "iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar16 + 0x5123c))(psStack_9c)" identifier = (call_expression "(**(code **)(puVar16 + 0x5123c))(psStack_9c)" (parenthesized_expression "(**(code **)(puVar16 + 0x5123c))" ( (pointer_expression "**(code **)(puVar16 + 0x5123c)" * (pointer_expression "*(code **)(puVar16 + 0x5123c)" * (cast_expression "(code **)(puVar16 + 0x5123c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x5123c)" ( (binary_expression "puVar16 + 0x5123c" identifier + number_literal) ))))) )) (argument_list "(psStack_9c)" ( identifier )))) ;) (if_statement "if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);\n              goto LAB_0010af4c;\n            }" { (labeled_statement "LAB_0010af48:\n              pcVar17 = *(code **)(puVar16 + 0x51220);" statement_identifier : (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;)) (goto_statement "goto LAB_0010af4c;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0010acfc:\n          pcVar17 = *(code **)(puVar16 + 0x51220);" statement_identifier : (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;)) (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) (goto_statement "goto LAB_0010ad1c;" goto statement_identifier ;) })) (expression_statement "pcVar17 = *(code **)(puVar16 + 0x51220);" (assignment_expression "pcVar17 = *(code **)(puVar16 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) ;) (if_statement "if (iStack_a8 != 7) goto LAB_0010acfc;" if (parenthesized_expression "(iStack_a8 != 7)" ( (binary_expression "iStack_a8 != 7" identifier != number_literal) )) (goto_statement "goto LAB_0010acfc;" goto statement_identifier ;)) (labeled_statement "LAB_0010af4c:\n        (*pcVar17)(pcVar7);" statement_identifier : (expression_statement "(*pcVar17)(pcVar7);" (call_expression "(*pcVar17)(pcVar7)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;)) (expression_statement "ppsVar8 = ppsVar20;" (assignment_expression "ppsVar8 = ppsVar20" identifier = identifier) ;) }))) (labeled_statement "LAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);" statement_identifier : (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" identifier = (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;)) }) (else_clause "else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" else (compound_statement "{\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      ppsVar8 = ppsVar20;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar10 = 0;\n      iVar4 = *(int *)(puVar16 + 0x511fc);\n      puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" { (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "ppsVar8 = ppsVar20;" (assignment_expression "ppsVar8 = ppsVar20" identifier = identifier) ;) (if_statement "if (iStack_a8 != 1) goto LAB_0010a7dc;" if (parenthesized_expression "(iStack_a8 != 1)" ( (binary_expression "iStack_a8 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0010a7dc;" goto statement_identifier ;)) (labeled_statement "LAB_0010ad1c:\n      iVar10 = 0;" statement_identifier : (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;)) (expression_statement "iVar4 = *(int *)(puVar16 + 0x511fc);" (assignment_expression "iVar4 = *(int *)(puVar16 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0);" (assignment_expression "puVar15 = (undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar16 + 0x511d8) + -0x73a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar16 + 0x511d8) + -0x73a0)" ( (binary_expression "*(int *)(puVar16 + 0x511d8) + -0x73a0" (pointer_expression "*(int *)(puVar16 + 0x511d8)" * (cast_expression "(int *)(puVar16 + 0x511d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511d8)" ( (binary_expression "puVar16 + 0x511d8" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      } while (iStack_a8 == 0);" do (compound_statement "{\n        if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar10 = iVar10 + 1;\n        puVar15 = puVar15 + 1;\n        ppsVar20 = ppsVar8;\n      }" { (if_statement "if (iVar10 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }\n        else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" if (parenthesized_expression "(iVar10 == 3)" ( (binary_expression "iVar10 == 3" identifier == number_literal) )) (compound_statement "{\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }\n          ppsStack_78 = ppsVar8;\n          if (pcVar7 == (char *)0x0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n        }" { (if_statement "if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }\n          else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) == '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) == '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);\n            ppsVar8 = ppsStack_78;\n          }" { (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14)" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*puVar15,psVar14)" ( (pointer_expression "*puVar15" * identifier) , identifier ))))) ;) (expression_statement "ppsVar8 = ppsStack_78;" (assignment_expression "ppsVar8 = ppsStack_78" identifier = identifier) ;) }) (else_clause "else {\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }" else (compound_statement "{\n            pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);\n            ppsVar8 = ppsStack_78;\n          }" { (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18)" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51228))(iVar4 + -0x30e4,psVar14,psVar18)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(iVar4 + -0x30e4,psVar14,psVar18)" ( (binary_expression "iVar4 + -0x30e4" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "ppsVar8 = ppsStack_78;" (assignment_expression "ppsVar8 = ppsStack_78" identifier = identifier) ;) }))) (expression_statement "ppsStack_78 = ppsVar8;" (assignment_expression "ppsStack_78 = ppsVar8" identifier = identifier) ;) (if_statement "if (pcVar7 == (char *)0x0) goto LAB_0010adc8;" 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)) )) (goto_statement "goto LAB_0010adc8;" goto statement_identifier ;)) (expression_statement "iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0)" identifier = (call_expression "sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0)" identifier (argument_list "(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0)" ( identifier , identifier , number_literal , number_literal , identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "(**(code **)(puVar16 + 0x51220))(pcVar7);" (call_expression "(**(code **)(puVar16 + 0x51220))(pcVar7)" (parenthesized_expression "(**(code **)(puVar16 + 0x51220))" ( (pointer_expression "**(code **)(puVar16 + 0x51220)" * (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(pcVar7)" ( identifier ))) ;) }) (else_clause "else {\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" else (compound_statement "{\n          pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);\n          if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];\n          iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);\n          (**(code **)(puVar16 + 0x51220))(pcVar7);\n          if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" { (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18)" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51228))(*puVar15,psVar14,psVar18)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*puVar15,psVar14,psVar18)" ( (pointer_expression "*puVar15" * identifier) , identifier , identifier ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\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 "{\nLAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);\n            goto LAB_0010add8;\n          }" { (labeled_statement "LAB_0010adc8:\n            (**(code **)(puVar16 + 0x51220))(0);" statement_identifier : (expression_statement "(**(code **)(puVar16 + 0x51220))(0);" (call_expression "(**(code **)(puVar16 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar16 + 0x51220))" ( (pointer_expression "**(code **)(puVar16 + 0x51220)" * (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;)) (goto_statement "goto LAB_0010add8;" goto statement_identifier ;) })) (expression_statement "ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10];" (assignment_expression "ppsVar8 = (sqlite3_stmt **)apiStack_84[iVar10]" identifier = (cast_expression "(sqlite3_stmt **)apiStack_84[iVar10]" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "apiStack_84[iVar10]" identifier [ identifier ]))) ;) (expression_statement "iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0)" identifier = (call_expression "sqlite3_prepare_v3(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0)" identifier (argument_list "(db_00,pcVar7,-1,5,ppsVar8,(char **)0x0)" ( identifier , identifier , number_literal , number_literal , identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "(**(code **)(puVar16 + 0x51220))(pcVar7);" (call_expression "(**(code **)(puVar16 + 0x51220))(pcVar7)" (parenthesized_expression "(**(code **)(puVar16 + 0x51220))" ( (pointer_expression "**(code **)(puVar16 + 0x51220)" * (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(pcVar7)" ( identifier ))) ;) (if_statement "if (iVar10 == 7) {\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" if (parenthesized_expression "(iVar10 == 7)" ( (binary_expression "iVar10 == 7" identifier == number_literal) )) (compound_statement "{\n            iVar4 = *(int *)(puVar16 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" { (expression_statement "iVar4 = *(int *)(puVar16 + 0x511fc);" (assignment_expression "iVar4 = *(int *)(puVar16 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0010a7ec;" goto statement_identifier ;)) (goto_statement "goto LAB_0010af0c;" goto statement_identifier ;) })) }))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "puVar15 = puVar15 + 1;" (assignment_expression "puVar15 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) (expression_statement "ppsVar20 = ppsVar8;" (assignment_expression "ppsVar20 = ppsVar8" identifier = identifier) ;) }) while (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) ;) (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" identifier = (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (cVar2 == '\0') goto LAB_0010ac28;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;)) (expression_statement "iVar4 = *(int *)(puVar16 + 0x511fc);" (assignment_expression "iVar4 = *(int *)(puVar16 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0010a7ec:\n    iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);" statement_identifier : (expression_statement "iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18)" identifier = (call_expression "(**(code **)(puVar16 + 0x51228))(iVar4 + -0x3190,psVar14,psVar18)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(iVar4 + -0x3190,psVar14,psVar18)" ( (binary_expression "iVar4 + -0x3190" identifier + number_literal) , identifier , identifier )))) ;)) (expression_statement "unaff_s4[0x10] = iVar4;" (assignment_expression "unaff_s4[0x10] = iVar4" (subscript_expression "unaff_s4[0x10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 != 0) {\n      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n      if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);\n      pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);\n      if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }\n    }" { (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51420))(db_00);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51420))(db_00)" identifier = (call_expression "(**(code **)(puVar16 + 0x51420))(db_00)" (parenthesized_expression "(**(code **)(puVar16 + 0x51420))" ( (pointer_expression "**(code **)(puVar16 + 0x51420)" * (pointer_expression "*(code **)(puVar16 + 0x51420)" * (cast_expression "(code **)(puVar16 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51420)" ( (binary_expression "puVar16 + 0x51420" identifier + number_literal) ))))) )) (argument_list "(db_00)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x3160,psVar14,psVar18)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x3160" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar5 = *(int *)(puVar16 + 0x511fc);\n        iVar10 = *(int *)(puVar16 + 0x511fc);\n        iVar4 = *(int *)(puVar16 + 0x511e8);\n        ppsVar20 = (sqlite3_stmt **)0x0;\n        while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }\n      }" { (expression_statement "iVar5 = *(int *)(puVar16 + 0x511fc);" (assignment_expression "iVar5 = *(int *)(puVar16 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar16 + 0x511fc);" (assignment_expression "iVar10 = *(int *)(puVar16 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(puVar16 + 0x511e8);" (assignment_expression "iVar4 = *(int *)(puVar16 + 0x511e8)" identifier = (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) ))))) ;) (expression_statement "ppsVar20 = (sqlite3_stmt **)0x0;" (assignment_expression "ppsVar20 = (sqlite3_stmt **)0x0" identifier = (cast_expression "(sqlite3_stmt **)0x0" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (while_statement "while( true ) {\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }\n          ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;\n          (**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);\n        }" { (if_statement "if ((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }\n          else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }" if (parenthesized_expression "((int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a))" ( (binary_expression "(int)ppsVar20 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)ppsVar20" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x1a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x1a)" ( (binary_expression "(int)unaff_s4 + 0x1a" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n            ppsVar8 = ppsVar20;\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);\n          }" { (expression_statement "ppsVar8 = ppsVar20;" (assignment_expression "ppsVar8 = ppsVar20" identifier = identifier) ;) (expression_statement "(**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20);" (call_expression "(**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,iVar10 + -0x3144,ppsVar20,(int)ppsVar20 + 2,ppsVar20)" ( identifier , (binary_expression "iVar10 + -0x3144" identifier + number_literal) , identifier , (binary_expression "(int)ppsVar20 + 2" (cast_expression "(int)ppsVar20" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) }) (else_clause "else {\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }" else (compound_statement "{\n            (**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);\n          }" { (expression_statement "(**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8);" (call_expression "(**(code **)(puVar16 + 0x51410))\n                      (uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,iVar5 + -0x312c,ppsVar20,(int)ppsVar20 + 2,ppsVar8)" ( identifier , (binary_expression "iVar5 + -0x312c" identifier + number_literal) , identifier , (binary_expression "(int)ppsVar20 + 2" (cast_expression "(int)ppsVar20" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) }))) (expression_statement "ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1);" (assignment_expression "ppsVar20 = (sqlite3_stmt **)((int)ppsVar20 + 1)" identifier = (cast_expression "(sqlite3_stmt **)((int)ppsVar20 + 1)" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppsVar20 + 1)" ( (binary_expression "(int)ppsVar20 + 1" (cast_expression "(int)ppsVar20" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20) break;" if (parenthesized_expression "((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20)" ( (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)ppsVar20" (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= (cast_expression "(int)ppsVar20" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "(**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1);" (call_expression "(**(code **)(puVar16 + 0x513c0))(uVar6,iVar4 + 0x5608,1)" (parenthesized_expression "(**(code **)(puVar16 + 0x513c0))" ( (pointer_expression "**(code **)(puVar16 + 0x513c0)" * (pointer_expression "*(code **)(puVar16 + 0x513c0)" * (cast_expression "(code **)(puVar16 + 0x513c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x513c0)" ( (binary_expression "puVar16 + 0x513c0" identifier + number_literal) ))))) )) (argument_list "(uVar6,iVar4 + 0x5608,1)" ( identifier , (binary_expression "iVar4 + 0x5608" identifier + number_literal) , number_literal ))) ;) })) })) (expression_statement "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c);" (call_expression "(**(code **)(puVar16 + 0x51410))(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c)" (parenthesized_expression "(**(code **)(puVar16 + 0x51410))" ( (pointer_expression "**(code **)(puVar16 + 0x51410)" * (pointer_expression "*(code **)(puVar16 + 0x51410)" * (cast_expression "(code **)(puVar16 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51410)" ( (binary_expression "puVar16 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar6,*(int *)(puVar16 + 0x511fc) + -0x300c)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x511fc) + -0x300c" (pointer_expression "*(int *)(puVar16 + 0x511fc)" * (cast_expression "(int *)(puVar16 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511fc)" ( (binary_expression "puVar16 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6);" (assignment_expression "pcVar7 = (char *)(**(code **)(puVar16 + 0x51428))(uVar6)" identifier = (cast_expression "(char *)(**(code **)(puVar16 + 0x51428))(uVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar16 + 0x51428))(uVar6)" (parenthesized_expression "(**(code **)(puVar16 + 0x51428))" ( (pointer_expression "**(code **)(puVar16 + 0x51428)" * (pointer_expression "*(code **)(puVar16 + 0x51428)" * (cast_expression "(code **)(puVar16 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51428)" ( (binary_expression "puVar16 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar6)" ( identifier ))))) ;) (if_statement "if (pcVar7 != (char *)0x0) {\n        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\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        iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);\n        (**(code **)(puVar16 + 0x51220))(pcVar7);\nLAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }\n        goto LAB_0010ac28;\n      }" { (expression_statement "iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0)" identifier = (call_expression "sqlite3_prepare_v3(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0)" identifier (argument_list "(db_00,pcVar7,-1,5,(sqlite3_stmt **)(unaff_s4 + 0x1c),\n                                       (char **)0x0)" ( identifier , identifier , number_literal , number_literal , (cast_expression "(sqlite3_stmt **)(unaff_s4 + 0x1c)" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_s4 + 0x1c)" ( (binary_expression "unaff_s4 + 0x1c" identifier + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "(**(code **)(puVar16 + 0x51220))(pcVar7);" (call_expression "(**(code **)(puVar16 + 0x51220))(pcVar7)" (parenthesized_expression "(**(code **)(puVar16 + 0x51220))" ( (pointer_expression "**(code **)(puVar16 + 0x51220)" * (pointer_expression "*(code **)(puVar16 + 0x51220)" * (cast_expression "(code **)(puVar16 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51220)" ( (binary_expression "puVar16 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(pcVar7)" ( identifier ))) ;) (labeled_statement "LAB_0010af0c:\n        if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }" statement_identifier : (if_statement "if (iStack_a8 == 0) {\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n          *piVar21 = (int)unaff_s4;\n          goto LAB_0010a8f0;\n        }" { (expression_statement "*piVar21 = (int)unaff_s4;" (assignment_expression "*piVar21 = (int)unaff_s4" (pointer_expression "*piVar21" * identifier) = (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;) }))) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;) })) })) })) (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (labeled_statement "LAB_0010ac28:\n  while( true ) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    *puStack_24 = uVar6;\nLAB_0010a998:\n    iVar4 = unaff_s4[10];\n    unaff_s4[10] = iVar4 + -1;\n    if (iVar4 + -1 == 0) {\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }\nLAB_0010a8f0:\n    if (iStack_64 == *piVar11) break;\n    iStack_a8 = (**(code **)(puVar16 + 0x51610))();\n  }" statement_identifier : (while_statement "while( true ) {\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    *puStack_24 = uVar6;\nLAB_0010a998:\n    iVar4 = unaff_s4[10];\n    unaff_s4[10] = iVar4 + -1;\n    if (iVar4 + -1 == 0) {\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }\nLAB_0010a8f0:\n    if (iStack_64 == *piVar11) break;\n    iStack_a8 = (**(code **)(puVar16 + 0x51610))();\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);\n    uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);\n    *puStack_24 = uVar6;\nLAB_0010a998:\n    iVar4 = unaff_s4[10];\n    unaff_s4[10] = iVar4 + -1;\n    if (iVar4 + -1 == 0) {\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }\nLAB_0010a8f0:\n    if (iStack_64 == *piVar11) break;\n    iStack_a8 = (**(code **)(puVar16 + 0x51610))();\n  }" { (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51224))(db_00);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51224))(db_00)" identifier = (call_expression "(**(code **)(puVar16 + 0x51224))(db_00)" (parenthesized_expression "(**(code **)(puVar16 + 0x51224))" ( (pointer_expression "**(code **)(puVar16 + 0x51224)" * (pointer_expression "*(code **)(puVar16 + 0x51224)" * (cast_expression "(code **)(puVar16 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51224)" ( (binary_expression "puVar16 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(db_00)" ( identifier )))) ;) (expression_statement "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6);" (assignment_expression "uVar6 = (**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" identifier = (call_expression "(**(code **)(puVar16 + 0x51228))(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" (parenthesized_expression "(**(code **)(puVar16 + 0x51228))" ( (pointer_expression "**(code **)(puVar16 + 0x51228)" * (pointer_expression "*(code **)(puVar16 + 0x51228)" * (cast_expression "(code **)(puVar16 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51228)" ( (binary_expression "puVar16 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x511e8) + 0x71f4,uVar6)" ( (binary_expression "*(int *)(puVar16 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar16 + 0x511e8)" * (cast_expression "(int *)(puVar16 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x511e8)" ( (binary_expression "puVar16 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "*puStack_24 = uVar6;" (assignment_expression "*puStack_24 = uVar6" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (labeled_statement "LAB_0010a998:\n    iVar4 = unaff_s4[10];" statement_identifier : (expression_statement "iVar4 = unaff_s4[10];" (assignment_expression "iVar4 = unaff_s4[10]" identifier = (subscript_expression "unaff_s4[10]" identifier [ number_literal ])) ;)) (expression_statement "unaff_s4[10] = iVar4 + -1;" (assignment_expression "unaff_s4[10] = iVar4 + -1" (subscript_expression "unaff_s4[10]" identifier [ number_literal ]) = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 + -1 == 0) {\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }" if (parenthesized_expression "(iVar4 + -1 == 0)" ( (binary_expression "iVar4 + -1 == 0" (binary_expression "iVar4 + -1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      (*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);\n    }" { (expression_statement "(*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4);" (call_expression "(*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))(unaff_s4)" (parenthesized_expression "(*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0))" ( (pointer_expression "*(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0)" * (cast_expression "(code *)(*(int *)(puVar16 + 0x512f8) + 0x59d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar16 + 0x512f8) + 0x59d0)" ( (binary_expression "*(int *)(puVar16 + 0x512f8) + 0x59d0" (pointer_expression "*(int *)(puVar16 + 0x512f8)" * (cast_expression "(int *)(puVar16 + 0x512f8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x512f8)" ( (binary_expression "puVar16 + 0x512f8" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(unaff_s4)" ( identifier ))) ;) })) (labeled_statement "LAB_0010a8f0:\n    if (iStack_64 == *piVar11) break;" statement_identifier : (if_statement "if (iStack_64 == *piVar11) break;" if (parenthesized_expression "(iStack_64 == *piVar11)" ( (binary_expression "iStack_64 == *piVar11" identifier == (pointer_expression "*piVar11" * identifier)) )) (break_statement "break;" break ;))) (expression_statement "iStack_a8 = (**(code **)(puVar16 + 0x51610))();" (assignment_expression "iStack_a8 = (**(code **)(puVar16 + 0x51610))()" identifier = (call_expression "(**(code **)(puVar16 + 0x51610))()" (parenthesized_expression "(**(code **)(puVar16 + 0x51610))" ( (pointer_expression "**(code **)(puVar16 + 0x51610)" * (pointer_expression "*(code **)(puVar16 + 0x51610)" * (cast_expression "(code **)(puVar16 + 0x51610)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x51610)" ( (binary_expression "puVar16 + 0x51610" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) }))) (return_statement "return iStack_a8;" return identifier ;) })))
(translation_unit "int FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}\n\n" (function_definition "int FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}" primitive_type (function_declarator "FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int *unaff_s4;" primitive_type (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "undefined4 uVar17;" type_identifier identifier ;) (declaration "longlong lVar18;" type_identifier identifier ;) (declaration "int *piVar19;" primitive_type (pointer_declarator "*piVar19" * identifier) ;) (declaration "int iStack_a8;" primitive_type identifier ;) (declaration "int iStack_9c;" primitive_type identifier ;) (declaration "int aiStack_98 [4];" primitive_type (array_declarator "aiStack_98 [4]" identifier [ number_literal ]) ;) (declaration "int iStack_88;" primitive_type identifier ;) (declaration "int *apiStack_84 [4];" primitive_type (pointer_declarator "*apiStack_84 [4]" * (array_declarator "apiStack_84 [4]" identifier [ number_literal ])) ;) (declaration "int *piStack_74;" primitive_type (pointer_declarator "*piStack_74" * identifier) ;) (declaration "int *piStack_70;" primitive_type (pointer_declarator "*piStack_70" * identifier) ;) (declaration "int *piStack_6c;" primitive_type (pointer_declarator "*piStack_6c" * identifier) ;) (declaration "int *piStack_68;" primitive_type (pointer_declarator "*piStack_68" * identifier) ;) (declaration "int iStack_64;" primitive_type identifier ;) (declaration "undefined *puStack_60;" type_identifier (pointer_declarator "*puStack_60" * identifier) ;) (declaration "undefined4 *puStack_5c;" type_identifier (pointer_declarator "*puStack_5c" * identifier) ;) (declaration "undefined4 *puStack_24;" type_identifier (pointer_declarator "*puStack_24" * identifier) ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "puVar14 = &local_18;" (assignment_expression "puVar14 = &local_18" identifier = (pointer_expression "&local_18" & identifier)) ;) (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar4 = sqlite3_prepare_v2();" (assignment_expression "iVar4 = sqlite3_prepare_v2()" identifier = (call_expression "sqlite3_prepare_v2()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }" { (expression_statement "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18)" identifier = (call_expression "(*(code *)PTR_sqlite3_step_0015b630)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015b630)" ( (pointer_expression "*(code *)PTR_sqlite3_step_0015b630" * (cast_expression "(code *)PTR_sqlite3_step_0015b630" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier )))) ;) (if_statement "if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }" if (parenthesized_expression "(iVar4 == 100)" ( (binary_expression "iVar4 == 100" identifier == number_literal) )) (compound_statement "{\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }" { (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);" (assignment_expression "uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18)" identifier = (call_expression "(*(code *)PTR_sqlite3_column_int_0015b644)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_0015b644)" ( (pointer_expression "*(code *)PTR_sqlite3_column_int_0015b644" * (cast_expression "(code *)PTR_sqlite3_column_int_0015b644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier )))) ;) (expression_statement "*param_3 = uVar7;" (assignment_expression "*param_3 = uVar7" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18)" identifier = (call_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)" ( (pointer_expression "*(code *)PTR_sqlite3_finalize_0015b63c" * (cast_expression "(code *)PTR_sqlite3_finalize_0015b63c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18)" ( identifier )))) ;) })) (if_statement "if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar3)" ( (binary_expression "local_14 == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) })) (expression_statement "iVar4 = local_14;" (assignment_expression "iVar4 = local_14" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar15 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_60 = puVar3;" (assignment_expression "puStack_60 = puVar3" identifier = identifier) ;) (expression_statement "piVar10 = *(int **)(puVar15 + 0x5162c);" (assignment_expression "piVar10 = *(int **)(puVar15 + 0x5162c)" identifier = (pointer_expression "*(int **)(puVar15 + 0x5162c)" * (cast_expression "(int **)(puVar15 + 0x5162c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x5162c)" ( (binary_expression "puVar15 + 0x5162c" identifier + number_literal) ))))) ;) (expression_statement "iStack_64 = *piVar10;" (assignment_expression "iStack_64 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;" (assignment_expression "aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350" (subscript_expression "aiStack_98[3]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3350" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "aiStack_98[0] = 0;" (assignment_expression "aiStack_98[0] = 0" (subscript_expression "aiStack_98[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;" (assignment_expression "aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0" (subscript_expression "aiStack_98[1]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x33a0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;" (assignment_expression "aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374" (subscript_expression "aiStack_98[2]" identifier [ number_literal ]) = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3374" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;" (assignment_expression "iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c" identifier = (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x332c" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puStack_5c = param_3;" (assignment_expression "puStack_5c = param_3" identifier = identifier) ;) (if_statement "if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" if (parenthesized_expression "(0x67 < iVar9)" ( (binary_expression "0x67 < iVar9" number_literal < identifier) )) (compound_statement "{\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" { (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar15 + 0x514bc))();" (call_expression "(**(code **)(puVar15 + 0x514bc))()" (parenthesized_expression "(**(code **)(puVar15 + 0x514bc))" ( (pointer_expression "**(code **)(puVar15 + 0x514bc)" * (pointer_expression "*(code **)(puVar15 + 0x514bc)" * (cast_expression "(code **)(puVar15 + 0x514bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x514bc)" ( (binary_expression "puVar15 + 0x514bc" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1])" identifier = (call_expression "(**(code **)(puVar15 + 0x515c4))(puVar14[1])" (parenthesized_expression "(**(code **)(puVar15 + 0x515c4))" ( (pointer_expression "**(code **)(puVar15 + 0x515c4)" * (pointer_expression "*(code **)(puVar15 + 0x515c4)" * (cast_expression "(code **)(puVar15 + 0x515c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x515c4)" ( (binary_expression "puVar15 + 0x515c4" identifier + number_literal) ))))) )) (argument_list "(puVar14[1])" ( (subscript_expression "puVar14[1]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2])" identifier = (call_expression "(**(code **)(puVar15 + 0x515c4))(puVar14[2])" (parenthesized_expression "(**(code **)(puVar15 + 0x515c4))" ( (pointer_expression "**(code **)(puVar15 + 0x515c4)" * (pointer_expression "*(code **)(puVar15 + 0x515c4)" * (cast_expression "(code **)(puVar15 + 0x515c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x515c4)" ( (binary_expression "puVar15 + 0x515c4" identifier + number_literal) ))))) )) (argument_list "(puVar14[2])" ( (subscript_expression "puVar14[2]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar11 = iVar5 + iVar6 + 0x1fa;" (assignment_expression "iVar11 = iVar5 + iVar6 + 0x1fa" identifier = (binary_expression "iVar5 + iVar6 + 0x1fa" (binary_expression "iVar5 + iVar6" identifier + identifier) + number_literal)) ;) (expression_statement "unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);" (assignment_expression "unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x51360))(0,iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x51360))(0,iVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x51360))" ( (pointer_expression "**(code **)(puVar15 + 0x51360)" * (pointer_expression "*(code **)(puVar15 + 0x51360)" * (cast_expression "(code **)(puVar15 + 0x51360)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51360)" ( (binary_expression "puVar15 + 0x51360" identifier + number_literal) ))))) )) (argument_list "(0,iVar11)" ( number_literal , identifier ))))) ;) (if_statement "if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" if (parenthesized_expression "(unaff_s4 == (int *)0x0)" ( (binary_expression "unaff_s4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" { (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);" (call_expression "(**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x515b4))" ( (pointer_expression "**(code **)(puVar15 + 0x515b4)" * (pointer_expression "*(code **)(puVar15 + 0x515b4)" * (cast_expression "(code **)(puVar15 + 0x515b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x515b4)" ( (binary_expression "puVar15 + 0x515b4" identifier + number_literal) ))))) )) (argument_list "(unaff_s4,0,iVar11)" ( identifier , number_literal , identifier ))) ;) (expression_statement "unaff_s4[10] = 1;" (assignment_expression "unaff_s4[10] = 1" (subscript_expression "unaff_s4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar19 = unaff_s4 + 0x7e;" (assignment_expression "piVar19 = unaff_s4 + 0x7e" identifier = (binary_expression "unaff_s4 + 0x7e" identifier + number_literal)) ;) (expression_statement "iVar12 = (int)piVar19 + iVar5 + 1;" (assignment_expression "iVar12 = (int)piVar19 + iVar5 + 1" identifier = (binary_expression "(int)piVar19 + iVar5 + 1" (binary_expression "(int)piVar19 + iVar5" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal)) ;) (expression_statement "unaff_s4[8] = (int)piVar19;" (assignment_expression "unaff_s4[8] = (int)piVar19" (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) = (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar11 = *(int *)(puVar15 + 0x511d8);" (assignment_expression "iVar11 = *(int *)(puVar15 + 0x511d8)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511d8)" * (cast_expression "(int *)(puVar15 + 0x511d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511d8)" ( (binary_expression "puVar15 + 0x511d8" identifier + number_literal) ))))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51630);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51630)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51630)" * (cast_expression "(code **)(puVar15 + 0x51630)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51630)" ( (binary_expression "puVar15 + 0x51630" identifier + number_literal) ))))) ;) (expression_statement "*(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;" (assignment_expression "*(bool *)((int)unaff_s4 + 0x16) = param_2 != 0" (pointer_expression "*(bool *)((int)unaff_s4 + 0x16)" * (cast_expression "(bool *)((int)unaff_s4 + 0x16)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x16)" ( (binary_expression "(int)unaff_s4 + 0x16" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "param_2 != 0" identifier != number_literal)) ;) (expression_statement "unaff_s4[9] = iVar12;" (assignment_expression "unaff_s4[9] = iVar12" (subscript_expression "unaff_s4[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*unaff_s4 = iVar11 + -0x4cd8;" (assignment_expression "*unaff_s4 = iVar11 + -0x4cd8" (pointer_expression "*unaff_s4" * identifier) = (binary_expression "iVar11 + -0x4cd8" identifier + number_literal)) ;) (expression_statement "(*pcVar16)(piVar19,puVar14[1],iVar5);" (call_expression "(*pcVar16)(piVar19,puVar14[1],iVar5)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(piVar19,puVar14[1],iVar5)" ( identifier , (subscript_expression "puVar14[1]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "(**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);" (call_expression "(**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51630))" ( (pointer_expression "**(code **)(puVar15 + 0x51630)" * (pointer_expression "*(code **)(puVar15 + 0x51630)" * (cast_expression "(code **)(puVar15 + 0x51630)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51630)" ( (binary_expression "puVar15 + 0x51630" identifier + number_literal) ))))) )) (argument_list "(iVar12,puVar14[2],iVar6)" ( identifier , (subscript_expression "puVar14[2]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51420))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51420))" ( (pointer_expression "**(code **)(puVar15 + 0x51420)" * (pointer_expression "*(code **)(puVar15 + 0x51420)" * (cast_expression "(code **)(puVar15 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51420)" ( (binary_expression "puVar15 + 0x51420" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3])" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3])" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3304" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "puVar14[3]" identifier [ number_literal ]) ))) ;) (if_statement "if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }" if (parenthesized_expression "(4 < iVar9)" ( (binary_expression "4 < iVar9" number_literal < identifier) )) (compound_statement "{\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }" { (expression_statement "iVar6 = *(int *)(puVar15 + 0x511e8);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x511e8)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) (expression_statement "piVar19 = puVar14 + 4;" (assignment_expression "piVar19 = puVar14 + 4" identifier = (binary_expression "puVar14 + 4" identifier + number_literal)) ;) (do_statement "do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);" do (compound_statement "{\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    }" { (while_statement "while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }" while (parenthesized_expression "(*(char *)*piVar19 != '+')" ( (binary_expression "*(char *)*piVar19 != '+'" (pointer_expression "*(char *)*piVar19" * (cast_expression "(char *)*piVar19" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar19" * identifier))) != (char_literal "'+'" ' character ')) )) (compound_statement "{\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }" { (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51410);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51410)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" { (expression_statement "(*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" (call_expression "(*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_0010a9c0;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010a9c0;" goto statement_identifier ;)) (if_statement "if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }" if (parenthesized_expression "(iVar5 < iVar9)" ( (binary_expression "iVar5 < iVar9" identifier < identifier) )) (compound_statement "{\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }" { (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar6)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (goto_statement "goto LAB_0010a66c;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" * (cast_expression "(char *)((int)unaff_s4 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" * (cast_expression "(char *)((int)unaff_s4 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);" (call_expression "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar7,iVar6 + 0x59ec,*piVar19)" ( identifier , (binary_expression "iVar6 + 0x59ec" identifier + number_literal) , (pointer_expression "*piVar19" * identifier) ))) ;) (expression_statement "piVar19 = piVar19 + 1;" (assignment_expression "piVar19 = piVar19 + 1" identifier = (binary_expression "piVar19 + 1" identifier + number_literal)) ;) (if_statement "if (iVar9 == iVar5) goto LAB_0010a63c;" if (parenthesized_expression "(iVar9 == iVar5)" ( (binary_expression "iVar9 == iVar5" identifier == identifier) )) (goto_statement "goto LAB_0010a63c;" goto statement_identifier ;)) })) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51410);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51410)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);" (call_expression "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(uVar7,iVar6 + 0x59ec,*piVar19 + 1)" ( identifier , (binary_expression "iVar6 + 0x59ec" identifier + number_literal) , (binary_expression "*piVar19 + 1" (pointer_expression "*piVar19" * identifier) + number_literal) ))) ;) (expression_statement "piVar19 = piVar19 + 1;" (assignment_expression "piVar19 = piVar19 + 1" identifier = (binary_expression "piVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 != iVar5)" ( (binary_expression "iVar9 != iVar5" identifier != identifier) )) ;) })) (labeled_statement "LAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;)) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }" { (labeled_statement "LAB_0010a9c0:\n    iStack_a8 = 7;" statement_identifier : (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;)) (expression_statement "(**(code **)(puVar15 + 0x51220))(0);" (call_expression "(**(code **)(puVar15 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (labeled_statement "LAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);" statement_identifier : (expression_statement "iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);" (assignment_expression "iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6)" identifier = (call_expression "sqlite3_declare_vtab(iVar4,iVar6)" identifier (argument_list "(iVar4,iVar6)" ( identifier , identifier )))) ;)) (if_statement "if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }" { (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" ( (pointer_expression "**(code **)(puVar15 + 0x51224)" * (pointer_expression "*(code **)(puVar15 + 0x51224)" * (cast_expression "(code **)(puVar15 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51224)" ( (binary_expression "puVar15 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar6)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "bVar1 = *(byte *)((int)unaff_s4 + 0x15);" (assignment_expression "bVar1 = *(byte *)((int)unaff_s4 + 0x15)" identifier = (pointer_expression "*(byte *)((int)unaff_s4 + 0x15)" * (cast_expression "(byte *)((int)unaff_s4 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x15)" ( (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(byte *)(unaff_s4 + 5) = bVar1 >> 1;" (assignment_expression "*(byte *)(unaff_s4 + 5) = bVar1 >> 1" (pointer_expression "*(byte *)(unaff_s4 + 5)" * (cast_expression "(byte *)(unaff_s4 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + 5)" ( (binary_expression "unaff_s4 + 5" identifier + number_literal) )))) = (binary_expression "bVar1 >> 1" identifier >> number_literal)) ;) (if_statement "if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(bVar1 < 2)" ( (binary_expression "bVar1 < 2" identifier < number_literal) )) (compound_statement "{\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }" { (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" identifier = number_literal) ;) (labeled_statement "LAB_0010a9e4:\n    iStack_a8 = 1;" statement_identifier : (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" identifier = number_literal) ;)) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , (subscript_expression "aiStack_98[iVar9]" identifier [ identifier ]) )))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (if_statement "if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }" if (parenthesized_expression "(10 < bVar1)" ( (binary_expression "10 < bVar1" number_literal < identifier) )) (compound_statement "{\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }" { (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" identifier = number_literal) ;) (goto_statement "goto LAB_0010a9e4;" goto statement_identifier ;) })) (if_statement "if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }" if (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }" { (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0010a9e4;" goto statement_identifier ;) })) (expression_statement "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';" (assignment_expression "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04'" (pointer_expression "*(byte *)((int)unaff_s4 + 0x17)" * (cast_expression "(byte *)((int)unaff_s4 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x17)" ( (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(bVar1 + 2) * '\x04'" (parenthesized_expression "(bVar1 + 2)" ( (binary_expression "bVar1 + 2" identifier + number_literal) )) * (char_literal "'\x04'" ' escape_sequence '))) ;) (expression_statement "iStack_9c = 0;" (assignment_expression "iStack_9c = 0" identifier = number_literal) ;) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" ( (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x33d4" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }" { (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (labeled_statement "LAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" statement_identifier : (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" ( (pointer_expression "**(code **)(puVar15 + 0x51224)" * (pointer_expression "*(code **)(puVar15 + 0x51224)" * (cast_expression "(code **)(puVar15 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51224)" ( (binary_expression "puVar15 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;)) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0010a998;" goto statement_identifier ;) })) (expression_statement "iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);" (assignment_expression "iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c)" identifier = (call_expression "FUN_0010a338(iVar4,iVar9,&iStack_9c)" identifier (argument_list "(iVar4,iVar9,&iStack_9c)" ( identifier , identifier , (pointer_expression "&iStack_9c" & identifier) )))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac60;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010ac60;" goto statement_identifier ;)) (expression_statement "unaff_s4[4] = iStack_9c + -0x40;" (assignment_expression "unaff_s4[4] = iStack_9c + -0x40" (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) = (binary_expression "iStack_9c + -0x40" identifier + number_literal)) ;) (expression_statement "iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;" (assignment_expression "iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" identifier = (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)unaff_s4 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x17)" ( (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) * number_literal) + number_literal)) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }" if (parenthesized_expression "(iVar5 < iStack_9c + -0x40)" ( (binary_expression "iVar5 < iStack_9c + -0x40" identifier < (binary_expression "iStack_9c + -0x40" identifier + number_literal)) )) (compound_statement "{\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }" { (expression_statement "unaff_s4[4] = iVar5;" (assignment_expression "unaff_s4[4] = iVar5" (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) }) (else_clause "else {\n    (*pcVar16)(iVar9);\n  }" else (compound_statement "{\n    (*pcVar16)(iVar9);\n  }" { (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) }))) (expression_statement "uVar13 = puVar14[1];" (assignment_expression "uVar13 = puVar14[1]" identifier = (subscript_expression "puVar14[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51420);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51420)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51420)" * (cast_expression "(code **)(puVar15 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51420)" ( (binary_expression "puVar15 + 0x51420" identifier + number_literal) ))))) ;) (expression_statement "uVar17 = puVar14[2];" (assignment_expression "uVar17 = puVar14[2]" identifier = (subscript_expression "puVar14[2]" identifier [ number_literal ])) ;) (expression_statement "unaff_s4[3] = iVar4;" (assignment_expression "unaff_s4[3] = iVar4" (subscript_expression "unaff_s4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = (*pcVar16)(iVar4);" (assignment_expression "uVar7 = (*pcVar16)(iVar4)" identifier = (call_expression "(*pcVar16)(iVar4)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3124" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" { (expression_statement "iVar5 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar5 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));" do (compound_statement "{\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    }" { (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar5 + -0x328c,iVar9)" ( identifier , (binary_expression "iVar5 + -0x328c" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19))" ( (binary_expression "iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19)" identifier < (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) ;) })) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3284" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3244" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);" (call_expression "(**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4])" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4])" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x31fc" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier , (subscript_expression "unaff_s4[4]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }" { (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0)" identifier = (call_expression "(**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51270))" ( (pointer_expression "**(code **)(puVar15 + 0x51270)" * (pointer_expression "*(code **)(puVar15 + 0x51270)" * (cast_expression "(code **)(puVar15 + 0x51270)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51270)" ( (binary_expression "puVar15 + 0x51270" identifier + number_literal) ))))) )) (argument_list "(iVar4,iVar9,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar9);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar9)" ( identifier ))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac28;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;)) (expression_statement "apiStack_84[0] = unaff_s4 + 0x14;" (assignment_expression "apiStack_84[0] = unaff_s4 + 0x14" (subscript_expression "apiStack_84[0]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x14" identifier + number_literal)) ;) (expression_statement "apiStack_84[2] = unaff_s4 + 0x16;" (assignment_expression "apiStack_84[2] = unaff_s4 + 0x16" (subscript_expression "apiStack_84[2]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x16" identifier + number_literal)) ;) (expression_statement "apiStack_84[1] = unaff_s4 + 0x15;" (assignment_expression "apiStack_84[1] = unaff_s4 + 0x15" (subscript_expression "apiStack_84[1]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x15" identifier + number_literal)) ;) (expression_statement "apiStack_84[3] = unaff_s4 + 0x17;" (assignment_expression "apiStack_84[3] = unaff_s4 + 0x17" (subscript_expression "apiStack_84[3]" identifier [ number_literal ]) = (binary_expression "unaff_s4 + 0x17" identifier + number_literal)) ;) (expression_statement "piStack_74 = unaff_s4 + 0x18;" (assignment_expression "piStack_74 = unaff_s4 + 0x18" identifier = (binary_expression "unaff_s4 + 0x18" identifier + number_literal)) ;) (expression_statement "piStack_70 = unaff_s4 + 0x19;" (assignment_expression "piStack_70 = unaff_s4 + 0x19" identifier = (binary_expression "unaff_s4 + 0x19" identifier + number_literal)) ;) (expression_statement "piStack_6c = unaff_s4 + 0x1a;" (assignment_expression "piStack_6c = unaff_s4 + 0x1a" identifier = (binary_expression "unaff_s4 + 0x1a" identifier + number_literal)) ;) (expression_statement "piStack_68 = unaff_s4 + 0x1b;" (assignment_expression "piStack_68 = unaff_s4 + 0x1b" identifier = (binary_expression "unaff_s4 + 0x1b" identifier + number_literal)) ;) (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);" (assignment_expression "iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" identifier = (call_expression "sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" identifier (argument_list "(iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" ( identifier , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x65b0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" { (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" ( (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x31c8" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , (subscript_expression "unaff_s4[8]" identifier [ number_literal ]) , (subscript_expression "unaff_s4[9]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }" { (labeled_statement "LAB_0010add8:\n        iStack_a8 = 7;" statement_identifier : (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;)) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) }) (else_clause "else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" else (compound_statement "{\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" { (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0)" identifier = (call_expression "sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0)" identifier (argument_list "(iVar4,iVar9,0xffffffff,&iStack_9c,0)" ( identifier , identifier , number_literal , (pointer_expression "&iStack_9c" & identifier) , number_literal )))) ;) (if_statement "if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }" { (expression_statement "iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c)" identifier = (call_expression "(**(code **)(puVar15 + 0x51230))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x51230))" ( (pointer_expression "**(code **)(puVar15 + 0x51230)" * (pointer_expression "*(code **)(puVar15 + 0x51230)" * (cast_expression "(code **)(puVar15 + 0x51230)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51230)" ( (binary_expression "puVar15 + 0x51230" identifier + number_literal) ))))) )) (argument_list "(iStack_9c)" ( identifier )))) ;) (if_statement "if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" if (parenthesized_expression "(iVar5 == 100)" ( (binary_expression "iVar5 == 100" identifier == number_literal) )) (compound_statement "{\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }" { (expression_statement "lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);" (assignment_expression "lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0)" identifier = (call_expression "(**(code **)(puVar15 + 0x51250))(iStack_9c,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51250))" ( (pointer_expression "**(code **)(puVar15 + 0x51250)" * (pointer_expression "*(code **)(puVar15 + 0x51250)" * (cast_expression "(code **)(puVar15 + 0x51250)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51250)" ( (binary_expression "puVar15 + 0x51250" identifier + number_literal) ))))) )) (argument_list "(iStack_9c,0)" ( identifier , number_literal )))) ;) (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c)" identifier = (call_expression "(**(code **)(puVar15 + 0x5123c))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x5123c))" ( (pointer_expression "**(code **)(puVar15 + 0x5123c)" * (pointer_expression "*(code **)(puVar15 + 0x5123c)" * (cast_expression "(code **)(puVar15 + 0x5123c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x5123c)" ( (binary_expression "puVar15 + 0x5123c" identifier + number_literal) ))))) )) (argument_list "(iStack_9c)" ( identifier )))) ;) (if_statement "if (iStack_a8 != 0) goto LAB_0010af48;" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0010af48;" goto statement_identifier ;)) (if_statement "if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }" if (parenthesized_expression "(lVar18 != 0)" ( (binary_expression "lVar18 != 0" identifier != number_literal) )) (compound_statement "{\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }" { (if_statement "if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }" if (parenthesized_expression "((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100))))" ( (binary_expression "(lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))" (parenthesized_expression "(lVar18 < 0)" ( (binary_expression "lVar18 < 0" identifier < number_literal) )) || (parenthesized_expression "((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))" ( (parenthesized_expression "(pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100))" ( (comma_expression "pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) , (binary_expression "(int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)" (binary_expression "(int)((ulonglong)lVar18 >> 0x20) == 0" (cast_expression "(int)((ulonglong)lVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar18 >> 0x20)" ( (binary_expression "(ulonglong)lVar18 >> 0x20" (cast_expression "(ulonglong)lVar18" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) && (parenthesized_expression "((uint)lVar18 < 100)" ( (binary_expression "(uint)lVar18 < 100" (cast_expression "(uint)lVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) )))) )) ))) )) (compound_statement "{\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }" { (expression_statement "lVar18 = 100;" (assignment_expression "lVar18 = 100" identifier = number_literal) ;) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) })) (expression_statement "*(longlong *)(unaff_s4 + 0xc) = lVar18;" (assignment_expression "*(longlong *)(unaff_s4 + 0xc) = lVar18" (pointer_expression "*(longlong *)(unaff_s4 + 0xc)" * (cast_expression "(longlong *)(unaff_s4 + 0xc)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + 0xc)" ( (binary_expression "unaff_s4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0010ad1c;" goto statement_identifier ;) })) }) (else_clause "else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" else (compound_statement "{\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" { (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c)" identifier = (call_expression "(**(code **)(puVar15 + 0x5123c))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x5123c))" ( (pointer_expression "**(code **)(puVar15 + 0x5123c)" * (pointer_expression "*(code **)(puVar15 + 0x5123c)" * (cast_expression "(code **)(puVar15 + 0x5123c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x5123c)" ( (binary_expression "puVar15 + 0x5123c" identifier + number_literal) ))))) )) (argument_list "(iStack_9c)" ( identifier )))) ;) (if_statement "if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }" if (parenthesized_expression "(iStack_a8 != 0)" ( (binary_expression "iStack_a8 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }" { (labeled_statement "LAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);" statement_identifier : (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;)) (goto_statement "goto LAB_0010af4c;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);" statement_identifier : (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;)) (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0010ad1c;" goto statement_identifier ;) })) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" identifier = (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) ;) (if_statement "if (iStack_a8 != 7) goto LAB_0010acfc;" if (parenthesized_expression "(iStack_a8 != 7)" ( (binary_expression "iStack_a8 != 7" identifier != number_literal) )) (goto_statement "goto LAB_0010acfc;" goto statement_identifier ;)) (labeled_statement "LAB_0010af4c:\n        (*pcVar16)(iVar9);" statement_identifier : (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar9)" ( identifier ))) ;)) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) }))) (labeled_statement "LAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);" statement_identifier : (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" identifier = (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;)) }) (else_clause "else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" else (compound_statement "{\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" { (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) (if_statement "if (iStack_a8 != 1) goto LAB_0010a7dc;" if (parenthesized_expression "(iStack_a8 != 1)" ( (binary_expression "iStack_a8 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0010a7dc;" goto statement_identifier ;)) (labeled_statement "LAB_0010ad1c:\n      iVar5 = 0;" statement_identifier : (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;)) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);" (assignment_expression "puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x511d8) + -0x73a0)" ( (binary_expression "*(int *)(puVar15 + 0x511d8) + -0x73a0" (pointer_expression "*(int *)(puVar15 + 0x511d8)" * (cast_expression "(int *)(puVar15 + 0x511d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511d8)" ( (binary_expression "puVar15 + 0x511d8" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);" do (compound_statement "{\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      }" { (if_statement "if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (compound_statement "{\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }" { (if_statement "if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) == '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) == '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }" { (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*puVar14,uVar13)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*puVar14,uVar13)" ( (pointer_expression "*puVar14" * identifier) , identifier )))) ;) (expression_statement "piVar8 = apiStack_84[3];" (assignment_expression "piVar8 = apiStack_84[3]" identifier = (subscript_expression "apiStack_84[3]" identifier [ number_literal ])) ;) }) (else_clause "else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" else (compound_statement "{\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" { (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(iVar9 + -0x30e4,uVar13,uVar17)" ( (binary_expression "iVar9 + -0x30e4" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "piVar8 = apiStack_84[3];" (assignment_expression "piVar8 = apiStack_84[3]" identifier = (subscript_expression "apiStack_84[3]" identifier [ number_literal ])) ;) }))) (expression_statement "apiStack_84[3] = piVar8;" (assignment_expression "apiStack_84[3] = piVar8" (subscript_expression "apiStack_84[3]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar6 == 0) goto LAB_0010adc8;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010adc8;" goto statement_identifier ;)) (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier = (call_expression "sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier (argument_list "(iVar4,iVar6,0xffffffff,5,piVar8,0)" ( identifier , identifier , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar6)" ( identifier ))) ;) }) (else_clause "else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" else (compound_statement "{\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" { (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*puVar14,uVar13,uVar17)" ( (pointer_expression "*puVar14" * identifier) , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }" { (labeled_statement "LAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x51220))(0);" (call_expression "(**(code **)(puVar15 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;)) (goto_statement "goto LAB_0010add8;" goto statement_identifier ;) })) (expression_statement "piVar8 = apiStack_84[iVar5];" (assignment_expression "piVar8 = apiStack_84[iVar5]" identifier = (subscript_expression "apiStack_84[iVar5]" identifier [ identifier ])) ;) (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier = (call_expression "sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" identifier (argument_list "(iVar4,iVar6,0xffffffff,5,piVar8,0)" ( identifier , identifier , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar6)" ( identifier ))) ;) (if_statement "if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" if (parenthesized_expression "(iVar5 == 7)" ( (binary_expression "iVar5 == 7" identifier == number_literal) )) (compound_statement "{\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" { (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0010a7ec;" goto statement_identifier ;)) (goto_statement "goto LAB_0010af0c;" goto statement_identifier ;) })) }))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar14 = puVar14 + 1;" (assignment_expression "puVar14 = puVar14 + 1" identifier = (binary_expression "puVar14 + 1" identifier + number_literal)) ;) (expression_statement "piVar19 = piVar8;" (assignment_expression "piVar19 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) ;) (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" identifier = (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (cVar2 == '\0') goto LAB_0010ac28;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;)) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);" statement_identifier : (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(iVar9 + -0x3190,uVar13,uVar17)" ( (binary_expression "iVar9 + -0x3190" identifier + number_literal) , identifier , identifier )))) ;)) (expression_statement "unaff_s4[0x10] = iVar9;" (assignment_expression "unaff_s4[0x10] = iVar9" (subscript_expression "unaff_s4[0x10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }" { (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51420))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51420))" ( (pointer_expression "**(code **)(puVar15 + 0x51420)" * (pointer_expression "*(code **)(puVar15 + 0x51420)" * (cast_expression "(code **)(puVar15 + 0x51420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51420)" ( (binary_expression "puVar15 + 0x51420" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3160" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }" if (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" ( (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" * (cast_expression "(char *)((int)unaff_s4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }" { (expression_statement "iVar6 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar5 = *(int *)(puVar15 + 0x511fc)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511e8);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511e8)" identifier = (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) ))))) ;) (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }" { (if_statement "if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" if (parenthesized_expression "((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a))" ( (binary_expression "(int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x1a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x1a)" ( (binary_expression "(int)unaff_s4 + 0x1a" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }" { (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" identifier = identifier) ;) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)" ( identifier , (binary_expression "iVar5 + -0x3144" identifier + number_literal) , identifier , (binary_expression "(int)piVar19 + 2" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) }) (else_clause "else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" else (compound_statement "{\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" { (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8)" ( identifier , (binary_expression "iVar6 + -0x312c" identifier + number_literal) , identifier , (binary_expression "(int)piVar19 + 2" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) }))) (expression_statement "piVar19 = (int *)((int)piVar19 + 1);" (assignment_expression "piVar19 = (int *)((int)piVar19 + 1)" identifier = (cast_expression "(int *)((int)piVar19 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar19 + 1)" ( (binary_expression "(int)piVar19 + 1" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;" if (parenthesized_expression "((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19)" ( (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19" (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)((int)unaff_s4 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s4 + 0x19)" ( (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "(**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);" (call_expression "(**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x513c0))" ( (pointer_expression "**(code **)(puVar15 + 0x513c0)" * (pointer_expression "*(code **)(puVar15 + 0x513c0)" * (cast_expression "(code **)(puVar15 + 0x513c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x513c0)" ( (binary_expression "puVar15 + 0x513c0" identifier + number_literal) ))))) )) (argument_list "(uVar7,iVar9 + 0x5608,1)" ( identifier , (binary_expression "iVar9 + 0x5608" identifier + number_literal) , number_literal ))) ;) })) })) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" ( (pointer_expression "**(code **)(puVar15 + 0x51410)" * (pointer_expression "*(code **)(puVar15 + 0x51410)" * (cast_expression "(code **)(puVar15 + 0x51410)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51410)" ( (binary_expression "puVar15 + 0x51410" identifier + number_literal) ))))) )) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x300c" (pointer_expression "*(int *)(puVar15 + 0x511fc)" * (cast_expression "(int *)(puVar15 + 0x511fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511fc)" ( (binary_expression "puVar15 + 0x511fc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" ( (pointer_expression "**(code **)(puVar15 + 0x51428)" * (pointer_expression "*(code **)(puVar15 + 0x51428)" * (cast_expression "(code **)(puVar15 + 0x51428)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51428)" ( (binary_expression "puVar15 + 0x51428" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }" { (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" identifier = (call_expression "sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" identifier (argument_list "(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" ( identifier , identifier , number_literal , number_literal , (binary_expression "unaff_s4 + 0x1c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar9);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" ( (pointer_expression "**(code **)(puVar15 + 0x51220)" * (pointer_expression "*(code **)(puVar15 + 0x51220)" * (cast_expression "(code **)(puVar15 + 0x51220)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51220)" ( (binary_expression "puVar15 + 0x51220" identifier + number_literal) ))))) )) (argument_list "(iVar9)" ( identifier ))) ;) (labeled_statement "LAB_0010af0c:\n        piVar19 = unaff_s4;" statement_identifier : (expression_statement "piVar19 = unaff_s4;" (assignment_expression "piVar19 = unaff_s4" identifier = identifier) ;)) (if_statement "if (iStack_a8 == 0) goto LAB_0010a8f0;" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0010a8f0;" goto statement_identifier ;)) (goto_statement "goto LAB_0010ac28;" goto statement_identifier ;) })) })) })) (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" identifier = number_literal) ;) (labeled_statement "LAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" statement_identifier : (while_statement "while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" { (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" identifier = (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" ( (pointer_expression "**(code **)(puVar15 + 0x51224)" * (pointer_expression "*(code **)(puVar15 + 0x51224)" * (cast_expression "(code **)(puVar15 + 0x51224)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51224)" ( (binary_expression "puVar15 + 0x51224" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" identifier = (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" ( (pointer_expression "**(code **)(puVar15 + 0x51228)" * (pointer_expression "*(code **)(puVar15 + 0x51228)" * (cast_expression "(code **)(puVar15 + 0x51228)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51228)" ( (binary_expression "puVar15 + 0x51228" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" ( (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" * (cast_expression "(int *)(puVar15 + 0x511e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x511e8)" ( (binary_expression "puVar15 + 0x511e8" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" * identifier) = identifier) ;) (labeled_statement "LAB_0010a998:\n    iVar9 = unaff_s4[10];" statement_identifier : (expression_statement "iVar9 = unaff_s4[10];" (assignment_expression "iVar9 = unaff_s4[10]" identifier = (subscript_expression "unaff_s4[10]" identifier [ number_literal ])) ;)) (expression_statement "unaff_s4[10] = iVar9 + -1;" (assignment_expression "unaff_s4[10] = iVar9 + -1" (subscript_expression "unaff_s4[10]" identifier [ number_literal ]) = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) (if_statement "if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }" if (parenthesized_expression "(iVar9 + -1 == 0)" ( (binary_expression "iVar9 + -1 == 0" (binary_expression "iVar9 + -1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }" { (expression_statement "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);" (call_expression "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4)" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))" ( (pointer_expression "*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0)" * (cast_expression "(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x512f8) + 0x59d0)" ( (binary_expression "*(int *)(puVar15 + 0x512f8) + 0x59d0" (pointer_expression "*(int *)(puVar15 + 0x512f8)" * (cast_expression "(int *)(puVar15 + 0x512f8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x512f8)" ( (binary_expression "puVar15 + 0x512f8" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(unaff_s4)" ( identifier ))) ;) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" identifier = identifier) ;) })) (labeled_statement "LAB_0010a8f0:\n    piRam00000000 = piVar19;" statement_identifier : (expression_statement "piRam00000000 = piVar19;" (assignment_expression "piRam00000000 = piVar19" identifier = identifier) ;)) (if_statement "if (iStack_64 == *piVar10) break;" if (parenthesized_expression "(iStack_64 == *piVar10)" ( (binary_expression "iStack_64 == *piVar10" identifier == (pointer_expression "*piVar10" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x51610))();" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x51610))()" identifier = (call_expression "(**(code **)(puVar15 + 0x51610))()" (parenthesized_expression "(**(code **)(puVar15 + 0x51610))" ( (pointer_expression "**(code **)(puVar15 + 0x51610)" * (pointer_expression "*(code **)(puVar15 + 0x51610)" * (cast_expression "(code **)(puVar15 + 0x51610)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x51610)" ( (binary_expression "puVar15 + 0x51610" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) }))) (return_statement "return iStack_a8;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (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 '))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (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 '))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression (pointer_expression * IDENT) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (subscript_expression IDENT [ IDENT ]) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * (char_literal ' escape_sequence '))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) (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 { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , LIT , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , IDENT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , IDENT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (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 ')) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;)) (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 = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) (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 { (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (break_statement break ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))) ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}" (primitive_type "int") (function_declarator "FUN_0010a338(undefined4 param_1,int param_2,undefined4 *param_3)" (identifier "FUN_0010a338") (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  int iVar9;\n  int *piVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *unaff_s4;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  undefined4 uVar17;\n  longlong lVar18;\n  int *piVar19;\n  int iStack_a8;\n  int iStack_9c;\n  int aiStack_98 [4];\n  int iStack_88;\n  int *apiStack_84 [4];\n  int *piStack_74;\n  int *piStack_70;\n  int *piStack_6c;\n  int *piStack_68;\n  int iStack_64;\n  undefined *puStack_60;\n  undefined4 *puStack_5c;\n  undefined4 *puStack_24;\n  undefined4 local_18;\n  int local_14;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  puVar14 = &local_18;\n  iVar9 = -1;\n  local_18 = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;\n  iVar4 = sqlite3_prepare_v2();\n  if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }\n  if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }\n  iVar4 = local_14;\n  puVar15 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  puStack_60 = puVar3;\n  piVar10 = *(int **)(puVar15 + 0x5162c);\n  iStack_64 = *piVar10;\n  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;\n  aiStack_98[0] = 0;\n  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;\n  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;\n  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;\n  puStack_5c = param_3;\n  if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x514bc))();\n  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);\n  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);\n  iVar11 = iVar5 + iVar6 + 0x1fa;\n  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);\n  if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }\n  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);\n  unaff_s4[10] = 1;\n  piVar19 = unaff_s4 + 0x7e;\n  iVar12 = (int)piVar19 + iVar5 + 1;\n  unaff_s4[8] = (int)piVar19;\n  iVar11 = *(int *)(puVar15 + 0x511d8);\n  pcVar16 = *(code **)(puVar15 + 0x51630);\n  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;\n  unaff_s4[9] = iVar12;\n  *unaff_s4 = iVar11 + -0x4cd8;\n  (*pcVar16)(piVar19,puVar14[1],iVar5);\n  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);\n  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);\n  if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }\nLAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }\nLAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);\n  if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }\n  (**(code **)(puVar15 + 0x51220))(iVar6);\n  bVar1 = *(byte *)((int)unaff_s4 + 0x15);\n  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;\n  if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }\n  if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }\n  if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }\n  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';\n  iStack_9c = 0;\n  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);\n  if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }\n  iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);\n  if (iStack_a8 != 0) goto LAB_0010ac60;\n  unaff_s4[4] = iStack_9c + -0x40;\n  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;\n  pcVar16 = *(code **)(puVar15 + 0x51220);\n  if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }\n  uVar13 = puVar14[1];\n  pcVar16 = *(code **)(puVar15 + 0x51420);\n  uVar17 = puVar14[2];\n  unaff_s4[3] = iVar4;\n  uVar7 = (*pcVar16)(iVar4);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);\n  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);\n  (**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);\n  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n  if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }\n  iStack_a8 = 7;\nLAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }\n  return iStack_a8;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "undefined4 uVar13;" (type_identifier "undefined4") (identifier "uVar13") (; ";")) (declaration "int *unaff_s4;" (primitive_type "int") (pointer_declarator "*unaff_s4" (* "*") (identifier "unaff_s4")) (; ";")) (declaration "undefined4 *puVar14;" (type_identifier "undefined4") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "code *pcVar16;" (type_identifier "code") (pointer_declarator "*pcVar16" (* "*") (identifier "pcVar16")) (; ";")) (declaration "undefined4 uVar17;" (type_identifier "undefined4") (identifier "uVar17") (; ";")) (declaration "longlong lVar18;" (type_identifier "longlong") (identifier "lVar18") (; ";")) (declaration "int *piVar19;" (primitive_type "int") (pointer_declarator "*piVar19" (* "*") (identifier "piVar19")) (; ";")) (declaration "int iStack_a8;" (primitive_type "int") (identifier "iStack_a8") (; ";")) (declaration "int iStack_9c;" (primitive_type "int") (identifier "iStack_9c") (; ";")) (declaration "int aiStack_98 [4];" (primitive_type "int") (array_declarator "aiStack_98 [4]" (identifier "aiStack_98") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int iStack_88;" (primitive_type "int") (identifier "iStack_88") (; ";")) (declaration "int *apiStack_84 [4];" (primitive_type "int") (pointer_declarator "*apiStack_84 [4]" (* "*") (array_declarator "apiStack_84 [4]" (identifier "apiStack_84") ([ "[") (number_literal "4") (] "]"))) (; ";")) (declaration "int *piStack_74;" (primitive_type "int") (pointer_declarator "*piStack_74" (* "*") (identifier "piStack_74")) (; ";")) (declaration "int *piStack_70;" (primitive_type "int") (pointer_declarator "*piStack_70" (* "*") (identifier "piStack_70")) (; ";")) (declaration "int *piStack_6c;" (primitive_type "int") (pointer_declarator "*piStack_6c" (* "*") (identifier "piStack_6c")) (; ";")) (declaration "int *piStack_68;" (primitive_type "int") (pointer_declarator "*piStack_68" (* "*") (identifier "piStack_68")) (; ";")) (declaration "int iStack_64;" (primitive_type "int") (identifier "iStack_64") (; ";")) (declaration "undefined *puStack_60;" (type_identifier "undefined") (pointer_declarator "*puStack_60" (* "*") (identifier "puStack_60")) (; ";")) (declaration "undefined4 *puStack_5c;" (type_identifier "undefined4") (pointer_declarator "*puStack_5c" (* "*") (identifier "puStack_5c")) (; ";")) (declaration "undefined4 *puStack_24;" (type_identifier "undefined4") (pointer_declarator "*puStack_24" (* "*") (identifier "puStack_24")) (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_0015ba2c")) (; ";")) (expression_statement "puVar14 = &local_18;" (assignment_expression "puVar14 = &local_18" (identifier "puVar14") (= "=") (pointer_expression "&local_18" (& "&") (identifier "local_18"))) (; ";")) (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" (identifier "iVar9") (= "=") (number_literal "-1")) (; ";")) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" (identifier "local_18") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015ba2c" (identifier "local_14") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015ba2c")))) (; ";")) (expression_statement "iVar4 = sqlite3_prepare_v2();" (assignment_expression "iVar4 = sqlite3_prepare_v2()" (identifier "iVar4") (= "=") (call_expression "sqlite3_prepare_v2()" (identifier "sqlite3_prepare_v2") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);\n    if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }\n    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);\n  }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_sqlite3_step_0015b630)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015b630)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_0015b630" (* "*") (cast_expression "(code *)PTR_sqlite3_step_0015b630" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_0015b630"))) () ")")) (argument_list "(local_18)" (( "(") (identifier "local_18") () ")")))) (; ";")) (if_statement "if (iVar4 == 100) {\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }" (if "if") (parenthesized_expression "(iVar4 == 100)" (( "(") (binary_expression "iVar4 == 100" (identifier "iVar4") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n      param_2 = 0;\n      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);\n      *param_3 = uVar7;\n    }" ({ "{") (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" (identifier "param_2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);" (assignment_expression "uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_sqlite3_column_int_0015b644)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_column_int_0015b644)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_column_int_0015b644" (* "*") (cast_expression "(code *)PTR_sqlite3_column_int_0015b644" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_column_int_0015b644"))) () ")")) (argument_list "(local_18)" (( "(") (identifier "local_18") () ")")))) (; ";")) (expression_statement "*param_3 = uVar7;" (assignment_expression "*param_3 = uVar7" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)(local_18)" (parenthesized_expression "(*(code *)PTR_sqlite3_finalize_0015b63c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_finalize_0015b63c" (* "*") (cast_expression "(code *)PTR_sqlite3_finalize_0015b63c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_finalize_0015b63c"))) () ")")) (argument_list "(local_18)" (( "(") (identifier "local_18") () ")")))) (; ";")) (} "}"))) (if_statement "if (local_14 == *(int *)puVar3) {\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)puVar3)" (( "(") (binary_expression "local_14 == *(int *)puVar3" (identifier "local_14") (== "==") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    return iVar4;\n  }" ({ "{") (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "iVar4 = local_14;" (assignment_expression "iVar4 = local_14" (identifier "iVar4") (= "=") (identifier "local_14")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar15 = PTR___stack_chk_fail_0015ba10" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_0015ba10")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015ba10"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puStack_60 = puVar3;" (assignment_expression "puStack_60 = puVar3" (identifier "puStack_60") (= "=") (identifier "puVar3")) (; ";")) (expression_statement "piVar10 = *(int **)(puVar15 + 0x5162c);" (assignment_expression "piVar10 = *(int **)(puVar15 + 0x5162c)" (identifier "piVar10") (= "=") (pointer_expression "*(int **)(puVar15 + 0x5162c)" (* "*") (cast_expression "(int **)(puVar15 + 0x5162c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x5162c)" (( "(") (binary_expression "puVar15 + 0x5162c" (identifier "puVar15") (+ "+") (number_literal "0x5162c")) () ")"))))) (; ";")) (expression_statement "iStack_64 = *piVar10;" (assignment_expression "iStack_64 = *piVar10" (identifier "iStack_64") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (expression_statement "aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;" (assignment_expression "aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350" (subscript_expression "aiStack_98[3]" (identifier "aiStack_98") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3350" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x3350"))) (; ";")) (expression_statement "aiStack_98[0] = 0;" (assignment_expression "aiStack_98[0] = 0" (subscript_expression "aiStack_98[0]" (identifier "aiStack_98") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;" (assignment_expression "aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0" (subscript_expression "aiStack_98[1]" (identifier "aiStack_98") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x33a0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x33a0"))) (; ";")) (expression_statement "aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;" (assignment_expression "aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374" (subscript_expression "aiStack_98[2]" (identifier "aiStack_98") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3374" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x3374"))) (; ";")) (expression_statement "iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;" (assignment_expression "iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c" (identifier "iStack_88") (= "=") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x332c" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x332c"))) (; ";")) (expression_statement "puStack_5c = param_3;" (assignment_expression "puStack_5c = param_3" (identifier "puStack_5c") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (0x67 < iVar9) {\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" (if "if") (parenthesized_expression "(0x67 < iVar9)" (( "(") (binary_expression "0x67 < iVar9" (number_literal "0x67") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);\n    *puStack_24 = uVar7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" ({ "{") (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" (identifier "iStack_a8") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4)" (( "(") (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")")))) (+ "+") (number_literal "0x71f4")) () ")")))) (; ";")) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" (* "*") (identifier "puStack_24")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" (identifier "piVar19") (= "=") (identifier "piRam00000000")) (; ";")) (goto_statement "goto LAB_0010a8f0;" (goto "goto") (statement_identifier "LAB_0010a8f0") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar15 + 0x514bc))();" (call_expression "(**(code **)(puVar15 + 0x514bc))()" (parenthesized_expression "(**(code **)(puVar15 + 0x514bc))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x514bc)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x514bc)" (* "*") (cast_expression "(code **)(puVar15 + 0x514bc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x514bc)" (( "(") (binary_expression "puVar15 + 0x514bc" (identifier "puVar15") (+ "+") (number_literal "0x514bc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1])" (identifier "iVar5") (= "=") (call_expression "(**(code **)(puVar15 + 0x515c4))(puVar14[1])" (parenthesized_expression "(**(code **)(puVar15 + 0x515c4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x515c4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x515c4)" (* "*") (cast_expression "(code **)(puVar15 + 0x515c4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x515c4)" (( "(") (binary_expression "puVar15 + 0x515c4" (identifier "puVar15") (+ "+") (number_literal "0x515c4")) () ")"))))) () ")")) (argument_list "(puVar14[1])" (( "(") (subscript_expression "puVar14[1]" (identifier "puVar14") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2])" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar15 + 0x515c4))(puVar14[2])" (parenthesized_expression "(**(code **)(puVar15 + 0x515c4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x515c4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x515c4)" (* "*") (cast_expression "(code **)(puVar15 + 0x515c4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x515c4)" (( "(") (binary_expression "puVar15 + 0x515c4" (identifier "puVar15") (+ "+") (number_literal "0x515c4")) () ")"))))) () ")")) (argument_list "(puVar14[2])" (( "(") (subscript_expression "puVar14[2]" (identifier "puVar14") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (expression_statement "iVar11 = iVar5 + iVar6 + 0x1fa;" (assignment_expression "iVar11 = iVar5 + iVar6 + 0x1fa" (identifier "iVar11") (= "=") (binary_expression "iVar5 + iVar6 + 0x1fa" (binary_expression "iVar5 + iVar6" (identifier "iVar5") (+ "+") (identifier "iVar6")) (+ "+") (number_literal "0x1fa"))) (; ";")) (expression_statement "unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);" (assignment_expression "unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11)" (identifier "unaff_s4") (= "=") (cast_expression "(int *)(**(code **)(puVar15 + 0x51360))(0,iVar11)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar15 + 0x51360))(0,iVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x51360))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51360)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51360)" (* "*") (cast_expression "(code **)(puVar15 + 0x51360)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51360)" (( "(") (binary_expression "puVar15 + 0x51360" (identifier "puVar15") (+ "+") (number_literal "0x51360")) () ")"))))) () ")")) (argument_list "(0,iVar11)" (( "(") (number_literal "0") (, ",") (identifier "iVar11") () ")"))))) (; ";")) (if_statement "if (unaff_s4 == (int *)0x0) {\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" (if "if") (parenthesized_expression "(unaff_s4 == (int *)0x0)" (( "(") (binary_expression "unaff_s4 == (int *)0x0" (identifier "unaff_s4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iStack_a8 = 7;\n    piVar19 = piRam00000000;\n    goto LAB_0010a8f0;\n  }" ({ "{") (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" (identifier "iStack_a8") (= "=") (number_literal "7")) (; ";")) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" (identifier "piVar19") (= "=") (identifier "piRam00000000")) (; ";")) (goto_statement "goto LAB_0010a8f0;" (goto "goto") (statement_identifier "LAB_0010a8f0") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);" (call_expression "(**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11)" (parenthesized_expression "(**(code **)(puVar15 + 0x515b4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x515b4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x515b4)" (* "*") (cast_expression "(code **)(puVar15 + 0x515b4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x515b4)" (( "(") (binary_expression "puVar15 + 0x515b4" (identifier "puVar15") (+ "+") (number_literal "0x515b4")) () ")"))))) () ")")) (argument_list "(unaff_s4,0,iVar11)" (( "(") (identifier "unaff_s4") (, ",") (number_literal "0") (, ",") (identifier "iVar11") () ")"))) (; ";")) (expression_statement "unaff_s4[10] = 1;" (assignment_expression "unaff_s4[10] = 1" (subscript_expression "unaff_s4[10]" (identifier "unaff_s4") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar19 = unaff_s4 + 0x7e;" (assignment_expression "piVar19 = unaff_s4 + 0x7e" (identifier "piVar19") (= "=") (binary_expression "unaff_s4 + 0x7e" (identifier "unaff_s4") (+ "+") (number_literal "0x7e"))) (; ";")) (expression_statement "iVar12 = (int)piVar19 + iVar5 + 1;" (assignment_expression "iVar12 = (int)piVar19 + iVar5 + 1" (identifier "iVar12") (= "=") (binary_expression "(int)piVar19 + iVar5 + 1" (binary_expression "(int)piVar19 + iVar5" (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "unaff_s4[8] = (int)piVar19;" (assignment_expression "unaff_s4[8] = (int)piVar19" (subscript_expression "unaff_s4[8]" (identifier "unaff_s4") ([ "[") (number_literal "8") (] "]")) (= "=") (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19"))) (; ";")) (expression_statement "iVar11 = *(int *)(puVar15 + 0x511d8);" (assignment_expression "iVar11 = *(int *)(puVar15 + 0x511d8)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511d8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511d8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511d8)" (( "(") (binary_expression "puVar15 + 0x511d8" (identifier "puVar15") (+ "+") (number_literal "0x511d8")) () ")"))))) (; ";")) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51630);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51630)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51630)" (* "*") (cast_expression "(code **)(puVar15 + 0x51630)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51630)" (( "(") (binary_expression "puVar15 + 0x51630" (identifier "puVar15") (+ "+") (number_literal "0x51630")) () ")"))))) (; ";")) (expression_statement "*(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;" (assignment_expression "*(bool *)((int)unaff_s4 + 0x16) = param_2 != 0" (pointer_expression "*(bool *)((int)unaff_s4 + 0x16)" (* "*") (cast_expression "(bool *)((int)unaff_s4 + 0x16)" (( "(") (type_descriptor "bool *" (primitive_type "bool") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x16)" (( "(") (binary_expression "(int)unaff_s4 + 0x16" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "unaff_s4[9] = iVar12;" (assignment_expression "unaff_s4[9] = iVar12" (subscript_expression "unaff_s4[9]" (identifier "unaff_s4") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar12")) (; ";")) (expression_statement "*unaff_s4 = iVar11 + -0x4cd8;" (assignment_expression "*unaff_s4 = iVar11 + -0x4cd8" (pointer_expression "*unaff_s4" (* "*") (identifier "unaff_s4")) (= "=") (binary_expression "iVar11 + -0x4cd8" (identifier "iVar11") (+ "+") (number_literal "-0x4cd8"))) (; ";")) (expression_statement "(*pcVar16)(piVar19,puVar14[1],iVar5);" (call_expression "(*pcVar16)(piVar19,puVar14[1],iVar5)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(piVar19,puVar14[1],iVar5)" (( "(") (identifier "piVar19") (, ",") (subscript_expression "puVar14[1]" (identifier "puVar14") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);" (call_expression "(**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51630))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51630)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51630)" (* "*") (cast_expression "(code **)(puVar15 + 0x51630)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51630)" (( "(") (binary_expression "puVar15 + 0x51630" (identifier "puVar15") (+ "+") (number_literal "0x51630")) () ")"))))) () ")")) (argument_list "(iVar12,puVar14[2],iVar6)" (( "(") (identifier "iVar12") (, ",") (subscript_expression "puVar14[2]" (identifier "puVar14") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51420))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51420))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51420)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51420)" (* "*") (cast_expression "(code **)(puVar15 + 0x51420)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51420)" (( "(") (binary_expression "puVar15 + 0x51420" (identifier "puVar15") (+ "+") (number_literal "0x51420")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3])" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3])" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3304" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x3304")) (, ",") (subscript_expression "puVar14[3]" (identifier "puVar14") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (if_statement "if (4 < iVar9) {\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }" (if "if") (parenthesized_expression "(4 < iVar9)" (( "(") (binary_expression "4 < iVar9" (number_literal "4") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(puVar15 + 0x511e8);\n    iVar5 = 4;\n    piVar19 = puVar14 + 4;\n    do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(puVar15 + 0x511e8);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x511e8)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")"))))) (; ";")) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" (identifier "iVar5") (= "=") (number_literal "4")) (; ";")) (expression_statement "piVar19 = puVar14 + 4;" (assignment_expression "piVar19 = puVar14 + 4" (identifier "piVar19") (= "=") (binary_expression "puVar14 + 4" (identifier "puVar14") (+ "+") (number_literal "4"))) (; ";")) (do_statement "do {\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    } while (iVar9 != iVar5);" (do "do") (compound_statement "{\n      while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }\n      pcVar16 = *(code **)(puVar15 + 0x51410);\n      iVar5 = iVar5 + 1;\n      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';\n      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);\n      piVar19 = piVar19 + 1;\n    }" ({ "{") (while_statement "while (*(char *)*piVar19 != '+') {\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }" (while "while") (parenthesized_expression "(*(char *)*piVar19 != '+')" (( "(") (binary_expression "*(char *)*piVar19 != '+'" (pointer_expression "*(char *)*piVar19" (* "*") (cast_expression "(char *)*piVar19" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar19" (* "*") (identifier "piVar19")))) (!= "!=") (char_literal "'+'" (' "'") (character "+") (' "'"))) () ")")) (compound_statement "{\n        pcVar16 = *(code **)(puVar15 + 0x51410);\n        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }\n        iVar5 = iVar5 + 1;\n        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';\n        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);\n        piVar19 = piVar19 + 1;\n        if (iVar9 == iVar5) goto LAB_0010a63c;\n      }" ({ "{") (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51410);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51410)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) (; ";")) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" (if "if") (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" (( "(") (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);\n          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);\n          if (iVar6 == 0) goto LAB_0010a9c0;\n          if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }\n          goto LAB_0010a66c;\n        }" ({ "{") (expression_statement "(*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" (call_expression "(*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x32f0")) () ")"))) (; ";")) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51428)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51428)" (* "*") (cast_expression "(code **)(puVar15 + 0x51428)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51428)" (( "(") (binary_expression "puVar15 + 0x51428" (identifier "puVar15") (+ "+") (number_literal "0x51428")) () ")"))))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_0010a9c0;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010a9c0;" (goto "goto") (statement_identifier "LAB_0010a9c0") (; ";"))) (if_statement "if (iVar5 < iVar9) {\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }" (if "if") (parenthesized_expression "(iVar5 < iVar9)" (( "(") (binary_expression "iVar5 < iVar9" (identifier "iVar5") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n            iStack_a8 = 1;\n            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;\n            pcVar16 = *(code **)(puVar15 + 0x51220);\n            *puStack_24 = uVar7;\n            (*pcVar16)(iVar6);\n            goto LAB_0010a998;\n          }" ({ "{") (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" (identifier "iStack_a8") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)\n            ;" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)" (( "(") (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")")))) (+ "+") (number_literal "0x71f4")) (, ",") (identifier "iStack_88") () ")")))) (; ";")) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";")) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" (* "*") (identifier "puStack_24")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (goto_statement "goto LAB_0010a998;" (goto "goto") (statement_identifier "LAB_0010a998") (; ";")) (} "}"))) (goto_statement "goto LAB_0010a66c;" (goto "goto") (statement_identifier "LAB_0010a66c") (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x15)" (( "(") (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x15")) () ")")))) (= "=") (binary_expression "*(char *)((int)unaff_s4 + 0x15) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x15)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x15)" (( "(") (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x15")) () ")")))) (+ "+") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'")))) (; ";")) (expression_statement "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);" (call_expression "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(uVar7,iVar6 + 0x59ec,*piVar19)" (( "(") (identifier "uVar7") (, ",") (binary_expression "iVar6 + 0x59ec" (identifier "iVar6") (+ "+") (number_literal "0x59ec")) (, ",") (pointer_expression "*piVar19" (* "*") (identifier "piVar19")) () ")"))) (; ";")) (expression_statement "piVar19 = piVar19 + 1;" (assignment_expression "piVar19 = piVar19 + 1" (identifier "piVar19") (= "=") (binary_expression "piVar19 + 1" (identifier "piVar19") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar9 == iVar5) goto LAB_0010a63c;" (if "if") (parenthesized_expression "(iVar9 == iVar5)" (( "(") (binary_expression "iVar9 == iVar5" (identifier "iVar9") (== "==") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_0010a63c;" (goto "goto") (statement_identifier "LAB_0010a63c") (; ";"))) (} "}"))) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51410);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51410)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';" (assignment_expression "*(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (= "=") (binary_expression "*(char *)((int)unaff_s4 + 0x19) + '\x01'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (+ "+") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'")))) (; ";")) (expression_statement "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);" (call_expression "(*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(uVar7,iVar6 + 0x59ec,*piVar19 + 1)" (( "(") (identifier "uVar7") (, ",") (binary_expression "iVar6 + 0x59ec" (identifier "iVar6") (+ "+") (number_literal "0x59ec")) (, ",") (binary_expression "*piVar19 + 1" (pointer_expression "*piVar19" (* "*") (identifier "piVar19")) (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "piVar19 = piVar19 + 1;" (assignment_expression "piVar19 = piVar19 + 1" (identifier "piVar19") (= "=") (binary_expression "piVar19 + 1" (identifier "piVar19") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 != iVar5)" (( "(") (binary_expression "iVar9 != iVar5" (identifier "iVar9") (!= "!=") (identifier "iVar5")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0010a63c:\n  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" (statement_identifier "LAB_0010a63c") (: ":") (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0)" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x32f0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x32f0")) () ")"))) (; ";"))) (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51428)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51428)" (* "*") (cast_expression "(code **)(puVar15 + 0x51428)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51428)" (( "(") (binary_expression "puVar15 + 0x51428" (identifier "puVar15") (+ "+") (number_literal "0x51428")) () ")"))))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0010a9c0:\n    iStack_a8 = 7;\n    (**(code **)(puVar15 + 0x51220))(0);\n    goto LAB_0010a998;\n  }" ({ "{") (labeled_statement "LAB_0010a9c0:\n    iStack_a8 = 7;" (statement_identifier "LAB_0010a9c0") (: ":") (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" (identifier "iStack_a8") (= "=") (number_literal "7")) (; ";"))) (expression_statement "(**(code **)(puVar15 + 0x51220))(0);" (call_expression "(**(code **)(puVar15 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51220)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (goto_statement "goto LAB_0010a998;" (goto "goto") (statement_identifier "LAB_0010a998") (; ";")) (} "}"))) (labeled_statement "LAB_0010a66c:\n  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);" (statement_identifier "LAB_0010a66c") (: ":") (expression_statement "iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);" (assignment_expression "iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6)" (identifier "iStack_a8") (= "=") (call_expression "sqlite3_declare_vtab(iVar4,iVar6)" (identifier "sqlite3_declare_vtab") (argument_list "(iVar4,iVar6)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar6") () ")")))) (; ";"))) (if_statement "if (iStack_a8 != 0) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }" (if "if") (parenthesized_expression "(iStack_a8 != 0)" (( "(") (binary_expression "iStack_a8 != 0" (identifier "iStack_a8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar6);\n    goto LAB_0010a998;\n  }" ({ "{") (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51224)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51224)" (* "*") (cast_expression "(code **)(puVar15 + 0x51224)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51224)" (( "(") (binary_expression "puVar15 + 0x51224" (identifier "puVar15") (+ "+") (number_literal "0x51224")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (( "(") (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")")))) (+ "+") (number_literal "0x71f4")) (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";")) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" (* "*") (identifier "puStack_24")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "(*pcVar16)(iVar6);" (call_expression "(*pcVar16)(iVar6)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (goto_statement "goto LAB_0010a998;" (goto "goto") (statement_identifier "LAB_0010a998") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51220)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "bVar1 = *(byte *)((int)unaff_s4 + 0x15);" (assignment_expression "bVar1 = *(byte *)((int)unaff_s4 + 0x15)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)((int)unaff_s4 + 0x15)" (* "*") (cast_expression "(byte *)((int)unaff_s4 + 0x15)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x15)" (( "(") (binary_expression "(int)unaff_s4 + 0x15" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x15")) () ")"))))) (; ";")) (expression_statement "*(byte *)(unaff_s4 + 5) = bVar1 >> 1;" (assignment_expression "*(byte *)(unaff_s4 + 5) = bVar1 >> 1" (pointer_expression "*(byte *)(unaff_s4 + 5)" (* "*") (cast_expression "(byte *)(unaff_s4 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s4 + 5)" (( "(") (binary_expression "unaff_s4 + 5" (identifier "unaff_s4") (+ "+") (number_literal "5")) () ")")))) (= "=") (binary_expression "bVar1 >> 1" (identifier "bVar1") (>> ">>") (number_literal "1"))) (; ";")) (if_statement "if (bVar1 < 2) {\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }" (if "if") (parenthesized_expression "(bVar1 < 2)" (( "(") (binary_expression "bVar1 < 2" (identifier "bVar1") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    iVar9 = 2;\nLAB_0010a9e4:\n    iStack_a8 = 1;\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;\n    *puStack_24 = uVar7;\n    goto LAB_0010a998;\n  }" ({ "{") (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" (identifier "iVar9") (= "=") (number_literal "2")) (; ";")) (labeled_statement "LAB_0010a9e4:\n    iStack_a8 = 1;" (statement_identifier "LAB_0010a9e4") (: ":") (expression_statement "iStack_a8 = 1;" (assignment_expression "iStack_a8 = 1" (identifier "iStack_a8") (= "=") (number_literal "1")) (; ";"))) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])\n    ;" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])" (( "(") (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")")))) (+ "+") (number_literal "0x71f4")) (, ",") (subscript_expression "aiStack_98[iVar9]" (identifier "aiStack_98") ([ "[") (identifier "iVar9") (] "]")) () ")")))) (; ";")) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" (* "*") (identifier "puStack_24")) (= "=") (identifier "uVar7")) (; ";")) (goto_statement "goto LAB_0010a998;" (goto "goto") (statement_identifier "LAB_0010a998") (; ";")) (} "}"))) (if_statement "if (10 < bVar1) {\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }" (if "if") (parenthesized_expression "(10 < bVar1)" (( "(") (binary_expression "10 < bVar1" (number_literal "10") (< "<") (identifier "bVar1")) () ")")) (compound_statement "{\n    iVar9 = 3;\n    goto LAB_0010a9e4;\n  }" ({ "{") (expression_statement "iVar9 = 3;" (assignment_expression "iVar9 = 3" (identifier "iVar9") (= "=") (number_literal "3")) (; ";")) (goto_statement "goto LAB_0010a9e4;" (goto "goto") (statement_identifier "LAB_0010a9e4") (; ";")) (} "}"))) (if_statement "if ((bVar1 & 1) != 0) {\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }" (if "if") (parenthesized_expression "((bVar1 & 1) != 0)" (( "(") (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" (( "(") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar9 = 1;\n    goto LAB_0010a9e4;\n  }" ({ "{") (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0010a9e4;" (goto "goto") (statement_identifier "LAB_0010a9e4") (; ";")) (} "}"))) (expression_statement "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';" (assignment_expression "*(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04'" (pointer_expression "*(byte *)((int)unaff_s4 + 0x17)" (* "*") (cast_expression "(byte *)((int)unaff_s4 + 0x17)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x17)" (( "(") (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x17")) () ")")))) (= "=") (binary_expression "(bVar1 + 2) * '\x04'" (parenthesized_expression "(bVar1 + 2)" (( "(") (binary_expression "bVar1 + 2" (identifier "bVar1") (+ "+") (number_literal "2")) () ")")) (* "*") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'")))) (; ";")) (expression_statement "iStack_9c = 0;" (assignment_expression "iStack_9c = 0" (identifier "iStack_9c") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8])" (( "(") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x33d4" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x33d4")) (, ",") (subscript_expression "unaff_s4[8]" (identifier "unaff_s4") ([ "[") (number_literal "8") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iStack_a8 = 7;\nLAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    pcVar16 = *(code **)(puVar15 + 0x51220);\n    *puStack_24 = uVar7;\n    (*pcVar16)(iVar9);\n    goto LAB_0010a998;\n  }" ({ "{") (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" (identifier "iStack_a8") (= "=") (number_literal "7")) (; ";")) (labeled_statement "LAB_0010ac60:\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (statement_identifier "LAB_0010ac60") (: ":") (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51224)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51224)" (* "*") (cast_expression "(code **)(puVar15 + 0x51224)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51224)" (( "(") (binary_expression "puVar15 + 0x51224" (identifier "puVar15") (+ "+") (number_literal "0x51224")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";"))) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (( "(") (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")")))) (+ "+") (number_literal "0x71f4")) (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";")) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" (* "*") (identifier "puStack_24")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (goto_statement "goto LAB_0010a998;" (goto "goto") (statement_identifier "LAB_0010a998") (; ";")) (} "}"))) (expression_statement "iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c);" (assignment_expression "iStack_a8 = FUN_0010a338(iVar4,iVar9,&iStack_9c)" (identifier "iStack_a8") (= "=") (call_expression "FUN_0010a338(iVar4,iVar9,&iStack_9c)" (identifier "FUN_0010a338") (argument_list "(iVar4,iVar9,&iStack_9c)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar9") (, ",") (pointer_expression "&iStack_9c" (& "&") (identifier "iStack_9c")) () ")")))) (; ";")) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac60;" (if "if") (parenthesized_expression "(iStack_a8 != 0)" (( "(") (binary_expression "iStack_a8 != 0" (identifier "iStack_a8") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010ac60;" (goto "goto") (statement_identifier "LAB_0010ac60") (; ";"))) (expression_statement "unaff_s4[4] = iStack_9c + -0x40;" (assignment_expression "unaff_s4[4] = iStack_9c + -0x40" (subscript_expression "unaff_s4[4]" (identifier "unaff_s4") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "iStack_9c + -0x40" (identifier "iStack_9c") (+ "+") (number_literal "-0x40"))) (; ";")) (expression_statement "iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;" (assignment_expression "iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" (identifier "iVar5") (= "=") (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33" (binary_expression "(uint)*(byte *)((int)unaff_s4 + 0x17)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)((int)unaff_s4 + 0x17)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x17)" (( "(") (binary_expression "(int)unaff_s4 + 0x17" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x17")) () ")")))) (* "*") (number_literal "0x33")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";")) (if_statement "if (iVar5 < iStack_9c + -0x40) {\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }\n  else {\n    (*pcVar16)(iVar9);\n  }" (if "if") (parenthesized_expression "(iVar5 < iStack_9c + -0x40)" (( "(") (binary_expression "iVar5 < iStack_9c + -0x40" (identifier "iVar5") (< "<") (binary_expression "iStack_9c + -0x40" (identifier "iStack_9c") (+ "+") (number_literal "-0x40"))) () ")")) (compound_statement "{\n    unaff_s4[4] = iVar5;\n    (*pcVar16)(iVar9);\n  }" ({ "{") (expression_statement "unaff_s4[4] = iVar5;" (assignment_expression "unaff_s4[4] = iVar5" (subscript_expression "unaff_s4[4]" (identifier "unaff_s4") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    (*pcVar16)(iVar9);\n  }" (else "else") (compound_statement "{\n    (*pcVar16)(iVar9);\n  }" ({ "{") (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar13 = puVar14[1];" (assignment_expression "uVar13 = puVar14[1]" (identifier "uVar13") (= "=") (subscript_expression "puVar14[1]" (identifier "puVar14") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51420);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51420)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51420)" (* "*") (cast_expression "(code **)(puVar15 + 0x51420)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51420)" (( "(") (binary_expression "puVar15 + 0x51420" (identifier "puVar15") (+ "+") (number_literal "0x51420")) () ")"))))) (; ";")) (expression_statement "uVar17 = puVar14[2];" (assignment_expression "uVar17 = puVar14[2]" (identifier "uVar17") (= "=") (subscript_expression "puVar14[2]" (identifier "puVar14") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "unaff_s4[3] = iVar4;" (assignment_expression "unaff_s4[3] = iVar4" (subscript_expression "unaff_s4[3]" (identifier "unaff_s4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "uVar7 = (*pcVar16)(iVar4);" (assignment_expression "uVar7 = (*pcVar16)(iVar4)" (identifier "uVar7") (= "=") (call_expression "(*pcVar16)(iVar4)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17)" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3124" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x3124")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") () ")"))) (; ";")) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" (if "if") (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" (( "(") (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar5 = *(int *)(puVar15 + 0x511fc);\n    iVar9 = 0;\n    do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));\n  }" ({ "{") (expression_statement "iVar5 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar5 = *(int *)(puVar15 + 0x511fc)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")"))))) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));" (do "do") (compound_statement "{\n      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);\n      iVar9 = iVar9 + 1;\n    }" ({ "{") (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,iVar5 + -0x328c,iVar9)" (( "(") (identifier "uVar7") (, ",") (binary_expression "iVar5 + -0x328c" (identifier "iVar5") (+ "+") (number_literal "-0x328c")) (, ",") (identifier "iVar9") () ")"))) (; ";")) (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 "(iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19))" (( "(") (binary_expression "iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (identifier "iVar9") (< "<") (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(byte *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17)" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3284" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x3284")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17)" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3244" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x3244")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);" (call_expression "(**(code **)(puVar15 + 0x51410))\n            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4])" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4])" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x31fc" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x31fc")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") (, ",") (subscript_expression "unaff_s4[4]" (identifier "unaff_s4") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51428)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51428)" (* "*") (cast_expression "(code **)(puVar15 + 0x51428)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51428)" (( "(") (binary_expression "puVar15 + 0x51428" (identifier "puVar15") (+ "+") (number_literal "0x51428")) () ")"))))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar9 != 0) {\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);\n    (**(code **)(puVar15 + 0x51220))(iVar9);\n    if (iStack_a8 != 0) goto LAB_0010ac28;\n    apiStack_84[0] = unaff_s4 + 0x14;\n    apiStack_84[2] = unaff_s4 + 0x16;\n    apiStack_84[1] = unaff_s4 + 0x15;\n    apiStack_84[3] = unaff_s4 + 0x17;\n    piStack_74 = unaff_s4 + 0x18;\n    piStack_70 = unaff_s4 + 0x19;\n    piStack_6c = unaff_s4 + 0x1a;\n    piStack_68 = unaff_s4 + 0x1b;\n    piVar19 = (int *)0x0;\n    iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);\n    if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    if (cVar2 == '\0') goto LAB_0010ac28;\n    iVar9 = *(int *)(puVar15 + 0x511fc);\nLAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);\n    unaff_s4[0x10] = iVar9;\n    if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }\n  }" ({ "{") (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0)" (identifier "iStack_a8") (= "=") (call_expression "(**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51270))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51270)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51270)" (* "*") (cast_expression "(code **)(puVar15 + 0x51270)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51270)" (( "(") (binary_expression "puVar15 + 0x51270" (identifier "puVar15") (+ "+") (number_literal "0x51270")) () ")"))))) () ")")) (argument_list "(iVar4,iVar9,0,0,0)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar9") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar9);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51220)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (iStack_a8 != 0) goto LAB_0010ac28;" (if "if") (parenthesized_expression "(iStack_a8 != 0)" (( "(") (binary_expression "iStack_a8 != 0" (identifier "iStack_a8") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010ac28;" (goto "goto") (statement_identifier "LAB_0010ac28") (; ";"))) (expression_statement "apiStack_84[0] = unaff_s4 + 0x14;" (assignment_expression "apiStack_84[0] = unaff_s4 + 0x14" (subscript_expression "apiStack_84[0]" (identifier "apiStack_84") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "unaff_s4 + 0x14" (identifier "unaff_s4") (+ "+") (number_literal "0x14"))) (; ";")) (expression_statement "apiStack_84[2] = unaff_s4 + 0x16;" (assignment_expression "apiStack_84[2] = unaff_s4 + 0x16" (subscript_expression "apiStack_84[2]" (identifier "apiStack_84") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "unaff_s4 + 0x16" (identifier "unaff_s4") (+ "+") (number_literal "0x16"))) (; ";")) (expression_statement "apiStack_84[1] = unaff_s4 + 0x15;" (assignment_expression "apiStack_84[1] = unaff_s4 + 0x15" (subscript_expression "apiStack_84[1]" (identifier "apiStack_84") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "unaff_s4 + 0x15" (identifier "unaff_s4") (+ "+") (number_literal "0x15"))) (; ";")) (expression_statement "apiStack_84[3] = unaff_s4 + 0x17;" (assignment_expression "apiStack_84[3] = unaff_s4 + 0x17" (subscript_expression "apiStack_84[3]" (identifier "apiStack_84") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "unaff_s4 + 0x17" (identifier "unaff_s4") (+ "+") (number_literal "0x17"))) (; ";")) (expression_statement "piStack_74 = unaff_s4 + 0x18;" (assignment_expression "piStack_74 = unaff_s4 + 0x18" (identifier "piStack_74") (= "=") (binary_expression "unaff_s4 + 0x18" (identifier "unaff_s4") (+ "+") (number_literal "0x18"))) (; ";")) (expression_statement "piStack_70 = unaff_s4 + 0x19;" (assignment_expression "piStack_70 = unaff_s4 + 0x19" (identifier "piStack_70") (= "=") (binary_expression "unaff_s4 + 0x19" (identifier "unaff_s4") (+ "+") (number_literal "0x19"))) (; ";")) (expression_statement "piStack_6c = unaff_s4 + 0x1a;" (assignment_expression "piStack_6c = unaff_s4 + 0x1a" (identifier "piStack_6c") (= "=") (binary_expression "unaff_s4 + 0x1a" (identifier "unaff_s4") (+ "+") (number_literal "0x1a"))) (; ";")) (expression_statement "piStack_68 = unaff_s4 + 0x1b;" (assignment_expression "piStack_68 = unaff_s4 + 0x1b" (identifier "piStack_68") (= "=") (binary_expression "unaff_s4 + 0x1b" (identifier "unaff_s4") (+ "+") (number_literal "0x1b"))) (; ";")) (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" (identifier "piVar19") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);" (assignment_expression "iStack_a8 = sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" (identifier "iStack_a8") (= "=") (call_expression "sqlite3_table_column_metadata\n                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" (identifier "sqlite3_table_column_metadata") (argument_list "(iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0)" (( "(") (identifier "iVar4") (, ",") (subscript_expression "unaff_s4[8]" (identifier "unaff_s4") ([ "[") (number_literal "8") (] "]")) (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x65b0" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x65b0")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iStack_a8 == 0) {\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }\n    else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" (if "if") (parenthesized_expression "(iStack_a8 == 0)" (( "(") (binary_expression "iStack_a8 == 0" (identifier "iStack_a8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);\n      if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }\nLAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" ({ "{") (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))\n                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9])" (( "(") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x31c8" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x31c8")) (, ",") (subscript_expression "unaff_s4[8]" (identifier "unaff_s4") ([ "[") (number_literal "8") (] "]")) (, ",") (subscript_expression "unaff_s4[9]" (identifier "unaff_s4") ([ "[") (number_literal "9") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }\n      else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0010add8:\n        iStack_a8 = 7;\n        piVar8 = piVar19;\n      }" ({ "{") (labeled_statement "LAB_0010add8:\n        iStack_a8 = 7;" (statement_identifier "LAB_0010add8") (: ":") (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" (identifier "iStack_a8") (= "=") (number_literal "7")) (; ";"))) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" (identifier "piVar8") (= "=") (identifier "piVar19")) (; ";")) (} "}")) (else_clause "else {\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" (else "else") (compound_statement "{\n        piVar19 = (int *)0x0;\n        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);\n        if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }\n        pcVar16 = *(code **)(puVar15 + 0x51220);\n        if (iStack_a8 != 7) goto LAB_0010acfc;\nLAB_0010af4c:\n        (*pcVar16)(iVar9);\n        piVar8 = piVar19;\n      }" ({ "{") (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" (identifier "piVar19") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0)" (identifier "iStack_a8") (= "=") (call_expression "sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0)" (identifier "sqlite3_prepare_v2") (argument_list "(iVar4,iVar9,0xffffffff,&iStack_9c,0)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar9") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&iStack_9c" (& "&") (identifier "iStack_9c")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iStack_a8 == 0) {\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }" (if "if") (parenthesized_expression "(iStack_a8 == 0)" (( "(") (binary_expression "iStack_a8 == 0" (identifier "iStack_a8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);\n          if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }\nLAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);\n          unaff_s4[0xd] = 0x100000;\n          unaff_s4[0xc] = 0;\n          (*pcVar16)(iVar9);\n          goto LAB_0010ad1c;\n        }" ({ "{") (expression_statement "iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(puVar15 + 0x51230))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x51230))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51230)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51230)" (* "*") (cast_expression "(code **)(puVar15 + 0x51230)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51230)" (( "(") (binary_expression "puVar15 + 0x51230" (identifier "puVar15") (+ "+") (number_literal "0x51230")) () ")"))))) () ")")) (argument_list "(iStack_9c)" (( "(") (identifier "iStack_9c") () ")")))) (; ";")) (if_statement "if (iVar5 == 100) {\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }\n          else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" (if "if") (parenthesized_expression "(iVar5 == 100)" (( "(") (binary_expression "iVar5 == 100" (identifier "iVar5") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) goto LAB_0010af48;\n            if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }\n          }" ({ "{") (expression_statement "lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);" (assignment_expression "lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0)" (identifier "lVar18") (= "=") (call_expression "(**(code **)(puVar15 + 0x51250))(iStack_9c,0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51250))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51250)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51250)" (* "*") (cast_expression "(code **)(puVar15 + 0x51250)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51250)" (( "(") (binary_expression "puVar15 + 0x51250" (identifier "puVar15") (+ "+") (number_literal "0x51250")) () ")"))))) () ")")) (argument_list "(iStack_9c,0)" (( "(") (identifier "iStack_9c") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c)" (identifier "iStack_a8") (= "=") (call_expression "(**(code **)(puVar15 + 0x5123c))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x5123c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x5123c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x5123c)" (* "*") (cast_expression "(code **)(puVar15 + 0x5123c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x5123c)" (( "(") (binary_expression "puVar15 + 0x5123c" (identifier "puVar15") (+ "+") (number_literal "0x5123c")) () ")"))))) () ")")) (argument_list "(iStack_9c)" (( "(") (identifier "iStack_9c") () ")")))) (; ";")) (if_statement "if (iStack_a8 != 0) goto LAB_0010af48;" (if "if") (parenthesized_expression "(iStack_a8 != 0)" (( "(") (binary_expression "iStack_a8 != 0" (identifier "iStack_a8") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010af48;" (goto "goto") (statement_identifier "LAB_0010af48") (; ";"))) (if_statement "if (lVar18 != 0) {\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }" (if "if") (parenthesized_expression "(lVar18 != 0)" (( "(") (binary_expression "lVar18 != 0" (identifier "lVar18") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }\n              *(longlong *)(unaff_s4 + 0xc) = lVar18;\n              (*pcVar16)(iVar9);\n              goto LAB_0010ad1c;\n            }" ({ "{") (if_statement "if ((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))) {\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }" (if "if") (parenthesized_expression "((lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100))))" (( "(") (binary_expression "(lVar18 < 0) ||\n                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))" (parenthesized_expression "(lVar18 < 0)" (( "(") (binary_expression "lVar18 < 0" (identifier "lVar18") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)))" (( "(") (parenthesized_expression "(pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100))" (( "(") (comma_expression "pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (, ",") (binary_expression "(int)((ulonglong)lVar18 >> 0x20) == 0 &&\n                  ((uint)lVar18 < 100)" (binary_expression "(int)((ulonglong)lVar18 >> 0x20) == 0" (cast_expression "(int)((ulonglong)lVar18 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar18 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar18 >> 0x20" (cast_expression "(ulonglong)lVar18" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar18")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "((uint)lVar18 < 100)" (( "(") (binary_expression "(uint)lVar18 < 100" (cast_expression "(uint)lVar18" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar18")) (< "<") (number_literal "100")) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n                lVar18 = 100;\n                pcVar16 = *(code **)(puVar15 + 0x51220);\n              }" ({ "{") (expression_statement "lVar18 = 100;" (assignment_expression "lVar18 = 100" (identifier "lVar18") (= "=") (number_literal "100")) (; ";")) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(longlong *)(unaff_s4 + 0xc) = lVar18;" (assignment_expression "*(longlong *)(unaff_s4 + 0xc) = lVar18" (pointer_expression "*(longlong *)(unaff_s4 + 0xc)" (* "*") (cast_expression "(longlong *)(unaff_s4 + 0xc)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s4 + 0xc)" (( "(") (binary_expression "unaff_s4 + 0xc" (identifier "unaff_s4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "lVar18")) (; ";")) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (goto_statement "goto LAB_0010ad1c;" (goto "goto") (statement_identifier "LAB_0010ad1c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" (else "else") (compound_statement "{\n            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);\n            if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }\n          }" ({ "{") (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c)" (identifier "iStack_a8") (= "=") (call_expression "(**(code **)(puVar15 + 0x5123c))(iStack_9c)" (parenthesized_expression "(**(code **)(puVar15 + 0x5123c))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x5123c)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x5123c)" (* "*") (cast_expression "(code **)(puVar15 + 0x5123c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x5123c)" (( "(") (binary_expression "puVar15 + 0x5123c" (identifier "puVar15") (+ "+") (number_literal "0x5123c")) () ")"))))) () ")")) (argument_list "(iStack_9c)" (( "(") (identifier "iStack_9c") () ")")))) (; ";")) (if_statement "if (iStack_a8 != 0) {\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }" (if "if") (parenthesized_expression "(iStack_a8 != 0)" (( "(") (binary_expression "iStack_a8 != 0" (identifier "iStack_a8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);\n              goto LAB_0010af4c;\n            }" ({ "{") (labeled_statement "LAB_0010af48:\n              pcVar16 = *(code **)(puVar15 + 0x51220);" (statement_identifier "LAB_0010af48") (: ":") (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";"))) (goto_statement "goto LAB_0010af4c;" (goto "goto") (statement_identifier "LAB_0010af4c") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0010acfc:\n          pcVar16 = *(code **)(puVar15 + 0x51220);" (statement_identifier "LAB_0010acfc") (: ":") (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";"))) (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" (identifier "unaff_s4") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0x100000")) (; ";")) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" (identifier "unaff_s4") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (goto_statement "goto LAB_0010ad1c;" (goto "goto") (statement_identifier "LAB_0010ad1c") (; ";")) (} "}"))) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x51220);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x51220)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) (; ";")) (if_statement "if (iStack_a8 != 7) goto LAB_0010acfc;" (if "if") (parenthesized_expression "(iStack_a8 != 7)" (( "(") (binary_expression "iStack_a8 != 7" (identifier "iStack_a8") (!= "!=") (number_literal "7")) () ")")) (goto_statement "goto LAB_0010acfc;" (goto "goto") (statement_identifier "LAB_0010acfc") (; ";"))) (labeled_statement "LAB_0010af4c:\n        (*pcVar16)(iVar9);" (statement_identifier "LAB_0010af4c") (: ":") (expression_statement "(*pcVar16)(iVar9);" (call_expression "(*pcVar16)(iVar9)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";"))) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" (identifier "piVar8") (= "=") (identifier "piVar19")) (; ";")) (} "}")))) (labeled_statement "LAB_0010a7dc:\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);" (statement_identifier "LAB_0010a7dc") (: ":") (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" (else "else") (compound_statement "{\n      unaff_s4[0xd] = 0x100000;\n      unaff_s4[0xc] = 0;\n      piVar8 = piVar19;\n      if (iStack_a8 != 1) goto LAB_0010a7dc;\nLAB_0010ad1c:\n      iVar5 = 0;\n      iVar9 = *(int *)(puVar15 + 0x511fc);\n      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);\n      do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);\n      cVar2 = *(char *)((int)unaff_s4 + 0x19);\n    }" ({ "{") (expression_statement "unaff_s4[0xd] = 0x100000;" (assignment_expression "unaff_s4[0xd] = 0x100000" (subscript_expression "unaff_s4[0xd]" (identifier "unaff_s4") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0x100000")) (; ";")) (expression_statement "unaff_s4[0xc] = 0;" (assignment_expression "unaff_s4[0xc] = 0" (subscript_expression "unaff_s4[0xc]" (identifier "unaff_s4") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" (identifier "piVar8") (= "=") (identifier "piVar19")) (; ";")) (if_statement "if (iStack_a8 != 1) goto LAB_0010a7dc;" (if "if") (parenthesized_expression "(iStack_a8 != 1)" (( "(") (binary_expression "iStack_a8 != 1" (identifier "iStack_a8") (!= "!=") (number_literal "1")) () ")")) (goto_statement "goto LAB_0010a7dc;" (goto "goto") (statement_identifier "LAB_0010a7dc") (; ";"))) (labeled_statement "LAB_0010ad1c:\n      iVar5 = 0;" (statement_identifier "LAB_0010ad1c") (: ":") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")"))))) (; ";")) (expression_statement "puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);" (assignment_expression "puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0)" (identifier "puVar14") (= "=") (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x511d8) + -0x73a0)" (( "(") (binary_expression "*(int *)(puVar15 + 0x511d8) + -0x73a0" (pointer_expression "*(int *)(puVar15 + 0x511d8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511d8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511d8)" (( "(") (binary_expression "puVar15 + 0x511d8" (identifier "puVar15") (+ "+") (number_literal "0x511d8")) () ")")))) (+ "+") (number_literal "-0x73a0")) () ")")))) (; ";")) (do_statement "do {\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      } while (iStack_a8 == 0);" (do "do") (compound_statement "{\n        if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }\n        iVar5 = iVar5 + 1;\n        puVar14 = puVar14 + 1;\n        piVar19 = piVar8;\n      }" ({ "{") (if_statement "if (iVar5 == 3) {\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }\n        else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" (if "if") (parenthesized_expression "(iVar5 == 3)" (( "(") (binary_expression "iVar5 == 3" (identifier "iVar5") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }\n          apiStack_84[3] = piVar8;\n          if (iVar6 == 0) goto LAB_0010adc8;\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n        }" ({ "{") (if_statement "if (*(char *)((int)unaff_s4 + 0x19) == '\0') {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }\n          else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" (if "if") (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) == '\0')" (( "(") (binary_expression "*(char *)((int)unaff_s4 + 0x19) == '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);\n            piVar8 = apiStack_84[3];\n          }" ({ "{") (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*puVar14,uVar13)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*puVar14,uVar13)" (( "(") (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (, ",") (identifier "uVar13") () ")")))) (; ";")) (expression_statement "piVar8 = apiStack_84[3];" (assignment_expression "piVar8 = apiStack_84[3]" (identifier "piVar8") (= "=") (subscript_expression "apiStack_84[3]" (identifier "apiStack_84") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" (else "else") (compound_statement "{\n            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);\n            piVar8 = apiStack_84[3];\n          }" ({ "{") (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(iVar9 + -0x30e4,uVar13,uVar17)" (( "(") (binary_expression "iVar9 + -0x30e4" (identifier "iVar9") (+ "+") (number_literal "-0x30e4")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") () ")")))) (; ";")) (expression_statement "piVar8 = apiStack_84[3];" (assignment_expression "piVar8 = apiStack_84[3]" (identifier "piVar8") (= "=") (subscript_expression "apiStack_84[3]" (identifier "apiStack_84") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")))) (expression_statement "apiStack_84[3] = piVar8;" (assignment_expression "apiStack_84[3] = piVar8" (subscript_expression "apiStack_84[3]" (identifier "apiStack_84") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "piVar8")) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_0010adc8;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010adc8;" (goto "goto") (statement_identifier "LAB_0010adc8") (; ";"))) (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" (identifier "iStack_a8") (= "=") (call_expression "sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" (identifier "sqlite3_prepare_v3") (argument_list "(iVar4,iVar6,0xffffffff,5,piVar8,0)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar6") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "5") (, ",") (identifier "piVar8") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51220)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" (else "else") (compound_statement "{\n          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);\n          if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }\n          piVar8 = apiStack_84[iVar5];\n          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);\n          (**(code **)(puVar15 + 0x51220))(iVar6);\n          if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }\n        }" ({ "{") (expression_statement "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);" (assignment_expression "iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*puVar14,uVar13,uVar17)" (( "(") (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);\n            goto LAB_0010add8;\n          }" ({ "{") (labeled_statement "LAB_0010adc8:\n            (**(code **)(puVar15 + 0x51220))(0);" (statement_identifier "LAB_0010adc8") (: ":") (expression_statement "(**(code **)(puVar15 + 0x51220))(0);" (call_expression "(**(code **)(puVar15 + 0x51220))(0)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51220)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";"))) (goto_statement "goto LAB_0010add8;" (goto "goto") (statement_identifier "LAB_0010add8") (; ";")) (} "}"))) (expression_statement "piVar8 = apiStack_84[iVar5];" (assignment_expression "piVar8 = apiStack_84[iVar5]" (identifier "piVar8") (= "=") (subscript_expression "apiStack_84[iVar5]" (identifier "apiStack_84") ([ "[") (identifier "iVar5") (] "]"))) (; ";")) (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" (identifier "iStack_a8") (= "=") (call_expression "sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0)" (identifier "sqlite3_prepare_v3") (argument_list "(iVar4,iVar6,0xffffffff,5,piVar8,0)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar6") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "5") (, ",") (identifier "piVar8") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar6);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar6)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51220)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (if_statement "if (iVar5 == 7) {\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" (if "if") (parenthesized_expression "(iVar5 == 7)" (( "(") (binary_expression "iVar5 == 7" (identifier "iVar5") (== "==") (number_literal "7")) () ")")) (compound_statement "{\n            iVar9 = *(int *)(puVar15 + 0x511fc);\n            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;\n            goto LAB_0010af0c;\n          }" ({ "{") (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")"))))) (; ";")) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;" (if "if") (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" (( "(") (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0010a7ec;" (goto "goto") (statement_identifier "LAB_0010a7ec") (; ";"))) (goto_statement "goto LAB_0010af0c;" (goto "goto") (statement_identifier "LAB_0010af0c") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar14 = puVar14 + 1;" (assignment_expression "puVar14 = puVar14 + 1" (identifier "puVar14") (= "=") (binary_expression "puVar14 + 1" (identifier "puVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar19 = piVar8;" (assignment_expression "piVar19 = piVar8" (identifier "piVar19") (= "=") (identifier "piVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iStack_a8 == 0)" (( "(") (binary_expression "iStack_a8 == 0" (identifier "iStack_a8") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "cVar2 = *(char *)((int)unaff_s4 + 0x19);" (assignment_expression "cVar2 = *(char *)((int)unaff_s4 + 0x19)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (cVar2 == '\0') goto LAB_0010ac28;" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0010ac28;" (goto "goto") (statement_identifier "LAB_0010ac28") (; ";"))) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511fc)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")"))))) (; ";")) (labeled_statement "LAB_0010a7ec:\n    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);" (statement_identifier "LAB_0010a7ec") (: ":") (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(iVar9 + -0x3190,uVar13,uVar17)" (( "(") (binary_expression "iVar9 + -0x3190" (identifier "iVar9") (+ "+") (number_literal "-0x3190")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") () ")")))) (; ";"))) (expression_statement "unaff_s4[0x10] = iVar9;" (assignment_expression "unaff_s4[0x10] = iVar9" (subscript_expression "unaff_s4[0x10]" (identifier "unaff_s4") ([ "[") (number_literal "0x10") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (if_statement "if (iVar9 != 0) {\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);\n      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }\n      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);\n      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);\n      if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }\n    }" ({ "{") (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51420))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51420))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51420)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51420)" (* "*") (cast_expression "(code **)(puVar15 + 0x51420)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51420)" (( "(") (binary_expression "puVar15 + 0x51420" (identifier "puVar15") (+ "+") (number_literal "0x51420")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17)" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x3160" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x3160")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar17") () ")"))) (; ";")) (if_statement "if (*(char *)((int)unaff_s4 + 0x19) != '\0') {\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }" (if "if") (parenthesized_expression "(*(char *)((int)unaff_s4 + 0x19) != '\0')" (( "(") (binary_expression "*(char *)((int)unaff_s4 + 0x19) != '\0'" (pointer_expression "*(char *)((int)unaff_s4 + 0x19)" (* "*") (cast_expression "(char *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar6 = *(int *)(puVar15 + 0x511fc);\n        iVar5 = *(int *)(puVar15 + 0x511fc);\n        iVar9 = *(int *)(puVar15 + 0x511e8);\n        piVar19 = (int *)0x0;\n        while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }\n      }" ({ "{") (expression_statement "iVar6 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar6 = *(int *)(puVar15 + 0x511fc)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(puVar15 + 0x511fc);" (assignment_expression "iVar5 = *(int *)(puVar15 + 0x511fc)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(puVar15 + 0x511e8);" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x511e8)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")"))))) (; ";")) (expression_statement "piVar19 = (int *)0x0;" (assignment_expression "piVar19 = (int *)0x0" (identifier "piVar19") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (while_statement "while( true ) {\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }\n          piVar19 = (int *)((int)piVar19 + 1);\n          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;\n          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);\n        }" ({ "{") (if_statement "if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }\n          else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" (if "if") (parenthesized_expression "((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a))" (( "(") (binary_expression "(int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19")) (< "<") (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x1a)" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(byte *)((int)unaff_s4 + 0x1a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x1a)" (( "(") (binary_expression "(int)unaff_s4 + 0x1a" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x1a")) () ")"))))) () ")")) (compound_statement "{\n            piVar8 = piVar19;\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;\n          }" ({ "{") (expression_statement "piVar8 = piVar19;" (assignment_expression "piVar8 = piVar19" (identifier "piVar8") (= "=") (identifier "piVar19")) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)\n            ;" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)" (( "(") (identifier "uVar7") (, ",") (binary_expression "iVar5 + -0x3144" (identifier "iVar5") (+ "+") (number_literal "-0x3144")) (, ",") (identifier "piVar19") (, ",") (binary_expression "(int)piVar19 + 2" (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19")) (+ "+") (number_literal "2")) (, ",") (identifier "piVar19") () ")"))) (; ";")) (} "}")) (else_clause "else {\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" (else "else") (compound_statement "{\n            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);\n          }" ({ "{") (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8)" (( "(") (identifier "uVar7") (, ",") (binary_expression "iVar6 + -0x312c" (identifier "iVar6") (+ "+") (number_literal "-0x312c")) (, ",") (identifier "piVar19") (, ",") (binary_expression "(int)piVar19 + 2" (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19")) (+ "+") (number_literal "2")) (, ",") (identifier "piVar8") () ")"))) (; ";")) (} "}")))) (expression_statement "piVar19 = (int *)((int)piVar19 + 1);" (assignment_expression "piVar19 = (int *)((int)piVar19 + 1)" (identifier "piVar19") (= "=") (cast_expression "(int *)((int)piVar19 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar19 + 1)" (( "(") (binary_expression "(int)piVar19 + 1" (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;" (if "if") (parenthesized_expression "((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19)" (( "(") (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19" (binary_expression "(int)(uint)*(byte *)((int)unaff_s4 + 0x19)" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(byte *)((int)unaff_s4 + 0x19)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s4 + 0x19)" (( "(") (binary_expression "(int)unaff_s4 + 0x19" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (+ "+") (number_literal "0x19")) () ")")))) (<= "<=") (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "(**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);" (call_expression "(**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1)" (parenthesized_expression "(**(code **)(puVar15 + 0x513c0))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x513c0)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x513c0)" (* "*") (cast_expression "(code **)(puVar15 + 0x513c0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x513c0)" (( "(") (binary_expression "puVar15 + 0x513c0" (identifier "puVar15") (+ "+") (number_literal "0x513c0")) () ")"))))) () ")")) (argument_list "(uVar7,iVar9 + 0x5608,1)" (( "(") (identifier "uVar7") (, ",") (binary_expression "iVar9 + 0x5608" (identifier "iVar9") (+ "+") (number_literal "0x5608")) (, ",") (number_literal "1") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);" (call_expression "(**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c)" (parenthesized_expression "(**(code **)(puVar15 + 0x51410))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51410)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51410)" (* "*") (cast_expression "(code **)(puVar15 + 0x51410)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51410)" (( "(") (binary_expression "puVar15 + 0x51410" (identifier "puVar15") (+ "+") (number_literal "0x51410")) () ")"))))) () ")")) (argument_list "(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c)" (( "(") (identifier "uVar7") (, ",") (binary_expression "*(int *)(puVar15 + 0x511fc) + -0x300c" (pointer_expression "*(int *)(puVar15 + 0x511fc)" (* "*") (cast_expression "(int *)(puVar15 + 0x511fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511fc)" (( "(") (binary_expression "puVar15 + 0x511fc" (identifier "puVar15") (+ "+") (number_literal "0x511fc")) () ")")))) (+ "+") (number_literal "-0x300c")) () ")"))) (; ";")) (expression_statement "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);" (assignment_expression "iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar15 + 0x51428))(uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51428))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51428)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51428)" (* "*") (cast_expression "(code **)(puVar15 + 0x51428)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51428)" (( "(") (binary_expression "puVar15 + 0x51428" (identifier "puVar15") (+ "+") (number_literal "0x51428")) () ")"))))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (iVar9 != 0) {\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);\n        (**(code **)(puVar15 + 0x51220))(iVar9);\nLAB_0010af0c:\n        piVar19 = unaff_s4;\n        if (iStack_a8 == 0) goto LAB_0010a8f0;\n        goto LAB_0010ac28;\n      }" ({ "{") (expression_statement "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);" (assignment_expression "iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" (identifier "iStack_a8") (= "=") (call_expression "sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" (identifier "sqlite3_prepare_v3") (argument_list "(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar9") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "5") (, ",") (binary_expression "unaff_s4 + 0x1c" (identifier "unaff_s4") (+ "+") (number_literal "0x1c")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar15 + 0x51220))(iVar9);" (call_expression "(**(code **)(puVar15 + 0x51220))(iVar9)" (parenthesized_expression "(**(code **)(puVar15 + 0x51220))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51220)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51220)" (* "*") (cast_expression "(code **)(puVar15 + 0x51220)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51220)" (( "(") (binary_expression "puVar15 + 0x51220" (identifier "puVar15") (+ "+") (number_literal "0x51220")) () ")"))))) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (labeled_statement "LAB_0010af0c:\n        piVar19 = unaff_s4;" (statement_identifier "LAB_0010af0c") (: ":") (expression_statement "piVar19 = unaff_s4;" (assignment_expression "piVar19 = unaff_s4" (identifier "piVar19") (= "=") (identifier "unaff_s4")) (; ";"))) (if_statement "if (iStack_a8 == 0) goto LAB_0010a8f0;" (if "if") (parenthesized_expression "(iStack_a8 == 0)" (( "(") (binary_expression "iStack_a8 == 0" (identifier "iStack_a8") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010a8f0;" (goto "goto") (statement_identifier "LAB_0010a8f0") (; ";"))) (goto_statement "goto LAB_0010ac28;" (goto "goto") (statement_identifier "LAB_0010ac28") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "iStack_a8 = 7;" (assignment_expression "iStack_a8 = 7" (identifier "iStack_a8") (= "=") (number_literal "7")) (; ";")) (labeled_statement "LAB_0010ac28:\n  while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" (statement_identifier "LAB_0010ac28") (: ":") (while_statement "while( true ) {\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);\n    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);\n    *puStack_24 = uVar7;\nLAB_0010a998:\n    iVar9 = unaff_s4[10];\n    unaff_s4[10] = iVar9 + -1;\n    piVar19 = piRam00000000;\n    if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }\nLAB_0010a8f0:\n    piRam00000000 = piVar19;\n    if (iStack_64 == *piVar10) break;\n    iStack_a8 = (**(code **)(puVar15 + 0x51610))();\n  }" ({ "{") (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51224))(iVar4)" (parenthesized_expression "(**(code **)(puVar15 + 0x51224))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51224)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51224)" (* "*") (cast_expression "(code **)(puVar15 + 0x51224)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51224)" (( "(") (binary_expression "puVar15 + 0x51224" (identifier "puVar15") (+ "+") (number_literal "0x51224")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);" (assignment_expression "uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x51228))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51228)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51228)" (* "*") (cast_expression "(code **)(puVar15 + 0x51228)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51228)" (( "(") (binary_expression "puVar15 + 0x51228" (identifier "puVar15") (+ "+") (number_literal "0x51228")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7)" (( "(") (binary_expression "*(int *)(puVar15 + 0x511e8) + 0x71f4" (pointer_expression "*(int *)(puVar15 + 0x511e8)" (* "*") (cast_expression "(int *)(puVar15 + 0x511e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x511e8)" (( "(") (binary_expression "puVar15 + 0x511e8" (identifier "puVar15") (+ "+") (number_literal "0x511e8")) () ")")))) (+ "+") (number_literal "0x71f4")) (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "*puStack_24 = uVar7;" (assignment_expression "*puStack_24 = uVar7" (pointer_expression "*puStack_24" (* "*") (identifier "puStack_24")) (= "=") (identifier "uVar7")) (; ";")) (labeled_statement "LAB_0010a998:\n    iVar9 = unaff_s4[10];" (statement_identifier "LAB_0010a998") (: ":") (expression_statement "iVar9 = unaff_s4[10];" (assignment_expression "iVar9 = unaff_s4[10]" (identifier "iVar9") (= "=") (subscript_expression "unaff_s4[10]" (identifier "unaff_s4") ([ "[") (number_literal "10") (] "]"))) (; ";"))) (expression_statement "unaff_s4[10] = iVar9 + -1;" (assignment_expression "unaff_s4[10] = iVar9 + -1" (subscript_expression "unaff_s4[10]" (identifier "unaff_s4") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" (identifier "piVar19") (= "=") (identifier "piRam00000000")) (; ";")) (if_statement "if (iVar9 + -1 == 0) {\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }" (if "if") (parenthesized_expression "(iVar9 + -1 == 0)" (( "(") (binary_expression "iVar9 + -1 == 0" (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);\n      piVar19 = piRam00000000;\n    }" ({ "{") (expression_statement "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);" (call_expression "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4)" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))" (( "(") (pointer_expression "*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0)" (* "*") (cast_expression "(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x512f8) + 0x59d0)" (( "(") (binary_expression "*(int *)(puVar15 + 0x512f8) + 0x59d0" (pointer_expression "*(int *)(puVar15 + 0x512f8)" (* "*") (cast_expression "(int *)(puVar15 + 0x512f8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x512f8)" (( "(") (binary_expression "puVar15 + 0x512f8" (identifier "puVar15") (+ "+") (number_literal "0x512f8")) () ")")))) (+ "+") (number_literal "0x59d0")) () ")")))) () ")")) (argument_list "(unaff_s4)" (( "(") (identifier "unaff_s4") () ")"))) (; ";")) (expression_statement "piVar19 = piRam00000000;" (assignment_expression "piVar19 = piRam00000000" (identifier "piVar19") (= "=") (identifier "piRam00000000")) (; ";")) (} "}"))) (labeled_statement "LAB_0010a8f0:\n    piRam00000000 = piVar19;" (statement_identifier "LAB_0010a8f0") (: ":") (expression_statement "piRam00000000 = piVar19;" (assignment_expression "piRam00000000 = piVar19" (identifier "piRam00000000") (= "=") (identifier "piVar19")) (; ";"))) (if_statement "if (iStack_64 == *piVar10) break;" (if "if") (parenthesized_expression "(iStack_64 == *piVar10)" (( "(") (binary_expression "iStack_64 == *piVar10" (identifier "iStack_64") (== "==") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iStack_a8 = (**(code **)(puVar15 + 0x51610))();" (assignment_expression "iStack_a8 = (**(code **)(puVar15 + 0x51610))()" (identifier "iStack_a8") (= "=") (call_expression "(**(code **)(puVar15 + 0x51610))()" (parenthesized_expression "(**(code **)(puVar15 + 0x51610))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x51610)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x51610)" (* "*") (cast_expression "(code **)(puVar15 + 0x51610)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x51610)" (( "(") (binary_expression "puVar15 + 0x51610" (identifier "puVar15") (+ "+") (number_literal "0x51610")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (return_statement "return iStack_a8;" (return "return") (identifier "iStack_a8") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x0010a6dc) */
/* WARNING: Removing unreachable block (ram,0x0010a6f8) */
/* WARNING: Removing unreachable block (ram,0x0010a71c) */
/* WARNING: Removing unreachable block (ram,0x0010af64) */
/* WARNING: Removing unreachable block (ram,0x0010a72c) */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

int function_1(type_1 *db,char *var_8,int *piVal)

{
  type_2 var_15;
  char var_21;
  type_3 *puVar3;
  int var_2;
  int var_6;
  type_4 uVar6;
  char *var_11;
  type_5 **var_12;
  type_1 *db_00;
  int *piVar9;
  int var_5;
  int *piVar11;
  int var_9;
  int iVar13;
  type_5 *psVar14;
  int *var_7;
  type_4 *var_20;
  type_3 *var_4;
  type_6 *pcVar17;
  type_5 *psVar18;
  type_7 var_18;
  type_5 **var_10;
  int var_14;
  type_5 *var_16;
  int aiStack_98 [4];
  int iStack_88;
  int *apiStack_84 [3];
  type_5 **ppsStack_78;
  int *piStack_74;
  int *piStack_70;
  int *piStack_6c;
  int *piStack_68;
  int var_22;
  type_3 *puStack_60;
  int *piStack_5c;
  int *piVar21;
  type_4 *puStack_24;
  type_5 *pStmt;
  type_1 *var_3;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  var_10 = &pStmt;
  var_5 = -1;
  piVar21 = (int *)0x0;
  pStmt = (type_5 *)0x0;
  var_3 = *(type_1 **)PTR___stack_chk_guard_0015ba2c;
  var_2 = var_1(db,var_8,-1,var_10,(char **)0x0);
  if (var_2 == 0) {
    var_2 = (*(type_6 *)PTR_sqlite3_step_0015b630)(pStmt);
    if (var_2 == 100) {
      var_8 = (char *)0x0;
      var_2 = (*(type_6 *)PTR_sqlite3_column_int_0015b644)(pStmt);
      *piVal = var_2;
    }
    var_2 = (*(type_6 *)PTR_sqlite3_finalize_0015b63c)(pStmt);
  }
  if (var_3 == *(type_1 **)puVar3) {
    return var_2;
  }
  db_00 = var_3;
  var_4 = PTR___stack_chk_fail_0015ba10;
  (*(type_6 *)PTR___stack_chk_fail_0015ba10)();
  puStack_60 = puVar3;
  piVar11 = *(int **)(var_4 + 0x5162c);
  var_22 = *piVar11;
  aiStack_98[3] = *(int *)(var_4 + 0x511fc) + -0x3350;
  aiStack_98[0] = 0;
  aiStack_98[1] = *(int *)(var_4 + 0x511fc) + -0x33a0;
  aiStack_98[2] = *(int *)(var_4 + 0x511fc) + -0x3374;
  iStack_88 = *(int *)(var_4 + 0x511fc) + -0x332c;
  piStack_5c = piVal;
  if (0x67 < var_5) {
    var_14 = 1;
    uVar6 = (**(type_6 **)(var_4 + 0x51228))(*(int *)(var_4 + 0x511e8) + 0x71f4);
    *puStack_24 = uVar6;
    goto LAB_0010a8f0;
  }
  (**(type_6 **)(var_4 + 0x514bc))();
  var_2 = (**(type_6 **)(var_4 + 0x515c4))(var_10[1]);
  var_6 = (**(type_6 **)(var_4 + 0x515c4))(var_10[2]);
  var_9 = var_2 + var_6 + 0x1fa;
  var_7 = (int *)(**(type_6 **)(var_4 + 0x51360))(0,var_9);
  if (var_7 == (int *)0x0) {
    var_14 = 7;
    goto LAB_0010a8f0;
  }
  (**(type_6 **)(var_4 + 0x515b4))(var_7,0,var_9);
  var_7[10] = 1;
  piVar9 = var_7 + 0x7e;
  iVar13 = (int)piVar9 + var_2 + 1;
  var_7[8] = (int)piVar9;
  var_9 = *(int *)(var_4 + 0x511d8);
  pcVar17 = *(type_6 **)(var_4 + 0x51630);
  *(bool *)((int)var_7 + 0x16) = var_8 != (char *)0x0;
  var_7[9] = iVar13;
  *var_7 = var_9 + -0x4cd8;
  (*pcVar17)(piVar9,var_10[1],var_2);
  (**(type_6 **)(var_4 + 0x51630))(iVar13,var_10[2],var_6);
  uVar6 = (**(type_6 **)(var_4 + 0x51420))(db_00);
  (**(type_6 **)(var_4 + 0x51410))(uVar6,*(int *)(var_4 + 0x511fc) + -0x3304,var_10[3]);
  if (4 < var_5) {
    var_6 = *(int *)(var_4 + 0x511e8);
    var_2 = 4;
    var_12 = var_10 + 4;
    do {
      while (**var_12 != (type_5)0x2b) {
        pcVar17 = *(type_6 **)(var_4 + 0x51410);
        if (*(char *)((int)var_7 + 0x19) != '\0') {
          (*pcVar17)(uVar6,*(int *)(var_4 + 0x511fc) + -0x32f0);
          var_11 = (char *)(**(type_6 **)(var_4 + 0x51428))(uVar6);
          if (var_11 == (char *)0x0) goto LAB_0010a9c0;
          if (var_2 < var_5) {
            var_14 = 1;
            uVar6 = (**(type_6 **)(var_4 + 0x51228))(*(int *)(var_4 + 0x511e8) + 0x71f4,iStack_88)
            ;
            pcVar17 = *(type_6 **)(var_4 + 0x51220);
            *puStack_24 = uVar6;
            (*pcVar17)(var_11);
            goto LAB_0010a998;
          }
          goto LAB_0010a66c;
        }
        var_2 = var_2 + 1;
        *(char *)((int)var_7 + 0x15) = *(char *)((int)var_7 + 0x15) + '\x01';
        (*pcVar17)(uVar6,var_6 + 0x59ec,*var_12);
        var_12 = var_12 + 1;
        if (var_5 == var_2) goto LAB_0010a63c;
      }
      pcVar17 = *(type_6 **)(var_4 + 0x51410);
      var_2 = var_2 + 1;
      *(char *)((int)var_7 + 0x19) = *(char *)((int)var_7 + 0x19) + '\x01';
      (*pcVar17)(uVar6,var_6 + 0x59ec,*var_12 + 1);
      var_12 = var_12 + 1;
    } while (var_5 != var_2);
  }
LAB_0010a63c:
  (**(type_6 **)(var_4 + 0x51410))(uVar6,*(int *)(var_4 + 0x511fc) + -0x32f0);
  var_11 = (char *)(**(type_6 **)(var_4 + 0x51428))(uVar6);
  if (var_11 == (char *)0x0) {
LAB_0010a9c0:
    var_14 = 7;
    (**(type_6 **)(var_4 + 0x51220))(0);
    goto LAB_0010a998;
  }
LAB_0010a66c:
  var_14 = var_13(db_00,var_11);
  if (var_14 != 0) {
    uVar6 = (**(type_6 **)(var_4 + 0x51224))(db_00);
    uVar6 = (**(type_6 **)(var_4 + 0x51228))(*(int *)(var_4 + 0x511e8) + 0x71f4,uVar6);
    pcVar17 = *(type_6 **)(var_4 + 0x51220);
    *puStack_24 = uVar6;
    (*pcVar17)(var_11);
    goto LAB_0010a998;
  }
  (**(type_6 **)(var_4 + 0x51220))(var_11);
  var_15 = *(type_2 *)((int)var_7 + 0x15);
  *(type_2 *)(var_7 + 5) = var_15 >> 1;
  if (var_15 < 2) {
    var_2 = 2;
LAB_0010a9e4:
    var_14 = 1;
    uVar6 = (**(type_6 **)(var_4 + 0x51228))(*(int *)(var_4 + 0x511e8) + 0x71f4,aiStack_98[var_2])
    ;
    *puStack_24 = uVar6;
    goto LAB_0010a998;
  }
  if (10 < var_15) {
    var_2 = 3;
    goto LAB_0010a9e4;
  }
  if ((var_15 & 1) != 0) {
    var_2 = 1;
    goto LAB_0010a9e4;
  }
  *(type_2 *)((int)var_7 + 0x17) = (var_15 + 2) * '\x04';
  var_16 = (type_5 *)0x0;
  var_11 = (char *)(**(type_6 **)(var_4 + 0x51228))
                             (*(int *)(var_4 + 0x511fc) + -0x33d4,var_7[8]);
  if (var_11 == (char *)0x0) {
    var_14 = 7;
LAB_0010ac60:
    uVar6 = (**(type_6 **)(var_4 + 0x51224))(db_00);
    uVar6 = (**(type_6 **)(var_4 + 0x51228))(*(int *)(var_4 + 0x511e8) + 0x71f4,uVar6);
    pcVar17 = *(type_6 **)(var_4 + 0x51220);
    *puStack_24 = uVar6;
    (*pcVar17)(var_11);
    goto LAB_0010a998;
  }
  var_14 = function_1(db_00,var_11,(int *)&var_16);
  if (var_14 != 0) goto LAB_0010ac60;
  var_7[4] = (int)(var_16 + -0x40);
  var_2 = (type_9)*(type_2 *)((int)var_7 + 0x17) * 0x33 + 4;
  pcVar17 = *(type_6 **)(var_4 + 0x51220);
  if (var_2 < (int)(var_16 + -0x40)) {
    var_7[4] = var_2;
    (*pcVar17)(var_11);
  }
  else {
    (*pcVar17)(var_11);
  }
  psVar14 = var_10[1];
  pcVar17 = *(type_6 **)(var_4 + 0x51420);
  psVar18 = var_10[2];
  var_7[3] = (int)db_00;
  uVar6 = (*pcVar17)(db_00);
  (**(type_6 **)(var_4 + 0x51410))(uVar6,*(int *)(var_4 + 0x511fc) + -0x3124,psVar14,psVar18);
  if (*(char *)((int)var_7 + 0x19) != '\0') {
    var_5 = *(int *)(var_4 + 0x511fc);
    var_2 = 0;
    do {
      (**(type_6 **)(var_4 + 0x51410))(uVar6,var_5 + -0x328c,var_2);
      var_2 = var_2 + 1;
    } while (var_2 < (int)(type_9)*(type_2 *)((int)var_7 + 0x19));
  }
  (**(type_6 **)(var_4 + 0x51410))(uVar6,*(int *)(var_4 + 0x511fc) + -0x3284,psVar14,psVar18);
  (**(type_6 **)(var_4 + 0x51410))(uVar6,*(int *)(var_4 + 0x511fc) + -0x3244,psVar14,psVar18);
  (**(type_6 **)(var_4 + 0x51410))
            (uVar6,*(int *)(var_4 + 0x511fc) + -0x31fc,psVar14,psVar18,var_7[4]);
  var_2 = (**(type_6 **)(var_4 + 0x51428))(uVar6);
  if (var_2 != 0) {
    var_14 = (**(type_6 **)(var_4 + 0x51270))(db_00,var_2,0,0,0);
    (**(type_6 **)(var_4 + 0x51220))(var_2);
    if (var_14 != 0) goto LAB_0010ac28;
    apiStack_84[0] = var_7 + 0x14;
    apiStack_84[2] = var_7 + 0x16;
    apiStack_84[1] = var_7 + 0x15;
    ppsStack_78 = (type_5 **)(var_7 + 0x17);
    piStack_74 = var_7 + 0x18;
    piStack_70 = var_7 + 0x19;
    piStack_6c = var_7 + 0x1a;
    piStack_68 = var_7 + 0x1b;
    var_10 = (type_5 **)0x0;
    var_14 = var_17
                          (db_00,(char *)var_7[8],(char *)(*(int *)(var_4 + 0x511fc) + -0x65b0)
                           ,(char *)0x0,(char **)0x0,(char **)0x0,(int *)0x0,(int *)0x0,(int *)0x0);
    if (var_14 == 0) {
      var_11 = (char *)(**(type_6 **)(var_4 + 0x51228))
                                 (*(int *)(var_4 + 0x511fc) + -0x31c8,var_7[8],var_7[9]);
      if (var_11 == (char *)0x0) {
LAB_0010add8:
        var_14 = 7;
        var_12 = var_10;
      }
      else {
        var_10 = (type_5 **)0x0;
        var_14 = var_1(db_00,var_11,-1,&var_16,(char **)0x0);
        if (var_14 == 0) {
          var_2 = (**(type_6 **)(var_4 + 0x51230))(var_16);
          if (var_2 == 100) {
            var_18 = (**(type_6 **)(var_4 + 0x51250))(var_16,0);
            var_14 = (**(type_6 **)(var_4 + 0x5123c))(var_16);
            if (var_14 != 0) goto LAB_0010af48;
            if (var_18 != 0) {
              if ((var_18 < 0) ||
                 ((pcVar17 = *(type_6 **)(var_4 + 0x51220), (int)((type_8)var_18 >> 0x20) == 0 &&
                  ((type_9)var_18 < 100)))) {
                var_18 = 100;
                pcVar17 = *(type_6 **)(var_4 + 0x51220);
              }
              *(type_7 *)(var_7 + 0xc) = var_18;
              (*pcVar17)(var_11);
              goto LAB_0010ad1c;
            }
          }
          else {
            var_14 = (**(type_6 **)(var_4 + 0x5123c))(var_16);
            if (var_14 != 0) {
LAB_0010af48:
              pcVar17 = *(type_6 **)(var_4 + 0x51220);
              goto LAB_0010af4c;
            }
          }
LAB_0010acfc:
          pcVar17 = *(type_6 **)(var_4 + 0x51220);
          var_7[0xd] = 0x100000;
          var_7[0xc] = 0;
          (*pcVar17)(var_11);
          goto LAB_0010ad1c;
        }
        pcVar17 = *(type_6 **)(var_4 + 0x51220);
        if (var_14 != 7) goto LAB_0010acfc;
LAB_0010af4c:
        (*pcVar17)(var_11);
        var_12 = var_10;
      }
LAB_0010a7dc:
      var_21 = *(char *)((int)var_7 + 0x19);
    }
    else {
      var_7[0xd] = 0x100000;
      var_7[0xc] = 0;
      var_12 = var_10;
      if (var_14 != 1) goto LAB_0010a7dc;
LAB_0010ad1c:
      var_5 = 0;
      var_2 = *(int *)(var_4 + 0x511fc);
      var_20 = (type_4 *)(*(int *)(var_4 + 0x511d8) + -0x73a0);
      do {
        if (var_5 == 3) {
          if (*(char *)((int)var_7 + 0x19) == '\0') {
            var_11 = (char *)(**(type_6 **)(var_4 + 0x51228))(*var_20,psVar14);
            var_12 = ppsStack_78;
          }
          else {
            var_11 = (char *)(**(type_6 **)(var_4 + 0x51228))(var_2 + -0x30e4,psVar14,psVar18);
            var_12 = ppsStack_78;
          }
          ppsStack_78 = var_12;
          if (var_11 == (char *)0x0) goto LAB_0010adc8;
          var_14 = var_19(db_00,var_11,-1,5,var_12,(char **)0x0);
          (**(type_6 **)(var_4 + 0x51220))(var_11);
        }
        else {
          var_11 = (char *)(**(type_6 **)(var_4 + 0x51228))(*var_20,psVar14,psVar18);
          if (var_11 == (char *)0x0) {
LAB_0010adc8:
            (**(type_6 **)(var_4 + 0x51220))(0);
            goto LAB_0010add8;
          }
          var_12 = (type_5 **)apiStack_84[var_5];
          var_14 = var_19(db_00,var_11,-1,5,var_12,(char **)0x0);
          (**(type_6 **)(var_4 + 0x51220))(var_11);
          if (var_5 == 7) {
            var_2 = *(int *)(var_4 + 0x511fc);
            if (*(char *)((int)var_7 + 0x19) != '\0') goto LAB_0010a7ec;
            goto LAB_0010af0c;
          }
        }
        var_5 = var_5 + 1;
        var_20 = var_20 + 1;
        var_10 = var_12;
      } while (var_14 == 0);
      var_21 = *(char *)((int)var_7 + 0x19);
    }
    if (var_21 == '\0') goto LAB_0010ac28;
    var_2 = *(int *)(var_4 + 0x511fc);
LAB_0010a7ec:
    var_2 = (**(type_6 **)(var_4 + 0x51228))(var_2 + -0x3190,psVar14,psVar18);
    var_7[0x10] = var_2;
    if (var_2 != 0) {
      uVar6 = (**(type_6 **)(var_4 + 0x51420))(db_00);
      (**(type_6 **)(var_4 + 0x51410))(uVar6,*(int *)(var_4 + 0x511fc) + -0x3160,psVar14,psVar18);
      if (*(char *)((int)var_7 + 0x19) != '\0') {
        var_6 = *(int *)(var_4 + 0x511fc);
        var_5 = *(int *)(var_4 + 0x511fc);
        var_2 = *(int *)(var_4 + 0x511e8);
        var_10 = (type_5 **)0x0;
        while( true ) {
          if ((int)var_10 < (int)(type_9)*(type_2 *)((int)var_7 + 0x1a)) {
            var_12 = var_10;
            (**(type_6 **)(var_4 + 0x51410))
                      (uVar6,var_5 + -0x3144,var_10,(int)var_10 + 2,var_10);
          }
          else {
            (**(type_6 **)(var_4 + 0x51410))
                      (uVar6,var_6 + -0x312c,var_10,(int)var_10 + 2,var_12);
          }
          var_10 = (type_5 **)((int)var_10 + 1);
          if ((int)(type_9)*(type_2 *)((int)var_7 + 0x19) <= (int)var_10) break;
          (**(type_6 **)(var_4 + 0x513c0))(uVar6,var_2 + 0x5608,1);
        }
      }
      (**(type_6 **)(var_4 + 0x51410))(uVar6,*(int *)(var_4 + 0x511fc) + -0x300c);
      var_11 = (char *)(**(type_6 **)(var_4 + 0x51428))(uVar6);
      if (var_11 != (char *)0x0) {
        var_14 = var_19(db_00,var_11,-1,5,(type_5 **)(var_7 + 0x1c),
                                       (char **)0x0);
        (**(type_6 **)(var_4 + 0x51220))(var_11);
LAB_0010af0c:
        if (var_14 == 0) {
          *piVar21 = (int)var_7;
          goto LAB_0010a8f0;
        }
        goto LAB_0010ac28;
      }
    }
  }
  var_14 = 7;
LAB_0010ac28:
  while( true ) {
    uVar6 = (**(type_6 **)(var_4 + 0x51224))(db_00);
    uVar6 = (**(type_6 **)(var_4 + 0x51228))(*(int *)(var_4 + 0x511e8) + 0x71f4,uVar6);
    *puStack_24 = uVar6;
LAB_0010a998:
    var_2 = var_7[10];
    var_7[10] = var_2 + -1;
    if (var_2 + -1 == 0) {
      (*(type_6 *)(*(int *)(var_4 + 0x512f8) + 0x59d0))(var_7);
    }
LAB_0010a8f0:
    if (var_22 == *piVar11) break;
    var_14 = (**(type_6 **)(var_4 + 0x51610))();
  }
  return var_14;
}


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

/* WARNING: Removing unreachable block (ram,0x0010a6dc) */
/* WARNING: Removing unreachable block (ram,0x0010a6f8) */
/* WARNING: Removing unreachable block (ram,0x0010a71c) */
/* WARNING: Removing unreachable block (ram,0x0010af64) */
/* WARNING: Removing unreachable block (ram,0x0010a72c) */
/* WARNING: Restarted to delay deadcode elimination for space: stack */

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

{
  byte bVar1;
  char cVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined4 uVar7;
  int *piVar8;
  int iVar9;
  int *piVar10;
  int iVar11;
  int iVar12;
  undefined4 uVar13;
  int *unaff_s4;
  undefined4 *puVar14;
  undefined *puVar15;
  code *pcVar16;
  undefined4 uVar17;
  longlong lVar18;
  int *piVar19;
  int iStack_a8;
  int iStack_9c;
  int aiStack_98 [4];
  int iStack_88;
  int *apiStack_84 [4];
  int *piStack_74;
  int *piStack_70;
  int *piStack_6c;
  int *piStack_68;
  int iStack_64;
  undefined *puStack_60;
  undefined4 *puStack_5c;
  undefined4 *puStack_24;
  undefined4 local_18;
  int local_14;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  puVar14 = &local_18;
  iVar9 = -1;
  local_18 = 0;
  local_14 = *(int *)PTR___stack_chk_guard_0015ba2c;
  iVar4 = sqlite3_prepare_v2();
  if (iVar4 == 0) {
    iVar4 = (*(code *)PTR_sqlite3_step_0015b630)(local_18);
    if (iVar4 == 100) {
      param_2 = 0;
      uVar7 = (*(code *)PTR_sqlite3_column_int_0015b644)(local_18);
      *param_3 = uVar7;
    }
    iVar4 = (*(code *)PTR_sqlite3_finalize_0015b63c)(local_18);
  }
  if (local_14 == *(int *)puVar3) {
    return iVar4;
  }
  iVar4 = local_14;
  puVar15 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  puStack_60 = puVar3;
  piVar10 = *(int **)(puVar15 + 0x5162c);
  iStack_64 = *piVar10;
  aiStack_98[3] = *(int *)(puVar15 + 0x511fc) + -0x3350;
  aiStack_98[0] = 0;
  aiStack_98[1] = *(int *)(puVar15 + 0x511fc) + -0x33a0;
  aiStack_98[2] = *(int *)(puVar15 + 0x511fc) + -0x3374;
  iStack_88 = *(int *)(puVar15 + 0x511fc) + -0x332c;
  puStack_5c = param_3;
  if (0x67 < iVar9) {
    iStack_a8 = 1;
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4);
    *puStack_24 = uVar7;
    piVar19 = piRam00000000;
    goto LAB_0010a8f0;
  }
  (**(code **)(puVar15 + 0x514bc))();
  iVar5 = (**(code **)(puVar15 + 0x515c4))(puVar14[1]);
  iVar6 = (**(code **)(puVar15 + 0x515c4))(puVar14[2]);
  iVar11 = iVar5 + iVar6 + 0x1fa;
  unaff_s4 = (int *)(**(code **)(puVar15 + 0x51360))(0,iVar11);
  if (unaff_s4 == (int *)0x0) {
    iStack_a8 = 7;
    piVar19 = piRam00000000;
    goto LAB_0010a8f0;
  }
  (**(code **)(puVar15 + 0x515b4))(unaff_s4,0,iVar11);
  unaff_s4[10] = 1;
  piVar19 = unaff_s4 + 0x7e;
  iVar12 = (int)piVar19 + iVar5 + 1;
  unaff_s4[8] = (int)piVar19;
  iVar11 = *(int *)(puVar15 + 0x511d8);
  pcVar16 = *(code **)(puVar15 + 0x51630);
  *(bool *)((int)unaff_s4 + 0x16) = param_2 != 0;
  unaff_s4[9] = iVar12;
  *unaff_s4 = iVar11 + -0x4cd8;
  (*pcVar16)(piVar19,puVar14[1],iVar5);
  (**(code **)(puVar15 + 0x51630))(iVar12,puVar14[2],iVar6);
  uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3304,puVar14[3]);
  if (4 < iVar9) {
    iVar6 = *(int *)(puVar15 + 0x511e8);
    iVar5 = 4;
    piVar19 = puVar14 + 4;
    do {
      while (*(char *)*piVar19 != '+') {
        pcVar16 = *(code **)(puVar15 + 0x51410);
        if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
          (*pcVar16)(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);
          iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);
          if (iVar6 == 0) goto LAB_0010a9c0;
          if (iVar5 < iVar9) {
            iStack_a8 = 1;
            uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,iStack_88)
            ;
            pcVar16 = *(code **)(puVar15 + 0x51220);
            *puStack_24 = uVar7;
            (*pcVar16)(iVar6);
            goto LAB_0010a998;
          }
          goto LAB_0010a66c;
        }
        iVar5 = iVar5 + 1;
        *(char *)((int)unaff_s4 + 0x15) = *(char *)((int)unaff_s4 + 0x15) + '\x01';
        (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19);
        piVar19 = piVar19 + 1;
        if (iVar9 == iVar5) goto LAB_0010a63c;
      }
      pcVar16 = *(code **)(puVar15 + 0x51410);
      iVar5 = iVar5 + 1;
      *(char *)((int)unaff_s4 + 0x19) = *(char *)((int)unaff_s4 + 0x19) + '\x01';
      (*pcVar16)(uVar7,iVar6 + 0x59ec,*piVar19 + 1);
      piVar19 = piVar19 + 1;
    } while (iVar9 != iVar5);
  }
LAB_0010a63c:
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x32f0);
  iVar6 = (**(code **)(puVar15 + 0x51428))(uVar7);
  if (iVar6 == 0) {
LAB_0010a9c0:
    iStack_a8 = 7;
    (**(code **)(puVar15 + 0x51220))(0);
    goto LAB_0010a998;
  }
LAB_0010a66c:
  iStack_a8 = sqlite3_declare_vtab(iVar4,iVar6);
  if (iStack_a8 != 0) {
    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);
    pcVar16 = *(code **)(puVar15 + 0x51220);
    *puStack_24 = uVar7;
    (*pcVar16)(iVar6);
    goto LAB_0010a998;
  }
  (**(code **)(puVar15 + 0x51220))(iVar6);
  bVar1 = *(byte *)((int)unaff_s4 + 0x15);
  *(byte *)(unaff_s4 + 5) = bVar1 >> 1;
  if (bVar1 < 2) {
    iVar9 = 2;
LAB_0010a9e4:
    iStack_a8 = 1;
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,aiStack_98[iVar9])
    ;
    *puStack_24 = uVar7;
    goto LAB_0010a998;
  }
  if (10 < bVar1) {
    iVar9 = 3;
    goto LAB_0010a9e4;
  }
  if ((bVar1 & 1) != 0) {
    iVar9 = 1;
    goto LAB_0010a9e4;
  }
  *(byte *)((int)unaff_s4 + 0x17) = (bVar1 + 2) * '\x04';
  iStack_9c = 0;
  iVar9 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511fc) + -0x33d4,unaff_s4[8]);
  if (iVar9 == 0) {
    iStack_a8 = 7;
LAB_0010ac60:
    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);
    pcVar16 = *(code **)(puVar15 + 0x51220);
    *puStack_24 = uVar7;
    (*pcVar16)(iVar9);
    goto LAB_0010a998;
  }
  iStack_a8 = MASKED(iVar4,iVar9,&iStack_9c);
  if (iStack_a8 != 0) goto LAB_0010ac60;
  unaff_s4[4] = iStack_9c + -0x40;
  iVar5 = (uint)*(byte *)((int)unaff_s4 + 0x17) * 0x33 + 4;
  pcVar16 = *(code **)(puVar15 + 0x51220);
  if (iVar5 < iStack_9c + -0x40) {
    unaff_s4[4] = iVar5;
    (*pcVar16)(iVar9);
  }
  else {
    (*pcVar16)(iVar9);
  }
  uVar13 = puVar14[1];
  pcVar16 = *(code **)(puVar15 + 0x51420);
  uVar17 = puVar14[2];
  unaff_s4[3] = iVar4;
  uVar7 = (*pcVar16)(iVar4);
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3124,uVar13,uVar17);
  if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
    iVar5 = *(int *)(puVar15 + 0x511fc);
    iVar9 = 0;
    do {
      (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x328c,iVar9);
      iVar9 = iVar9 + 1;
    } while (iVar9 < (int)(uint)*(byte *)((int)unaff_s4 + 0x19));
  }
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3284,uVar13,uVar17);
  (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3244,uVar13,uVar17);
  (**(code **)(puVar15 + 0x51410))
            (uVar7,*(int *)(puVar15 + 0x511fc) + -0x31fc,uVar13,uVar17,unaff_s4[4]);
  iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);
  if (iVar9 != 0) {
    iStack_a8 = (**(code **)(puVar15 + 0x51270))(iVar4,iVar9,0,0,0);
    (**(code **)(puVar15 + 0x51220))(iVar9);
    if (iStack_a8 != 0) goto LAB_0010ac28;
    apiStack_84[0] = unaff_s4 + 0x14;
    apiStack_84[2] = unaff_s4 + 0x16;
    apiStack_84[1] = unaff_s4 + 0x15;
    apiStack_84[3] = unaff_s4 + 0x17;
    piStack_74 = unaff_s4 + 0x18;
    piStack_70 = unaff_s4 + 0x19;
    piStack_6c = unaff_s4 + 0x1a;
    piStack_68 = unaff_s4 + 0x1b;
    piVar19 = (int *)0x0;
    iStack_a8 = sqlite3_table_column_metadata
                          (iVar4,unaff_s4[8],*(int *)(puVar15 + 0x511fc) + -0x65b0,0,0,0,0,0,0);
    if (iStack_a8 == 0) {
      iVar9 = (**(code **)(puVar15 + 0x51228))
                        (*(int *)(puVar15 + 0x511fc) + -0x31c8,unaff_s4[8],unaff_s4[9]);
      if (iVar9 == 0) {
LAB_0010add8:
        iStack_a8 = 7;
        piVar8 = piVar19;
      }
      else {
        piVar19 = (int *)0x0;
        iStack_a8 = sqlite3_prepare_v2(iVar4,iVar9,0xffffffff,&iStack_9c,0);
        if (iStack_a8 == 0) {
          iVar5 = (**(code **)(puVar15 + 0x51230))(iStack_9c);
          if (iVar5 == 100) {
            lVar18 = (**(code **)(puVar15 + 0x51250))(iStack_9c,0);
            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);
            if (iStack_a8 != 0) goto LAB_0010af48;
            if (lVar18 != 0) {
              if ((lVar18 < 0) ||
                 ((pcVar16 = *(code **)(puVar15 + 0x51220), (int)((ulonglong)lVar18 >> 0x20) == 0 &&
                  ((uint)lVar18 < 100)))) {
                lVar18 = 100;
                pcVar16 = *(code **)(puVar15 + 0x51220);
              }
              *(longlong *)(unaff_s4 + 0xc) = lVar18;
              (*pcVar16)(iVar9);
              goto LAB_0010ad1c;
            }
          }
          else {
            iStack_a8 = (**(code **)(puVar15 + 0x5123c))(iStack_9c);
            if (iStack_a8 != 0) {
LAB_0010af48:
              pcVar16 = *(code **)(puVar15 + 0x51220);
              goto LAB_0010af4c;
            }
          }
LAB_0010acfc:
          pcVar16 = *(code **)(puVar15 + 0x51220);
          unaff_s4[0xd] = 0x100000;
          unaff_s4[0xc] = 0;
          (*pcVar16)(iVar9);
          goto LAB_0010ad1c;
        }
        pcVar16 = *(code **)(puVar15 + 0x51220);
        if (iStack_a8 != 7) goto LAB_0010acfc;
LAB_0010af4c:
        (*pcVar16)(iVar9);
        piVar8 = piVar19;
      }
LAB_0010a7dc:
      cVar2 = *(char *)((int)unaff_s4 + 0x19);
    }
    else {
      unaff_s4[0xd] = 0x100000;
      unaff_s4[0xc] = 0;
      piVar8 = piVar19;
      if (iStack_a8 != 1) goto LAB_0010a7dc;
LAB_0010ad1c:
      iVar5 = 0;
      iVar9 = *(int *)(puVar15 + 0x511fc);
      puVar14 = (undefined4 *)(*(int *)(puVar15 + 0x511d8) + -0x73a0);
      do {
        if (iVar5 == 3) {
          if (*(char *)((int)unaff_s4 + 0x19) == '\0') {
            iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13);
            piVar8 = apiStack_84[3];
          }
          else {
            iVar6 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x30e4,uVar13,uVar17);
            piVar8 = apiStack_84[3];
          }
          apiStack_84[3] = piVar8;
          if (iVar6 == 0) goto LAB_0010adc8;
          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);
          (**(code **)(puVar15 + 0x51220))(iVar6);
        }
        else {
          iVar6 = (**(code **)(puVar15 + 0x51228))(*puVar14,uVar13,uVar17);
          if (iVar6 == 0) {
LAB_0010adc8:
            (**(code **)(puVar15 + 0x51220))(0);
            goto LAB_0010add8;
          }
          piVar8 = apiStack_84[iVar5];
          iStack_a8 = sqlite3_prepare_v3(iVar4,iVar6,0xffffffff,5,piVar8,0);
          (**(code **)(puVar15 + 0x51220))(iVar6);
          if (iVar5 == 7) {
            iVar9 = *(int *)(puVar15 + 0x511fc);
            if (*(char *)((int)unaff_s4 + 0x19) != '\0') goto LAB_0010a7ec;
            goto LAB_0010af0c;
          }
        }
        iVar5 = iVar5 + 1;
        puVar14 = puVar14 + 1;
        piVar19 = piVar8;
      } while (iStack_a8 == 0);
      cVar2 = *(char *)((int)unaff_s4 + 0x19);
    }
    if (cVar2 == '\0') goto LAB_0010ac28;
    iVar9 = *(int *)(puVar15 + 0x511fc);
LAB_0010a7ec:
    iVar9 = (**(code **)(puVar15 + 0x51228))(iVar9 + -0x3190,uVar13,uVar17);
    unaff_s4[0x10] = iVar9;
    if (iVar9 != 0) {
      uVar7 = (**(code **)(puVar15 + 0x51420))(iVar4);
      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x3160,uVar13,uVar17);
      if (*(char *)((int)unaff_s4 + 0x19) != '\0') {
        iVar6 = *(int *)(puVar15 + 0x511fc);
        iVar5 = *(int *)(puVar15 + 0x511fc);
        iVar9 = *(int *)(puVar15 + 0x511e8);
        piVar19 = (int *)0x0;
        while( true ) {
          if ((int)piVar19 < (int)(uint)*(byte *)((int)unaff_s4 + 0x1a)) {
            piVar8 = piVar19;
            (**(code **)(puVar15 + 0x51410))(uVar7,iVar5 + -0x3144,piVar19,(int)piVar19 + 2,piVar19)
            ;
          }
          else {
            (**(code **)(puVar15 + 0x51410))(uVar7,iVar6 + -0x312c,piVar19,(int)piVar19 + 2,piVar8);
          }
          piVar19 = (int *)((int)piVar19 + 1);
          if ((int)(uint)*(byte *)((int)unaff_s4 + 0x19) <= (int)piVar19) break;
          (**(code **)(puVar15 + 0x513c0))(uVar7,iVar9 + 0x5608,1);
        }
      }
      (**(code **)(puVar15 + 0x51410))(uVar7,*(int *)(puVar15 + 0x511fc) + -0x300c);
      iVar9 = (**(code **)(puVar15 + 0x51428))(uVar7);
      if (iVar9 != 0) {
        iStack_a8 = sqlite3_prepare_v3(iVar4,iVar9,0xffffffff,5,unaff_s4 + 0x1c,0);
        (**(code **)(puVar15 + 0x51220))(iVar9);
LAB_0010af0c:
        piVar19 = unaff_s4;
        if (iStack_a8 == 0) goto LAB_0010a8f0;
        goto LAB_0010ac28;
      }
    }
  }
  iStack_a8 = 7;
LAB_0010ac28:
  while( true ) {
    uVar7 = (**(code **)(puVar15 + 0x51224))(iVar4);
    uVar7 = (**(code **)(puVar15 + 0x51228))(*(int *)(puVar15 + 0x511e8) + 0x71f4,uVar7);
    *puStack_24 = uVar7;
LAB_0010a998:
    iVar9 = unaff_s4[10];
    unaff_s4[10] = iVar9 + -1;
    piVar19 = piRam00000000;
    if (iVar9 + -1 == 0) {
      (*(code *)(*(int *)(puVar15 + 0x512f8) + 0x59d0))(unaff_s4);
      piVar19 = piRam00000000;
    }
LAB_0010a8f0:
    piRam00000000 = piVar19;
    if (iStack_64 == *piVar10) break;
    iStack_a8 = (**(code **)(puVar15 + 0x51610))();
  }
  return iStack_a8;
}

