
int sqlite3_finalize(sqlite3_stmt *pStmt)

{
  uint uVar1;
  int iVar2;
  sqlite3 *db;
  
  if (pStmt == (sqlite3_stmt *)0x0) {
    return 0;
  }
  db = *(sqlite3 **)pStmt;
  if (db != (sqlite3 *)0x0) {
    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex);
    if ((0 < *(int *)(pStmt + 0x88)) ||
       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))) {
      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);
    }
    uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt);
    if ((db->mallocFailed == '\0') && (uVar1 != 0xc0a)) {
      uVar1 = uVar1 & db->errMask;
    }
    else {
      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);
    }
    sqlite3LeaveMutexAndCloseZombie(db);
    return uVar1;
  }
  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);
                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar2 = (*(code *)(PTR_DAT_000f52e8 + 0x4440))(0x14497);
  return iVar2;
}



uint sqlite3_finalize(int *param_1)

{
  uint uVar1;
  int iVar2;
  
  if (param_1 == (int *)0x0) {
    return 0;
  }
  iVar2 = *param_1;
  if (iVar2 != 0) {
    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));
    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {
      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);
    }
    uVar1 = FUN_0008d67c(param_1);
    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {
      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);
    }
    else {
      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);
    }
    FUN_0008ad9c(iVar2);
    return uVar1;
  }
  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);
                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);
  return uVar1;
}


lui gp,0x7
addiu gp,gp,-0x460
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
beq a0,zero,0x0008d7e8
_sw s0,0x1c(sp)
lw s1,0x0(a0)
beq s1,zero,0x0008d804
_or s0,a0,zero
lw t9,-0x7e58(gp)
jalr t9
_lw a0,0xc(s1)
lw v0,0x88(s0)
bgtz v0,0x0008d75c
_lw gp,0x10(sp)
bne v0,zero,0x0008d778
_lw t9,-0x7f98(gp)
lw v0,0x8c(s0)
beq v0,zero,0x0008d77c
_addiu t9,t9,-0x2984
lw t9,-0x7fd8(gp)
or a1,s0,zero
addiu t9,t9,0x24ac
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x7f98(gp)
addiu t9,t9,-0x2984
bal 0x0008d67c
_or a0,s0,zero
lbu v1,0x51(s1)
bne v1,zero,0x0008d7cc
_lw gp,0x10(sp)
li v1,0xc0a
beq v0,v1,0x0008d7d0
_lw t9,-0x7fb8(gp)
lw s0,0x44(s1)
and s0,v0,s0
lw t9,-0x7f98(gp)
addiu t9,t9,-0x5264
bal 0x0008ad9c
_or a0,s1,zero
or v0,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7fb8(gp)
addiu t9,t9,-0x3de8
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
b 0x0008d7a4
_or s0,v0,zero
lw ra,0x24(sp)
or s0,zero,zero
lw s1,0x20(sp)
or v0,s0,zero
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw a1,-0x7fd4(gp)
li a0,0x15
lw t9,-0x7ed4(gp)
jalr t9
_addiu a1,a1,0x7464
lui a0,0x1
lw gp,0x10(sp)
lw ra,0x24(sp)
addiu a0,a0,0x4497
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7fb8(gp)
addiu t9,t9,0x4440
jr t9
_addiu sp,sp,0x28
(translation_unit "uint sqlite3_finalize(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}\n\n" (function_definition "uint sqlite3_finalize(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_finalize(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }" { (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" * (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0xc))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) ))) ;) (if_statement "if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }" if (parenthesized_expression "((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0))))" ( (binary_expression "(0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))" (parenthesized_expression "(0 < param_1[0x22])" ( (binary_expression "0 < param_1[0x22]" number_literal < (subscript_expression "param_1[0x22]" identifier [ number_literal ])) )) || (parenthesized_expression "((param_1[0x22] == 0 && (param_1[0x23] != 0)))" ( (parenthesized_expression "(param_1[0x22] == 0 && (param_1[0x23] != 0))" ( (binary_expression "param_1[0x22] == 0 && (param_1[0x23] != 0)" (binary_expression "param_1[0x22] == 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(param_1[0x23] != 0)" ( (binary_expression "param_1[0x23] != 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) != number_literal) ))) )) ))) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);" (call_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))" ( (pointer_expression "*(code *)(PTR_LAB_000f52c8 + 0x24ac)" * (cast_expression "(code *)(PTR_LAB_000f52c8 + 0x24ac)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52c8 + 0x24ac)" ( (binary_expression "PTR_LAB_000f52c8 + 0x24ac" identifier + number_literal) )))) )) (argument_list "(iVar2,param_1)" ( identifier , identifier ))) ;) })) (expression_statement "uVar1 = FUN_0008d67c(param_1);" (assignment_expression "uVar1 = FUN_0008d67c(param_1)" identifier = (call_expression "FUN_0008d67c(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" if (parenthesized_expression "((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a))" ( (binary_expression "(*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)" (parenthesized_expression "(*(char *)(iVar2 + 0x51) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x51) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" * (cast_expression "(char *)(iVar2 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x51)" ( (binary_expression "iVar2 + 0x51" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar1 != 0xc0a)" ( (binary_expression "uVar1 != 0xc0a" identifier != number_literal) ))) )) (compound_statement "{\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }" { (expression_statement "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);" (assignment_expression "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44)" identifier = (binary_expression "uVar1 & *(uint *)(iVar2 + 0x44)" identifier & (pointer_expression "*(uint *)(iVar2 + 0x44)" * (cast_expression "(uint *)(iVar2 + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" else (compound_statement "{\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" { (expression_statement "uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);" (assignment_expression "uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52e8 + -0x3de8))" ( (pointer_expression "*(code *)(PTR_LAB_000f52e8 + -0x3de8)" * (cast_expression "(code *)(PTR_LAB_000f52e8 + -0x3de8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52e8 + -0x3de8)" ( (binary_expression "PTR_LAB_000f52e8 + -0x3de8" identifier + number_literal) )))) )) (argument_list "(iVar2)" ( identifier )))) ;) }))) (expression_statement "FUN_0008ad9c(iVar2);" (call_expression "FUN_0008ad9c(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);" (call_expression "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_000f53cc)" ( (pointer_expression "*(code *)PTR_sqlite3_log_000f53cc" * (cast_expression "(code *)PTR_sqlite3_log_000f53cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x15,PTR_LAB_000f52cc + 0x7464)" ( number_literal , (binary_expression "PTR_LAB_000f52cc + 0x7464" identifier + number_literal) ))) ;) comment comment (expression_statement "uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);" (assignment_expression "uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52e8 + 0x4440))" ( (pointer_expression "*(code *)(PTR_LAB_000f52e8 + 0x4440)" * (cast_expression "(code *)(PTR_LAB_000f52e8 + 0x4440)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52e8 + 0x4440)" ( (binary_expression "PTR_LAB_000f52e8 + 0x4440" identifier + number_literal) )))) )) (argument_list "(0x14497)" ( number_literal )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int sqlite3_finalize(sqlite3_stmt *pStmt)\n\n{\n  uint uVar1;\n  int iVar2;\n  sqlite3 *db;\n  \n  if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }\n  db = *(sqlite3 **)pStmt;\n  if (db != (sqlite3 *)0x0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex);\n    if ((0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);\n    }\n    uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if ((db->mallocFailed == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & db->errMask;\n    }\n    else {\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }\n    sqlite3LeaveMutexAndCloseZombie(db);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (*(code *)(PTR_DAT_000f52e8 + 0x4440))(0x14497);\n  return iVar2;\n}\n\n" (function_definition "int sqlite3_finalize(sqlite3_stmt *pStmt)\n\n{\n  uint uVar1;\n  int iVar2;\n  sqlite3 *db;\n  \n  if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }\n  db = *(sqlite3 **)pStmt;\n  if (db != (sqlite3 *)0x0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex);\n    if ((0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);\n    }\n    uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if ((db->mallocFailed == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & db->errMask;\n    }\n    else {\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }\n    sqlite3LeaveMutexAndCloseZombie(db);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (*(code *)(PTR_DAT_000f52e8 + 0x4440))(0x14497);\n  return iVar2;\n}" primitive_type (function_declarator "sqlite3_finalize(sqlite3_stmt *pStmt)" identifier (parameter_list "(sqlite3_stmt *pStmt)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  sqlite3 *db;\n  \n  if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }\n  db = *(sqlite3 **)pStmt;\n  if (db != (sqlite3 *)0x0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex);\n    if ((0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);\n    }\n    uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if ((db->mallocFailed == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & db->errMask;\n    }\n    else {\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }\n    sqlite3LeaveMutexAndCloseZombie(db);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (*(code *)(PTR_DAT_000f52e8 + 0x4440))(0x14497);\n  return iVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (if_statement "if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(pStmt == (sqlite3_stmt *)0x0)" ( (binary_expression "pStmt == (sqlite3_stmt *)0x0" identifier == (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "db = *(sqlite3 **)pStmt;" (assignment_expression "db = *(sqlite3 **)pStmt" identifier = (pointer_expression "*(sqlite3 **)pStmt" * (cast_expression "(sqlite3 **)pStmt" ( (type_descriptor "sqlite3 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (db != (sqlite3 *)0x0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex);\n    if ((0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);\n    }\n    uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if ((db->mallocFailed == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & db->errMask;\n    }\n    else {\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }\n    sqlite3LeaveMutexAndCloseZombie(db);\n    return uVar1;\n  }" if (parenthesized_expression "(db != (sqlite3 *)0x0)" ( (binary_expression "db != (sqlite3 *)0x0" identifier != (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex);\n    if ((0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);\n    }\n    uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if ((db->mallocFailed == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & db->errMask;\n    }\n    else {\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }\n    sqlite3LeaveMutexAndCloseZombie(db);\n    return uVar1;\n  }" { (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex);" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(db->mutex)" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" * (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(db->mutex)" ( (field_expression "db->mutex" identifier -> field_identifier) ))) ;) (if_statement "if ((0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);\n    }" if (parenthesized_expression "((0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0))))" ( (binary_expression "(0 < *(int *)(pStmt + 0x88)) ||\n       ((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))" (parenthesized_expression "(0 < *(int *)(pStmt + 0x88))" ( (binary_expression "0 < *(int *)(pStmt + 0x88)" number_literal < (pointer_expression "*(int *)(pStmt + 0x88)" * (cast_expression "(int *)(pStmt + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pStmt + 0x88)" ( (binary_expression "pStmt + 0x88" identifier + number_literal) ))))) )) || (parenthesized_expression "((*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)))" ( (parenthesized_expression "(*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0))" ( (binary_expression "*(int *)(pStmt + 0x88) == 0 && (*(int *)(pStmt + 0x8c) != 0)" (binary_expression "*(int *)(pStmt + 0x88) == 0" (pointer_expression "*(int *)(pStmt + 0x88)" * (cast_expression "(int *)(pStmt + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pStmt + 0x88)" ( (binary_expression "pStmt + 0x88" identifier + number_literal) )))) == number_literal) && (parenthesized_expression "(*(int *)(pStmt + 0x8c) != 0)" ( (binary_expression "*(int *)(pStmt + 0x8c) != 0" (pointer_expression "*(int *)(pStmt + 0x8c)" * (cast_expression "(int *)(pStmt + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pStmt + 0x8c)" ( (binary_expression "pStmt + 0x8c" identifier + number_literal) )))) != number_literal) ))) )) ))) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt);" (call_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(db,pStmt)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))" ( (pointer_expression "*(code *)(PTR_LAB_000f52c8 + 0x24ac)" * (cast_expression "(code *)(PTR_LAB_000f52c8 + 0x24ac)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52c8 + 0x24ac)" ( (binary_expression "PTR_LAB_000f52c8 + 0x24ac" identifier + number_literal) )))) )) (argument_list "(db,pStmt)" ( identifier , identifier ))) ;) })) (expression_statement "uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt);" (assignment_expression "uVar1 = sqlite3VdbeFinalize((Vdbe *)pStmt)" identifier = (call_expression "sqlite3VdbeFinalize((Vdbe *)pStmt)" identifier (argument_list "((Vdbe *)pStmt)" ( (cast_expression "(Vdbe *)pStmt" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if ((db->mallocFailed == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & db->errMask;\n    }\n    else {\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }" if (parenthesized_expression "((db->mallocFailed == '\0') && (uVar1 != 0xc0a))" ( (binary_expression "(db->mallocFailed == '\0') && (uVar1 != 0xc0a)" (parenthesized_expression "(db->mallocFailed == '\0')" ( (binary_expression "db->mallocFailed == '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar1 != 0xc0a)" ( (binary_expression "uVar1 != 0xc0a" identifier != number_literal) ))) )) (compound_statement "{\n      uVar1 = uVar1 & db->errMask;\n    }" { (expression_statement "uVar1 = uVar1 & db->errMask;" (assignment_expression "uVar1 = uVar1 & db->errMask" identifier = (binary_expression "uVar1 & db->errMask" identifier & (field_expression "db->errMask" identifier -> field_identifier))) ;) }) (else_clause "else {\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }" else (compound_statement "{\n      uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);\n    }" { (expression_statement "uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db);" (assignment_expression "uVar1 = (*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db)" identifier = (call_expression "(*(code *)(PTR_DAT_000f52e8 + -0x3de8))(db)" (parenthesized_expression "(*(code *)(PTR_DAT_000f52e8 + -0x3de8))" ( (pointer_expression "*(code *)(PTR_DAT_000f52e8 + -0x3de8)" * (cast_expression "(code *)(PTR_DAT_000f52e8 + -0x3de8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000f52e8 + -0x3de8)" ( (binary_expression "PTR_DAT_000f52e8 + -0x3de8" identifier + number_literal) )))) )) (argument_list "(db)" ( identifier )))) ;) }))) (expression_statement "sqlite3LeaveMutexAndCloseZombie(db);" (call_expression "sqlite3LeaveMutexAndCloseZombie(db)" identifier (argument_list "(db)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);" (call_expression "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_000f53cc)" ( (pointer_expression "*(code *)PTR_sqlite3_log_000f53cc" * (cast_expression "(code *)PTR_sqlite3_log_000f53cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x15,PTR_LAB_000f52cc + 0x7464)" ( number_literal , (binary_expression "PTR_LAB_000f52cc + 0x7464" identifier + number_literal) ))) ;) comment comment (expression_statement "iVar2 = (*(code *)(PTR_DAT_000f52e8 + 0x4440))(0x14497);" (assignment_expression "iVar2 = (*(code *)(PTR_DAT_000f52e8 + 0x4440))(0x14497)" identifier = (call_expression "(*(code *)(PTR_DAT_000f52e8 + 0x4440))(0x14497)" (parenthesized_expression "(*(code *)(PTR_DAT_000f52e8 + 0x4440))" ( (pointer_expression "*(code *)(PTR_DAT_000f52e8 + 0x4440)" * (cast_expression "(code *)(PTR_DAT_000f52e8 + 0x4440)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000f52e8 + 0x4440)" ( (binary_expression "PTR_DAT_000f52e8 + 0x4440" identifier + number_literal) )))) )) (argument_list "(0x14497)" ( number_literal )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "uint sqlite3_finalize(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    \n                    \n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}\n\n" (function_definition "uint sqlite3_finalize(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    \n                    \n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_finalize(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    \n                    \n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }" { (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" ( (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" * (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0xc))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) ))) ;) (if_statement "if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }" if (parenthesized_expression "((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0))))" ( (binary_expression "(0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))" (parenthesized_expression "(0 < param_1[0x22])" ( (binary_expression "0 < param_1[0x22]" number_literal < (subscript_expression "param_1[0x22]" identifier [ number_literal ])) )) || (parenthesized_expression "((param_1[0x22] == 0 && (param_1[0x23] != 0)))" ( (parenthesized_expression "(param_1[0x22] == 0 && (param_1[0x23] != 0))" ( (binary_expression "param_1[0x22] == 0 && (param_1[0x23] != 0)" (binary_expression "param_1[0x22] == 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(param_1[0x23] != 0)" ( (binary_expression "param_1[0x23] != 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) != number_literal) ))) )) ))) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);" (call_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))" ( (pointer_expression "*(code *)(PTR_LAB_000f52c8 + 0x24ac)" * (cast_expression "(code *)(PTR_LAB_000f52c8 + 0x24ac)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52c8 + 0x24ac)" ( (binary_expression "PTR_LAB_000f52c8 + 0x24ac" identifier + number_literal) )))) )) (argument_list "(iVar2,param_1)" ( identifier , identifier ))) ;) })) (expression_statement "uVar1 = FUN_0008d67c(param_1);" (assignment_expression "uVar1 = FUN_0008d67c(param_1)" identifier = (call_expression "FUN_0008d67c(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" if (parenthesized_expression "((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a))" ( (binary_expression "(*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)" (parenthesized_expression "(*(char *)(iVar2 + 0x51) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x51) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" * (cast_expression "(char *)(iVar2 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x51)" ( (binary_expression "iVar2 + 0x51" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar1 != 0xc0a)" ( (binary_expression "uVar1 != 0xc0a" identifier != number_literal) ))) )) (compound_statement "{\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }" { (expression_statement "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);" (assignment_expression "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44)" identifier = (binary_expression "uVar1 & *(uint *)(iVar2 + 0x44)" identifier & (pointer_expression "*(uint *)(iVar2 + 0x44)" * (cast_expression "(uint *)(iVar2 + 0x44)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" else (compound_statement "{\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" { (expression_statement "uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);" (assignment_expression "uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52e8 + -0x3de8))" ( (pointer_expression "*(code *)(PTR_LAB_000f52e8 + -0x3de8)" * (cast_expression "(code *)(PTR_LAB_000f52e8 + -0x3de8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52e8 + -0x3de8)" ( (binary_expression "PTR_LAB_000f52e8 + -0x3de8" identifier + number_literal) )))) )) (argument_list "(iVar2)" ( identifier )))) ;) }))) (expression_statement "FUN_0008ad9c(iVar2);" (call_expression "FUN_0008ad9c(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);" (call_expression "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_000f53cc)" ( (pointer_expression "*(code *)PTR_sqlite3_log_000f53cc" * (cast_expression "(code *)PTR_sqlite3_log_000f53cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x15,PTR_LAB_000f52cc + 0x7464)" ( number_literal , (binary_expression "PTR_LAB_000f52cc + 0x7464" identifier + number_literal) ))) ;) (expression_statement "uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);" (assignment_expression "uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52e8 + 0x4440))" ( (pointer_expression "*(code *)(PTR_LAB_000f52e8 + 0x4440)" * (cast_expression "(code *)(PTR_LAB_000f52e8 + 0x4440)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52e8 + 0x4440)" ( (binary_expression "PTR_LAB_000f52e8 + 0x4440" identifier + number_literal) )))) )) (argument_list "(0x14497)" ( number_literal )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })))
(function_definition "uint sqlite3_finalize(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    \n                    \n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "sqlite3_finalize(int *param_1)" (identifier "sqlite3_finalize") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }\n  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);\n                    \n                    \n  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar2 != 0) {\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));\n    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }\n    uVar1 = FUN_0008d67c(param_1);\n    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }\n    FUN_0008ad9c(iVar2);\n    return uVar1;\n  }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));" (call_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc))" (parenthesized_expression "(*(code *)PTR_sqlite3_mutex_enter_000f5448)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mutex_enter_000f5448" (* "*") (cast_expression "(code *)PTR_sqlite3_mutex_enter_000f5448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mutex_enter_000f5448"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (if_statement "if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }" (if "if") (parenthesized_expression "((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0))))" (( "(") (binary_expression "(0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))" (parenthesized_expression "(0 < param_1[0x22])" (( "(") (binary_expression "0 < param_1[0x22]" (number_literal "0") (< "<") (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]"))) () ")")) (|| "||") (parenthesized_expression "((param_1[0x22] == 0 && (param_1[0x23] != 0)))" (( "(") (parenthesized_expression "(param_1[0x22] == 0 && (param_1[0x23] != 0))" (( "(") (binary_expression "param_1[0x22] == 0 && (param_1[0x23] != 0)" (binary_expression "param_1[0x22] == 0" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(param_1[0x23] != 0)" (( "(") (binary_expression "param_1[0x23] != 0" (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);\n    }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);" (call_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52c8 + 0x24ac))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52c8 + 0x24ac)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52c8 + 0x24ac)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52c8 + 0x24ac)" (( "(") (binary_expression "PTR_LAB_000f52c8 + 0x24ac" (identifier "PTR_LAB_000f52c8") (+ "+") (number_literal "0x24ac")) () ")")))) () ")")) (argument_list "(iVar2,param_1)" (( "(") (identifier "iVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_0008d67c(param_1);" (assignment_expression "uVar1 = FUN_0008d67c(param_1)" (identifier "uVar1") (= "=") (call_expression "FUN_0008d67c(param_1)" (identifier "FUN_0008d67c") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }\n    else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" (if "if") (parenthesized_expression "((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a))" (( "(") (binary_expression "(*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)" (parenthesized_expression "(*(char *)(iVar2 + 0x51) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x51) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x51)" (* "*") (cast_expression "(char *)(iVar2 + 0x51)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x51)" (( "(") (binary_expression "iVar2 + 0x51" (identifier "iVar2") (+ "+") (number_literal "0x51")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 0xc0a)" (( "(") (binary_expression "uVar1 != 0xc0a" (identifier "uVar1") (!= "!=") (number_literal "0xc0a")) () ")"))) () ")")) (compound_statement "{\n      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);\n    }" ({ "{") (expression_statement "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);" (assignment_expression "uVar1 = uVar1 & *(uint *)(iVar2 + 0x44)" (identifier "uVar1") (= "=") (binary_expression "uVar1 & *(uint *)(iVar2 + 0x44)" (identifier "uVar1") (& "&") (pointer_expression "*(uint *)(iVar2 + 0x44)" (* "*") (cast_expression "(uint *)(iVar2 + 0x44)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" (else "else") (compound_statement "{\n      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);\n    }" ({ "{") (expression_statement "uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);" (assignment_expression "uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2)" (identifier "uVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52e8 + -0x3de8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52e8 + -0x3de8)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52e8 + -0x3de8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52e8 + -0x3de8)" (( "(") (binary_expression "PTR_LAB_000f52e8 + -0x3de8" (identifier "PTR_LAB_000f52e8") (+ "+") (number_literal "-0x3de8")) () ")")))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (} "}")))) (expression_statement "FUN_0008ad9c(iVar2);" (call_expression "FUN_0008ad9c(iVar2)" (identifier "FUN_0008ad9c") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);" (call_expression "(*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_000f53cc)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_log_000f53cc" (* "*") (cast_expression "(code *)PTR_sqlite3_log_000f53cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_log_000f53cc"))) () ")")) (argument_list "(0x15,PTR_LAB_000f52cc + 0x7464)" (( "(") (number_literal "0x15") (, ",") (binary_expression "PTR_LAB_000f52cc + 0x7464" (identifier "PTR_LAB_000f52cc") (+ "+") (number_literal "0x7464")) () ")"))) (; ";")) (expression_statement "uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);" (assignment_expression "uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497)" (identifier "uVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52e8 + 0x4440))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52e8 + 0x4440)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52e8 + 0x4440)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52e8 + 0x4440)" (( "(") (binary_expression "PTR_LAB_000f52e8 + 0x4440" (identifier "PTR_LAB_000f52e8") (+ "+") (number_literal "0x4440")) () ")")))) () ")")) (argument_list "(0x14497)" (( "(") (number_literal "0x14497") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

int function_1(type_1 *var_1)

{
  type_2 var_5;
  int iVar2;
  type_3 *var_2;
  
  if (var_1 == (type_1 *)0x0) {
    return 0;
  }
  var_2 = *(type_3 **)var_1;
  if (var_2 != (type_3 *)0x0) {
    (*(type_4 *)PTR_sqlite3_mutex_enter_000f5448)(var_2->mutex);
    if ((0 < *(int *)(var_1 + 0x88)) ||
       ((*(int *)(var_1 + 0x88) == 0 && (*(int *)(var_1 + 0x8c) != 0)))) {
      (*(type_4 *)(var_3 + 0x24ac))(var_2,var_1);
    }
    var_5 = var_4((type_5 *)var_1);
    if ((var_2->mallocFailed == '\0') && (var_5 != 0xc0a)) {
      var_5 = var_5 & var_2->errMask;
    }
    else {
      var_5 = (*(type_4 *)(var_6 + -0x3de8))(var_2);
    }
    var_7(var_2);
    return var_5;
  }
  (*(type_4 *)PTR_sqlite3_log_000f53cc)(0x15,var_8 + 0x7464);
                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar2 = (*(type_4 *)(var_6 + 0x4440))(0x14497);
  return iVar2;
}


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

uint MASKED(int *param_1)

{
  uint uVar1;
  int iVar2;
  
  if (param_1 == (int *)0x0) {
    return 0;
  }
  iVar2 = *param_1;
  if (iVar2 != 0) {
    (*(code *)PTR_sqlite3_mutex_enter_000f5448)(*(undefined4 *)(iVar2 + 0xc));
    if ((0 < param_1[0x22]) || ((param_1[0x22] == 0 && (param_1[0x23] != 0)))) {
      (*(code *)(PTR_LAB_000f52c8 + 0x24ac))(iVar2,param_1);
    }
    uVar1 = FUN_0008d67c(param_1);
    if ((*(char *)(iVar2 + 0x51) == '\0') && (uVar1 != 0xc0a)) {
      uVar1 = uVar1 & *(uint *)(iVar2 + 0x44);
    }
    else {
      uVar1 = (*(code *)(PTR_LAB_000f52e8 + -0x3de8))(iVar2);
    }
    FUN_0008ad9c(iVar2);
    return uVar1;
  }
  (*(code *)PTR_sqlite3_log_000f53cc)(0x15,PTR_LAB_000f52cc + 0x7464);
                    /* WARNING: Could not recover jumptable at 0x0008d838. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  uVar1 = (*(code *)(PTR_LAB_000f52e8 + 0x4440))(0x14497);
  return uVar1;
}

