
void fts5DataDelete(Fts5Index *p,i64 iFirst,i64 iLast)

{
  int iVar1;
  Fts5Index *p_1;
  sqlite3_stmt *psVar2;
  undefined4 in_a2;
  undefined4 in_a3;
  
  if (p->rc != 0) {
    return;
  }
  psVar2 = p->pDeleter;
  if (psVar2 == (sqlite3_stmt *)0x0) {
    p_1 = (Fts5Index *)
          (*(code *)PTR_sqlite3_mprintf_0015c5f0)
                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);
    iVar1 = fts5IndexPrepareStmt
                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1);
    if (iVar1 != 0) {
      return;
    }
    psVar2 = p->pDeleter;
  }
  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(psVar2,1,in_a2,in_a3);
  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_);
  (*(code *)PTR_sqlite3_step_0015c648)(p->pDeleter);
  iVar1 = (*(code *)PTR_sqlite3_reset_0015c65c)(p->pDeleter);
  p->rc = iVar1;
  return;
}



void FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  undefined4 uVar1;
  int iVar2;
  
  if (param_1[9] != 0) {
    return;
  }
  iVar2 = param_1[0xc];
  if (iVar2 == 0) {
    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)
                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),
                       *(undefined4 *)(*param_1 + 8));
    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);
    if (iVar2 != 0) {
      return;
    }
    iVar2 = param_1[0xc];
  }
  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);
  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);
  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);
  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);
  param_1[9] = iVar2;
  return;
}


lui gp,0x6
addiu gp,gp,0x1414
addu gp,gp,t9
lw v0,0x24(a0)
bne v0,zero,0x0010324c
_nop
addiu sp,sp,-0x28
sw s3,0x20(sp)
or s3,a3,zero
sw s2,0x1c(sp)
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
lw a0,0x30(a0)
beq a0,zero,0x00103254
_or s2,a2,zero
lw t9,-0x7db4(gp)
li a1,0x1
or a3,s3,zero
jalr t9
_or a2,s2,zero
li a1,0x2
lw gp,0x10(sp)
lw a3,0x3c(sp)
lw a2,0x38(sp)
lw t9,-0x7db4(gp)
jalr t9
_lw a0,0x30(s0)
lw gp,0x10(sp)
lw t9,-0x7f68(gp)
jalr t9
_lw a0,0x30(s0)
lw gp,0x10(sp)
lw t9,-0x7f54(gp)
jalr t9
_lw a0,0x30(s0)
sw v0,0x24(s0)
lw ra,0x24(sp)
lw s3,0x20(sp)
lw s2,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_nop
lw v0,0x0(s0)
lw a0,-0x7fbc(gp)
lw t9,-0x7fc0(gp)
lw a2,0x8(v0)
addiu a0,a0,-0x2e24
jalr t9
_lw a1,0x4(v0)
addiu a2,s0,0x30
lw gp,0x10(sp)
addiu a1,s0,0x24
lw a0,0x0(s0)
lw t9,-0x7edc(gp)
addiu t9,t9,-0x7d10
bal 0x000f82f0
_or a3,v0,zero
bne v0,zero,0x00103234
_lw gp,0x10(sp)
b 0x001031e0
_lw a0,0x30(s0)
(translation_unit "void FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}\n\n" (function_definition "void FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1[9] != 0) {\n    return;\n  }" if (parenthesized_expression "(param_1[9] != 0)" ( (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = param_1[0xc];" (assignment_expression "iVar2 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }" { (expression_statement "uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_0015c5f0" * (cast_expression "(code *)PTR_sqlite3_mprintf_0015c5f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" ( (binary_expression "PTR_s_LE_FTS4_0015c5f4 + -0x2e24" identifier + number_literal) , (pointer_expression "*(undefined4 *)(*param_1 + 4)" * (cast_expression "(undefined4 *)(*param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);" (assignment_expression "iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" identifier = (call_expression "FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" identifier (argument_list "(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "param_1 + 9" identifier + number_literal) , (binary_expression "param_1 + 0xc" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = param_1[0xc];" (assignment_expression "iVar2 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) })) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" * (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,1,param_3,param_4)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" * (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc],2,param_5,param_6)" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) , number_literal , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);" (call_expression "(*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc])" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015c648)" ( (pointer_expression "*(code *)PTR_sqlite3_step_0015c648" * (cast_expression "(code *)PTR_sqlite3_step_0015c648" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc])" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);" (assignment_expression "iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc])" identifier = (call_expression "(*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc])" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_0015c65c)" ( (pointer_expression "*(code *)PTR_sqlite3_reset_0015c65c" * (cast_expression "(code *)PTR_sqlite3_reset_0015c65c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc])" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) )))) ;) (expression_statement "param_1[9] = iVar2;" (assignment_expression "param_1[9] = iVar2" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void fts5DataDelete(Fts5Index *p,i64 iFirst,i64 iLast)\n\n{\n  int iVar1;\n  Fts5Index *p_1;\n  sqlite3_stmt *psVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  \n  if (p->rc != 0) {\n    return;\n  }\n  psVar2 = p->pDeleter;\n  if (psVar2 == (sqlite3_stmt *)0x0) {\n    p_1 = (Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);\n    iVar1 = fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1);\n    if (iVar1 != 0) {\n      return;\n    }\n    psVar2 = p->pDeleter;\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(psVar2,1,in_a2,in_a3);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_);\n  (*(code *)PTR_sqlite3_step_0015c648)(p->pDeleter);\n  iVar1 = (*(code *)PTR_sqlite3_reset_0015c65c)(p->pDeleter);\n  p->rc = iVar1;\n  return;\n}\n\n" (function_definition "void fts5DataDelete(Fts5Index *p,i64 iFirst,i64 iLast)\n\n{\n  int iVar1;\n  Fts5Index *p_1;\n  sqlite3_stmt *psVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  \n  if (p->rc != 0) {\n    return;\n  }\n  psVar2 = p->pDeleter;\n  if (psVar2 == (sqlite3_stmt *)0x0) {\n    p_1 = (Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);\n    iVar1 = fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1);\n    if (iVar1 != 0) {\n      return;\n    }\n    psVar2 = p->pDeleter;\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(psVar2,1,in_a2,in_a3);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_);\n  (*(code *)PTR_sqlite3_step_0015c648)(p->pDeleter);\n  iVar1 = (*(code *)PTR_sqlite3_reset_0015c65c)(p->pDeleter);\n  p->rc = iVar1;\n  return;\n}" primitive_type (function_declarator "fts5DataDelete(Fts5Index *p,i64 iFirst,i64 iLast)" identifier (parameter_list "(Fts5Index *p,i64 iFirst,i64 iLast)" ( (parameter_declaration "Fts5Index *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "i64 iFirst" type_identifier identifier) , (parameter_declaration "i64 iLast" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  Fts5Index *p_1;\n  sqlite3_stmt *psVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  \n  if (p->rc != 0) {\n    return;\n  }\n  psVar2 = p->pDeleter;\n  if (psVar2 == (sqlite3_stmt *)0x0) {\n    p_1 = (Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);\n    iVar1 = fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1);\n    if (iVar1 != 0) {\n      return;\n    }\n    psVar2 = p->pDeleter;\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(psVar2,1,in_a2,in_a3);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_);\n  (*(code *)PTR_sqlite3_step_0015c648)(p->pDeleter);\n  iVar1 = (*(code *)PTR_sqlite3_reset_0015c65c)(p->pDeleter);\n  p->rc = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Fts5Index *p_1;" type_identifier (pointer_declarator "*p_1" * identifier) ;) (declaration "sqlite3_stmt *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (if_statement "if (p->rc != 0) {\n    return;\n  }" if (parenthesized_expression "(p->rc != 0)" ( (binary_expression "p->rc != 0" (field_expression "p->rc" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "psVar2 = p->pDeleter;" (assignment_expression "psVar2 = p->pDeleter" identifier = (field_expression "p->pDeleter" identifier -> field_identifier)) ;) (if_statement "if (psVar2 == (sqlite3_stmt *)0x0) {\n    p_1 = (Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);\n    iVar1 = fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1);\n    if (iVar1 != 0) {\n      return;\n    }\n    psVar2 = p->pDeleter;\n  }" if (parenthesized_expression "(psVar2 == (sqlite3_stmt *)0x0)" ( (binary_expression "psVar2 == (sqlite3_stmt *)0x0" identifier == (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_1 = (Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);\n    iVar1 = fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1);\n    if (iVar1 != 0) {\n      return;\n    }\n    psVar2 = p->pDeleter;\n  }" { (expression_statement "p_1 = (Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);" (assignment_expression "p_1 = (Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName)" identifier = (cast_expression "(Fts5Index *)\n          (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName)" ( (type_descriptor "Fts5Index *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                    (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_0015c5f0" * (cast_expression "(code *)PTR_sqlite3_mprintf_0015c5f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_LE_FTS4_0015c5f4 + -0x2e24,p->pConfig->zDb,p->pConfig->zName)" ( (binary_expression "PTR_s_LE_FTS4_0015c5f4 + -0x2e24" identifier + number_literal) , (field_expression "p->pConfig->zDb" (field_expression "p->pConfig" identifier -> field_identifier) -> field_identifier) , (field_expression "p->pConfig->zName" (field_expression "p->pConfig" identifier -> field_identifier) -> field_identifier) ))))) ;) (expression_statement "iVar1 = fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1);" (assignment_expression "iVar1 = fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1)" identifier = (call_expression "fts5IndexPrepareStmt\n                      ((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1)" identifier (argument_list "((Fts5Index *)p->pConfig,(sqlite3_stmt **)&p->rc,(char *)&p->pDeleter,p_1)" ( (cast_expression "(Fts5Index *)p->pConfig" ( (type_descriptor "Fts5Index *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->pConfig" identifier -> field_identifier)) , (cast_expression "(sqlite3_stmt **)&p->rc" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&p->rc" & (field_expression "p->rc" identifier -> field_identifier))) , (cast_expression "(char *)&p->pDeleter" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->pDeleter" & (field_expression "p->pDeleter" identifier -> field_identifier))) , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "psVar2 = p->pDeleter;" (assignment_expression "psVar2 = p->pDeleter" identifier = (field_expression "p->pDeleter" identifier -> field_identifier)) ;) })) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(psVar2,1,in_a2,in_a3);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(psVar2,1,in_a2,in_a3)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" * (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(psVar2,1,in_a2,in_a3)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" * (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_)" ( (field_expression "p->pDeleter" identifier -> field_identifier) , number_literal , (field_expression "iFirst._0_4_" identifier . field_identifier) , (field_expression "iFirst._4_4_" identifier . field_identifier) ))) ;) (expression_statement "(*(code *)PTR_sqlite3_step_0015c648)(p->pDeleter);" (call_expression "(*(code *)PTR_sqlite3_step_0015c648)(p->pDeleter)" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015c648)" ( (pointer_expression "*(code *)PTR_sqlite3_step_0015c648" * (cast_expression "(code *)PTR_sqlite3_step_0015c648" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p->pDeleter)" ( (field_expression "p->pDeleter" identifier -> field_identifier) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_reset_0015c65c)(p->pDeleter);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_reset_0015c65c)(p->pDeleter)" identifier = (call_expression "(*(code *)PTR_sqlite3_reset_0015c65c)(p->pDeleter)" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_0015c65c)" ( (pointer_expression "*(code *)PTR_sqlite3_reset_0015c65c" * (cast_expression "(code *)PTR_sqlite3_reset_0015c65c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p->pDeleter)" ( (field_expression "p->pDeleter" identifier -> field_identifier) )))) ;) (expression_statement "p->rc = iVar1;" (assignment_expression "p->rc = iVar1" (field_expression "p->rc" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}\n\n" (function_definition "void FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1[9] != 0) {\n    return;\n  }" if (parenthesized_expression "(param_1[9] != 0)" ( (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = param_1[0xc];" (assignment_expression "iVar2 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }" { (expression_statement "uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_0015c5f0" * (cast_expression "(code *)PTR_sqlite3_mprintf_0015c5f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" ( (binary_expression "PTR_s_LE_FTS4_0015c5f4 + -0x2e24" identifier + number_literal) , (pointer_expression "*(undefined4 *)(*param_1 + 4)" * (cast_expression "(undefined4 *)(*param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);" (assignment_expression "iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" identifier = (call_expression "FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" identifier (argument_list "(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "param_1 + 9" identifier + number_literal) , (binary_expression "param_1 + 0xc" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = param_1[0xc];" (assignment_expression "iVar2 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) })) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" * (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,1,param_3,param_4)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" ( (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" * (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc],2,param_5,param_6)" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) , number_literal , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);" (call_expression "(*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc])" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015c648)" ( (pointer_expression "*(code *)PTR_sqlite3_step_0015c648" * (cast_expression "(code *)PTR_sqlite3_step_0015c648" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc])" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);" (assignment_expression "iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc])" identifier = (call_expression "(*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc])" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_0015c65c)" ( (pointer_expression "*(code *)PTR_sqlite3_reset_0015c65c" * (cast_expression "(code *)PTR_sqlite3_reset_0015c65c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xc])" ( (subscript_expression "param_1[0xc]" identifier [ number_literal ]) )))) ;) (expression_statement "param_1[9] = iVar2;" (assignment_expression "param_1[9] = iVar2" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010319c(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (identifier "FUN_0010319c") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_1[9] != 0) {\n    return;\n  }\n  iVar2 = param_1[0xc];\n  if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);\n  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);\n  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);\n  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);\n  param_1[9] = iVar2;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1[9] != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1[9] != 0)" (( "(") (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = param_1[0xc];" (assignment_expression "iVar2 = param_1[0xc]" (identifier "iVar2") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (if_statement "if (iVar2 == 0) {\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));\n    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);\n    if (iVar2 != 0) {\n      return;\n    }\n    iVar2 = param_1[0xc];\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8));" (assignment_expression "uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)\n                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_0015c5f0)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_0015c5f0" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_0015c5f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_0015c5f0"))) () ")")) (argument_list "(PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),\n                       *(undefined4 *)(*param_1 + 8))" (( "(") (binary_expression "PTR_s_LE_FTS4_0015c5f4 + -0x2e24" (identifier "PTR_s_LE_FTS4_0015c5f4") (+ "+") (number_literal "-0x2e24")) (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 4)" (( "(") (binary_expression "*param_1 + 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);" (assignment_expression "iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" (identifier "FUN_000f82f0") (argument_list "(*param_1,param_1 + 9,param_1 + 0xc,uVar1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "param_1 + 9" (identifier "param_1") (+ "+") (number_literal "9")) (, ",") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) (, ",") (identifier "uVar1") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = param_1[0xc];" (assignment_expression "iVar2 = param_1[0xc]" (identifier "iVar2") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" (* "*") (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_bind_int64_0015c7fc"))) () ")")) (argument_list "(iVar2,1,param_3,param_4)" (( "(") (identifier "iVar2") (, ",") (number_literal "1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);" (call_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6)" (parenthesized_expression "(*(code *)PTR_sqlite3_bind_int64_0015c7fc)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_bind_int64_0015c7fc" (* "*") (cast_expression "(code *)PTR_sqlite3_bind_int64_0015c7fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_bind_int64_0015c7fc"))) () ")")) (argument_list "(param_1[0xc],2,param_5,param_6)" (( "(") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (, ",") (number_literal "2") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);" (call_expression "(*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc])" (parenthesized_expression "(*(code *)PTR_sqlite3_step_0015c648)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_step_0015c648" (* "*") (cast_expression "(code *)PTR_sqlite3_step_0015c648" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_step_0015c648"))) () ")")) (argument_list "(param_1[0xc])" (( "(") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) () ")"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);" (assignment_expression "iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc])" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc])" (parenthesized_expression "(*(code *)PTR_sqlite3_reset_0015c65c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_reset_0015c65c" (* "*") (cast_expression "(code *)PTR_sqlite3_reset_0015c65c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_reset_0015c65c"))) () ")")) (argument_list "(param_1[0xc])" (( "(") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) () ")")))) (; ";")) (expression_statement "param_1[9] = iVar2;" (assignment_expression "param_1[9] = iVar2" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *p,type_2 iFirst,type_2 iLast)

{
  int var_4;
  type_1 *p_1;
  type_3 *var_1;
  type_4 in_a2;
  type_4 in_a3;
  
  if (p->rc != 0) {
    return;
  }
  var_1 = p->pDeleter;
  if (var_1 == (type_3 *)0x0) {
    p_1 = (type_1 *)
          (*(type_5 *)PTR_sqlite3_mprintf_0015c5f0)
                    (var_2 + -0x2e24,p->pConfig->zDb,p->pConfig->zName);
    var_4 = var_3
                      ((type_1 *)p->pConfig,(type_3 **)&p->rc,(char *)&p->pDeleter,p_1);
    if (var_4 != 0) {
      return;
    }
    var_1 = p->pDeleter;
  }
  (*(type_5 *)PTR_sqlite3_bind_int64_0015c7fc)(var_1,1,in_a2,in_a3);
  (*(type_5 *)PTR_sqlite3_bind_int64_0015c7fc)(p->pDeleter,2,iFirst._0_4_,iFirst._4_4_);
  (*(type_5 *)PTR_sqlite3_step_0015c648)(p->pDeleter);
  var_4 = (*(type_5 *)PTR_sqlite3_reset_0015c65c)(p->pDeleter);
  p->rc = var_4;
  return;
}


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

void MASKED(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  undefined4 uVar1;
  int iVar2;
  
  if (param_1[9] != 0) {
    return;
  }
  iVar2 = param_1[0xc];
  if (iVar2 == 0) {
    uVar1 = (*(code *)PTR_sqlite3_mprintf_0015c5f0)
                      (PTR_s_LE_FTS4_0015c5f4 + -0x2e24,*(undefined4 *)(*param_1 + 4),
                       *(undefined4 *)(*param_1 + 8));
    iVar2 = FUN_000f82f0(*param_1,param_1 + 9,param_1 + 0xc,uVar1);
    if (iVar2 != 0) {
      return;
    }
    iVar2 = param_1[0xc];
  }
  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(iVar2,1,param_3,param_4);
  (*(code *)PTR_sqlite3_bind_int64_0015c7fc)(param_1[0xc],2,param_5,param_6);
  (*(code *)PTR_sqlite3_step_0015c648)(param_1[0xc]);
  iVar2 = (*(code *)PTR_sqlite3_reset_0015c65c)(param_1[0xc]);
  param_1[9] = iVar2;
  return;
}

