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

Table * __regparm3 sqlite3FindTable(sqlite3 *db,char *zName,char *zDatabase)

{
  uint uVar1;
  HashElem *pHVar2;
  Table *pTVar3;
  int iVar4;
  Schema *pSVar5;
  byte *pbVar6;
  int iVar7;
  byte *local_38;
  Db *local_30;
  int local_28;
  
  if (zDatabase != (char *)0x0) {
    iVar4 = db->nDb;
    if (0 < iVar4) {
      local_30 = db->aDb;
      iVar7 = 0;
LAB_00025898:
      local_28 = iVar7 << 4;
      pbVar6 = (byte *)local_30->zDbSName;
      local_38 = (byte *)zDatabase;
      do {
        uVar1 = (uint)*local_38;
        if (uVar1 == *pbVar6) {
          if (uVar1 == 0) {
            if (iVar7 < iVar4) goto LAB_000258e9;
            break;
          }
        }
        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;
        local_38 = local_38 + 1;
        pbVar6 = pbVar6 + 1;
      } while( true );
    }
LAB_00025928:
    iVar4 = 0;
    do {
      uVar1 = (uint)(byte)zDatabase[iVar4];
      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {
        if (uVar1 == 0) goto code_r0x00025958;
      }
      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {
        return (Table *)0x0;
      }
      iVar4 = iVar4 + 1;
    } while( true );
  }
  pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,zName,(uint *)0x0);
  pTVar3 = (Table *)pHVar2->data;
  if (pTVar3 == (Table *)0x0) {
    pHVar2 = findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0);
    pTVar3 = (Table *)pHVar2->data;
    if (pTVar3 == (Table *)0x0) {
      if (2 < db->nDb) {
        iVar4 = 2;
        do {
          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);
          if ((Table *)pHVar2->data != (Table *)0x0) {
            return (Table *)pHVar2->data;
          }
          iVar4 = iVar4 + 1;
        } while (iVar4 < db->nDb);
      }
      iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);
      iVar7 = 7;
      if (iVar4 != 0) {
        return (Table *)0x0;
      }
      do {
        uVar1 = (uint)(byte)zName[iVar7];
        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {
          if (uVar1 == 0) goto code_r0x00025a5e;
        }
        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {
          iVar4 = 7;
          do {
            uVar1 = (uint)(byte)zName[iVar4];
            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {
              if (uVar1 == 0) {
LAB_00025b27:
                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",
                                             (uint *)0x0);
                return (Table *)pHVar2->data;
              }
            }
            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {
              return (Table *)0x0;
            }
            iVar4 = iVar4 + 1;
          } while( true );
        }
        iVar7 = iVar7 + 1;
      } while( true );
    }
  }
  return pTVar3;
LAB_00025918:
  iVar7 = iVar7 + 1;
  local_30 = local_30 + 1;
  if (iVar7 == iVar4) goto LAB_00025928;
  goto LAB_00025898;
code_r0x00025958:
  local_28 = 0;
  local_30 = db->aDb;
  iVar7 = 0;
LAB_000258e9:
  pHVar2 = findElementWithHash(&local_30->pSchema->tblHash,zName,(uint *)0x0);
  if ((Table *)pHVar2->data != (Table *)0x0) {
    return (Table *)pHVar2->data;
  }
  iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);
  if (iVar4 != 0) {
    return (Table *)0x0;
  }
  iVar4 = 7;
  if (iVar7 == 1) {
    do {
      uVar1 = (uint)(byte)zName[iVar4];
      if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {
        if (uVar1 == 0) goto LAB_00025b27;
      }
      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {
        iVar4 = 7;
        goto LAB_00025b6c;
      }
      iVar4 = iVar4 + 1;
    } while( true );
  }
  do {
    uVar1 = (uint)(byte)zName[iVar4];
    if (uVar1 == (byte)"sqlite_schema"[iVar4]) {
      if (uVar1 == 0) goto code_r0x00025acc;
    }
    else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {
      return (Table *)0x0;
    }
    iVar4 = iVar4 + 1;
  } while( true );
LAB_00025b6c:
  uVar1 = (uint)(byte)zName[iVar4];
  if (uVar1 == (byte)"sqlite_schema"[iVar4]) {
    if (uVar1 == 0) goto LAB_00025b27;
  }
  else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {
    iVar4 = 7;
    goto LAB_00025b9f;
  }
  iVar4 = iVar4 + 1;
  goto LAB_00025b6c;
LAB_00025b9f:
  uVar1 = (uint)(byte)zName[iVar4];
  if (uVar1 == (byte)"sqlite_master"[iVar4]) {
    if (uVar1 == 0) goto LAB_00025b27;
  }
  else if (""[uVar1] != ""[(byte)"sqlite_master"[iVar4]]) {
    return (Table *)0x0;
  }
  iVar4 = iVar4 + 1;
  goto LAB_00025b9f;
code_r0x00025acc:
  pSVar5 = *(Schema **)((int)&db->aDb->pSchema + local_28);
  goto LAB_00025adb;
code_r0x00025a5e:
  pSVar5 = db->aDb->pSchema;
LAB_00025adb:
  pHVar2 = findElementWithHash(&pSVar5->tblHash,"sqlite_master",(uint *)0x0);
  return (Table *)pHVar2->data;
}



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

int __regparm3 FUN_00025850(int param_1,int param_2,byte *param_3)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  undefined4 *puVar4;
  int iVar5;
  byte *local_38;
  
  if (param_3 != (byte *)0x0) {
    iVar2 = *(int *)(param_1 + 0x14);
    if (0 < iVar2) {
      puVar4 = *(undefined4 **)(param_1 + 0x10);
      iVar5 = 0;
LAB_00025898:
      pbVar3 = (byte *)*puVar4;
      local_38 = param_3;
      do {
        uVar1 = (uint)*local_38;
        if (uVar1 == *pbVar3) {
          if (uVar1 == 0) {
            if (iVar5 < iVar2) goto LAB_000258e9;
            break;
          }
        }
        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;
        local_38 = local_38 + 1;
        pbVar3 = pbVar3 + 1;
      } while( true );
    }
LAB_00025928:
    iVar2 = 0;
    do {
      uVar1 = (uint)param_3[iVar2];
      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {
        if (uVar1 == 0) goto code_r0x00025958;
      }
      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {
        return 0;
      }
      iVar2 = iVar2 + 1;
    } while( true );
  }
  iVar2 = FUN_0001e430();
  iVar2 = *(int *)(iVar2 + 8);
  if (iVar2 == 0) {
    iVar2 = FUN_0001e430();
    iVar2 = *(int *)(iVar2 + 8);
    if (iVar2 == 0) {
      if (2 < *(int *)(param_1 + 0x14)) {
        iVar2 = 2;
        do {
          iVar5 = FUN_0001e430();
          if (*(int *)(iVar5 + 8) != 0) {
            return *(int *)(iVar5 + 8);
          }
          iVar2 = iVar2 + 1;
        } while (iVar2 < *(int *)(param_1 + 0x14));
      }
      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);
      iVar5 = 7;
      if (iVar2 != 0) {
        return 0;
      }
      do {
        uVar1 = (uint)*(byte *)(param_2 + iVar5);
        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {
          if (uVar1 == 0) {
LAB_00025adb:
            iVar2 = FUN_0001e430();
            return *(int *)(iVar2 + 8);
          }
        }
        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {
          iVar2 = 7;
          do {
            uVar1 = (uint)*(byte *)(param_2 + iVar2);
            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {
              if (uVar1 == 0) {
LAB_00025b27:
                iVar2 = FUN_0001e430();
                return *(int *)(iVar2 + 8);
              }
            }
            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {
              return 0;
            }
            iVar2 = iVar2 + 1;
          } while( true );
        }
        iVar5 = iVar5 + 1;
      } while( true );
    }
  }
  return iVar2;
LAB_00025918:
  iVar5 = iVar5 + 1;
  puVar4 = puVar4 + 4;
  if (iVar5 == iVar2) goto LAB_00025928;
  goto LAB_00025898;
code_r0x00025958:
  iVar5 = 0;
LAB_000258e9:
  iVar2 = FUN_0001e430();
  if (*(int *)(iVar2 + 8) != 0) {
    return *(int *)(iVar2 + 8);
  }
  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);
  if (iVar2 != 0) {
    return 0;
  }
  iVar2 = 7;
  if (iVar5 == 1) {
    do {
      uVar1 = (uint)*(byte *)(param_2 + iVar2);
      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {
        if (uVar1 == 0) goto LAB_00025b27;
      }
      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {
        iVar2 = 7;
        goto LAB_00025b6c;
      }
      iVar2 = iVar2 + 1;
    } while( true );
  }
  do {
    uVar1 = (uint)*(byte *)(param_2 + iVar2);
    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {
      if (uVar1 == 0) goto LAB_00025adb;
    }
    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {
      return 0;
    }
    iVar2 = iVar2 + 1;
  } while( true );
LAB_00025b6c:
  uVar1 = (uint)*(byte *)(param_2 + iVar2);
  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {
    if (uVar1 == 0) goto LAB_00025b27;
  }
  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {
    iVar2 = 7;
    goto LAB_00025b9f;
  }
  iVar2 = iVar2 + 1;
  goto LAB_00025b6c;
LAB_00025b9f:
  uVar1 = (uint)*(byte *)(param_2 + iVar2);
  if (uVar1 == (byte)"sqlite_master"[iVar2]) {
    if (uVar1 == 0) goto LAB_00025b27;
  }
  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {
    return 0;
  }
  iVar2 = iVar2 + 1;
  goto LAB_00025b9f;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001d810
ADD EBX,0xb87a7
SUB ESP,0x2c
TEST ECX,ECX
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x1c],EDX
MOV dword ptr [ESP + 0x8],ECX
JZ 0x0002597a
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX + 0x14]
TEST EAX,EAX
MOV dword ptr [ESP + 0x10],EAX
JLE 0x00025928
MOV EAX,dword ptr [ESP + 0x18]
XOR ESI,ESI
MOV EBP,dword ptr [EAX + 0x10]
LEA ESI,[ESI]
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,ESI
MOV dword ptr [ESP + 0xc],EBP
SHL EAX,0x4
MOV ECX,dword ptr [EBP]
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x4],EDX
JMP 0x000258d1
MOVZX EDX,byte ptr [EBX + EDI*0x1 + 0xfffd7080]
CMP byte ptr [EBX + EAX*0x1 + 0xfffd7080],DL
JNZ 0x00025918
ADD dword ptr [ESP + 0x4],0x1
ADD ECX,0x1
MOV EAX,dword ptr [ESP + 0x4]
MOVZX EDI,byte ptr [ECX]
MOVZX EAX,byte ptr [EAX]
CMP EAX,EDI
JNZ 0x000258b8
TEST EAX,EAX
JNZ 0x000258c9
CMP dword ptr [ESP + 0x10],ESI
JLE 0x00025928
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x1c]
XOR ECX,ECX
MOV EAX,dword ptr [EAX + 0xc]
ADD EAX,0x8
CALL 0x0001e430
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x00025a70
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESI,0x1
ADD EBP,0x10
CMP ESI,dword ptr [ESP + 0x10]
JNZ 0x00025898
XOR EAX,EAX
MOV ECX,dword ptr [ESP + 0x8]
JMP 0x00025944
MOVZX EDX,byte ptr [EBX + EDX*0x1 + 0xfffd7080]
CMP byte ptr [EBX + ESI*0x1 + 0xfffd7080],DL
JNZ 0x00025970
ADD EAX,0x1
MOVZX ESI,byte ptr [ECX + EAX*0x1]
MOVZX EDX,byte ptr [EAX + EBX*0x1 + 0xfffcbef3]
CMP ESI,EDX
JNZ 0x00025930
TEST ESI,ESI
JNZ 0x00025941
MOV EAX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x14],0x0
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x000258e9
ADD ESP,0x2c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
XOR ECX,ECX
MOV EAX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x1c]
ADD EAX,0x8
CALL 0x0001e430
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x00025909
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
XOR ECX,ECX
MOV EAX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0xc]
ADD EAX,0x8
CALL 0x0001e430
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x00025909
MOV EDI,dword ptr [ESP + 0x18]
CMP dword ptr [EDI + 0x14],0x2
JLE 0x000259fb
MOV ESI,0x2
MOV EAX,ESI
MOV EDX,dword ptr [ESP + 0x1c]
XOR ECX,ECX
SHL EAX,0x4
ADD EAX,dword ptr [EDI + 0x10]
MOV EAX,dword ptr [EAX + 0xc]
ADD EAX,0x8
CALL 0x0001e430
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x00025909
ADD ESI,0x1
CMP dword ptr [EDI + 0x14],ESI
JG 0x000259cf
LEA EAX,[EBX + 0xfffcbf08]
SUB ESP,0x4
PUSH 0x7
PUSH EAX
PUSH dword ptr [ESP + 0x28]
CALL 0x00016c20
ADD ESP,0x10
TEST EAX,EAX
MOV EDX,0x7
JZ 0x00025a46
JMP 0x00025970
MOVZX ECX,byte ptr [EBX + ESI*0x1 + 0xfffd7080]
LEA EDI,[EBX + 0xfffd7080]
CMP byte ptr [EBX + EAX*0x1 + 0xfffd7080],CL
JNZ 0x00025bb8
ADD EDX,0x1
MOV EAX,dword ptr [ESP + 0x1c]
MOVZX ESI,byte ptr [EDX + EBX*0x1 + 0xfffcbf23]
MOVZX EAX,byte ptr [EAX + EDX*0x1]
CMP EAX,ESI
JNZ 0x00025a28
TEST EAX,EAX
JNZ 0x00025a43
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0xc]
JMP 0x00025adb
LEA EAX,[EBX + 0xfffcbf08]
SUB ESP,0x4
PUSH 0x7
PUSH EAX
PUSH dword ptr [ESP + 0x28]
CALL 0x00016c20
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00025970
CMP ESI,0x1
MOV EAX,0x7
JZ 0x00025af3
MOV ESI,dword ptr [ESP + 0x1c]
JMP 0x00025ab8
MOVZX ECX,byte ptr [EBX + ECX*0x1 + 0xfffd7080]
CMP byte ptr [EBX + EDX*0x1 + 0xfffd7080],CL
JNZ 0x00025970
ADD EAX,0x1
MOVZX EDX,byte ptr [ESI + EAX*0x1]
MOVZX ECX,byte ptr [EAX + EBX*0x1 + 0xfffcbf23]
CMP EDX,ECX
JNZ 0x00025aa0
TEST EDX,EDX
JNZ 0x00025ab5
MOV EAX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + ESI*0x1 + 0xc]
LEA EDX,[EBX + 0xfffcbf31]
ADD EAX,0x8
XOR ECX,ECX
CALL 0x0001e430
MOV EAX,dword ptr [EAX + 0x8]
JMP 0x00025909
MOV EDI,dword ptr [ESP + 0x1c]
JMP 0x00025b13
MOVZX ECX,byte ptr [EBX + ESI*0x1 + 0xfffd7080]
LEA EBP,[EBX + 0xfffd7080]
CMP byte ptr [EBX + EDX*0x1 + 0xfffd7080],CL
JNZ 0x00025b49
ADD EAX,0x1
MOVZX EDX,byte ptr [EDI + EAX*0x1]
MOVZX ESI,byte ptr [EAX + EBX*0x1 + 0xfffcbf10]
CMP EDX,ESI
JNZ 0x00025af9
TEST EDX,EDX
JNZ 0x00025b10
MOV EAX,dword ptr [ESP + 0x18]
LEA EDX,[EBX + 0xfffcbf3f]
XOR ECX,ECX
MOV EAX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x1c]
ADD EAX,0x8
CALL 0x0001e430
MOV EAX,dword ptr [EAX + 0x8]
JMP 0x00025909
MOV EAX,0x7
MOV ECX,EBP
MOV EDI,dword ptr [ESP + 0x1c]
MOV EBP,EAX
JMP 0x00025b6c
MOVZX EAX,byte ptr [ECX + ESI*0x1]
CMP byte ptr [ECX + EDX*0x1],AL
JNZ 0x00025b82
ADD EBP,0x1
MOVZX EDX,byte ptr [EDI + EBP*0x1]
MOVZX ESI,byte ptr [EBP + EBX*0x1 + 0xfffcbf23]
CMP EDX,ESI
JNZ 0x00025b60
TEST EDX,EDX
JNZ 0x00025b69
JMP 0x00025b27
MOV EAX,0x7
MOV EDI,dword ptr [ESP + 0x1c]
MOV EBP,EAX
JMP 0x00025b9f
MOVZX EAX,byte ptr [ECX + ESI*0x1]
CMP byte ptr [ECX + EDX*0x1],AL
JNZ 0x00025970
ADD EBP,0x1
MOVZX EDX,byte ptr [EDI + EBP*0x1]
MOVZX ESI,byte ptr [EBP + EBX*0x1 + 0xfffcbf31]
CMP EDX,ESI
JNZ 0x00025b8f
TEST EDX,EDX
JNZ 0x00025b9c
JMP 0x00025b27
MOV EAX,0x7
MOV ECX,EDI
MOV EDI,EAX
JMP 0x00025bd8
MOVZX EAX,byte ptr [ECX + ESI*0x1]
CMP byte ptr [ECX + EDX*0x1],AL
JNZ 0x00025970
ADD EDI,0x1
MOV EAX,dword ptr [ESP + 0x1c]
MOVZX ESI,byte ptr [EDI + EBX*0x1 + 0xfffcbf10]
MOVZX EDX,byte ptr [EAX + EDI*0x1]
CMP EDX,ESI
JNZ 0x00025bc8
TEST EDX,EDX
JNZ 0x00025bd5
JMP 0x00025b27
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 FUN_00025850(int param_1,int param_2,byte *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}\n\n" comment (function_definition "int __regparm3 FUN_00025850(int param_1,int param_2,byte *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00025850(int param_1,int param_2,byte *param_3)" identifier (parameter_list "(int param_1,int param_2,byte *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (if_statement "if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(param_3 != (byte *)0x0)" ( (binary_expression "param_3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" { (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x10);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x10)" * (cast_expression "(undefined4 **)(param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00025898:\n      pbVar3 = (byte *)*puVar4;" statement_identifier : (expression_statement "pbVar3 = (byte *)*puVar4;" (assignment_expression "pbVar3 = (byte *)*puVar4" identifier = (cast_expression "(byte *)*puVar4" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;)) (expression_statement "local_38 = param_3;" (assignment_expression "local_38 = param_3" identifier = identifier) ;) (do_statement "do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );" do (compound_statement "{\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      }" { (expression_statement "uVar1 = (uint)*local_38;" (assignment_expression "uVar1 = (uint)*local_38" identifier = (binary_expression "(uint)*local_38" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" if (parenthesized_expression "(uVar1 == *pbVar3)" ( (binary_expression "uVar1 == *pbVar3" identifier == (pointer_expression "*pbVar3" * identifier)) )) (compound_statement "{\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }" { (if_statement "if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }" { (if_statement "if (iVar5 < iVar2) goto LAB_000258e9;" if (parenthesized_expression "(iVar5 < iVar2)" ( (binary_expression "iVar5 < iVar2" identifier < identifier) )) (goto_statement "goto LAB_000258e9;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[*pbVar3]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (pointer_expression "*pbVar3" * identifier) ])) )) (goto_statement "goto LAB_00025918;" goto statement_identifier ;)))) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_00025928:\n    iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (do_statement "do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );" do (compound_statement "{\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "uVar1 = (uint)param_3[iVar2];" (assignment_expression "uVar1 = (uint)param_3[iVar2]" identifier = (cast_expression "(uint)param_3[iVar2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[iVar2]" identifier [ identifier ]))) ;) (if_statement "if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" if (parenthesized_expression "(uVar1 == (byte)(&DAT_000a9ef3)[iVar2])" ( (binary_expression "uVar1 == (byte)(&DAT_000a9ef3)[iVar2]" identifier == (subscript_expression "(byte)(&DAT_000a9ef3)[iVar2]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_000a9ef3)" ( (pointer_expression "&DAT_000a9ef3" & identifier) ))) [ identifier ])) )) (compound_statement "{\n        if (uVar1 == 0) goto code_r0x00025958;\n      }" { (if_statement "if (uVar1 == 0) goto code_r0x00025958;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto code_r0x00025958;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (subscript_expression "(byte)(&DAT_000a9ef3)[iVar2]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_000a9ef3)" ( (pointer_expression "&DAT_000a9ef3" & identifier) ))) [ identifier ]) ])) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }" { (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }" { (if_statement "if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }" if (parenthesized_expression "(2 < *(int *)(param_1 + 0x14))" ( (binary_expression "2 < *(int *)(param_1 + 0x14)" number_literal < (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }" { (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) (do_statement "do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));" do (compound_statement "{\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        }" { (expression_statement "iVar5 = FUN_0001e430();" (assignment_expression "iVar5 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }" if (parenthesized_expression "(*(int *)(iVar5 + 8) != 0)" ( (binary_expression "*(int *)(iVar5 + 8) != 0" (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            return *(int *)(iVar5 + 8);\n          }" { (return_statement "return *(int *)(iVar5 + 8);" return (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x14))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0x14)" identifier < (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7)" identifier = (call_expression "sqlite3_strnicmp(param_2,"sqlite_",7)" identifier (argument_list "(param_2,"sqlite_",7)" ( identifier , (string_literal ""sqlite_"" " string_content ") , number_literal )))) ;) (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (do_statement "do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );" do (compound_statement "{\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar5);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar5)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar5)" ( (binary_expression "param_2 + iVar5" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar5])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar5]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar5]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }" { (if_statement "if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }" { (labeled_statement "LAB_00025adb:\n            iVar2 = FUN_0001e430();" statement_identifier : (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;)) (return_statement "return *(int *)(iVar2 + 8);" return (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) })) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_schema"[iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar5]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (do_statement "do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );" do (compound_statement "{\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }" { (if_statement "if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }" { (labeled_statement "LAB_00025b27:\n                iVar2 = FUN_0001e430();" statement_identifier : (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;)) (return_statement "return *(int *)(iVar2 + 8);" return (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) })) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (return_statement "return iVar2;" return identifier ;) (labeled_statement "LAB_00025918:\n  iVar5 = iVar5 + 1;" statement_identifier : (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;)) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (if_statement "if (iVar5 == iVar2) goto LAB_00025928;" if (parenthesized_expression "(iVar5 == iVar2)" ( (binary_expression "iVar5 == iVar2" identifier == identifier) )) (goto_statement "goto LAB_00025928;" goto statement_identifier ;)) (goto_statement "goto LAB_00025898;" goto statement_identifier ;) (labeled_statement "code_r0x00025958:\n  iVar5 = 0;" statement_identifier : (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_000258e9:\n  iVar2 = FUN_0001e430();" statement_identifier : (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;)) (if_statement "if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 8) != 0)" ( (binary_expression "*(int *)(iVar2 + 8) != 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(iVar2 + 8);\n  }" { (return_statement "return *(int *)(iVar2 + 8);" return (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) })) (expression_statement "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7)" identifier = (call_expression "sqlite3_strnicmp(param_2,"sqlite_",7)" identifier (argument_list "(param_2,"sqlite_",7)" ( identifier , (string_literal ""sqlite_"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (if_statement "if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" { (do_statement "do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );" do (compound_statement "{\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n        if (uVar1 == 0) goto LAB_00025b27;\n      }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00025b6c;" goto statement_identifier ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (do_statement "do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );" do (compound_statement "{\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n      if (uVar1 == 0) goto LAB_00025adb;\n    }" { (if_statement "if (uVar1 == 0) goto LAB_00025adb;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025adb;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (labeled_statement "LAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);" statement_identifier : (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;)) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00025b9f;" goto statement_identifier ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00025b6c;" goto statement_identifier ;) (labeled_statement "LAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);" statement_identifier : (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;)) (if_statement "if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_master"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_master"[iVar2]" identifier == (cast_expression "(byte)"sqlite_master"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_master"[iVar2]" (string_literal ""sqlite_master"" " string_content ") [ identifier ]))) )) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_master"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_master"[iVar2]" (string_literal ""sqlite_master"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00025b9f;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nTable * __regparm3 sqlite3FindTable(sqlite3 *db,char *zName,char *zDatabase)\n\n{\n  uint uVar1;\n  HashElem *pHVar2;\n  Table *pTVar3;\n  int iVar4;\n  Schema *pSVar5;\n  byte *pbVar6;\n  int iVar7;\n  byte *local_38;\n  Db *local_30;\n  int local_28;\n  \n  if (zDatabase != (char *)0x0) {\n    iVar4 = db->nDb;\n    if (0 < iVar4) {\n      local_30 = db->aDb;\n      iVar7 = 0;\nLAB_00025898:\n      local_28 = iVar7 << 4;\n      pbVar6 = (byte *)local_30->zDbSName;\n      local_38 = (byte *)zDatabase;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar4 = 0;\n    do {\n      uVar1 = (uint)(byte)zDatabase[iVar4];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }\n  pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,zName,(uint *)0x0);\n  pTVar3 = (Table *)pHVar2->data;\n  if (pTVar3 == (Table *)0x0) {\n    pHVar2 = findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0);\n    pTVar3 = (Table *)pHVar2->data;\n    if (pTVar3 == (Table *)0x0) {\n      if (2 < db->nDb) {\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }\n      iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n      iVar7 = 7;\n      if (iVar4 != 0) {\n        return (Table *)0x0;\n      }\n      do {\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      } while( true );\n    }\n  }\n  return pTVar3;\nLAB_00025918:\n  iVar7 = iVar7 + 1;\n  local_30 = local_30 + 1;\n  if (iVar7 == iVar4) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  local_28 = 0;\n  local_30 = db->aDb;\n  iVar7 = 0;\nLAB_000258e9:\n  pHVar2 = findElementWithHash(&local_30->pSchema->tblHash,zName,(uint *)0x0);\n  if ((Table *)pHVar2->data != (Table *)0x0) {\n    return (Table *)pHVar2->data;\n  }\n  iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n  if (iVar4 != 0) {\n    return (Table *)0x0;\n  }\n  iVar4 = 7;\n  if (iVar7 == 1) {\n    do {\n      uVar1 = (uint)(byte)zName[iVar4];\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)(byte)zName[iVar4];\n    if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n      if (uVar1 == 0) goto code_r0x00025acc;\n    }\n    else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n      return (Table *)0x0;\n    }\n    iVar4 = iVar4 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)(byte)zName[iVar4];\n  if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n    iVar4 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar4 = iVar4 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)(byte)zName[iVar4];\n  if (uVar1 == (byte)"sqlite_master"[iVar4]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if (""[uVar1] != ""[(byte)"sqlite_master"[iVar4]]) {\n    return (Table *)0x0;\n  }\n  iVar4 = iVar4 + 1;\n  goto LAB_00025b9f;\ncode_r0x00025acc:\n  pSVar5 = *(Schema **)((int)&db->aDb->pSchema + local_28);\n  goto LAB_00025adb;\ncode_r0x00025a5e:\n  pSVar5 = db->aDb->pSchema;\nLAB_00025adb:\n  pHVar2 = findElementWithHash(&pSVar5->tblHash,"sqlite_master",(uint *)0x0);\n  return (Table *)pHVar2->data;\n}\n\n" comment (ERROR "Table * __regparm3 sqlite3FindTable(sqlite3 *db,char *zName,char *zDatabase)" (binary_expression "Table * __regparm3 sqlite3FindTable(sqlite3 *db,char *zName,char *zDatabase)" identifier * (ERROR "__regparm3" identifier) (call_expression "sqlite3FindTable(sqlite3 *db,char *zName,char *zDatabase)" identifier (argument_list "(sqlite3 *db,char *zName,char *zDatabase)" ( (binary_expression "sqlite3 *db" identifier * identifier) , (binary_expression "char *zName" identifier * identifier) , (binary_expression "char *zDatabase" identifier * identifier) ))))) (compound_statement "{\n  uint uVar1;\n  HashElem *pHVar2;\n  Table *pTVar3;\n  int iVar4;\n  Schema *pSVar5;\n  byte *pbVar6;\n  int iVar7;\n  byte *local_38;\n  Db *local_30;\n  int local_28;\n  \n  if (zDatabase != (char *)0x0) {\n    iVar4 = db->nDb;\n    if (0 < iVar4) {\n      local_30 = db->aDb;\n      iVar7 = 0;\nLAB_00025898:\n      local_28 = iVar7 << 4;\n      pbVar6 = (byte *)local_30->zDbSName;\n      local_38 = (byte *)zDatabase;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar4 = 0;\n    do {\n      uVar1 = (uint)(byte)zDatabase[iVar4];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }\n  pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,zName,(uint *)0x0);\n  pTVar3 = (Table *)pHVar2->data;\n  if (pTVar3 == (Table *)0x0) {\n    pHVar2 = findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0);\n    pTVar3 = (Table *)pHVar2->data;\n    if (pTVar3 == (Table *)0x0) {\n      if (2 < db->nDb) {\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }\n      iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n      iVar7 = 7;\n      if (iVar4 != 0) {\n        return (Table *)0x0;\n      }\n      do {\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      } while( true );\n    }\n  }\n  return pTVar3;\nLAB_00025918:\n  iVar7 = iVar7 + 1;\n  local_30 = local_30 + 1;\n  if (iVar7 == iVar4) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  local_28 = 0;\n  local_30 = db->aDb;\n  iVar7 = 0;\nLAB_000258e9:\n  pHVar2 = findElementWithHash(&local_30->pSchema->tblHash,zName,(uint *)0x0);\n  if ((Table *)pHVar2->data != (Table *)0x0) {\n    return (Table *)pHVar2->data;\n  }\n  iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n  if (iVar4 != 0) {\n    return (Table *)0x0;\n  }\n  iVar4 = 7;\n  if (iVar7 == 1) {\n    do {\n      uVar1 = (uint)(byte)zName[iVar4];\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)(byte)zName[iVar4];\n    if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n      if (uVar1 == 0) goto code_r0x00025acc;\n    }\n    else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n      return (Table *)0x0;\n    }\n    iVar4 = iVar4 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)(byte)zName[iVar4];\n  if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n    iVar4 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar4 = iVar4 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)(byte)zName[iVar4];\n  if (uVar1 == (byte)"sqlite_master"[iVar4]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if (""[uVar1] != ""[(byte)"sqlite_master"[iVar4]]) {\n    return (Table *)0x0;\n  }\n  iVar4 = iVar4 + 1;\n  goto LAB_00025b9f;\ncode_r0x00025acc:\n  pSVar5 = *(Schema **)((int)&db->aDb->pSchema + local_28);\n  goto LAB_00025adb;\ncode_r0x00025a5e:\n  pSVar5 = db->aDb->pSchema;\nLAB_00025adb:\n  pHVar2 = findElementWithHash(&pSVar5->tblHash,"sqlite_master",(uint *)0x0);\n  return (Table *)pHVar2->data;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "HashElem *pHVar2;" type_identifier (pointer_declarator "*pHVar2" * identifier) ;) (declaration "Table *pTVar3;" type_identifier (pointer_declarator "*pTVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Schema *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "Db *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_28;" primitive_type identifier ;) (if_statement "if (zDatabase != (char *)0x0) {\n    iVar4 = db->nDb;\n    if (0 < iVar4) {\n      local_30 = db->aDb;\n      iVar7 = 0;\nLAB_00025898:\n      local_28 = iVar7 << 4;\n      pbVar6 = (byte *)local_30->zDbSName;\n      local_38 = (byte *)zDatabase;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar4 = 0;\n    do {\n      uVar1 = (uint)(byte)zDatabase[iVar4];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(zDatabase != (char *)0x0)" ( (binary_expression "zDatabase != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = db->nDb;\n    if (0 < iVar4) {\n      local_30 = db->aDb;\n      iVar7 = 0;\nLAB_00025898:\n      local_28 = iVar7 << 4;\n      pbVar6 = (byte *)local_30->zDbSName;\n      local_38 = (byte *)zDatabase;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar4 = 0;\n    do {\n      uVar1 = (uint)(byte)zDatabase[iVar4];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }" { (expression_statement "iVar4 = db->nDb;" (assignment_expression "iVar4 = db->nDb" identifier = (field_expression "db->nDb" identifier -> field_identifier)) ;) (if_statement "if (0 < iVar4) {\n      local_30 = db->aDb;\n      iVar7 = 0;\nLAB_00025898:\n      local_28 = iVar7 << 4;\n      pbVar6 = (byte *)local_30->zDbSName;\n      local_38 = (byte *)zDatabase;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n      local_30 = db->aDb;\n      iVar7 = 0;\nLAB_00025898:\n      local_28 = iVar7 << 4;\n      pbVar6 = (byte *)local_30->zDbSName;\n      local_38 = (byte *)zDatabase;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while( true );\n    }" { (expression_statement "local_30 = db->aDb;" (assignment_expression "local_30 = db->aDb" identifier = (field_expression "db->aDb" identifier -> field_identifier)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00025898:\n      local_28 = iVar7 << 4;" statement_identifier : (expression_statement "local_28 = iVar7 << 4;" (assignment_expression "local_28 = iVar7 << 4" identifier = (binary_expression "iVar7 << 4" identifier << number_literal)) ;)) (expression_statement "pbVar6 = (byte *)local_30->zDbSName;" (assignment_expression "pbVar6 = (byte *)local_30->zDbSName" identifier = (cast_expression "(byte *)local_30->zDbSName" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_30->zDbSName" identifier -> field_identifier))) ;) (expression_statement "local_38 = (byte *)zDatabase;" (assignment_expression "local_38 = (byte *)zDatabase" identifier = (cast_expression "(byte *)zDatabase" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      } while( true );" do (compound_statement "{\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar6 = pbVar6 + 1;\n      }" { (expression_statement "uVar1 = (uint)*local_38;" (assignment_expression "uVar1 = (uint)*local_38" identifier = (binary_expression "(uint)*local_38" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar1 == *pbVar6) {\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;" if (parenthesized_expression "(uVar1 == *pbVar6)" ( (binary_expression "uVar1 == *pbVar6" identifier == (pointer_expression "*pbVar6" * identifier)) )) (compound_statement "{\n          if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }\n        }" { (if_statement "if (uVar1 == 0) {\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            if (iVar7 < iVar4) goto LAB_000258e9;\n            break;\n          }" { (if_statement "if (iVar7 < iVar4) goto LAB_000258e9;" if (parenthesized_expression "(iVar7 < iVar4)" ( (binary_expression "iVar7 < iVar4" identifier < identifier) )) (goto_statement "goto LAB_000258e9;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) (else_clause "else if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;" else (if_statement "if (""[uVar1] != ""[*pbVar6]) goto LAB_00025918;" if (parenthesized_expression "(""[uVar1] != ""[*pbVar6])" ( (binary_expression """[uVar1] != ""[*pbVar6]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[*pbVar6]" (string_literal """" " ") [ (pointer_expression "*pbVar6" * identifier) ])) )) (goto_statement "goto LAB_00025918;" goto statement_identifier ;)))) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_00025928:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (do_statement "do {\n      uVar1 = (uint)(byte)zDatabase[iVar4];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );" do (compound_statement "{\n      uVar1 = (uint)(byte)zDatabase[iVar4];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "uVar1 = (uint)(byte)zDatabase[iVar4];" (assignment_expression "uVar1 = (uint)(byte)zDatabase[iVar4]" identifier = (cast_expression "(uint)(byte)zDatabase[iVar4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)zDatabase[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zDatabase[iVar4]" identifier [ identifier ])))) ;) (if_statement "if (uVar1 == (byte)(&DAT_000a9ef3)[iVar4]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }" if (parenthesized_expression "(uVar1 == (byte)(&DAT_000a9ef3)[iVar4])" ( (binary_expression "uVar1 == (byte)(&DAT_000a9ef3)[iVar4]" identifier == (subscript_expression "(byte)(&DAT_000a9ef3)[iVar4]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_000a9ef3)" ( (pointer_expression "&DAT_000a9ef3" & identifier) ))) [ identifier ])) )) (compound_statement "{\n        if (uVar1 == 0) goto code_r0x00025958;\n      }" { (if_statement "if (uVar1 == 0) goto code_r0x00025958;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto code_r0x00025958;" goto statement_identifier ;)) }) (else_clause "else if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }" else (if_statement "if (""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]) {\n        return (Table *)0x0;\n      }" if (parenthesized_expression "(""[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]])" ( (binary_expression """[uVar1] != ""[(byte)(&DAT_000a9ef3)[iVar4]]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[(byte)(&DAT_000a9ef3)[iVar4]]" (string_literal """" " ") [ (subscript_expression "(byte)(&DAT_000a9ef3)[iVar4]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_000a9ef3)" ( (pointer_expression "&DAT_000a9ef3" & identifier) ))) [ identifier ]) ])) )) (compound_statement "{\n        return (Table *)0x0;\n      }" { (return_statement "return (Table *)0x0;" return (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,zName,(uint *)0x0);" (assignment_expression "pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,zName,(uint *)0x0)" identifier = (call_expression "findElementWithHash(&(db->aDb[1].pSchema)->tblHash,zName,(uint *)0x0)" identifier (argument_list "(&(db->aDb[1].pSchema)->tblHash,zName,(uint *)0x0)" ( (pointer_expression "&(db->aDb[1].pSchema)->tblHash" & (field_expression "(db->aDb[1].pSchema)->tblHash" (parenthesized_expression "(db->aDb[1].pSchema)" ( (field_expression "db->aDb[1].pSchema" (subscript_expression "db->aDb[1]" (field_expression "db->aDb" identifier -> field_identifier) [ number_literal ]) . field_identifier) )) -> field_identifier)) , identifier , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pTVar3 = (Table *)pHVar2->data;" (assignment_expression "pTVar3 = (Table *)pHVar2->data" identifier = (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier))) ;) (if_statement "if (pTVar3 == (Table *)0x0) {\n    pHVar2 = findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0);\n    pTVar3 = (Table *)pHVar2->data;\n    if (pTVar3 == (Table *)0x0) {\n      if (2 < db->nDb) {\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }\n      iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n      iVar7 = 7;\n      if (iVar4 != 0) {\n        return (Table *)0x0;\n      }\n      do {\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      } while( true );\n    }\n  }" if (parenthesized_expression "(pTVar3 == (Table *)0x0)" ( (binary_expression "pTVar3 == (Table *)0x0" identifier == (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pHVar2 = findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0);\n    pTVar3 = (Table *)pHVar2->data;\n    if (pTVar3 == (Table *)0x0) {\n      if (2 < db->nDb) {\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }\n      iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n      iVar7 = 7;\n      if (iVar4 != 0) {\n        return (Table *)0x0;\n      }\n      do {\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      } while( true );\n    }\n  }" { (expression_statement "pHVar2 = findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0);" (assignment_expression "pHVar2 = findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0)" identifier = (call_expression "findElementWithHash(&db->aDb->pSchema->tblHash,zName,(uint *)0x0)" identifier (argument_list "(&db->aDb->pSchema->tblHash,zName,(uint *)0x0)" ( (pointer_expression "&db->aDb->pSchema->tblHash" & (field_expression "db->aDb->pSchema->tblHash" (field_expression "db->aDb->pSchema" (field_expression "db->aDb" identifier -> field_identifier) -> field_identifier) -> field_identifier)) , identifier , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pTVar3 = (Table *)pHVar2->data;" (assignment_expression "pTVar3 = (Table *)pHVar2->data" identifier = (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier))) ;) (if_statement "if (pTVar3 == (Table *)0x0) {\n      if (2 < db->nDb) {\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }\n      iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n      iVar7 = 7;\n      if (iVar4 != 0) {\n        return (Table *)0x0;\n      }\n      do {\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(pTVar3 == (Table *)0x0)" ( (binary_expression "pTVar3 == (Table *)0x0" identifier == (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (2 < db->nDb) {\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }\n      iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);\n      iVar7 = 7;\n      if (iVar4 != 0) {\n        return (Table *)0x0;\n      }\n      do {\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      } while( true );\n    }" { (if_statement "if (2 < db->nDb) {\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }" if (parenthesized_expression "(2 < db->nDb)" ( (binary_expression "2 < db->nDb" number_literal < (field_expression "db->nDb" identifier -> field_identifier)) )) (compound_statement "{\n        iVar4 = 2;\n        do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (do_statement "do {\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        } while (iVar4 < db->nDb);" do (compound_statement "{\n          pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);\n          if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }\n          iVar4 = iVar4 + 1;\n        }" { (expression_statement "pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0);" (assignment_expression "pHVar2 = findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0)" identifier = (call_expression "findElementWithHash(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0)" identifier (argument_list "(&(db->aDb[iVar4].pSchema)->tblHash,zName,(uint *)0x0)" ( (pointer_expression "&(db->aDb[iVar4].pSchema)->tblHash" & (field_expression "(db->aDb[iVar4].pSchema)->tblHash" (parenthesized_expression "(db->aDb[iVar4].pSchema)" ( (field_expression "db->aDb[iVar4].pSchema" (subscript_expression "db->aDb[iVar4]" (field_expression "db->aDb" identifier -> field_identifier) [ identifier ]) . field_identifier) )) -> field_identifier)) , identifier , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if ((Table *)pHVar2->data != (Table *)0x0) {\n            return (Table *)pHVar2->data;\n          }" if (parenthesized_expression "((Table *)pHVar2->data != (Table *)0x0)" ( (binary_expression "(Table *)pHVar2->data != (Table *)0x0" (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier)) != (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            return (Table *)pHVar2->data;\n          }" { (return_statement "return (Table *)pHVar2->data;" return (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier)) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < db->nDb)" ( (binary_expression "iVar4 < db->nDb" identifier < (field_expression "db->nDb" identifier -> field_identifier)) )) ;) })) (expression_statement "iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);" (assignment_expression "iVar4 = sqlite3_strnicmp(zName,"sqlite_",7)" identifier = (call_expression "sqlite3_strnicmp(zName,"sqlite_",7)" identifier (argument_list "(zName,"sqlite_",7)" ( identifier , (string_literal ""sqlite_"" " string_content ") , number_literal )))) ;) (expression_statement "iVar7 = 7;" (assignment_expression "iVar7 = 7" identifier = number_literal) ;) (if_statement "if (iVar4 != 0) {\n        return (Table *)0x0;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        return (Table *)0x0;\n      }" { (return_statement "return (Table *)0x0;" return (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (do_statement "do {\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      } while( true );" do (compound_statement "{\n        uVar1 = (uint)(byte)zName[iVar7];\n        if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "uVar1 = (uint)(byte)zName[iVar7];" (assignment_expression "uVar1 = (uint)(byte)zName[iVar7]" identifier = (cast_expression "(uint)(byte)zName[iVar7]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)zName[iVar7]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zName[iVar7]" identifier [ identifier ])))) ;) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar7]) {\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }\n        else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar7])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar7]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar7]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar7]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n          if (uVar1 == 0) goto code_r0x00025a5e;\n        }" { (if_statement "if (uVar1 == 0) goto code_r0x00025a5e;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto code_r0x00025a5e;" goto statement_identifier ;)) }) (else_clause "else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }" else (if_statement "if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]) {\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }" if (parenthesized_expression "(""[uVar1] != ""[(byte)"sqlite_schema"[iVar7]])" ( (binary_expression """[uVar1] != ""[(byte)"sqlite_schema"[iVar7]]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[(byte)"sqlite_schema"[iVar7]]" (string_literal """" " ") [ (cast_expression "(byte)"sqlite_schema"[iVar7]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar7]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n          iVar4 = 7;\n          do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );\n        }" { (expression_statement "iVar4 = 7;" (assignment_expression "iVar4 = 7" identifier = number_literal) ;) (do_statement "do {\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          } while( true );" do (compound_statement "{\n            uVar1 = (uint)(byte)zName[iVar4];\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }\n            iVar4 = iVar4 + 1;\n          }" { (expression_statement "uVar1 = (uint)(byte)zName[iVar4];" (assignment_expression "uVar1 = (uint)(byte)zName[iVar4]" identifier = (cast_expression "(uint)(byte)zName[iVar4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)zName[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zName[iVar4]" identifier [ identifier ])))) ;) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }\n            else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar4])" ( (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar4]" identifier == (cast_expression "(byte)"sqlite_temp_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar4]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n              if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }\n            }" { (if_statement "if (uVar1 == 0) {\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);\n                return (Table *)pHVar2->data;\n              }" { (labeled_statement "LAB_00025b27:\n                pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);" statement_identifier : (expression_statement "pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0);" (assignment_expression "pHVar2 = findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0)" identifier = (call_expression "findElementWithHash(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0)" identifier (argument_list "(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",\n                                             (uint *)0x0)" ( (pointer_expression "&(db->aDb[1].pSchema)->tblHash" & (field_expression "(db->aDb[1].pSchema)->tblHash" (parenthesized_expression "(db->aDb[1].pSchema)" ( (field_expression "db->aDb[1].pSchema" (subscript_expression "db->aDb[1]" (field_expression "db->aDb" identifier -> field_identifier) [ number_literal ]) . field_identifier) )) -> field_identifier)) , (string_literal ""sqlite_temp_master"" " string_content ") , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;)) (return_statement "return (Table *)pHVar2->data;" return (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier)) ;) })) }) (else_clause "else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }" else (if_statement "if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n              return (Table *)0x0;\n            }" if (parenthesized_expression "(""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]])" ( (binary_expression """[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[(byte)"sqlite_temp_schema"[iVar4]]" (string_literal """" " ") [ (cast_expression "(byte)"sqlite_temp_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar4]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n              return (Table *)0x0;\n            }" { (return_statement "return (Table *)0x0;" return (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (return_statement "return pTVar3;" return identifier ;) (labeled_statement "LAB_00025918:\n  iVar7 = iVar7 + 1;" statement_identifier : (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;)) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 == iVar4) goto LAB_00025928;" if (parenthesized_expression "(iVar7 == iVar4)" ( (binary_expression "iVar7 == iVar4" identifier == identifier) )) (goto_statement "goto LAB_00025928;" goto statement_identifier ;)) (goto_statement "goto LAB_00025898;" goto statement_identifier ;) (labeled_statement "code_r0x00025958:\n  local_28 = 0;" statement_identifier : (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;)) (expression_statement "local_30 = db->aDb;" (assignment_expression "local_30 = db->aDb" identifier = (field_expression "db->aDb" identifier -> field_identifier)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000258e9:\n  pHVar2 = findElementWithHash(&local_30->pSchema->tblHash,zName,(uint *)0x0);" statement_identifier : (expression_statement "pHVar2 = findElementWithHash(&local_30->pSchema->tblHash,zName,(uint *)0x0);" (assignment_expression "pHVar2 = findElementWithHash(&local_30->pSchema->tblHash,zName,(uint *)0x0)" identifier = (call_expression "findElementWithHash(&local_30->pSchema->tblHash,zName,(uint *)0x0)" identifier (argument_list "(&local_30->pSchema->tblHash,zName,(uint *)0x0)" ( (pointer_expression "&local_30->pSchema->tblHash" & (field_expression "local_30->pSchema->tblHash" (field_expression "local_30->pSchema" identifier -> field_identifier) -> field_identifier)) , identifier , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;)) (if_statement "if ((Table *)pHVar2->data != (Table *)0x0) {\n    return (Table *)pHVar2->data;\n  }" if (parenthesized_expression "((Table *)pHVar2->data != (Table *)0x0)" ( (binary_expression "(Table *)pHVar2->data != (Table *)0x0" (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier)) != (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (Table *)pHVar2->data;\n  }" { (return_statement "return (Table *)pHVar2->data;" return (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier)) ;) })) (expression_statement "iVar4 = sqlite3_strnicmp(zName,"sqlite_",7);" (assignment_expression "iVar4 = sqlite3_strnicmp(zName,"sqlite_",7)" identifier = (call_expression "sqlite3_strnicmp(zName,"sqlite_",7)" identifier (argument_list "(zName,"sqlite_",7)" ( identifier , (string_literal ""sqlite_"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 != 0) {\n    return (Table *)0x0;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    return (Table *)0x0;\n  }" { (return_statement "return (Table *)0x0;" return (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar4 = 7;" (assignment_expression "iVar4 = 7" identifier = number_literal) ;) (if_statement "if (iVar7 == 1) {\n    do {\n      uVar1 = (uint)(byte)zName[iVar4];\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(iVar7 == 1)" ( (binary_expression "iVar7 == 1" identifier == number_literal) )) (compound_statement "{\n    do {\n      uVar1 = (uint)(byte)zName[iVar4];\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );\n  }" { (do_statement "do {\n      uVar1 = (uint)(byte)zName[iVar4];\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar4 = iVar4 + 1;\n    } while( true );" do (compound_statement "{\n      uVar1 = (uint)(byte)zName[iVar4];\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "uVar1 = (uint)(byte)zName[iVar4];" (assignment_expression "uVar1 = (uint)(byte)zName[iVar4]" identifier = (cast_expression "(uint)(byte)zName[iVar4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)zName[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zName[iVar4]" identifier [ identifier ])))) ;) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar4]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar4])" ( (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar4]" identifier == (cast_expression "(byte)"sqlite_temp_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar4]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n        if (uVar1 == 0) goto LAB_00025b27;\n      }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }" else (if_statement "if (""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]) {\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }" if (parenthesized_expression "(""[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]])" ( (binary_expression """[uVar1] != ""[(byte)"sqlite_temp_schema"[iVar4]]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[(byte)"sqlite_temp_schema"[iVar4]]" (string_literal """" " ") [ (cast_expression "(byte)"sqlite_temp_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar4]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n        iVar4 = 7;\n        goto LAB_00025b6c;\n      }" { (expression_statement "iVar4 = 7;" (assignment_expression "iVar4 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00025b6c;" goto statement_identifier ;) })))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (do_statement "do {\n    uVar1 = (uint)(byte)zName[iVar4];\n    if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n      if (uVar1 == 0) goto code_r0x00025acc;\n    }\n    else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n      return (Table *)0x0;\n    }\n    iVar4 = iVar4 + 1;\n  } while( true );" do (compound_statement "{\n    uVar1 = (uint)(byte)zName[iVar4];\n    if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n      if (uVar1 == 0) goto code_r0x00025acc;\n    }\n    else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n      return (Table *)0x0;\n    }\n    iVar4 = iVar4 + 1;\n  }" { (expression_statement "uVar1 = (uint)(byte)zName[iVar4];" (assignment_expression "uVar1 = (uint)(byte)zName[iVar4]" identifier = (cast_expression "(uint)(byte)zName[iVar4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)zName[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zName[iVar4]" identifier [ identifier ])))) ;) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n      if (uVar1 == 0) goto code_r0x00025acc;\n    }\n    else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n      return (Table *)0x0;\n    }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar4])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar4]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar4]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n      if (uVar1 == 0) goto code_r0x00025acc;\n    }" { (if_statement "if (uVar1 == 0) goto code_r0x00025acc;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto code_r0x00025acc;" goto statement_identifier ;)) }) (else_clause "else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n      return (Table *)0x0;\n    }" else (if_statement "if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n      return (Table *)0x0;\n    }" if (parenthesized_expression "(""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]])" ( (binary_expression """[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[(byte)"sqlite_schema"[iVar4]]" (string_literal """" " ") [ (cast_expression "(byte)"sqlite_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar4]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n      return (Table *)0x0;\n    }" { (return_statement "return (Table *)0x0;" return (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (labeled_statement "LAB_00025b6c:\n  uVar1 = (uint)(byte)zName[iVar4];" statement_identifier : (expression_statement "uVar1 = (uint)(byte)zName[iVar4];" (assignment_expression "uVar1 = (uint)(byte)zName[iVar4]" identifier = (cast_expression "(uint)(byte)zName[iVar4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)zName[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zName[iVar4]" identifier [ identifier ])))) ;)) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar4]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n    iVar4 = 7;\n    goto LAB_00025b9f;\n  }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar4])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar4]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar4]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n    iVar4 = 7;\n    goto LAB_00025b9f;\n  }" else (if_statement "if (""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]) {\n    iVar4 = 7;\n    goto LAB_00025b9f;\n  }" if (parenthesized_expression "(""[uVar1] != ""[(byte)"sqlite_schema"[iVar4]])" ( (binary_expression """[uVar1] != ""[(byte)"sqlite_schema"[iVar4]]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[(byte)"sqlite_schema"[iVar4]]" (string_literal """" " ") [ (cast_expression "(byte)"sqlite_schema"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar4]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n    iVar4 = 7;\n    goto LAB_00025b9f;\n  }" { (expression_statement "iVar4 = 7;" (assignment_expression "iVar4 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00025b9f;" goto statement_identifier ;) })))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00025b6c;" goto statement_identifier ;) (labeled_statement "LAB_00025b9f:\n  uVar1 = (uint)(byte)zName[iVar4];" statement_identifier : (expression_statement "uVar1 = (uint)(byte)zName[iVar4];" (assignment_expression "uVar1 = (uint)(byte)zName[iVar4]" identifier = (cast_expression "(uint)(byte)zName[iVar4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)zName[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zName[iVar4]" identifier [ identifier ])))) ;)) (if_statement "if (uVar1 == (byte)"sqlite_master"[iVar4]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if (""[uVar1] != ""[(byte)"sqlite_master"[iVar4]]) {\n    return (Table *)0x0;\n  }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_master"[iVar4])" ( (binary_expression "uVar1 == (byte)"sqlite_master"[iVar4]" identifier == (cast_expression "(byte)"sqlite_master"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_master"[iVar4]" (string_literal ""sqlite_master"" " string_content ") [ identifier ]))) )) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if (""[uVar1] != ""[(byte)"sqlite_master"[iVar4]]) {\n    return (Table *)0x0;\n  }" else (if_statement "if (""[uVar1] != ""[(byte)"sqlite_master"[iVar4]]) {\n    return (Table *)0x0;\n  }" if (parenthesized_expression "(""[uVar1] != ""[(byte)"sqlite_master"[iVar4]])" ( (binary_expression """[uVar1] != ""[(byte)"sqlite_master"[iVar4]]" (subscript_expression """[uVar1]" (string_literal """" " ") [ identifier ]) != (subscript_expression """[(byte)"sqlite_master"[iVar4]]" (string_literal """" " ") [ (cast_expression "(byte)"sqlite_master"[iVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_master"[iVar4]" (string_literal ""sqlite_master"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n    return (Table *)0x0;\n  }" { (return_statement "return (Table *)0x0;" return (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00025b9f;" goto statement_identifier ;) (labeled_statement "code_r0x00025acc:\n  pSVar5 = *(Schema **)((int)&db->aDb->pSchema + local_28);" statement_identifier : (expression_statement "pSVar5 = *(Schema **)((int)&db->aDb->pSchema + local_28);" (assignment_expression "pSVar5 = *(Schema **)((int)&db->aDb->pSchema + local_28)" identifier = (pointer_expression "*(Schema **)((int)&db->aDb->pSchema + local_28)" * (cast_expression "(Schema **)((int)&db->aDb->pSchema + local_28)" ( (type_descriptor "Schema **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&db->aDb->pSchema + local_28)" ( (binary_expression "(int)&db->aDb->pSchema + local_28" (cast_expression "(int)&db->aDb->pSchema" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&db->aDb->pSchema" & (field_expression "db->aDb->pSchema" (field_expression "db->aDb" identifier -> field_identifier) -> field_identifier))) + identifier) ))))) ;)) (goto_statement "goto LAB_00025adb;" goto statement_identifier ;) (labeled_statement "code_r0x00025a5e:\n  pSVar5 = db->aDb->pSchema;" statement_identifier : (expression_statement "pSVar5 = db->aDb->pSchema;" (assignment_expression "pSVar5 = db->aDb->pSchema" identifier = (field_expression "db->aDb->pSchema" (field_expression "db->aDb" identifier -> field_identifier) -> field_identifier)) ;)) (labeled_statement "LAB_00025adb:\n  pHVar2 = findElementWithHash(&pSVar5->tblHash,"sqlite_master",(uint *)0x0);" statement_identifier : (expression_statement "pHVar2 = findElementWithHash(&pSVar5->tblHash,"sqlite_master",(uint *)0x0);" (assignment_expression "pHVar2 = findElementWithHash(&pSVar5->tblHash,"sqlite_master",(uint *)0x0)" identifier = (call_expression "findElementWithHash(&pSVar5->tblHash,"sqlite_master",(uint *)0x0)" identifier (argument_list "(&pSVar5->tblHash,"sqlite_master",(uint *)0x0)" ( (pointer_expression "&pSVar5->tblHash" & (field_expression "pSVar5->tblHash" identifier -> field_identifier)) , (string_literal ""sqlite_master"" " string_content ") , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;)) (return_statement "return (Table *)pHVar2->data;" return (cast_expression "(Table *)pHVar2->data" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar2->data" identifier -> field_identifier)) ;) }))
(translation_unit "int __regparm3 FUN_00025850(int param_1,int param_2,byte *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}\n\n" (function_definition "int __regparm3 FUN_00025850(int param_1,int param_2,byte *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00025850(int param_1,int param_2,byte *param_3)" identifier (parameter_list "(int param_1,int param_2,byte *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (if_statement "if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(param_3 != (byte *)0x0)" ( (binary_expression "param_3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" { (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x10);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x10)" * (cast_expression "(undefined4 **)(param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00025898:\n      pbVar3 = (byte *)*puVar4;" statement_identifier : (expression_statement "pbVar3 = (byte *)*puVar4;" (assignment_expression "pbVar3 = (byte *)*puVar4" identifier = (cast_expression "(byte *)*puVar4" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;)) (expression_statement "local_38 = param_3;" (assignment_expression "local_38 = param_3" identifier = identifier) ;) (do_statement "do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );" do (compound_statement "{\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      }" { (expression_statement "uVar1 = (uint)*local_38;" (assignment_expression "uVar1 = (uint)*local_38" identifier = (binary_expression "(uint)*local_38" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" if (parenthesized_expression "(uVar1 == *pbVar3)" ( (binary_expression "uVar1 == *pbVar3" identifier == (pointer_expression "*pbVar3" * identifier)) )) (compound_statement "{\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }" { (if_statement "if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }" { (if_statement "if (iVar5 < iVar2) goto LAB_000258e9;" if (parenthesized_expression "(iVar5 < iVar2)" ( (binary_expression "iVar5 < iVar2" identifier < identifier) )) (goto_statement "goto LAB_000258e9;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[*pbVar3]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (pointer_expression "*pbVar3" * identifier) ])) )) (goto_statement "goto LAB_00025918;" goto statement_identifier ;)))) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_00025928:\n    iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (do_statement "do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );" do (compound_statement "{\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "uVar1 = (uint)param_3[iVar2];" (assignment_expression "uVar1 = (uint)param_3[iVar2]" identifier = (cast_expression "(uint)param_3[iVar2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[iVar2]" identifier [ identifier ]))) ;) (if_statement "if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" if (parenthesized_expression "(uVar1 == (byte)(&DAT_000a9ef3)[iVar2])" ( (binary_expression "uVar1 == (byte)(&DAT_000a9ef3)[iVar2]" identifier == (subscript_expression "(byte)(&DAT_000a9ef3)[iVar2]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_000a9ef3)" ( (pointer_expression "&DAT_000a9ef3" & identifier) ))) [ identifier ])) )) (compound_statement "{\n        if (uVar1 == 0) goto code_r0x00025958;\n      }" { (if_statement "if (uVar1 == 0) goto code_r0x00025958;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto code_r0x00025958;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (subscript_expression "(byte)(&DAT_000a9ef3)[iVar2]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_000a9ef3)" ( (pointer_expression "&DAT_000a9ef3" & identifier) ))) [ identifier ]) ])) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }" { (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }" { (if_statement "if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }" if (parenthesized_expression "(2 < *(int *)(param_1 + 0x14))" ( (binary_expression "2 < *(int *)(param_1 + 0x14)" number_literal < (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }" { (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" identifier = number_literal) ;) (do_statement "do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));" do (compound_statement "{\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        }" { (expression_statement "iVar5 = FUN_0001e430();" (assignment_expression "iVar5 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;) (if_statement "if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }" if (parenthesized_expression "(*(int *)(iVar5 + 8) != 0)" ( (binary_expression "*(int *)(iVar5 + 8) != 0" (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            return *(int *)(iVar5 + 8);\n          }" { (return_statement "return *(int *)(iVar5 + 8);" return (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x14))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0x14)" identifier < (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7)" identifier = (call_expression "sqlite3_strnicmp(param_2,"sqlite_",7)" identifier (argument_list "(param_2,"sqlite_",7)" ( identifier , (string_literal ""sqlite_"" " string_content ") , number_literal )))) ;) (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (do_statement "do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );" do (compound_statement "{\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar5);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar5)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar5)" ( (binary_expression "param_2 + iVar5" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar5])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar5]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar5]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }" { (if_statement "if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }" { (labeled_statement "LAB_00025adb:\n            iVar2 = FUN_0001e430();" statement_identifier : (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;)) (return_statement "return *(int *)(iVar2 + 8);" return (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) })) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_schema"[iVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar5]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (do_statement "do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );" do (compound_statement "{\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }" { (if_statement "if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }" { (labeled_statement "LAB_00025b27:\n                iVar2 = FUN_0001e430();" statement_identifier : (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;)) (return_statement "return *(int *)(iVar2 + 8);" return (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) })) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (return_statement "return iVar2;" return identifier ;) (labeled_statement "LAB_00025918:\n  iVar5 = iVar5 + 1;" statement_identifier : (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;)) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (if_statement "if (iVar5 == iVar2) goto LAB_00025928;" if (parenthesized_expression "(iVar5 == iVar2)" ( (binary_expression "iVar5 == iVar2" identifier == identifier) )) (goto_statement "goto LAB_00025928;" goto statement_identifier ;)) (goto_statement "goto LAB_00025898;" goto statement_identifier ;) (labeled_statement "code_r0x00025958:\n  iVar5 = 0;" statement_identifier : (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_000258e9:\n  iVar2 = FUN_0001e430();" statement_identifier : (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" identifier = (call_expression "FUN_0001e430()" identifier (argument_list "()" ( )))) ;)) (if_statement "if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 8) != 0)" ( (binary_expression "*(int *)(iVar2 + 8) != 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(iVar2 + 8);\n  }" { (return_statement "return *(int *)(iVar2 + 8);" return (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) })) (expression_statement "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7)" identifier = (call_expression "sqlite3_strnicmp(param_2,"sqlite_",7)" identifier (argument_list "(param_2,"sqlite_",7)" ( identifier , (string_literal ""sqlite_"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (if_statement "if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" { (do_statement "do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );" do (compound_statement "{\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n        if (uVar1 == 0) goto LAB_00025b27;\n      }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00025b6c;" goto statement_identifier ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (do_statement "do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );" do (compound_statement "{\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n      if (uVar1 == 0) goto LAB_00025adb;\n    }" { (if_statement "if (uVar1 == 0) goto LAB_00025adb;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025adb;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (labeled_statement "LAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);" statement_identifier : (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;)) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar2]" identifier == (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ]))) )) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_schema"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_00025b9f;" goto statement_identifier ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00025b6c;" goto statement_identifier ;) (labeled_statement "LAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);" statement_identifier : (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) ))))) ;)) (if_statement "if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" if (parenthesized_expression "(uVar1 == (byte)"sqlite_master"[iVar2])" ( (binary_expression "uVar1 == (byte)"sqlite_master"[iVar2]" identifier == (cast_expression "(byte)"sqlite_master"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_master"[iVar2]" (string_literal ""sqlite_master"" " string_content ") [ identifier ]))) )) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" { (if_statement "if (uVar1 == 0) goto LAB_00025b27;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00025b27;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" else (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" if (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]])" ( (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ identifier ]) != (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" ( (pointer_expression "&DAT_000b5080" & identifier) )) [ (cast_expression "(byte)"sqlite_master"[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression ""sqlite_master"[iVar2]" (string_literal ""sqlite_master"" " string_content ") [ identifier ])) ])) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00025b9f;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (break_statement break ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ])) )) (goto_statement goto statement_identifier ;)))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_expression & IDENT) ))) [ IDENT ])) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_expression & IDENT) ))) [ IDENT ]) ])) )) (compound_statement { (return_statement return LIT ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ])) ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ])) ])) )) (compound_statement { (return_statement return LIT ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) })) (return_statement return IDENT ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ])) ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ])) ])) )) (compound_statement { (return_statement return LIT ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ])) ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (string_literal " string_content ") [ IDENT ])) ])) )) (compound_statement { (return_statement return LIT ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })))
(function_definition "int __regparm3 FUN_00025850(int param_1,int param_2,byte *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00025850(int param_1,int param_2,byte *param_3)" (identifier "FUN_00025850") (parameter_list "(int param_1,int param_2,byte *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  byte *local_38;\n  \n  if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  iVar2 = FUN_0001e430();\n  iVar2 = *(int *)(iVar2 + 8);\n  if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }\n  return iVar2;\nLAB_00025918:\n  iVar5 = iVar5 + 1;\n  puVar4 = puVar4 + 4;\n  if (iVar5 == iVar2) goto LAB_00025928;\n  goto LAB_00025898;\ncode_r0x00025958:\n  iVar5 = 0;\nLAB_000258e9:\n  iVar2 = FUN_0001e430();\n  if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }\n  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n  if (iVar2 != 0) {\n    return 0;\n  }\n  iVar2 = 7;\n  if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }\n  do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );\nLAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b6c;\nLAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);\n  if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }\n  iVar2 = iVar2 + 1;\n  goto LAB_00025b9f;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "byte *local_38;" (type_identifier "byte") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (if_statement "if (param_3 != (byte *)0x0) {\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" (if "if") (parenthesized_expression "(param_3 != (byte *)0x0)" (( "(") (binary_expression "param_3 != (byte *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x14);\n    if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\nLAB_00025928:\n    iVar2 = 0;\n    do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" ({ "{") (expression_statement "iVar2 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (0 < iVar2) {\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n      puVar4 = *(undefined4 **)(param_1 + 0x10);\n      iVar5 = 0;\nLAB_00025898:\n      pbVar3 = (byte *)*puVar4;\n      local_38 = param_3;\n      do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" ({ "{") (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x10);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x10)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00025898:\n      pbVar3 = (byte *)*puVar4;" (statement_identifier "LAB_00025898") (: ":") (expression_statement "pbVar3 = (byte *)*puVar4;" (assignment_expression "pbVar3 = (byte *)*puVar4" (identifier "pbVar3") (= "=") (cast_expression "(byte *)*puVar4" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";"))) (expression_statement "local_38 = param_3;" (assignment_expression "local_38 = param_3" (identifier "local_38") (= "=") (identifier "param_3")) (; ";")) (do_statement "do {\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      } while( true );" (do "do") (compound_statement "{\n        uVar1 = (uint)*local_38;\n        if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;\n        local_38 = local_38 + 1;\n        pbVar3 = pbVar3 + 1;\n      }" ({ "{") (expression_statement "uVar1 = (uint)*local_38;" (assignment_expression "uVar1 = (uint)*local_38" (identifier "uVar1") (= "=") (binary_expression "(uint)*local_38" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_38"))) (; ";")) (if_statement "if (uVar1 == *pbVar3) {\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" (if "if") (parenthesized_expression "(uVar1 == *pbVar3)" (( "(") (binary_expression "uVar1 == *pbVar3" (identifier "uVar1") (== "==") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3"))) () ")")) (compound_statement "{\n          if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }\n        }" ({ "{") (if_statement "if (uVar1 == 0) {\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if (iVar5 < iVar2) goto LAB_000258e9;\n            break;\n          }" ({ "{") (if_statement "if (iVar5 < iVar2) goto LAB_000258e9;" (if "if") (parenthesized_expression "(iVar5 < iVar2)" (( "(") (binary_expression "iVar5 < iVar2" (identifier "iVar5") (< "<") (identifier "iVar2")) () ")")) (goto_statement "goto LAB_000258e9;" (goto "goto") (statement_identifier "LAB_000258e9") (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[*pbVar3]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (] "]"))) () ")")) (goto_statement "goto LAB_00025918;" (goto "goto") (statement_identifier "LAB_00025918") (; ";"))))) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" (identifier "local_38") (= "=") (binary_expression "local_38 + 1" (identifier "local_38") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00025928:\n    iVar2 = 0;" (statement_identifier "LAB_00025928") (: ":") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";"))) (do_statement "do {\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );" (do "do") (compound_statement "{\n      uVar1 = (uint)param_3[iVar2];\n      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }\n      iVar2 = iVar2 + 1;\n    }" ({ "{") (expression_statement "uVar1 = (uint)param_3[iVar2];" (assignment_expression "uVar1 = (uint)param_3[iVar2]" (identifier "uVar1") (= "=") (cast_expression "(uint)param_3[iVar2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_3[iVar2]" (identifier "param_3") ([ "[") (identifier "iVar2") (] "]")))) (; ";")) (if_statement "if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {\n        if (uVar1 == 0) goto code_r0x00025958;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(uVar1 == (byte)(&DAT_000a9ef3)[iVar2])" (( "(") (binary_expression "uVar1 == (byte)(&DAT_000a9ef3)[iVar2]" (identifier "uVar1") (== "==") (subscript_expression "(byte)(&DAT_000a9ef3)[iVar2]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_000a9ef3)" (( "(") (pointer_expression "&DAT_000a9ef3" (& "&") (identifier "DAT_000a9ef3")) () ")"))) ([ "[") (identifier "iVar2") (] "]"))) () ")")) (compound_statement "{\n        if (uVar1 == 0) goto code_r0x00025958;\n      }" ({ "{") (if_statement "if (uVar1 == 0) goto code_r0x00025958;" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto code_r0x00025958;" (goto "goto") (statement_identifier "code_r0x00025958") (; ";"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (subscript_expression "(byte)(&DAT_000a9ef3)[iVar2]" (call_expression "(byte)(&DAT_000a9ef3)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_000a9ef3)" (( "(") (pointer_expression "&DAT_000a9ef3" (& "&") (identifier "DAT_000a9ef3")) () ")"))) ([ "[") (identifier "iVar2") (] "]")) (] "]"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" (identifier "iVar2") (= "=") (call_expression "FUN_0001e430()" (identifier "FUN_0001e430") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) {\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = FUN_0001e430();\n    iVar2 = *(int *)(iVar2 + 8);\n    if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" (identifier "iVar2") (= "=") (call_expression "FUN_0001e430()" (identifier "FUN_0001e430") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) {\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }\n      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);\n      iVar5 = 7;\n      if (iVar2 != 0) {\n        return 0;\n      }\n      do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );\n    }" ({ "{") (if_statement "if (2 < *(int *)(param_1 + 0x14)) {\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }" (if "if") (parenthesized_expression "(2 < *(int *)(param_1 + 0x14))" (( "(") (binary_expression "2 < *(int *)(param_1 + 0x14)" (number_literal "2") (< "<") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n        iVar2 = 2;\n        do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));\n      }" ({ "{") (expression_statement "iVar2 = 2;" (assignment_expression "iVar2 = 2" (identifier "iVar2") (= "=") (number_literal "2")) (; ";")) (do_statement "do {\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        } while (iVar2 < *(int *)(param_1 + 0x14));" (do "do") (compound_statement "{\n          iVar5 = FUN_0001e430();\n          if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }\n          iVar2 = iVar2 + 1;\n        }" ({ "{") (expression_statement "iVar5 = FUN_0001e430();" (assignment_expression "iVar5 = FUN_0001e430()" (identifier "iVar5") (= "=") (call_expression "FUN_0001e430()" (identifier "FUN_0001e430") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (*(int *)(iVar5 + 8) != 0) {\n            return *(int *)(iVar5 + 8);\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar5 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar5 + 8) != 0" (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return *(int *)(iVar5 + 8);\n          }" ({ "{") (return_statement "return *(int *)(iVar5 + 8);" (return "return") (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x14))" (( "(") (binary_expression "iVar2 < *(int *)(param_1 + 0x14)" (identifier "iVar2") (< "<") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7)" (identifier "iVar2") (= "=") (call_expression "sqlite3_strnicmp(param_2,"sqlite_",7)" (identifier "sqlite3_strnicmp") (argument_list "(param_2,"sqlite_",7)" (( "(") (identifier "param_2") (, ",") (string_literal ""sqlite_"" (" """) (string_content "sqlite_") (" """)) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" (identifier "iVar5") (= "=") (number_literal "7")) (; ";")) (if_statement "if (iVar2 != 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (do_statement "do {\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      } while( true );" (do "do") (compound_statement "{\n        uVar1 = (uint)*(byte *)(param_2 + iVar5);\n        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }\n        iVar5 = iVar5 + 1;\n      }" ({ "{") (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar5);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar5)" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar5)" (( "(") (binary_expression "param_2 + iVar5" (identifier "param_2") (+ "+") (identifier "iVar5")) () ")"))))) (; ";")) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar5]) {\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }\n        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" (if "if") (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar5])" (( "(") (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar5]" (identifier "uVar1") (== "==") (cast_expression "(byte)"sqlite_schema"[iVar5]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_schema"[iVar5]" (string_literal ""sqlite_schema"" (" """) (string_content "sqlite_schema") (" """)) ([ "[") (identifier "iVar5") (] "]")))) () ")")) (compound_statement "{\n          if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }\n        }" ({ "{") (if_statement "if (uVar1 == 0) {\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00025adb:\n            iVar2 = FUN_0001e430();\n            return *(int *)(iVar2 + 8);\n          }" ({ "{") (labeled_statement "LAB_00025adb:\n            iVar2 = FUN_0001e430();" (statement_identifier "LAB_00025adb") (: ":") (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" (identifier "iVar2") (= "=") (call_expression "FUN_0001e430()" (identifier "FUN_0001e430") (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return *(int *)(iVar2 + 8);" (return "return") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (cast_expression "(byte)"sqlite_schema"[iVar5]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_schema"[iVar5]" (string_literal ""sqlite_schema"" (" """) (string_content "sqlite_schema") (" """)) ([ "[") (identifier "iVar5") (] "]"))) (] "]"))) () ")")) (compound_statement "{\n          iVar2 = 7;\n          do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );\n        }" ({ "{") (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" (identifier "iVar2") (= "=") (number_literal "7")) (; ";")) (do_statement "do {\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          } while( true );" (do "do") (compound_statement "{\n            uVar1 = (uint)*(byte *)(param_2 + iVar2);\n            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }\n            iVar2 = iVar2 + 1;\n          }" ({ "{") (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar2)" (( "(") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2")) () ")"))))) (; ";")) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }\n            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" (if "if") (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar2])" (( "(") (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar2]" (identifier "uVar1") (== "==") (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" (" """) (string_content "sqlite_temp_schema") (" """)) ([ "[") (identifier "iVar2") (] "]")))) () ")")) (compound_statement "{\n              if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }\n            }" ({ "{") (if_statement "if (uVar1 == 0) {\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00025b27:\n                iVar2 = FUN_0001e430();\n                return *(int *)(iVar2 + 8);\n              }" ({ "{") (labeled_statement "LAB_00025b27:\n                iVar2 = FUN_0001e430();" (statement_identifier "LAB_00025b27") (: ":") (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" (identifier "iVar2") (= "=") (call_expression "FUN_0001e430()" (identifier "FUN_0001e430") (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return *(int *)(iVar2 + 8);" (return "return") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n              return 0;\n            }" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" (" """) (string_content "sqlite_temp_schema") (" """)) ([ "[") (identifier "iVar2") (] "]"))) (] "]"))) () ")")) (compound_statement "{\n              return 0;\n            }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (labeled_statement "LAB_00025918:\n  iVar5 = iVar5 + 1;" (statement_identifier "LAB_00025918") (: ":") (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (iVar5 == iVar2) goto LAB_00025928;" (if "if") (parenthesized_expression "(iVar5 == iVar2)" (( "(") (binary_expression "iVar5 == iVar2" (identifier "iVar5") (== "==") (identifier "iVar2")) () ")")) (goto_statement "goto LAB_00025928;" (goto "goto") (statement_identifier "LAB_00025928") (; ";"))) (goto_statement "goto LAB_00025898;" (goto "goto") (statement_identifier "LAB_00025898") (; ";")) (labeled_statement "code_r0x00025958:\n  iVar5 = 0;" (statement_identifier "code_r0x00025958") (: ":") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_000258e9:\n  iVar2 = FUN_0001e430();" (statement_identifier "LAB_000258e9") (: ":") (expression_statement "iVar2 = FUN_0001e430();" (assignment_expression "iVar2 = FUN_0001e430()" (identifier "iVar2") (= "=") (call_expression "FUN_0001e430()" (identifier "FUN_0001e430") (argument_list "()" (( "(") () ")")))) (; ";"))) (if_statement "if (*(int *)(iVar2 + 8) != 0) {\n    return *(int *)(iVar2 + 8);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 8) != 0" (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(int *)(iVar2 + 8);\n  }" ({ "{") (return_statement "return *(int *)(iVar2 + 8);" (return "return") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (expression_statement "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7)" (identifier "iVar2") (= "=") (call_expression "sqlite3_strnicmp(param_2,"sqlite_",7)" (identifier "sqlite3_strnicmp") (argument_list "(param_2,"sqlite_",7)" (( "(") (identifier "param_2") (, ",") (string_literal ""sqlite_"" (" """) (string_content "sqlite_") (" """)) (, ",") (number_literal "7") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" (identifier "iVar2") (= "=") (number_literal "7")) (; ";")) (if_statement "if (iVar5 == 1) {\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" (if "if") (parenthesized_expression "(iVar5 == 1)" (( "(") (binary_expression "iVar5 == 1" (identifier "iVar5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );\n  }" ({ "{") (do_statement "do {\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    } while( true );" (do "do") (compound_statement "{\n      uVar1 = (uint)*(byte *)(param_2 + iVar2);\n      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }\n      iVar2 = iVar2 + 1;\n    }" ({ "{") (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar2)" (( "(") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2")) () ")"))))) (; ";")) (if_statement "if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {\n        if (uVar1 == 0) goto LAB_00025b27;\n      }\n      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" (if "if") (parenthesized_expression "(uVar1 == (byte)"sqlite_temp_schema"[iVar2])" (( "(") (binary_expression "uVar1 == (byte)"sqlite_temp_schema"[iVar2]" (identifier "uVar1") (== "==") (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" (" """) (string_content "sqlite_temp_schema") (" """)) ([ "[") (identifier "iVar2") (] "]")))) () ")")) (compound_statement "{\n        if (uVar1 == 0) goto LAB_00025b27;\n      }" ({ "{") (if_statement "if (uVar1 == 0) goto LAB_00025b27;" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00025b27;" (goto "goto") (statement_identifier "LAB_00025b27") (; ";"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (cast_expression "(byte)"sqlite_temp_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_temp_schema"[iVar2]" (string_literal ""sqlite_temp_schema"" (" """) (string_content "sqlite_temp_schema") (" """)) ([ "[") (identifier "iVar2") (] "]"))) (] "]"))) () ")")) (compound_statement "{\n        iVar2 = 7;\n        goto LAB_00025b6c;\n      }" ({ "{") (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" (identifier "iVar2") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_00025b6c;" (goto "goto") (statement_identifier "LAB_00025b6c") (; ";")) (} "}"))))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (do_statement "do {\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    uVar1 = (uint)*(byte *)(param_2 + iVar2);\n    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }\n    iVar2 = iVar2 + 1;\n  }" ({ "{") (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar2)" (( "(") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2")) () ")"))))) (; ";")) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n      if (uVar1 == 0) goto LAB_00025adb;\n    }\n    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar2])" (( "(") (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar2]" (identifier "uVar1") (== "==") (cast_expression "(byte)"sqlite_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" (" """) (string_content "sqlite_schema") (" """)) ([ "[") (identifier "iVar2") (] "]")))) () ")")) (compound_statement "{\n      if (uVar1 == 0) goto LAB_00025adb;\n    }" ({ "{") (if_statement "if (uVar1 == 0) goto LAB_00025adb;" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00025adb;" (goto "goto") (statement_identifier "LAB_00025adb") (; ";"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n      return 0;\n    }" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (cast_expression "(byte)"sqlite_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" (" """) (string_content "sqlite_schema") (" """)) ([ "[") (identifier "iVar2") (] "]"))) (] "]"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (labeled_statement "LAB_00025b6c:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);" (statement_identifier "LAB_00025b6c") (: ":") (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar2)" (( "(") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2")) () ")"))))) (; ";"))) (if_statement "if (uVar1 == (byte)"sqlite_schema"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" (if "if") (parenthesized_expression "(uVar1 == (byte)"sqlite_schema"[iVar2])" (( "(") (binary_expression "uVar1 == (byte)"sqlite_schema"[iVar2]" (identifier "uVar1") (== "==") (cast_expression "(byte)"sqlite_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" (" """) (string_content "sqlite_schema") (" """)) ([ "[") (identifier "iVar2") (] "]")))) () ")")) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" ({ "{") (if_statement "if (uVar1 == 0) goto LAB_00025b27;" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00025b27;" (goto "goto") (statement_identifier "LAB_00025b27") (; ";"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (cast_expression "(byte)"sqlite_schema"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_schema"[iVar2]" (string_literal ""sqlite_schema"" (" """) (string_content "sqlite_schema") (" """)) ([ "[") (identifier "iVar2") (] "]"))) (] "]"))) () ")")) (compound_statement "{\n    iVar2 = 7;\n    goto LAB_00025b9f;\n  }" ({ "{") (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" (identifier "iVar2") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_00025b9f;" (goto "goto") (statement_identifier "LAB_00025b9f") (; ";")) (} "}"))))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_00025b6c;" (goto "goto") (statement_identifier "LAB_00025b6c") (; ";")) (labeled_statement "LAB_00025b9f:\n  uVar1 = (uint)*(byte *)(param_2 + iVar2);" (statement_identifier "LAB_00025b9f") (: ":") (expression_statement "uVar1 = (uint)*(byte *)(param_2 + iVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(param_2 + iVar2)" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar2)" (( "(") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2")) () ")"))))) (; ";"))) (if_statement "if (uVar1 == (byte)"sqlite_master"[iVar2]) {\n    if (uVar1 == 0) goto LAB_00025b27;\n  }\n  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(uVar1 == (byte)"sqlite_master"[iVar2])" (( "(") (binary_expression "uVar1 == (byte)"sqlite_master"[iVar2]" (identifier "uVar1") (== "==") (cast_expression "(byte)"sqlite_master"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_master"[iVar2]" (string_literal ""sqlite_master"" (" """) (string_content "sqlite_master") (" """)) ([ "[") (identifier "iVar2") (] "]")))) () ")")) (compound_statement "{\n    if (uVar1 == 0) goto LAB_00025b27;\n  }" ({ "{") (if_statement "if (uVar1 == 0) goto LAB_00025b27;" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00025b27;" (goto "goto") (statement_identifier "LAB_00025b27") (; ";"))) (} "}")) (else_clause "else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" (else "else") (if_statement "if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]])" (( "(") (binary_expression "(&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]" (subscript_expression "(&DAT_000b5080)[uVar1]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (identifier "uVar1") (] "]")) (!= "!=") (subscript_expression "(&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]" (parenthesized_expression "(&DAT_000b5080)" (( "(") (pointer_expression "&DAT_000b5080" (& "&") (identifier "DAT_000b5080")) () ")")) ([ "[") (cast_expression "(byte)"sqlite_master"[iVar2]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression ""sqlite_master"[iVar2]" (string_literal ""sqlite_master"" (" """) (string_content "sqlite_master") (" """)) ([ "[") (identifier "iVar2") (] "]"))) (] "]"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_00025b9f;" (goto "goto") (statement_identifier "LAB_00025b9f") (; ";")) (} "}")))

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

type_3 * __regparm3 sqlite3FindTable(sqlite3 *db,char *zName,char *var_1)

{
  type_1 var_5;
  type_2 *pHVar2;
  type_3 *var_8;
  int var_2;
  type_4 *pSVar5;
  type_5 *var_6;
  int var_3;
  type_5 *var_4;
  type_6 *var_10;
  int var_11;
  
  if (var_1 != (char *)0x0) {
    var_2 = db->nDb;
    if (0 < var_2) {
      var_10 = db->aDb;
      var_3 = 0;
LAB_00025898:
      var_11 = var_3 << 4;
      var_6 = (type_5 *)var_10->zDbSName;
      var_4 = (type_5 *)var_1;
      do {
        var_5 = (type_1)*var_4;
        if (var_5 == *var_6) {
          if (var_5 == 0) {
            if (var_3 < var_2) goto LAB_000258e9;
            break;
          }
        }
        else if (""[var_5] != ""[*var_6]) goto LAB_00025918;
        var_4 = var_4 + 1;
        var_6 = var_6 + 1;
      } while( true );
    }
LAB_00025928:
    var_2 = 0;
    do {
      var_5 = (type_1)(type_5)var_1[var_2];
      if (var_5 == (type_5)(&DAT_000a9ef3)[var_2]) {
        if (var_5 == 0) goto code_r0x00025958;
      }
      else if (""[var_5] != ""[(type_5)(&DAT_000a9ef3)[var_2]]) {
        return (type_3 *)0x0;
      }
      var_2 = var_2 + 1;
    } while( true );
  }
  pHVar2 = var_7(&(db->aDb[1].pSchema)->tblHash,zName,(type_1 *)0x0);
  var_8 = (type_3 *)pHVar2->data;
  if (var_8 == (type_3 *)0x0) {
    pHVar2 = var_7(&db->aDb->pSchema->tblHash,zName,(type_1 *)0x0);
    var_8 = (type_3 *)pHVar2->data;
    if (var_8 == (type_3 *)0x0) {
      if (2 < db->nDb) {
        var_2 = 2;
        do {
          pHVar2 = var_7(&(db->aDb[var_2].pSchema)->tblHash,zName,(type_1 *)0x0);
          if ((type_3 *)pHVar2->data != (type_3 *)0x0) {
            return (type_3 *)pHVar2->data;
          }
          var_2 = var_2 + 1;
        } while (var_2 < db->nDb);
      }
      var_2 = var_9(zName,"sqlite_",7);
      var_3 = 7;
      if (var_2 != 0) {
        return (type_3 *)0x0;
      }
      do {
        var_5 = (type_1)(type_5)zName[var_3];
        if (var_5 == (type_5)"sqlite_schema"[var_3]) {
          if (var_5 == 0) goto code_r0x00025a5e;
        }
        else if (""[var_5] != ""[(type_5)"sqlite_schema"[var_3]]) {
          var_2 = 7;
          do {
            var_5 = (type_1)(type_5)zName[var_2];
            if (var_5 == (type_5)"sqlite_temp_schema"[var_2]) {
              if (var_5 == 0) {
LAB_00025b27:
                pHVar2 = var_7(&(db->aDb[1].pSchema)->tblHash,"sqlite_temp_master",
                                             (type_1 *)0x0);
                return (type_3 *)pHVar2->data;
              }
            }
            else if (""[var_5] != ""[(type_5)"sqlite_temp_schema"[var_2]]) {
              return (type_3 *)0x0;
            }
            var_2 = var_2 + 1;
          } while( true );
        }
        var_3 = var_3 + 1;
      } while( true );
    }
  }
  return var_8;
LAB_00025918:
  var_3 = var_3 + 1;
  var_10 = var_10 + 1;
  if (var_3 == var_2) goto LAB_00025928;
  goto LAB_00025898;
code_r0x00025958:
  var_11 = 0;
  var_10 = db->aDb;
  var_3 = 0;
LAB_000258e9:
  pHVar2 = var_7(&var_10->pSchema->tblHash,zName,(type_1 *)0x0);
  if ((type_3 *)pHVar2->data != (type_3 *)0x0) {
    return (type_3 *)pHVar2->data;
  }
  var_2 = var_9(zName,"sqlite_",7);
  if (var_2 != 0) {
    return (type_3 *)0x0;
  }
  var_2 = 7;
  if (var_3 == 1) {
    do {
      var_5 = (type_1)(type_5)zName[var_2];
      if (var_5 == (type_5)"sqlite_temp_schema"[var_2]) {
        if (var_5 == 0) goto LAB_00025b27;
      }
      else if (""[var_5] != ""[(type_5)"sqlite_temp_schema"[var_2]]) {
        var_2 = 7;
        goto LAB_00025b6c;
      }
      var_2 = var_2 + 1;
    } while( true );
  }
  do {
    var_5 = (type_1)(type_5)zName[var_2];
    if (var_5 == (type_5)"sqlite_schema"[var_2]) {
      if (var_5 == 0) goto code_r0x00025acc;
    }
    else if (""[var_5] != ""[(type_5)"sqlite_schema"[var_2]]) {
      return (type_3 *)0x0;
    }
    var_2 = var_2 + 1;
  } while( true );
LAB_00025b6c:
  var_5 = (type_1)(type_5)zName[var_2];
  if (var_5 == (type_5)"sqlite_schema"[var_2]) {
    if (var_5 == 0) goto LAB_00025b27;
  }
  else if (""[var_5] != ""[(type_5)"sqlite_schema"[var_2]]) {
    var_2 = 7;
    goto LAB_00025b9f;
  }
  var_2 = var_2 + 1;
  goto LAB_00025b6c;
LAB_00025b9f:
  var_5 = (type_1)(type_5)zName[var_2];
  if (var_5 == (type_5)"sqlite_master"[var_2]) {
    if (var_5 == 0) goto LAB_00025b27;
  }
  else if (""[var_5] != ""[(type_5)"sqlite_master"[var_2]]) {
    return (type_3 *)0x0;
  }
  var_2 = var_2 + 1;
  goto LAB_00025b9f;
code_r0x00025acc:
  pSVar5 = *(type_4 **)((int)&db->aDb->pSchema + var_11);
  goto LAB_00025adb;
code_r0x00025a5e:
  pSVar5 = db->aDb->pSchema;
LAB_00025adb:
  pHVar2 = var_7(&pSVar5->tblHash,"sqlite_master",(type_1 *)0x0);
  return (type_3 *)pHVar2->data;
}


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

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

int __regparm3 MASKED(int param_1,int param_2,byte *param_3)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  undefined4 *puVar4;
  int iVar5;
  byte *local_38;
  
  if (param_3 != (byte *)0x0) {
    iVar2 = *(int *)(param_1 + 0x14);
    if (0 < iVar2) {
      puVar4 = *(undefined4 **)(param_1 + 0x10);
      iVar5 = 0;
LAB_00025898:
      pbVar3 = (byte *)*puVar4;
      local_38 = param_3;
      do {
        uVar1 = (uint)*local_38;
        if (uVar1 == *pbVar3) {
          if (uVar1 == 0) {
            if (iVar5 < iVar2) goto LAB_000258e9;
            break;
          }
        }
        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[*pbVar3]) goto LAB_00025918;
        local_38 = local_38 + 1;
        pbVar3 = pbVar3 + 1;
      } while( true );
    }
LAB_00025928:
    iVar2 = 0;
    do {
      uVar1 = (uint)param_3[iVar2];
      if (uVar1 == (byte)(&DAT_000a9ef3)[iVar2]) {
        if (uVar1 == 0) goto code_r0x00025958;
      }
      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)(&DAT_000a9ef3)[iVar2]]) {
        return 0;
      }
      iVar2 = iVar2 + 1;
    } while( true );
  }
  iVar2 = FUN_0001e430();
  iVar2 = *(int *)(iVar2 + 8);
  if (iVar2 == 0) {
    iVar2 = FUN_0001e430();
    iVar2 = *(int *)(iVar2 + 8);
    if (iVar2 == 0) {
      if (2 < *(int *)(param_1 + 0x14)) {
        iVar2 = 2;
        do {
          iVar5 = FUN_0001e430();
          if (*(int *)(iVar5 + 8) != 0) {
            return *(int *)(iVar5 + 8);
          }
          iVar2 = iVar2 + 1;
        } while (iVar2 < *(int *)(param_1 + 0x14));
      }
      iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);
      iVar5 = 7;
      if (iVar2 != 0) {
        return 0;
      }
      do {
        uVar1 = (uint)*(byte *)(param_2 + iVar5);
        if (uVar1 == (byte)"sqlite_schema"[iVar5]) {
          if (uVar1 == 0) {
LAB_00025adb:
            iVar2 = FUN_0001e430();
            return *(int *)(iVar2 + 8);
          }
        }
        else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar5]]) {
          iVar2 = 7;
          do {
            uVar1 = (uint)*(byte *)(param_2 + iVar2);
            if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {
              if (uVar1 == 0) {
LAB_00025b27:
                iVar2 = FUN_0001e430();
                return *(int *)(iVar2 + 8);
              }
            }
            else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {
              return 0;
            }
            iVar2 = iVar2 + 1;
          } while( true );
        }
        iVar5 = iVar5 + 1;
      } while( true );
    }
  }
  return iVar2;
LAB_00025918:
  iVar5 = iVar5 + 1;
  puVar4 = puVar4 + 4;
  if (iVar5 == iVar2) goto LAB_00025928;
  goto LAB_00025898;
code_r0x00025958:
  iVar5 = 0;
LAB_000258e9:
  iVar2 = FUN_0001e430();
  if (*(int *)(iVar2 + 8) != 0) {
    return *(int *)(iVar2 + 8);
  }
  iVar2 = sqlite3_strnicmp(param_2,"sqlite_",7);
  if (iVar2 != 0) {
    return 0;
  }
  iVar2 = 7;
  if (iVar5 == 1) {
    do {
      uVar1 = (uint)*(byte *)(param_2 + iVar2);
      if (uVar1 == (byte)"sqlite_temp_schema"[iVar2]) {
        if (uVar1 == 0) goto LAB_00025b27;
      }
      else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_temp_schema"[iVar2]]) {
        iVar2 = 7;
        goto LAB_00025b6c;
      }
      iVar2 = iVar2 + 1;
    } while( true );
  }
  do {
    uVar1 = (uint)*(byte *)(param_2 + iVar2);
    if (uVar1 == (byte)"sqlite_schema"[iVar2]) {
      if (uVar1 == 0) goto LAB_00025adb;
    }
    else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {
      return 0;
    }
    iVar2 = iVar2 + 1;
  } while( true );
LAB_00025b6c:
  uVar1 = (uint)*(byte *)(param_2 + iVar2);
  if (uVar1 == (byte)"sqlite_schema"[iVar2]) {
    if (uVar1 == 0) goto LAB_00025b27;
  }
  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_schema"[iVar2]]) {
    iVar2 = 7;
    goto LAB_00025b9f;
  }
  iVar2 = iVar2 + 1;
  goto LAB_00025b6c;
LAB_00025b9f:
  uVar1 = (uint)*(byte *)(param_2 + iVar2);
  if (uVar1 == (byte)"sqlite_master"[iVar2]) {
    if (uVar1 == 0) goto LAB_00025b27;
  }
  else if ((&DAT_000b5080)[uVar1] != (&DAT_000b5080)[(byte)"sqlite_master"[iVar2]]) {
    return 0;
  }
  iVar2 = iVar2 + 1;
  goto LAB_00025b9f;
}

