
int sqlite3Fts5IndexClose(Fts5Index *p)

{
  undefined *puVar1;
  Fts5Hash *pFVar2;
  
  if (p != (Fts5Index *)0x0) {
    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();
    sqlite3_finalize(p->pWriter);
    sqlite3_finalize(p->pDeleter);
    sqlite3_finalize(p->pIdxWriter);
    sqlite3_finalize(p->pIdxDeleter);
    sqlite3_finalize(p->pIdxSelect);
    sqlite3_finalize(p->pDataVersion);
    pFVar2 = p->pHash;
    if (pFVar2 != (Fts5Hash *)0x0) {
      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);
      puVar1 = PTR_sqlite3_free_0018f978;
      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);
      (*(code *)puVar1)(pFVar2);
    }
    puVar1 = PTR_sqlite3_free_0018f978;
    (*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl);
    (*(code *)puVar1)(p);
    return 0;
  }
  return 0;
}



undefined4 FUN_000e0628(int param_1)

{
  undefined *puVar1;
  int iVar2;
  
  if (param_1 != 0) {
    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));
    iVar2 = *(int *)(param_1 + 0xc);
    if (iVar2 != 0) {
      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);
      puVar1 = PTR_sqlite3_free_0018f978;
      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));
      (*(code *)puVar1)(iVar2);
    }
    puVar1 = PTR_sqlite3_free_0018f978;
    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));
    (*(code *)puVar1)(param_1);
    return 0;
  }
  return 0;
}


lui gp,0xb
addiu gp,gp,0x72f8
addu gp,gp,t9
beq a0,zero,0x000e077c
_nop
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a0,zero
lw t9,-0x7d1c(gp)
addiu t9,t9,0x47d8
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x2c(s0)
lw s1,-0x7fac(gp)
or t9,s1,zero
bal 0x000dc778
_nop
lw gp,0x10(sp)
lw a0,0x30(s0)
or t9,s1,zero
bal 0x000dc778
_nop
lw gp,0x10(sp)
lw a0,0x34(s0)
or t9,s1,zero
bal 0x000dc778
_nop
lw gp,0x10(sp)
lw a0,0x38(s0)
or t9,s1,zero
bal 0x000dc778
_nop
lw gp,0x10(sp)
lw a0,0x3c(s0)
or t9,s1,zero
bal 0x000dc778
_nop
lw gp,0x10(sp)
lw a0,0x44(s0)
or t9,s1,zero
bal 0x000dc778
_nop
lw gp,0x10(sp)
lw s1,0xc(s0)
beq s1,zero,0x000e0734
_or a0,s1,zero
lw t9,-0x7d1c(gp)
addiu t9,t9,0x4654
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x14(s1)
lw s2,-0x7fa8(gp)
or t9,s2,zero
jalr t9
_nop
lw gp,0x10(sp)
or a0,s1,zero
or t9,s2,zero
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x4(s0)
lw s1,-0x7fa8(gp)
or t9,s1,zero
jalr t9
_nop
lw gp,0x10(sp)
or a0,s0,zero
or t9,s1,zero
jalr t9
_nop
lw gp,0x10(sp)
or v0,zero,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_000e0628(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000e0628(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000e0628(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }" { (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))();" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))()" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x47d8)" * (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x47d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc04 + 0x47d8)" ( (binary_expression "PTR_LAB_0018fc04 + 0x47d8" identifier + number_literal) )))) )) (argument_list "()" ( ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x34))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x34))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x38))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x38))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x3c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x44))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x44))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar2 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }" { (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x4654)" * (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x4654)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc04 + 0x4654)" ( (binary_expression "PTR_LAB_0018fc04 + 0x4654" identifier + number_literal) )))) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)puVar1)(iVar2);" (call_expression "(*(code *)puVar1)(iVar2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) })) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4))" ( (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" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)puVar1)(param_1);" (call_expression "(*(code *)puVar1)(param_1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int sqlite3Fts5IndexClose(Fts5Index *p)\n\n{\n  undefined *puVar1;\n  Fts5Hash *pFVar2;\n  \n  if (p != (Fts5Index *)0x0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(p->pWriter);\n    sqlite3_finalize(p->pDeleter);\n    sqlite3_finalize(p->pIdxWriter);\n    sqlite3_finalize(p->pIdxDeleter);\n    sqlite3_finalize(p->pIdxSelect);\n    sqlite3_finalize(p->pDataVersion);\n    pFVar2 = p->pHash;\n    if (pFVar2 != (Fts5Hash *)0x0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);\n      (*(code *)puVar1)(pFVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl);\n    (*(code *)puVar1)(p);\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3Fts5IndexClose(Fts5Index *p)\n\n{\n  undefined *puVar1;\n  Fts5Hash *pFVar2;\n  \n  if (p != (Fts5Index *)0x0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(p->pWriter);\n    sqlite3_finalize(p->pDeleter);\n    sqlite3_finalize(p->pIdxWriter);\n    sqlite3_finalize(p->pIdxDeleter);\n    sqlite3_finalize(p->pIdxSelect);\n    sqlite3_finalize(p->pDataVersion);\n    pFVar2 = p->pHash;\n    if (pFVar2 != (Fts5Hash *)0x0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);\n      (*(code *)puVar1)(pFVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl);\n    (*(code *)puVar1)(p);\n    return 0;\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3Fts5IndexClose(Fts5Index *p)" identifier (parameter_list "(Fts5Index *p)" ( (parameter_declaration "Fts5Index *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  Fts5Hash *pFVar2;\n  \n  if (p != (Fts5Index *)0x0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(p->pWriter);\n    sqlite3_finalize(p->pDeleter);\n    sqlite3_finalize(p->pIdxWriter);\n    sqlite3_finalize(p->pIdxDeleter);\n    sqlite3_finalize(p->pIdxSelect);\n    sqlite3_finalize(p->pDataVersion);\n    pFVar2 = p->pHash;\n    if (pFVar2 != (Fts5Hash *)0x0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);\n      (*(code *)puVar1)(pFVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl);\n    (*(code *)puVar1)(p);\n    return 0;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "Fts5Hash *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (if_statement "if (p != (Fts5Index *)0x0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(p->pWriter);\n    sqlite3_finalize(p->pDeleter);\n    sqlite3_finalize(p->pIdxWriter);\n    sqlite3_finalize(p->pIdxDeleter);\n    sqlite3_finalize(p->pIdxSelect);\n    sqlite3_finalize(p->pDataVersion);\n    pFVar2 = p->pHash;\n    if (pFVar2 != (Fts5Hash *)0x0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);\n      (*(code *)puVar1)(pFVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl);\n    (*(code *)puVar1)(p);\n    return 0;\n  }" if (parenthesized_expression "(p != (Fts5Index *)0x0)" ( (binary_expression "p != (Fts5Index *)0x0" identifier != (cast_expression "(Fts5Index *)0x0" ( (type_descriptor "Fts5Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(p->pWriter);\n    sqlite3_finalize(p->pDeleter);\n    sqlite3_finalize(p->pIdxWriter);\n    sqlite3_finalize(p->pIdxDeleter);\n    sqlite3_finalize(p->pIdxSelect);\n    sqlite3_finalize(p->pDataVersion);\n    pFVar2 = p->pHash;\n    if (pFVar2 != (Fts5Hash *)0x0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);\n      (*(code *)puVar1)(pFVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl);\n    (*(code *)puVar1)(p);\n    return 0;\n  }" { (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))();" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))()" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x47d8)" * (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x47d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc04 + 0x47d8)" ( (binary_expression "PTR_LAB_0018fc04 + 0x47d8" identifier + number_literal) )))) )) (argument_list "()" ( ))) ;) (expression_statement "sqlite3_finalize(p->pWriter);" (call_expression "sqlite3_finalize(p->pWriter)" identifier (argument_list "(p->pWriter)" ( (field_expression "p->pWriter" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3_finalize(p->pDeleter);" (call_expression "sqlite3_finalize(p->pDeleter)" identifier (argument_list "(p->pDeleter)" ( (field_expression "p->pDeleter" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3_finalize(p->pIdxWriter);" (call_expression "sqlite3_finalize(p->pIdxWriter)" identifier (argument_list "(p->pIdxWriter)" ( (field_expression "p->pIdxWriter" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3_finalize(p->pIdxDeleter);" (call_expression "sqlite3_finalize(p->pIdxDeleter)" identifier (argument_list "(p->pIdxDeleter)" ( (field_expression "p->pIdxDeleter" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3_finalize(p->pIdxSelect);" (call_expression "sqlite3_finalize(p->pIdxSelect)" identifier (argument_list "(p->pIdxSelect)" ( (field_expression "p->pIdxSelect" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3_finalize(p->pDataVersion);" (call_expression "sqlite3_finalize(p->pDataVersion)" identifier (argument_list "(p->pDataVersion)" ( (field_expression "p->pDataVersion" identifier -> field_identifier) ))) ;) (expression_statement "pFVar2 = p->pHash;" (assignment_expression "pFVar2 = p->pHash" identifier = (field_expression "p->pHash" identifier -> field_identifier)) ;) (if_statement "if (pFVar2 != (Fts5Hash *)0x0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);\n      (*(code *)puVar1)(pFVar2);\n    }" if (parenthesized_expression "(pFVar2 != (Fts5Hash *)0x0)" ( (binary_expression "pFVar2 != (Fts5Hash *)0x0" identifier != (cast_expression "(Fts5Hash *)0x0" ( (type_descriptor "Fts5Hash *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);\n      (*(code *)puVar1)(pFVar2);\n    }" { (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2);" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(pFVar2)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x4654)" * (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x4654)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc04 + 0x4654)" ( (binary_expression "PTR_LAB_0018fc04 + 0x4654" identifier + number_literal) )))) )) (argument_list "(pFVar2)" ( identifier ))) ;) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(pFVar2->aSlot)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar2->aSlot)" ( (field_expression "pFVar2->aSlot" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)puVar1)(pFVar2);" (call_expression "(*(code *)puVar1)(pFVar2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar2)" ( identifier ))) ;) })) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(p->zDataTbl)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p->zDataTbl)" ( (field_expression "p->zDataTbl" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)puVar1)(p);" (call_expression "(*(code *)puVar1)(p)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000e0628(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000e0628(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000e0628(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }" { (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))();" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))()" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x47d8)" * (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x47d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc04 + 0x47d8)" ( (binary_expression "PTR_LAB_0018fc04 + 0x47d8" identifier + number_literal) )))) )) (argument_list "()" ( ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x34))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x34))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x38))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x38))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x3c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x44))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x44))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar2 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }" { (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x4654)" * (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x4654)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc04 + 0x4654)" ( (binary_expression "PTR_LAB_0018fc04 + 0x4654" identifier + number_literal) )))) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)puVar1)(iVar2);" (call_expression "(*(code *)puVar1)(iVar2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) })) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" identifier = identifier) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4))" ( (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" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)puVar1)(param_1);" (call_expression "(*(code *)puVar1)(param_1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000e0628(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000e0628(int param_1)" (identifier "FUN_000e0628") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 != 0) {\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));\n    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));\n    iVar2 = *(int *)(param_1 + 0xc);\n    if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }\n    puVar1 = PTR_sqlite3_free_0018f978;\n    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));\n    (*(code *)puVar1)(param_1);\n    return 0;\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))();" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))()" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x47d8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x47d8)" (* "*") (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x47d8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0018fc04 + 0x47d8)" (( "(") (binary_expression "PTR_LAB_0018fc04 + 0x47d8" (identifier "PTR_LAB_0018fc04") (+ "+") (number_literal "0x47d8")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c))" (identifier "sqlite3_finalize") (argument_list "(*(undefined4 *)(param_1 + 0x2c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) () ")"))) (; ";")) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x30))" (identifier "sqlite3_finalize") (argument_list "(*(undefined4 *)(param_1 + 0x30))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) () ")"))) (; ";")) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x34))" (identifier "sqlite3_finalize") (argument_list "(*(undefined4 *)(param_1 + 0x34))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) () ")"))) (; ";")) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x38))" (identifier "sqlite3_finalize") (argument_list "(*(undefined4 *)(param_1 + 0x38))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) () ")"))) (; ";")) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c))" (identifier "sqlite3_finalize") (argument_list "(*(undefined4 *)(param_1 + 0x3c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) () ")"))) (; ";")) (expression_statement "sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));" (call_expression "sqlite3_finalize(*(undefined4 *)(param_1 + 0x44))" (identifier "sqlite3_finalize") (argument_list "(*(undefined4 *)(param_1 + 0x44))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar2 = *(int *)(param_1 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);\n      puVar1 = PTR_sqlite3_free_0018f978;\n      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));\n      (*(code *)puVar1)(iVar2);\n    }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);" (call_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc04 + 0x4654))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0018fc04 + 0x4654)" (* "*") (cast_expression "(code *)(PTR_LAB_0018fc04 + 0x4654)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0018fc04 + 0x4654)" (( "(") (binary_expression "PTR_LAB_0018fc04 + 0x4654" (identifier "PTR_LAB_0018fc04") (+ "+") (number_literal "0x4654")) () ")")))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" (identifier "puVar1") (= "=") (identifier "PTR_sqlite3_free_0018f978")) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0018f978" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0018f978"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)puVar1)(iVar2);" (call_expression "(*(code *)puVar1)(iVar2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_sqlite3_free_0018f978;" (assignment_expression "puVar1 = PTR_sqlite3_free_0018f978" (identifier "puVar1") (= "=") (identifier "PTR_sqlite3_free_0018f978")) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0018f978" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0018f978"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 4))" (( "(") (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" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)puVar1)(param_1);" (call_expression "(*(code *)puVar1)(param_1)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list))) (expression_statement (call_expression function: (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)))))))) (expression_statement (call_expression function: (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)))))))) (expression_statement (call_expression function: (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)))))))) (expression_statement (call_expression function: (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)))))))) (expression_statement (call_expression function: (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)))))))) (expression_statement (call_expression function: (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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)))))))) (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)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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)))))))) (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)))) (return_statement (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  
  if (param_1 != 0) {
    (*(code *)(PTR_LAB_0018fc04 + 0x47d8))();
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x2c));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x30));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x34));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x38));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x3c));
    sqlite3_finalize(*(undefined4 *)(param_1 + 0x44));
    iVar2 = *(int *)(param_1 + 0xc);
    if (iVar2 != 0) {
      (*(code *)(PTR_LAB_0018fc04 + 0x4654))(iVar2);
      puVar1 = PTR_sqlite3_free_0018f978;
      (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(iVar2 + 0x14));
      (*(code *)puVar1)(iVar2);
    }
    puVar1 = PTR_sqlite3_free_0018f978;
    (*(code *)PTR_sqlite3_free_0018f978)(*(undefined4 *)(param_1 + 4));
    (*(code *)puVar1)(param_1);
    return 0;
  }
  return 0;
}

