
int sqlite3IsShadowTableOf(sqlite3 *db,Table *pTab,char *zName)

{
  uint uVar1;
  int iVar2;
  char *pcVar3;
  
  pcVar3 = pTab->zName;
  if (pcVar3 == (char *)0x0) {
    uVar1 = 0;
  }
  else {
    uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);
    uVar1 = uVar1 & 0x3fffffff;
  }
  iVar2 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(zName,pcVar3,uVar1);
  if ((iVar2 == 0) && (zName[uVar1] == '_')) {
                    /* WARNING: Subroutine does not return */
    findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0);
  }
  return 0;
}



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

{
  uint uVar1;
  undefined4 uVar2;
  int *piVar3;
  int iVar4;
  code *UNRECOVERED_JUMPTABLE;
  
  iVar4 = *param_2;
  if (iVar4 == 0) {
    uVar1 = 0;
  }
  else {
    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);
    uVar1 = uVar1 & 0x3fffffff;
  }
  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);
  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {
    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);
    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&
       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&
        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {
                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);
      return uVar2;
    }
  }
  return 0;
}


lui gp,0xc
addiu gp,gp,-0xb78
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x18(sp)
sw gp,0x10(sp)
sw s4,0x28(sp)
or s4,a0,zero
sw s3,0x24(sp)
or s3,a1,zero
sw s2,0x20(sp)
sw ra,0x2c(sp)
sw s1,0x1c(sp)
lw s0,0x0(a1)
beq s0,zero,0x0003dec0
_or s2,a2,zero
lw t9,-0x7e18(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
ext s1,v0,0x0,0x1e
lw t9,-0x7f34(gp)
or a2,s1,zero
or a1,s0,zero
jalr t9
_or a0,s2,zero
bne v0,zero,0x0003de9c
_lw gp,0x10(sp)
addu v0,s2,s1
li v1,0x5f
lb v0,0x0(v0)
beq v0,v1,0x0003dec8
_or a2,zero,zero
lw ra,0x2c(sp)
or v0,zero,zero
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
b 0x0003de6c
_or s1,zero,zero
lw v0,0x3c(s3)
lw t9,-0x7fd8(gp)
addiu a0,s4,0x168
addiu t9,t9,0x99c
bal 0x0002099c
_lw a1,0x0(v0)
lw v0,0x8(v0)
beq v0,zero,0x0003de9c
_lw gp,0x10(sp)
lw v1,0x0(v0)
lw v0,0x0(v1)
slti v0,v0,0x3
bne v0,zero,0x0003dea0
_lw ra,0x2c(sp)
lw t9,0x5c(v1)
beq t9,zero,0x0003dea0
_lw s4,0x28(sp)
addiu a0,s1,0x1
lw s3,0x24(sp)
addu a0,s2,a0
lw s1,0x1c(sp)
lw s2,0x20(sp)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x30
(translation_unit "undefined4 FUN_0003de18(int param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0003de18(int param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0003de18(int param_1,int *param_2,int param_3)" identifier (parameter_list "(int param_1,int *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = 0;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(iVar4)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar1 = uVar1 & 0x3fffffff;" (assignment_expression "uVar1 = uVar1 & 0x3fffffff" identifier = (binary_expression "uVar1 & 0x3fffffff" identifier & number_literal)) ;) }))) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1)" identifier = (call_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)" ( (pointer_expression "*(code *)PTR_sqlite3_strnicmp_000f536c" * (cast_expression "(code *)PTR_sqlite3_strnicmp_000f536c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,iVar4,uVar1)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }" if (parenthesized_expression "((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_'))" ( (binary_expression "(iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)(param_3 + uVar1) == '_')" ( (binary_expression "*(char *)(param_3 + uVar1) == '_'" (pointer_expression "*(char *)(param_3 + uVar1)" * (cast_expression "(char *)(param_3 + uVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + uVar1)" ( (binary_expression "param_3 + uVar1" identifier + identifier) )))) == (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }" { (expression_statement "iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);" (assignment_expression "iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" identifier = (call_expression "FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" identifier (argument_list "(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" ( (binary_expression "param_1 + 0x168" identifier + number_literal) , (pointer_expression "*(undefined4 *)param_2[0xf]" * (cast_expression "(undefined4 *)param_2[0xf]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[0xf]" identifier [ number_literal ]))) , number_literal )))) ;) (if_statement "if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }" if (parenthesized_expression "((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0))))" ( (binary_expression "(*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))" (parenthesized_expression "(*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))" ( (parenthesized_expression "(piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0))" ( (comma_expression "piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" (assignment_expression "piVar3 = (int *)**(undefined4 **)(iVar4 + 8)" identifier = (cast_expression "(int *)**(undefined4 **)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(iVar4 + 8)" * (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))))) , (binary_expression "2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" (binary_expression "2 < *piVar3" number_literal < (pointer_expression "*piVar3" * identifier)) && (parenthesized_expression "(UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" ( (comma_expression "UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0" (assignment_expression "UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17]" identifier = (cast_expression "(code *)piVar3[0x17]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[0x17]" identifier [ number_literal ]))) , (binary_expression "UNRECOVERED_JUMPTABLE != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )))) )) ))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }" { comment comment (expression_statement "uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);" (assignment_expression "uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1)" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "(param_3 + uVar1 + 1)" ( (binary_expression "param_3 + uVar1 + 1" (binary_expression "param_3 + uVar1" identifier + identifier) + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int sqlite3IsShadowTableOf(sqlite3 *db,Table *pTab,char *zName)\n\n{\n  uint uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = pTab->zName;\n  if (pcVar3 == (char *)0x0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar2 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(zName,pcVar3,uVar1);\n  if ((iVar2 == 0) && (zName[uVar1] == '_')) {\n                    /* WARNING: Subroutine does not return */\n    findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0);\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3IsShadowTableOf(sqlite3 *db,Table *pTab,char *zName)\n\n{\n  uint uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = pTab->zName;\n  if (pcVar3 == (char *)0x0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar2 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(zName,pcVar3,uVar1);\n  if ((iVar2 == 0) && (zName[uVar1] == '_')) {\n                    /* WARNING: Subroutine does not return */\n    findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0);\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3IsShadowTableOf(sqlite3 *db,Table *pTab,char *zName)" identifier (parameter_list "(sqlite3 *db,Table *pTab,char *zName)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Table *pTab" type_identifier (pointer_declarator "*pTab" * identifier)) , (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = pTab->zName;\n  if (pcVar3 == (char *)0x0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar2 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(zName,pcVar3,uVar1);\n  if ((iVar2 == 0) && (zName[uVar1] == '_')) {\n                    /* WARNING: Subroutine does not return */\n    findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0);\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "pcVar3 = pTab->zName;" (assignment_expression "pcVar3 = pTab->zName" identifier = (field_expression "pTab->zName" identifier -> field_identifier)) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = 0;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3);" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000f5488)(pcVar3)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(pcVar3)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "uVar1 = uVar1 & 0x3fffffff;" (assignment_expression "uVar1 = uVar1 & 0x3fffffff" identifier = (binary_expression "uVar1 & 0x3fffffff" identifier & number_literal)) ;) }))) (expression_statement "iVar2 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(zName,pcVar3,uVar1);" (assignment_expression "iVar2 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(zName,pcVar3,uVar1)" identifier = (call_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)(zName,pcVar3,uVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)" ( (pointer_expression "*(code *)PTR_sqlite3_strnicmp_000f536c" * (cast_expression "(code *)PTR_sqlite3_strnicmp_000f536c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zName,pcVar3,uVar1)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar2 == 0) && (zName[uVar1] == '_')) {\n                    /* WARNING: Subroutine does not return */\n    findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0);\n  }" if (parenthesized_expression "((iVar2 == 0) && (zName[uVar1] == '_'))" ( (binary_expression "(iVar2 == 0) && (zName[uVar1] == '_')" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(zName[uVar1] == '_')" ( (binary_expression "zName[uVar1] == '_'" (subscript_expression "zName[uVar1]" identifier [ identifier ]) == (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0);\n  }" { comment (expression_statement "findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0);" (call_expression "findElementWithHash(&db->aModule,*pTab->azModuleArg,(uint *)0x0)" identifier (argument_list "(&db->aModule,*pTab->azModuleArg,(uint *)0x0)" ( (pointer_expression "&db->aModule" & (field_expression "db->aModule" identifier -> field_identifier)) , (pointer_expression "*pTab->azModuleArg" * (field_expression "pTab->azModuleArg" identifier -> field_identifier)) , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0003de18(int param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0003de18(int param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0003de18(int param_1,int *param_2,int param_3)" identifier (parameter_list "(int param_1,int *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = 0;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4)" identifier = (call_expression "(*(code *)PTR_strlen_000f5488)(iVar4)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" ( (pointer_expression "*(code *)PTR_strlen_000f5488" * (cast_expression "(code *)PTR_strlen_000f5488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar1 = uVar1 & 0x3fffffff;" (assignment_expression "uVar1 = uVar1 & 0x3fffffff" identifier = (binary_expression "uVar1 & 0x3fffffff" identifier & number_literal)) ;) }))) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1)" identifier = (call_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)" ( (pointer_expression "*(code *)PTR_sqlite3_strnicmp_000f536c" * (cast_expression "(code *)PTR_sqlite3_strnicmp_000f536c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,iVar4,uVar1)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }" if (parenthesized_expression "((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_'))" ( (binary_expression "(iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)(param_3 + uVar1) == '_')" ( (binary_expression "*(char *)(param_3 + uVar1) == '_'" (pointer_expression "*(char *)(param_3 + uVar1)" * (cast_expression "(char *)(param_3 + uVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + uVar1)" ( (binary_expression "param_3 + uVar1" identifier + identifier) )))) == (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }" { (expression_statement "iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);" (assignment_expression "iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" identifier = (call_expression "FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" identifier (argument_list "(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" ( (binary_expression "param_1 + 0x168" identifier + number_literal) , (pointer_expression "*(undefined4 *)param_2[0xf]" * (cast_expression "(undefined4 *)param_2[0xf]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[0xf]" identifier [ number_literal ]))) , number_literal )))) ;) (if_statement "if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }" if (parenthesized_expression "((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0))))" ( (binary_expression "(*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))" (parenthesized_expression "(*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))" ( (parenthesized_expression "(piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0))" ( (comma_expression "piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" (assignment_expression "piVar3 = (int *)**(undefined4 **)(iVar4 + 8)" identifier = (cast_expression "(int *)**(undefined4 **)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(iVar4 + 8)" * (pointer_expression "*(undefined4 **)(iVar4 + 8)" * (cast_expression "(undefined4 **)(iVar4 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))))) , (binary_expression "2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" (binary_expression "2 < *piVar3" number_literal < (pointer_expression "*piVar3" * identifier)) && (parenthesized_expression "(UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" ( (comma_expression "UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0" (assignment_expression "UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17]" identifier = (cast_expression "(code *)piVar3[0x17]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[0x17]" identifier [ number_literal ]))) , (binary_expression "UNRECOVERED_JUMPTABLE != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )))) )) ))) )) (compound_statement "{\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }" { (expression_statement "uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);" (assignment_expression "uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1)" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "(param_3 + uVar1 + 1)" ( (binary_expression "param_3 + uVar1 + 1" (binary_expression "param_3 + uVar1" identifier + identifier) + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) , (binary_expression (binary_expression LIT < (pointer_expression * IDENT)) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) ;) (return_statement return IDENT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0003de18(int param_1,int *param_2,int param_3)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0003de18(int param_1,int *param_2,int param_3)" (identifier "FUN_0003de18") (parameter_list "(int param_1,int *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  iVar4 = *param_2;\n  if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }\n  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);\n  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "code *UNRECOVERED_JUMPTABLE;" (type_identifier "code") (pointer_declarator "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) (; ";")) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" (identifier "iVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar4 == 0) {\n    uVar1 = 0;\n  }\n  else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = 0;\n  }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" (else "else") (compound_statement "{\n    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);\n    uVar1 = uVar1 & 0x3fffffff;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_strlen_000f5488)(iVar4)" (parenthesized_expression "(*(code *)PTR_strlen_000f5488)" (( "(") (pointer_expression "*(code *)PTR_strlen_000f5488" (* "*") (cast_expression "(code *)PTR_strlen_000f5488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000f5488"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar1 = uVar1 & 0x3fffffff;" (assignment_expression "uVar1 = uVar1 & 0x3fffffff" (identifier "uVar1") (= "=") (binary_expression "uVar1 & 0x3fffffff" (identifier "uVar1") (& "&") (number_literal "0x3fffffff"))) (; ";")) (} "}")))) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_strnicmp_000f536c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_strnicmp_000f536c" (* "*") (cast_expression "(code *)PTR_sqlite3_strnicmp_000f536c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_strnicmp_000f536c"))) () ")")) (argument_list "(param_3,iVar4,uVar1)" (( "(") (identifier "param_3") (, ",") (identifier "iVar4") (, ",") (identifier "uVar1") () ")")))) (; ";")) (if_statement "if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }" (if "if") (parenthesized_expression "((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_'))" (( "(") (binary_expression "(iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_3 + uVar1) == '_')" (( "(") (binary_expression "*(char *)(param_3 + uVar1) == '_'" (pointer_expression "*(char *)(param_3 + uVar1)" (* "*") (cast_expression "(char *)(param_3 + uVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + uVar1)" (( "(") (binary_expression "param_3 + uVar1" (identifier "param_3") (+ "+") (identifier "uVar1")) () ")")))) (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);\n    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }\n  }" ({ "{") (expression_statement "iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);" (assignment_expression "iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" (identifier "iVar4") (= "=") (call_expression "FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" (identifier "FUN_0002099c") (argument_list "(param_1 + 0x168,*(undefined4 *)param_2[0xf],0)" (( "(") (binary_expression "param_1 + 0x168" (identifier "param_1") (+ "+") (number_literal "0x168")) (, ",") (pointer_expression "*(undefined4 *)param_2[0xf]" (* "*") (cast_expression "(undefined4 *)param_2[0xf]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[0xf]" (identifier "param_2") ([ "[") (number_literal "0xf") (] "]")))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }" (if "if") (parenthesized_expression "((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0))))" (( "(") (binary_expression "(*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&\n       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))" (parenthesized_expression "(*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0)" (( "(") (binary_expression "*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))" (( "(") (parenthesized_expression "(piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0))" (( "(") (comma_expression "piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" (assignment_expression "piVar3 = (int *)**(undefined4 **)(iVar4 + 8)" (identifier "piVar3") (= "=") (cast_expression "(int *)**(undefined4 **)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(iVar4 + 8)" (* "*") (pointer_expression "*(undefined4 **)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))))) (, ",") (binary_expression "2 < *piVar3 &&\n        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" (binary_expression "2 < *piVar3" (number_literal "2") (< "<") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (&& "&&") (parenthesized_expression "(UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)" (( "(") (comma_expression "UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0" (assignment_expression "UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17]" (identifier "UNRECOVERED_JUMPTABLE") (= "=") (cast_expression "(code *)piVar3[0x17]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[0x17]" (identifier "piVar3") ([ "[") (number_literal "0x17") (] "]")))) (, ",") (binary_expression "UNRECOVERED_JUMPTABLE != (code *)0x0" (identifier "UNRECOVERED_JUMPTABLE") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n                    \n                    \n      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);\n      return uVar2;\n    }" ({ "{") (expression_statement "uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);" (assignment_expression "uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1)" (identifier "uVar2") (= "=") (call_expression "(*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" (( "(") (pointer_expression "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) () ")")) (argument_list "(param_3 + uVar1 + 1)" (( "(") (binary_expression "param_3 + uVar1 + 1" (binary_expression "param_3 + uVar1" (identifier "param_3") (+ "+") (identifier "uVar1")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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: (identifier))))) right: (char_literal (character)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) (number_literal))))) (if_statement condition: (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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)))))))) right: (binary_expression left: (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) (return_statement (identifier)))))) (return_statement (number_literal)))))

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

{
  uint uVar1;
  undefined4 uVar2;
  int *piVar3;
  int iVar4;
  code *UNRECOVERED_JUMPTABLE;
  
  iVar4 = *param_2;
  if (iVar4 == 0) {
    uVar1 = 0;
  }
  else {
    uVar1 = (*(code *)PTR_strlen_000f5488)(iVar4);
    uVar1 = uVar1 & 0x3fffffff;
  }
  iVar4 = (*(code *)PTR_sqlite3_strnicmp_000f536c)(param_3,iVar4,uVar1);
  if ((iVar4 == 0) && (*(char *)(param_3 + uVar1) == '_')) {
    iVar4 = FUN_0002099c(param_1 + 0x168,*(undefined4 *)param_2[0xf],0);
    if ((*(undefined4 **)(iVar4 + 8) != (undefined4 *)0x0) &&
       ((piVar3 = (int *)**(undefined4 **)(iVar4 + 8), 2 < *piVar3 &&
        (UNRECOVERED_JUMPTABLE = (code *)piVar3[0x17], UNRECOVERED_JUMPTABLE != (code *)0x0)))) {
                    /* WARNING: Could not recover jumptable at 0x0003df24. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (*UNRECOVERED_JUMPTABLE)(param_3 + uVar1 + 1);
      return uVar2;
    }
  }
  return 0;
}

