
int sqlite3_keyword_check(char *zName,int nName)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  undefined *puVar4;
  int id;
  byte *local_c;
  
  puVar4 = PTR___stack_chk_guard_000f5568;
  id = 0x3b;
  local_c = *(byte **)PTR___stack_chk_guard_000f5568;
  if (nName < 2) {
    uVar1 = 0;
  }
  else {
    keywordCode(zName,nName,&id);
    uVar1 = (uint)(id != 0x3b);
  }
  if (local_c == *(byte **)puVar4) {
    return uVar1;
  }
  pbVar3 = local_c;
  puVar4 = PTR___stack_chk_fail_000f5540;
  (*(code *)PTR___stack_chk_fail_000f5540)();
  uVar1 = (uint)*(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3);
  if (uVar1 < 0x1d) {
                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +
                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()
    ;
    return iVar2;
  }
  *(undefined4 *)nName = 0xb4;
  return 1;
}



uint sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)

{
  uint uVar1;
  byte *pbVar2;
  undefined *puVar3;
  int local_10;
  byte *local_c;
  
  puVar3 = PTR___stack_chk_guard_000f5568;
  local_10 = 0x3b;
  local_c = *(byte **)PTR___stack_chk_guard_000f5568;
  if ((int)param_2 < 2) {
    uVar1 = 0;
  }
  else {
    FUN_000333b0(param_1,param_2,&local_10);
    uVar1 = (uint)(local_10 != 0x3b);
  }
  if (local_c == *(byte **)puVar3) {
    return uVar1;
  }
  pbVar2 = local_c;
  puVar3 = PTR___stack_chk_fail_000f5540;
  (*(code *)PTR___stack_chk_fail_000f5540)();
  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);
  if (uVar1 < 0x1d) {
                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec
                      ))();
    return uVar1;
  }
  *param_2 = 0xb4;
  return 1;
}


lui gp,0xd
addiu gp,gp,-0x648c
addu gp,gp,t9
addiu sp,sp,-0x28
li v1,0x3b
slti v0,a1,0x2
sw s0,0x20(sp)
sw v1,0x18(sp)
lw s0,-0x7d38(gp)
sw gp,0x10(sp)
sw ra,0x24(sp)
lw v1,0x0(s0)
sw v1,0x1c(sp)
bne v0,zero,0x000337a0
_lw t9,-0x7fb4(gp)
addiu t9,t9,0x33b0
bal 0x000333b0
_addiu a2,sp,0x18
lw v0,0x18(sp)
lw gp,0x10(sp)
xori v0,v0,0x3b
sltu v0,zero,v0
lw a0,0x1c(sp)
lw v1,0x0(s0)
bne a0,v1,0x000337a8
_lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
b 0x00033784
_or v0,zero,zero
lw t9,-0x7d60(gp)
jalr t9
_nop
(translation_unit "uint sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}\n\n" (function_definition "uint sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}" type_identifier (function_declarator "sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "byte *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "local_10 = 0x3b;" (assignment_expression "local_10 = 0x3b" identifier = number_literal) ;) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" * (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" if (parenthesized_expression "((int)param_2 < 2)" ( (binary_expression "(int)param_2 < 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    uVar1 = 0;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" else (compound_statement "{\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" { (expression_statement "FUN_000333b0(param_1,param_2,&local_10);" (call_expression "FUN_000333b0(param_1,param_2,&local_10)" identifier (argument_list "(param_1,param_2,&local_10)" ( identifier , identifier , (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "uVar1 = (uint)(local_10 != 0x3b);" (assignment_expression "uVar1 = (uint)(local_10 != 0x3b)" identifier = (call_expression "(uint)(local_10 != 0x3b)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_10 != 0x3b)" ( (binary_expression "local_10 != 0x3b" identifier != number_literal) )))) ;) }))) (if_statement "if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }" if (parenthesized_expression "(local_c == *(byte **)puVar3)" ( (binary_expression "local_c == *(byte **)puVar3" identifier == (pointer_expression "*(byte **)puVar3" * (cast_expression "(byte **)puVar3" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) (expression_statement "pbVar2 = local_c;" (assignment_expression "pbVar2 = local_c" identifier = identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" identifier = (binary_expression "(uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" ( (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2" (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x1148" (pointer_expression "*(int *)(puVar3 + 0xc1b20)" * (cast_expression "(int *)(puVar3 + 0xc1b20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xc1b20)" ( (binary_expression "puVar3 + 0xc1b20" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ))))) ;) (if_statement "if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }" if (parenthesized_expression "(uVar1 < 0x1d)" ( (binary_expression "uVar1 < 0x1d" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }" { comment comment (expression_statement "uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();" (assignment_expression "uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))()" identifier = (call_expression "(*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))()" (parenthesized_expression "(*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))" ( (pointer_expression "*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" * (cast_expression "(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" ( (binary_expression "puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec" (binary_expression "puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" * (cast_expression "(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" ( (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4" (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x33b8" (pointer_expression "*(int *)(puVar3 + 0xc1b20)" * (cast_expression "(int *)(puVar3 + 0xc1b20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xc1b20)" ( (binary_expression "puVar3 + 0xc1b20" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "*param_2 = 0xb4;" (assignment_expression "*param_2 = 0xb4" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int sqlite3_keyword_check(char *zName,int nName)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  int id;\n  byte *local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000f5568;\n  id = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if (nName < 2) {\n    uVar1 = 0;\n  }\n  else {\n    keywordCode(zName,nName,&id);\n    uVar1 = (uint)(id != 0x3b);\n  }\n  if (local_c == *(byte **)puVar4) {\n    return uVar1;\n  }\n  pbVar3 = local_c;\n  puVar4 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3);\n  if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()\n    ;\n    return iVar2;\n  }\n  *(undefined4 *)nName = 0xb4;\n  return 1;\n}\n\n" (function_definition "int sqlite3_keyword_check(char *zName,int nName)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  int id;\n  byte *local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000f5568;\n  id = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if (nName < 2) {\n    uVar1 = 0;\n  }\n  else {\n    keywordCode(zName,nName,&id);\n    uVar1 = (uint)(id != 0x3b);\n  }\n  if (local_c == *(byte **)puVar4) {\n    return uVar1;\n  }\n  pbVar3 = local_c;\n  puVar4 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3);\n  if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()\n    ;\n    return iVar2;\n  }\n  *(undefined4 *)nName = 0xb4;\n  return 1;\n}" primitive_type (function_declarator "sqlite3_keyword_check(char *zName,int nName)" identifier (parameter_list "(char *zName,int nName)" ( (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) , (parameter_declaration "int nName" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  int id;\n  byte *local_c;\n  \n  puVar4 = PTR___stack_chk_guard_000f5568;\n  id = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if (nName < 2) {\n    uVar1 = 0;\n  }\n  else {\n    keywordCode(zName,nName,&id);\n    uVar1 = (uint)(id != 0x3b);\n  }\n  if (local_c == *(byte **)puVar4) {\n    return uVar1;\n  }\n  pbVar3 = local_c;\n  puVar4 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3);\n  if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()\n    ;\n    return iVar2;\n  }\n  *(undefined4 *)nName = 0xb4;\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int id;" primitive_type identifier ;) (declaration "byte *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar4 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "id = 0x3b;" (assignment_expression "id = 0x3b" identifier = number_literal) ;) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" * (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (nName < 2) {\n    uVar1 = 0;\n  }\n  else {\n    keywordCode(zName,nName,&id);\n    uVar1 = (uint)(id != 0x3b);\n  }" if (parenthesized_expression "(nName < 2)" ( (binary_expression "nName < 2" identifier < number_literal) )) (compound_statement "{\n    uVar1 = 0;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    keywordCode(zName,nName,&id);\n    uVar1 = (uint)(id != 0x3b);\n  }" else (compound_statement "{\n    keywordCode(zName,nName,&id);\n    uVar1 = (uint)(id != 0x3b);\n  }" { (expression_statement "keywordCode(zName,nName,&id);" (call_expression "keywordCode(zName,nName,&id)" identifier (argument_list "(zName,nName,&id)" ( identifier , identifier , (pointer_expression "&id" & identifier) ))) ;) (expression_statement "uVar1 = (uint)(id != 0x3b);" (assignment_expression "uVar1 = (uint)(id != 0x3b)" identifier = (call_expression "(uint)(id != 0x3b)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(id != 0x3b)" ( (binary_expression "id != 0x3b" identifier != number_literal) )))) ;) }))) (if_statement "if (local_c == *(byte **)puVar4) {\n    return uVar1;\n  }" if (parenthesized_expression "(local_c == *(byte **)puVar4)" ( (binary_expression "local_c == *(byte **)puVar4" identifier == (pointer_expression "*(byte **)puVar4" * (cast_expression "(byte **)puVar4" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) (expression_statement "pbVar3 = local_c;" (assignment_expression "pbVar3 = local_c" identifier = identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar4 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar1 = (uint)*(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3);" (assignment_expression "uVar1 = (uint)*(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3)" identifier = (binary_expression "(uint)*(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3)" ( (binary_expression "*(int *)(puVar4 + 0xc1b20) + -0x1148 + (uint)*pbVar3" (binary_expression "*(int *)(puVar4 + 0xc1b20) + -0x1148" (pointer_expression "*(int *)(puVar4 + 0xc1b20)" * (cast_expression "(int *)(puVar4 + 0xc1b20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xc1b20)" ( (binary_expression "puVar4 + 0xc1b20" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ))))) ;) (if_statement "if (uVar1 < 0x1d) {\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()\n    ;\n    return iVar2;\n  }" if (parenthesized_expression "(uVar1 < 0x1d)" ( (binary_expression "uVar1 < 0x1d" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()\n    ;\n    return iVar2;\n  }" { comment comment (expression_statement "iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()\n    ;" (assignment_expression "iVar2 = (*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()" identifier = (call_expression "(*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))()" (parenthesized_expression "(*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))))" ( (pointer_expression "*(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4)))" * (cast_expression "(code *)(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4)))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4)))" ( (binary_expression "puVar4 + (int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))" identifier + (cast_expression "(int)(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4))" ( (binary_expression "&UNK_000c9aec +\n                                     *(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4)" (pointer_expression "&UNK_000c9aec" & identifier) + (pointer_expression "*(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4)" * (cast_expression "(int *)(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4)" ( (binary_expression "*(int *)(puVar4 + 0xc1b20) + -0x33b8 + uVar1 * 4" (binary_expression "*(int *)(puVar4 + 0xc1b20) + -0x33b8" (pointer_expression "*(int *)(puVar4 + 0xc1b20)" * (cast_expression "(int *)(puVar4 + 0xc1b20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xc1b20)" ( (binary_expression "puVar4 + 0xc1b20" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) )))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "*(undefined4 *)nName = 0xb4;" (assignment_expression "*(undefined4 *)nName = 0xb4" (pointer_expression "*(undefined4 *)nName" * (cast_expression "(undefined4 *)nName" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "uint sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}\n\n" (function_definition "uint sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}" type_identifier (function_declarator "sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "byte *local_c;" type_identifier (pointer_declarator "*local_c" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "local_10 = 0x3b;" (assignment_expression "local_10 = 0x3b" identifier = number_literal) ;) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" * (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" if (parenthesized_expression "((int)param_2 < 2)" ( (binary_expression "(int)param_2 < 2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    uVar1 = 0;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" else (compound_statement "{\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" { (expression_statement "FUN_000333b0(param_1,param_2,&local_10);" (call_expression "FUN_000333b0(param_1,param_2,&local_10)" identifier (argument_list "(param_1,param_2,&local_10)" ( identifier , identifier , (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "uVar1 = (uint)(local_10 != 0x3b);" (assignment_expression "uVar1 = (uint)(local_10 != 0x3b)" identifier = (call_expression "(uint)(local_10 != 0x3b)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_10 != 0x3b)" ( (binary_expression "local_10 != 0x3b" identifier != number_literal) )))) ;) }))) (if_statement "if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }" if (parenthesized_expression "(local_c == *(byte **)puVar3)" ( (binary_expression "local_c == *(byte **)puVar3" identifier == (pointer_expression "*(byte **)puVar3" * (cast_expression "(byte **)puVar3" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) (expression_statement "pbVar2 = local_c;" (assignment_expression "pbVar2 = local_c" identifier = identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" identifier = (binary_expression "(uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" ( (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2" (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x1148" (pointer_expression "*(int *)(puVar3 + 0xc1b20)" * (cast_expression "(int *)(puVar3 + 0xc1b20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xc1b20)" ( (binary_expression "puVar3 + 0xc1b20" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ))))) ;) (if_statement "if (uVar1 < 0x1d) {\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }" if (parenthesized_expression "(uVar1 < 0x1d)" ( (binary_expression "uVar1 < 0x1d" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();" (assignment_expression "uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))()" identifier = (call_expression "(*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))()" (parenthesized_expression "(*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))" ( (pointer_expression "*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" * (cast_expression "(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" ( (binary_expression "puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec" (binary_expression "puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" * (cast_expression "(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" ( (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4" (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x33b8" (pointer_expression "*(int *)(puVar3 + 0xc1b20)" * (cast_expression "(int *)(puVar3 + 0xc1b20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xc1b20)" ( (binary_expression "puVar3 + 0xc1b20" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "*param_2 = 0xb4;" (assignment_expression "*param_2 = 0xb4" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) ))))) + LIT) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "uint sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}" (type_identifier "uint") (function_declarator "sqlite3_keyword_check(undefined4 param_1,undefined4 *param_2)" (identifier "sqlite3_keyword_check") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  int local_10;\n  byte *local_c;\n  \n  puVar3 = PTR___stack_chk_guard_000f5568;\n  local_10 = 0x3b;\n  local_c = *(byte **)PTR___stack_chk_guard_000f5568;\n  if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }\n  if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }\n  pbVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);\n  if (uVar1 < 0x1d) {\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }\n  *param_2 = 0xb4;\n  return 1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (declaration "byte *local_c;" (type_identifier "byte") (pointer_declarator "*local_c" (* "*") (identifier "local_c")) (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000f5568" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_000f5568")) (; ";")) (expression_statement "local_10 = 0x3b;" (assignment_expression "local_10 = 0x3b" (identifier "local_10") (= "=") (number_literal "0x3b")) (; ";")) (expression_statement "local_c = *(byte **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_c = *(byte **)PTR___stack_chk_guard_000f5568" (identifier "local_c") (= "=") (pointer_expression "*(byte **)PTR___stack_chk_guard_000f5568" (* "*") (cast_expression "(byte **)PTR___stack_chk_guard_000f5568" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000f5568")))) (; ";")) (if_statement "if ((int)param_2 < 2) {\n    uVar1 = 0;\n  }\n  else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" (if "if") (parenthesized_expression "((int)param_2 < 2)" (( "(") (binary_expression "(int)param_2 < 2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    uVar1 = 0;\n  }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" (else "else") (compound_statement "{\n    FUN_000333b0(param_1,param_2,&local_10);\n    uVar1 = (uint)(local_10 != 0x3b);\n  }" ({ "{") (expression_statement "FUN_000333b0(param_1,param_2,&local_10);" (call_expression "FUN_000333b0(param_1,param_2,&local_10)" (identifier "FUN_000333b0") (argument_list "(param_1,param_2,&local_10)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")"))) (; ";")) (expression_statement "uVar1 = (uint)(local_10 != 0x3b);" (assignment_expression "uVar1 = (uint)(local_10 != 0x3b)" (identifier "uVar1") (= "=") (call_expression "(uint)(local_10 != 0x3b)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_10 != 0x3b)" (( "(") (binary_expression "local_10 != 0x3b" (identifier "local_10") (!= "!=") (number_literal "0x3b")) () ")")))) (; ";")) (} "}")))) (if_statement "if (local_c == *(byte **)puVar3) {\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(local_c == *(byte **)puVar3)" (( "(") (binary_expression "local_c == *(byte **)puVar3" (identifier "local_c") (== "==") (pointer_expression "*(byte **)puVar3" (* "*") (cast_expression "(byte **)puVar3" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    return uVar1;\n  }" ({ "{") (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "pbVar2 = local_c;" (assignment_expression "pbVar2 = local_c" (identifier "pbVar2") (= "=") (identifier "local_c")) (; ";")) (expression_statement "puVar3 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000f5540" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_fail_000f5540")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000f5540" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000f5540"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);" (assignment_expression "uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2)" (( "(") (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2" (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x1148" (pointer_expression "*(int *)(puVar3 + 0xc1b20)" (* "*") (cast_expression "(int *)(puVar3 + 0xc1b20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 0xc1b20)" (( "(") (binary_expression "puVar3 + 0xc1b20" (identifier "puVar3") (+ "+") (number_literal "0xc1b20")) () ")")))) (+ "+") (number_literal "-0x1148")) (+ "+") (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar2"))) () ")"))))) (; ";")) (if_statement "if (uVar1 < 0x1d) {\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(uVar1 < 0x1d)" (( "(") (binary_expression "uVar1 < 0x1d" (identifier "uVar1") (< "<") (number_literal "0x1d")) () ")")) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))();" (assignment_expression "uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))()" (identifier "uVar1") (= "=") (call_expression "(*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))()" (parenthesized_expression "(*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      ))" (( "(") (pointer_expression "*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" (* "*") (cast_expression "(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec\n                      )" (( "(") (binary_expression "puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec" (binary_expression "puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" (identifier "puVar3") (+ "+") (pointer_expression "*(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" (* "*") (cast_expression "(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4)" (( "(") (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4" (binary_expression "*(int *)(puVar3 + 0xc1b20) + -0x33b8" (pointer_expression "*(int *)(puVar3 + 0xc1b20)" (* "*") (cast_expression "(int *)(puVar3 + 0xc1b20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 0xc1b20)" (( "(") (binary_expression "puVar3 + 0xc1b20" (identifier "puVar3") (+ "+") (number_literal "0xc1b20")) () ")")))) (+ "+") (number_literal "-0x33b8")) (+ "+") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4"))) () ")"))))) (+ "+") (number_literal "0xc9aec")) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "*param_2 = 0xb4;" (assignment_expression "*param_2 = 0xb4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0xb4")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(char *zName,int var_1)

{
  type_1 var_7;
  int iVar2;
  type_2 *var_6;
  type_3 *var_5;
  int var_3;
  type_2 *var_4;
  
  var_5 = PTR___stack_chk_guard_000f5568;
  var_3 = 0x3b;
  var_4 = *(type_2 **)PTR___stack_chk_guard_000f5568;
  if (var_1 < 2) {
    var_7 = 0;
  }
  else {
    var_2(zName,var_1,&var_3);
    var_7 = (type_1)(var_3 != 0x3b);
  }
  if (var_4 == *(type_2 **)var_5) {
    return var_7;
  }
  var_6 = var_4;
  var_5 = PTR___stack_chk_fail_000f5540;
  (*(type_4 *)PTR___stack_chk_fail_000f5540)();
  var_7 = (type_1)*(type_2 *)(*(int *)(var_5 + 0xc1b20) + -0x1148 + (type_1)*var_6);
  if (var_7 < 0x1d) {
                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(type_4 *)(var_5 + (int)(&UNK_000c9aec +
                                     *(int *)(*(int *)(var_5 + 0xc1b20) + -0x33b8 + var_7 * 4))))()
    ;
    return iVar2;
  }
  *(type_5 *)var_1 = 0xb4;
  return 1;
}


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

uint MASKED(undefined4 param_1,undefined4 *param_2)

{
  uint uVar1;
  byte *pbVar2;
  undefined *puVar3;
  int local_10;
  byte *local_c;
  
  puVar3 = PTR___stack_chk_guard_000f5568;
  local_10 = 0x3b;
  local_c = *(byte **)PTR___stack_chk_guard_000f5568;
  if ((int)param_2 < 2) {
    uVar1 = 0;
  }
  else {
    FUN_000333b0(param_1,param_2,&local_10);
    uVar1 = (uint)(local_10 != 0x3b);
  }
  if (local_c == *(byte **)puVar3) {
    return uVar1;
  }
  pbVar2 = local_c;
  puVar3 = PTR___stack_chk_fail_000f5540;
  (*(code *)PTR___stack_chk_fail_000f5540)();
  uVar1 = (uint)*(byte *)(*(int *)(puVar3 + 0xc1b20) + -0x1148 + (uint)*pbVar2);
  if (uVar1 < 0x1d) {
                    /* WARNING: Could not recover jumptable at 0x00033804. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)(puVar3 + *(int *)(*(int *)(puVar3 + 0xc1b20) + -0x33b8 + uVar1 * 4) + 0xc9aec
                      ))();
    return uVar1;
  }
  *param_2 = 0xb4;
  return 1;
}

