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

int __regparm3 sqlite3CheckObjectName(Parse *pParse,char *zName,char *zType,char *zTblName)

{
  sqlite3 *db;
  int iVar1;
  char *zFormat;
  uint uVar2;
  
  db = pParse->db;
  uVar2 = (uint)db->flags;
  if ((((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||
     (sqlite3Config.bExtraSchemaChecks == '\0')) {
LAB_0004bba8:
    iVar1 = 0;
  }
  else {
    if ((db->init).busy == '\0') {
      if (pParse->nested == '\0') {
        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);
        if (iVar1 != 0) {
          uVar2 = (uint)db->flags;
          goto LAB_0004bb8d;
        }
      }
      else {
LAB_0004bb8d:
        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||
           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))
        goto LAB_0004bba8;
      }
      zFormat = "object name reserved for internal use: %s";
    }
    else {
      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);
      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&
         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;
      zFormat = "";
    }
    sqlite3ErrorMsg(pParse,zFormat);
    iVar1 = 1;
  }
  return iVar1;
}



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

undefined4 __regparm3
FUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  char *pcVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  
  iVar3 = *param_1;
  uVar5 = *(uint *)(iVar3 + 0x1c);
  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||
     (DAT_00106369 == '\0')) {
LAB_0004bba8:
    uVar1 = 0;
  }
  else {
    if (*(char *)(iVar3 + 0xa1) == '\0') {
      if (*(char *)((int)param_1 + 0x12) == '\0') {
        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);
        if (iVar4 != 0) {
          uVar5 = *(uint *)(iVar3 + 0x1c);
          goto LAB_0004bb8d;
        }
      }
      else {
LAB_0004bb8d:
        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||
           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))
        goto LAB_0004bba8;
      }
      pcVar2 = "object name reserved for internal use: %s";
    }
    else {
      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));
      if (((iVar4 == 0) &&
          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)
          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),
               iVar3 == 0)) goto LAB_0004bba8;
      pcVar2 = "";
    }
    FUN_0003d470(param_1,pcVar2);
    uVar1 = 1;
  }
  return uVar1;
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x0001ddf0
ADD EBX,0xba4b5
SUB ESP,0xc
MOV ESI,dword ptr [EAX]
MOV EDX,dword ptr [ESI + 0x1c]
MOV EBP,EDX
AND EBP,0x10000001
CMP EBP,0x1
JZ 0x0004bba8
TEST byte ptr [ESI + 0xa2],0x2
JNZ 0x0004bba8
CMP byte ptr [EBX + 0x369],0x0
JZ 0x0004bba8
CMP byte ptr [ESI + 0xa1],0x0
MOV EBP,EAX
JNZ 0x0004bbb8
CMP byte ptr [EAX + 0x12],0x0
JZ 0x0004bc60
AND EDX,0x10000000
JZ 0x0004bba8
MOV EDX,dword ptr [ESI + 0x170]
TEST EDX,EDX
JZ 0x0004bc28
NOP
LEA ESI,[ESI]
XOR EAX,EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESI + 0xa4]
SUB ESP,0x8
PUSH dword ptr [EAX]
PUSH ECX
CALL 0x00016960
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004bc08
MOV EAX,dword ptr [ESI + 0xa4]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x4]
PUSH EDI
CALL 0x00016960
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004bc08
MOV EAX,dword ptr [ESI + 0xa4]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [ESP + 0x2c]
CALL 0x00016960
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004bba8
LEA ESI,[ESI]
LEA EAX,[EBX + 0xfffcc590]
SUB ESP,0x8
PUSH EAX
PUSH EBP
CALL 0x0003d470
ADD ESP,0x10
MOV EAX,0x1
JMP 0x0004bbaa
MOV EAX,dword ptr [ESI + 0xb4]
TEST EAX,EAX
JNZ 0x0004bba8
MOV EDX,EDI
MOV EAX,ESI
CALL 0x0004b8e0
TEST EAX,EAX
JZ 0x0004bba8
MOV ESI,ESI
LEA EDI,[EDI]
SUB ESP,0x4
LEA EAX,[EBX + 0xfffcdf1c]
PUSH EDI
JMP 0x0004bc11
LEA EAX,[EBX + 0xfffcb50d]
SUB ESP,0x4
PUSH 0x7
PUSH EAX
PUSH EDI
CALL 0x00016c20
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004bc50
MOV EDX,dword ptr [ESI + 0x1c]
JMP 0x0004bb8d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3\nFUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 __regparm3\nFUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" if (parenthesized_expression "((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0'))" ( (binary_expression "(((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')" (parenthesized_expression "(((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0))" ( (binary_expression "((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)" (parenthesized_expression "((uVar5 & 0x10000001) == 1)" ( (binary_expression "(uVar5 & 0x10000001) == 1" (parenthesized_expression "(uVar5 & 0x10000001)" ( (binary_expression "uVar5 & 0x10000001" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(iVar3 + 0xa2) & 2) != 0)" ( (binary_expression "(*(byte *)(iVar3 + 0xa2) & 2) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0xa2) & 2)" ( (binary_expression "*(byte *)(iVar3 + 0xa2) & 2" (pointer_expression "*(byte *)(iVar3 + 0xa2)" * (cast_expression "(byte *)(iVar3 + 0xa2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa2)" ( (binary_expression "iVar3 + 0xa2" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "(DAT_00106369 == '\0')" ( (binary_expression "DAT_00106369 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\nLAB_0004bba8:\n    uVar1 = 0;\n  }" { (labeled_statement "LAB_0004bba8:\n    uVar1 = 0;" statement_identifier : (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" else (compound_statement "{\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" { (if_statement "if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0xa1) == '\0')" ( (binary_expression "*(char *)(iVar3 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar3 + 0xa1)" * (cast_expression "(char *)(iVar3 + 0xa1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa1)" ( (binary_expression "iVar3 + 0xa1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }" { (if_statement "if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x12) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x12) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x12)" * (cast_expression "(char *)((int)param_1 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x12)" ( (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }" { (expression_statement "iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar4 = 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 (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }" { (expression_statement "uVar5 = *(uint *)(iVar3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0004bb8d;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" else (compound_statement "{\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" { (labeled_statement "LAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;" statement_identifier : (if_statement "if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;" if (parenthesized_expression "((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))" ( (binary_expression "(((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)))" (parenthesized_expression "(((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0))" ( (binary_expression "((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)" (parenthesized_expression "((uVar5 & 0x10000000) == 0)" ( (binary_expression "(uVar5 & 0x10000000) == 0" (parenthesized_expression "(uVar5 & 0x10000000)" ( (binary_expression "uVar5 & 0x10000000" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(int *)(iVar3 + 0x170) != 0)" ( (binary_expression "*(int *)(iVar3 + 0x170) != 0" (pointer_expression "*(int *)(iVar3 + 0x170)" * (cast_expression "(int *)(iVar3 + 0x170)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x170)" ( (binary_expression "iVar3 + 0x170" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)))" ( (parenthesized_expression "(*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))" ( (binary_expression "*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)" (binary_expression "*(int *)(iVar3 + 0xb4) != 0" (pointer_expression "*(int *)(iVar3 + 0xb4)" * (cast_expression "(int *)(iVar3 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb4)" ( (binary_expression "iVar3 + 0xb4" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "(iVar3 = FUN_0004b8e0(), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_0004b8e0(), iVar3 == 0" (assignment_expression "iVar3 = FUN_0004b8e0()" identifier = (call_expression "FUN_0004b8e0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0004bba8;" goto statement_identifier ;))) }))) (expression_statement "pcVar2 = "object name reserved for internal use: %s";" (assignment_expression "pcVar2 = "object name reserved for internal use: %s"" identifier = (string_literal ""object name reserved for internal use: %s"" " string_content ")) ;) }) (else_clause "else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" else (compound_statement "{\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" { (expression_statement "iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));" (assignment_expression "iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4))" identifier = (call_expression "sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4))" identifier (argument_list "(param_3,**(undefined4 **)(iVar3 + 0xa4))" ( identifier , (pointer_expression "**(undefined4 **)(iVar3 + 0xa4)" * (pointer_expression "*(undefined4 **)(iVar3 + 0xa4)" * (cast_expression "(undefined4 **)(iVar3 + 0xa4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0xa4)" ( (binary_expression "iVar3 + 0xa4" identifier + number_literal) ))))) )))) ;) (if_statement "if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;" if (parenthesized_expression "(((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0))" ( (binary_expression "((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)" (parenthesized_expression "((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          )" ( (binary_expression "(iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)" ( (comma_expression "iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0" (assignment_expression "iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" identifier = (call_expression "sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" identifier (argument_list "(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)" * (cast_expression "(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0xa4) + 4)" ( (binary_expression "*(int *)(iVar3 + 0xa4) + 4" (pointer_expression "*(int *)(iVar3 + 0xa4)" * (cast_expression "(int *)(iVar3 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa4)" ( (binary_expression "iVar3 + 0xa4" identifier + number_literal) )))) + number_literal) )))) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)" ( (comma_expression "iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0" (assignment_expression "iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" identifier = (call_expression "sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" identifier (argument_list "(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0xa4) + 8)" ( (binary_expression "*(int *)(iVar3 + 0xa4) + 8" (pointer_expression "*(int *)(iVar3 + 0xa4)" * (cast_expression "(int *)(iVar3 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa4)" ( (binary_expression "iVar3 + 0xa4" identifier + number_literal) )))) + number_literal) )))) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0004bba8;" goto statement_identifier ;)) (expression_statement "pcVar2 = "";" (assignment_expression "pcVar2 = """ identifier = (string_literal """" " ")) ;) }))) (expression_statement "FUN_0003d470(param_1,pcVar2);" (call_expression "FUN_0003d470(param_1,pcVar2)" identifier (argument_list "(param_1,pcVar2)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 sqlite3CheckObjectName(Parse *pParse,char *zName,char *zType,char *zTblName)\n\n{\n  sqlite3 *db;\n  int iVar1;\n  char *zFormat;\n  uint uVar2;\n  \n  db = pParse->db;\n  uVar2 = (uint)db->flags;\n  if ((((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||\n     (sqlite3Config.bExtraSchemaChecks == '\0')) {\nLAB_0004bba8:\n    iVar1 = 0;\n  }\n  else {\n    if ((db->init).busy == '\0') {\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }\n    sqlite3ErrorMsg(pParse,zFormat);\n    iVar1 = 1;\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int __regparm3 sqlite3CheckObjectName(Parse *pParse,char *zName,char *zType,char *zTblName)\n\n{\n  sqlite3 *db;\n  int iVar1;\n  char *zFormat;\n  uint uVar2;\n  \n  db = pParse->db;\n  uVar2 = (uint)db->flags;\n  if ((((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||\n     (sqlite3Config.bExtraSchemaChecks == '\0')) {\nLAB_0004bba8:\n    iVar1 = 0;\n  }\n  else {\n    if ((db->init).busy == '\0') {\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }\n    sqlite3ErrorMsg(pParse,zFormat);\n    iVar1 = 1;\n  }\n  return iVar1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3CheckObjectName(Parse *pParse,char *zName,char *zType,char *zTblName)" identifier (parameter_list "(Parse *pParse,char *zName,char *zType,char *zTblName)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) , (parameter_declaration "char *zType" primitive_type (pointer_declarator "*zType" * identifier)) , (parameter_declaration "char *zTblName" primitive_type (pointer_declarator "*zTblName" * identifier)) ))) (compound_statement "{\n  sqlite3 *db;\n  int iVar1;\n  char *zFormat;\n  uint uVar2;\n  \n  db = pParse->db;\n  uVar2 = (uint)db->flags;\n  if ((((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||\n     (sqlite3Config.bExtraSchemaChecks == '\0')) {\nLAB_0004bba8:\n    iVar1 = 0;\n  }\n  else {\n    if ((db->init).busy == '\0') {\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }\n    sqlite3ErrorMsg(pParse,zFormat);\n    iVar1 = 1;\n  }\n  return iVar1;\n}" { (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *zFormat;" primitive_type (pointer_declarator "*zFormat" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (expression_statement "uVar2 = (uint)db->flags;" (assignment_expression "uVar2 = (uint)db->flags" identifier = (cast_expression "(uint)db->flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "db->flags" identifier -> field_identifier))) ;) (if_statement "if ((((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||\n     (sqlite3Config.bExtraSchemaChecks == '\0')) {\nLAB_0004bba8:\n    iVar1 = 0;\n  }\n  else {\n    if ((db->init).busy == '\0') {\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }\n    sqlite3ErrorMsg(pParse,zFormat);\n    iVar1 = 1;\n  }" if (parenthesized_expression "((((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||\n     (sqlite3Config.bExtraSchemaChecks == '\0'))" ( (binary_expression "(((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||\n     (sqlite3Config.bExtraSchemaChecks == '\0')" (parenthesized_expression "(((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0))" ( (binary_expression "((uVar2 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)" (parenthesized_expression "((uVar2 & 0x10000001) == 1)" ( (binary_expression "(uVar2 & 0x10000001) == 1" (parenthesized_expression "(uVar2 & 0x10000001)" ( (binary_expression "uVar2 & 0x10000001" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(((db->init).field_0x6 & 2) != 0)" ( (binary_expression "((db->init).field_0x6 & 2) != 0" (parenthesized_expression "((db->init).field_0x6 & 2)" ( (binary_expression "(db->init).field_0x6 & 2" (field_expression "(db->init).field_0x6" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "(sqlite3Config.bExtraSchemaChecks == '\0')" ( (binary_expression "sqlite3Config.bExtraSchemaChecks == '\0'" (field_expression "sqlite3Config.bExtraSchemaChecks" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\nLAB_0004bba8:\n    iVar1 = 0;\n  }" { (labeled_statement "LAB_0004bba8:\n    iVar1 = 0;" statement_identifier : (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if ((db->init).busy == '\0') {\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }\n    sqlite3ErrorMsg(pParse,zFormat);\n    iVar1 = 1;\n  }" else (compound_statement "{\n    if ((db->init).busy == '\0') {\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }\n    sqlite3ErrorMsg(pParse,zFormat);\n    iVar1 = 1;\n  }" { (if_statement "if ((db->init).busy == '\0') {\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }" if (parenthesized_expression "((db->init).busy == '\0')" ( (binary_expression "(db->init).busy == '\0'" (field_expression "(db->init).busy" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }\n      zFormat = "object name reserved for internal use: %s";\n    }" { (if_statement "if (pParse->nested == '\0') {\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }" if (parenthesized_expression "(pParse->nested == '\0')" ( (binary_expression "pParse->nested == '\0'" (field_expression "pParse->nested" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);\n        if (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }\n      }" { (expression_statement "iVar1 = sqlite3_strnicmp(zName,"sqlite_",7);" (assignment_expression "iVar1 = 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 (iVar1 != 0) {\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar2 = (uint)db->flags;\n          goto LAB_0004bb8d;\n        }" { (expression_statement "uVar2 = (uint)db->flags;" (assignment_expression "uVar2 = (uint)db->flags" identifier = (cast_expression "(uint)db->flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "db->flags" identifier -> field_identifier))) ;) (goto_statement "goto LAB_0004bb8d;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }" else (compound_statement "{\nLAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;\n      }" { (labeled_statement "LAB_0004bb8d:\n        if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;" statement_identifier : (if_statement "if ((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))\n        goto LAB_0004bba8;" if (parenthesized_expression "((((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))))" ( (binary_expression "(((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)) ||\n           ((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0)))" (parenthesized_expression "(((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0))" ( (binary_expression "((uVar2 & 0x10000000) == 0) || (db->pVtabCtx != (VtabCtx *)0x0)" (parenthesized_expression "((uVar2 & 0x10000000) == 0)" ( (binary_expression "(uVar2 & 0x10000000) == 0" (parenthesized_expression "(uVar2 & 0x10000000)" ( (binary_expression "uVar2 & 0x10000000" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(db->pVtabCtx != (VtabCtx *)0x0)" ( (binary_expression "db->pVtabCtx != (VtabCtx *)0x0" (field_expression "db->pVtabCtx" identifier -> field_identifier) != (cast_expression "(VtabCtx *)0x0" ( (type_descriptor "VtabCtx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "((db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0)))" ( (parenthesized_expression "(db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0))" ( (binary_expression "db->nVdbeExec != 0 || (iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0)" (binary_expression "db->nVdbeExec != 0" (field_expression "db->nVdbeExec" identifier -> field_identifier) != number_literal) || (parenthesized_expression "(iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0)" ( (comma_expression "iVar1 = sqlite3ShadowTableName(db,zName), iVar1 == 0" (assignment_expression "iVar1 = sqlite3ShadowTableName(db,zName)" identifier = (call_expression "sqlite3ShadowTableName(db,zName)" identifier (argument_list "(db,zName)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0004bba8;" goto statement_identifier ;))) }))) (expression_statement "zFormat = "object name reserved for internal use: %s";" (assignment_expression "zFormat = "object name reserved for internal use: %s"" identifier = (string_literal ""object name reserved for internal use: %s"" " string_content ")) ;) }) (else_clause "else {\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }" else (compound_statement "{\n      iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);\n      if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;\n      zFormat = "";\n    }" { (expression_statement "iVar1 = sqlite3_stricmp(zType,*(db->init).azInit);" (assignment_expression "iVar1 = sqlite3_stricmp(zType,*(db->init).azInit)" identifier = (call_expression "sqlite3_stricmp(zType,*(db->init).azInit)" identifier (argument_list "(zType,*(db->init).azInit)" ( identifier , (pointer_expression "*(db->init).azInit" * (field_expression "(db->init).azInit" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier)) )))) ;) (if_statement "if (((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)) goto LAB_0004bba8;" if (parenthesized_expression "(((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0))" ( (binary_expression "((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)) &&\n         (iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)" (parenthesized_expression "((iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0)" ( (comma_expression "iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1]), iVar1 == 0" (assignment_expression "iVar1 = sqlite3_stricmp(zName,(db->init).azInit[1])" identifier = (call_expression "sqlite3_stricmp(zName,(db->init).azInit[1])" identifier (argument_list "(zName,(db->init).azInit[1])" ( identifier , (subscript_expression "(db->init).azInit[1]" (field_expression "(db->init).azInit" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0)" ( (comma_expression "iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2]), iVar1 == 0" (assignment_expression "iVar1 = sqlite3_stricmp(zTblName,(db->init).azInit[2])" identifier = (call_expression "sqlite3_stricmp(zTblName,(db->init).azInit[2])" identifier (argument_list "(zTblName,(db->init).azInit[2])" ( identifier , (subscript_expression "(db->init).azInit[2]" (field_expression "(db->init).azInit" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0004bba8;" goto statement_identifier ;)) (expression_statement "zFormat = "";" (assignment_expression "zFormat = """ identifier = (string_literal """" " ")) ;) }))) (expression_statement "sqlite3ErrorMsg(pParse,zFormat);" (call_expression "sqlite3ErrorMsg(pParse,zFormat)" identifier (argument_list "(pParse,zFormat)" ( identifier , identifier ))) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 __regparm3\nFUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" if (parenthesized_expression "((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0'))" ( (binary_expression "(((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')" (parenthesized_expression "(((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0))" ( (binary_expression "((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)" (parenthesized_expression "((uVar5 & 0x10000001) == 1)" ( (binary_expression "(uVar5 & 0x10000001) == 1" (parenthesized_expression "(uVar5 & 0x10000001)" ( (binary_expression "uVar5 & 0x10000001" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(iVar3 + 0xa2) & 2) != 0)" ( (binary_expression "(*(byte *)(iVar3 + 0xa2) & 2) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0xa2) & 2)" ( (binary_expression "*(byte *)(iVar3 + 0xa2) & 2" (pointer_expression "*(byte *)(iVar3 + 0xa2)" * (cast_expression "(byte *)(iVar3 + 0xa2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa2)" ( (binary_expression "iVar3 + 0xa2" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "(DAT_00106369 == '\0')" ( (binary_expression "DAT_00106369 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\nLAB_0004bba8:\n    uVar1 = 0;\n  }" { (labeled_statement "LAB_0004bba8:\n    uVar1 = 0;" statement_identifier : (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" else (compound_statement "{\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" { (if_statement "if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0xa1) == '\0')" ( (binary_expression "*(char *)(iVar3 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar3 + 0xa1)" * (cast_expression "(char *)(iVar3 + 0xa1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa1)" ( (binary_expression "iVar3 + 0xa1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }" { (if_statement "if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x12) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x12) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x12)" * (cast_expression "(char *)((int)param_1 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x12)" ( (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }" { (expression_statement "iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar4 = 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 (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }" { (expression_statement "uVar5 = *(uint *)(iVar3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0004bb8d;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" else (compound_statement "{\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" { (labeled_statement "LAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;" statement_identifier : (if_statement "if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;" if (parenthesized_expression "((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))" ( (binary_expression "(((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)))" (parenthesized_expression "(((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0))" ( (binary_expression "((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)" (parenthesized_expression "((uVar5 & 0x10000000) == 0)" ( (binary_expression "(uVar5 & 0x10000000) == 0" (parenthesized_expression "(uVar5 & 0x10000000)" ( (binary_expression "uVar5 & 0x10000000" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(int *)(iVar3 + 0x170) != 0)" ( (binary_expression "*(int *)(iVar3 + 0x170) != 0" (pointer_expression "*(int *)(iVar3 + 0x170)" * (cast_expression "(int *)(iVar3 + 0x170)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x170)" ( (binary_expression "iVar3 + 0x170" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)))" ( (parenthesized_expression "(*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))" ( (binary_expression "*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)" (binary_expression "*(int *)(iVar3 + 0xb4) != 0" (pointer_expression "*(int *)(iVar3 + 0xb4)" * (cast_expression "(int *)(iVar3 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb4)" ( (binary_expression "iVar3 + 0xb4" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "(iVar3 = FUN_0004b8e0(), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_0004b8e0(), iVar3 == 0" (assignment_expression "iVar3 = FUN_0004b8e0()" identifier = (call_expression "FUN_0004b8e0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0004bba8;" goto statement_identifier ;))) }))) (expression_statement "pcVar2 = "object name reserved for internal use: %s";" (assignment_expression "pcVar2 = "object name reserved for internal use: %s"" identifier = (string_literal ""object name reserved for internal use: %s"" " string_content ")) ;) }) (else_clause "else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" else (compound_statement "{\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" { (expression_statement "iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));" (assignment_expression "iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4))" identifier = (call_expression "sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4))" identifier (argument_list "(param_3,**(undefined4 **)(iVar3 + 0xa4))" ( identifier , (pointer_expression "**(undefined4 **)(iVar3 + 0xa4)" * (pointer_expression "*(undefined4 **)(iVar3 + 0xa4)" * (cast_expression "(undefined4 **)(iVar3 + 0xa4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0xa4)" ( (binary_expression "iVar3 + 0xa4" identifier + number_literal) ))))) )))) ;) (if_statement "if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;" if (parenthesized_expression "(((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0))" ( (binary_expression "((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)" (parenthesized_expression "((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          )" ( (binary_expression "(iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)" ( (comma_expression "iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0" (assignment_expression "iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" identifier = (call_expression "sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" identifier (argument_list "(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)" * (cast_expression "(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0xa4) + 4)" ( (binary_expression "*(int *)(iVar3 + 0xa4) + 4" (pointer_expression "*(int *)(iVar3 + 0xa4)" * (cast_expression "(int *)(iVar3 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa4)" ( (binary_expression "iVar3 + 0xa4" identifier + number_literal) )))) + number_literal) )))) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)" ( (comma_expression "iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0" (assignment_expression "iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" identifier = (call_expression "sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" identifier (argument_list "(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0xa4) + 8)" ( (binary_expression "*(int *)(iVar3 + 0xa4) + 8" (pointer_expression "*(int *)(iVar3 + 0xa4)" * (cast_expression "(int *)(iVar3 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xa4)" ( (binary_expression "iVar3 + 0xa4" identifier + number_literal) )))) + number_literal) )))) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0004bba8;" goto statement_identifier ;)) (expression_statement "pcVar2 = "";" (assignment_expression "pcVar2 = """ identifier = (string_literal """" " ")) ;) }))) (expression_statement "FUN_0003d470(param_1,pcVar2);" (call_expression "FUN_0003d470(param_1,pcVar2)" identifier (argument_list "(param_1,pcVar2)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (goto_statement goto statement_identifier ;))) }))) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (string_literal " ")) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm3\nFUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004bb40(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_0004bb40") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar3 = *param_1;\n  uVar5 = *(uint *)(iVar3 + 0x1c);\n  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x1c)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')) {\nLAB_0004bba8:\n    uVar1 = 0;\n  }\n  else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" (if "if") (parenthesized_expression "((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0'))" (( "(") (binary_expression "(((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||\n     (DAT_00106369 == '\0')" (parenthesized_expression "(((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0))" (( "(") (binary_expression "((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)" (parenthesized_expression "((uVar5 & 0x10000001) == 1)" (( "(") (binary_expression "(uVar5 & 0x10000001) == 1" (parenthesized_expression "(uVar5 & 0x10000001)" (( "(") (binary_expression "uVar5 & 0x10000001" (identifier "uVar5") (& "&") (number_literal "0x10000001")) () ")")) (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(iVar3 + 0xa2) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(iVar3 + 0xa2) & 2) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0xa2) & 2)" (( "(") (binary_expression "*(byte *)(iVar3 + 0xa2) & 2" (pointer_expression "*(byte *)(iVar3 + 0xa2)" (* "*") (cast_expression "(byte *)(iVar3 + 0xa2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xa2)" (( "(") (binary_expression "iVar3 + 0xa2" (identifier "iVar3") (+ "+") (number_literal "0xa2")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(DAT_00106369 == '\0')" (( "(") (binary_expression "DAT_00106369 == '\0'" (identifier "DAT_00106369") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\nLAB_0004bba8:\n    uVar1 = 0;\n  }" ({ "{") (labeled_statement "LAB_0004bba8:\n    uVar1 = 0;" (statement_identifier "LAB_0004bba8") (: ":") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" (else "else") (compound_statement "{\n    if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }\n    FUN_0003d470(param_1,pcVar2);\n    uVar1 = 1;\n  }" ({ "{") (if_statement "if (*(char *)(iVar3 + 0xa1) == '\0') {\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }\n    else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar3 + 0xa1) == '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar3 + 0xa1)" (* "*") (cast_expression "(char *)(iVar3 + 0xa1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xa1)" (( "(") (binary_expression "iVar3 + 0xa1" (identifier "iVar3") (+ "+") (number_literal "0xa1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }\n      pcVar2 = "object name reserved for internal use: %s";\n    }" ({ "{") (if_statement "if (*(char *)((int)param_1 + 0x12) == '\0') {\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }\n      else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 0x12) == '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x12) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x12)" (* "*") (cast_expression "(char *)((int)param_1 + 0x12)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x12)" (( "(") (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x12")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);\n        if (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }\n      }" ({ "{") (expression_statement "iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);" (assignment_expression "iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7)" (identifier "iVar4") (= "=") (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 (iVar4 != 0) {\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar5 = *(uint *)(iVar3 + 0x1c);\n          goto LAB_0004bb8d;\n        }" ({ "{") (expression_statement "uVar5 = *(uint *)(iVar3 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x1c)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (goto_statement "goto LAB_0004bb8d;" (goto "goto") (statement_identifier "LAB_0004bb8d") (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" (else "else") (compound_statement "{\nLAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;\n      }" ({ "{") (labeled_statement "LAB_0004bb8d:\n        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;" (statement_identifier "LAB_0004bb8d") (: ":") (if_statement "if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))\n        goto LAB_0004bba8;" (if "if") (parenthesized_expression "((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))" (( "(") (binary_expression "(((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||\n           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)))" (parenthesized_expression "(((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0))" (( "(") (binary_expression "((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)" (parenthesized_expression "((uVar5 & 0x10000000) == 0)" (( "(") (binary_expression "(uVar5 & 0x10000000) == 0" (parenthesized_expression "(uVar5 & 0x10000000)" (( "(") (binary_expression "uVar5 & 0x10000000" (identifier "uVar5") (& "&") (number_literal "0x10000000")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar3 + 0x170) != 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0x170) != 0" (pointer_expression "*(int *)(iVar3 + 0x170)" (* "*") (cast_expression "(int *)(iVar3 + 0x170)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x170)" (( "(") (binary_expression "iVar3 + 0x170" (identifier "iVar3") (+ "+") (number_literal "0x170")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)))" (( "(") (parenthesized_expression "(*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))" (( "(") (binary_expression "*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0)" (binary_expression "*(int *)(iVar3 + 0xb4) != 0" (pointer_expression "*(int *)(iVar3 + 0xb4)" (* "*") (cast_expression "(int *)(iVar3 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xb4)" (( "(") (binary_expression "iVar3 + 0xb4" (identifier "iVar3") (+ "+") (number_literal "0xb4")) () ")")))) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar3 = FUN_0004b8e0(), iVar3 == 0)" (( "(") (comma_expression "iVar3 = FUN_0004b8e0(), iVar3 == 0" (assignment_expression "iVar3 = FUN_0004b8e0()" (identifier "iVar3") (= "=") (call_expression "FUN_0004b8e0()" (identifier "FUN_0004b8e0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0004bba8;" (goto "goto") (statement_identifier "LAB_0004bba8") (; ";")))) (} "}")))) (expression_statement "pcVar2 = "object name reserved for internal use: %s";" (assignment_expression "pcVar2 = "object name reserved for internal use: %s"" (identifier "pcVar2") (= "=") (string_literal ""object name reserved for internal use: %s"" (" """) (string_content "object name reserved for internal use: %s") (" """))) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" (else "else") (compound_statement "{\n      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));\n      if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;\n      pcVar2 = "";\n    }" ({ "{") (expression_statement "iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));" (assignment_expression "iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4))" (identifier "iVar4") (= "=") (call_expression "sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4))" (identifier "sqlite3_stricmp") (argument_list "(param_3,**(undefined4 **)(iVar3 + 0xa4))" (( "(") (identifier "param_3") (, ",") (pointer_expression "**(undefined4 **)(iVar3 + 0xa4)" (* "*") (pointer_expression "*(undefined4 **)(iVar3 + 0xa4)" (* "*") (cast_expression "(undefined4 **)(iVar3 + 0xa4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0xa4)" (( "(") (binary_expression "iVar3 + 0xa4" (identifier "iVar3") (+ "+") (number_literal "0xa4")) () ")"))))) () ")")))) (; ";")) (if_statement "if (((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)) goto LAB_0004bba8;" (if "if") (parenthesized_expression "(((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0))" (( "(") (binary_expression "((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)" (parenthesized_expression "((iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)\n          )" (( "(") (binary_expression "(iVar4 == 0) &&\n          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)" (( "(") (comma_expression "iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0" (assignment_expression "iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" (identifier "iVar4") (= "=") (call_expression "sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" (identifier "sqlite3_stricmp") (argument_list "(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0xa4) + 4)" (( "(") (binary_expression "*(int *)(iVar3 + 0xa4) + 4" (pointer_expression "*(int *)(iVar3 + 0xa4)" (* "*") (cast_expression "(int *)(iVar3 + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xa4)" (( "(") (binary_expression "iVar3 + 0xa4" (identifier "iVar3") (+ "+") (number_literal "0xa4")) () ")")))) (+ "+") (number_literal "4")) () ")")))) () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0)" (( "(") (comma_expression "iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),\n               iVar3 == 0" (assignment_expression "iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" (identifier "iVar3") (= "=") (call_expression "sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" (identifier "sqlite3_stricmp") (argument_list "(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8))" (( "(") (identifier "param_4") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0xa4) + 8)" (( "(") (binary_expression "*(int *)(iVar3 + 0xa4) + 8" (pointer_expression "*(int *)(iVar3 + 0xa4)" (* "*") (cast_expression "(int *)(iVar3 + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xa4)" (( "(") (binary_expression "iVar3 + 0xa4" (identifier "iVar3") (+ "+") (number_literal "0xa4")) () ")")))) (+ "+") (number_literal "8")) () ")")))) () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0004bba8;" (goto "goto") (statement_identifier "LAB_0004bba8") (; ";"))) (expression_statement "pcVar2 = "";" (assignment_expression "pcVar2 = """ (identifier "pcVar2") (= "=") (string_literal """" (" """) (" """))) (; ";")) (} "}")))) (expression_statement "FUN_0003d470(param_1,pcVar2);" (call_expression "FUN_0003d470(param_1,pcVar2)" (identifier "FUN_0003d470") (argument_list "(param_1,pcVar2)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

int __regparm3 function_1(type_1 *pParse,char *zName,char *zType,char *zTblName)

{
  type_2 *db;
  int var_3;
  char *zFormat;
  type_3 var_1;
  
  db = pParse->db;
  var_1 = (type_3)db->flags;
  if ((((var_1 & 0x10000001) == 1) || (((db->init).field_0x6 & 2) != 0)) ||
     (sqlite3Config.bExtraSchemaChecks == '\0')) {
LAB_0004bba8:
    var_3 = 0;
  }
  else {
    if ((db->init).busy == '\0') {
      if (pParse->nested == '\0') {
        var_3 = var_2(zName,"sqlite_",7);
        if (var_3 != 0) {
          var_1 = (type_3)db->flags;
          goto LAB_0004bb8d;
        }
      }
      else {
LAB_0004bb8d:
        if ((((var_1 & 0x10000000) == 0) || (db->pVtabCtx != (type_4 *)0x0)) ||
           ((db->nVdbeExec != 0 || (var_3 = var_4(db,zName), var_3 == 0))))
        goto LAB_0004bba8;
      }
      zFormat = "object name reserved for internal use: %s";
    }
    else {
      var_3 = var_5(zType,*(db->init).azInit);
      if (((var_3 == 0) && (var_3 = var_5(zName,(db->init).azInit[1]), var_3 == 0)) &&
         (var_3 = var_5(zTblName,(db->init).azInit[2]), var_3 == 0)) goto LAB_0004bba8;
      zFormat = "";
    }
    var_6(pParse,zFormat);
    var_3 = 1;
  }
  return var_3;
}


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

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

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

{
  undefined4 uVar1;
  char *pcVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  
  iVar3 = *param_1;
  uVar5 = *(uint *)(iVar3 + 0x1c);
  if ((((uVar5 & 0x10000001) == 1) || ((*(byte *)(iVar3 + 0xa2) & 2) != 0)) ||
     (DAT_00106369 == '\0')) {
LAB_0004bba8:
    uVar1 = 0;
  }
  else {
    if (*(char *)(iVar3 + 0xa1) == '\0') {
      if (*(char *)((int)param_1 + 0x12) == '\0') {
        iVar4 = sqlite3_strnicmp(param_2,"sqlite_",7);
        if (iVar4 != 0) {
          uVar5 = *(uint *)(iVar3 + 0x1c);
          goto LAB_0004bb8d;
        }
      }
      else {
LAB_0004bb8d:
        if ((((uVar5 & 0x10000000) == 0) || (*(int *)(iVar3 + 0x170) != 0)) ||
           ((*(int *)(iVar3 + 0xb4) != 0 || (iVar3 = FUN_0004b8e0(), iVar3 == 0))))
        goto LAB_0004bba8;
      }
      pcVar2 = "object name reserved for internal use: %s";
    }
    else {
      iVar4 = sqlite3_stricmp(param_3,**(undefined4 **)(iVar3 + 0xa4));
      if (((iVar4 == 0) &&
          (iVar4 = sqlite3_stricmp(param_2,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 4)), iVar4 == 0)
          ) && (iVar3 = sqlite3_stricmp(param_4,*(undefined4 *)(*(int *)(iVar3 + 0xa4) + 8)),
               iVar3 == 0)) goto LAB_0004bba8;
      pcVar2 = "";
    }
    FUN_0003d470(param_1,pcVar2);
    uVar1 = 1;
  }
  return uVar1;
}

