
void sqlite3Fts3SegReaderFree(Fts3SegReader *pReader)

{
  if (pReader != (Fts3SegReader *)0x0) {
    if (pReader->ppNextElem == (Fts3HashElem **)0x0) {
      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);
    }
    if (pReader->rootOnly == '\0') {
      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);
    }
    sqlite3_blob_close(pReader->pBlob);
  }
                    /* WARNING: Could not recover jumptable at 0x000b46cc. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_sqlite3_free_0015c5ec)(pReader);
  return;
}



void FUN_000b4670(int param_1)

{
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x38) == 0) {
      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));
    }
    if (*(char *)(param_1 + 5) == '\0') {
      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));
    }
    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));
  }
  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);
  return;
}


lui gp,0xb
addiu gp,gp,-0xc0
addu gp,gp,t9
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
beq a0,zero,0x000b46bc
_sw ra,0x1c(sp)
lw v0,0x38(a0)
beq v0,zero,0x000b46e4
_lw t9,-0x7fc4(gp)
lbu v0,0x5(s0)
beq v0,zero,0x000b46d4
_lw t9,-0x7fc4(gp)
lw t9,-0x7d44(gp)
bal 0x000b2550
_lw a0,0x34(s0)
lw gp,0x10(sp)
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7fc4(gp)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
jalr t9
_lw a0,0x28(s0)
b 0x000b46ac
_lw gp,0x10(sp)
jalr t9
_lw a0,0x40(a0)
b 0x000b46a0
_lw gp,0x10(sp)
(translation_unit "void FUN_000b4670(int param_1)\n\n{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_000b4670(int param_1)\n\n{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000b4670(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }" { (if_statement "if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x38) == 0)" ( (binary_expression "*(int *)(param_1 + 0x38) == 0" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x40))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }" if (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" ( (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" * (cast_expression "(char *)(param_1 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x28))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) ))) ;) })) (expression_statement "sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));" (call_expression "sqlite3_blob_close(*(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 "(*(code *)PTR_sqlite3_free_0015c5ec)(param_1);" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3Fts3SegReaderFree(Fts3SegReader *pReader)\n\n{\n  if (pReader != (Fts3SegReader *)0x0) {\n    if (pReader->ppNextElem == (Fts3HashElem **)0x0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);\n    }\n    if (pReader->rootOnly == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);\n    }\n    sqlite3_blob_close(pReader->pBlob);\n  }\n                    /* WARNING: Could not recover jumptable at 0x000b46cc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_free_0015c5ec)(pReader);\n  return;\n}\n\n" (function_definition "void sqlite3Fts3SegReaderFree(Fts3SegReader *pReader)\n\n{\n  if (pReader != (Fts3SegReader *)0x0) {\n    if (pReader->ppNextElem == (Fts3HashElem **)0x0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);\n    }\n    if (pReader->rootOnly == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);\n    }\n    sqlite3_blob_close(pReader->pBlob);\n  }\n                    /* WARNING: Could not recover jumptable at 0x000b46cc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_free_0015c5ec)(pReader);\n  return;\n}" primitive_type (function_declarator "sqlite3Fts3SegReaderFree(Fts3SegReader *pReader)" identifier (parameter_list "(Fts3SegReader *pReader)" ( (parameter_declaration "Fts3SegReader *pReader" type_identifier (pointer_declarator "*pReader" * identifier)) ))) (compound_statement "{\n  if (pReader != (Fts3SegReader *)0x0) {\n    if (pReader->ppNextElem == (Fts3HashElem **)0x0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);\n    }\n    if (pReader->rootOnly == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);\n    }\n    sqlite3_blob_close(pReader->pBlob);\n  }\n                    /* WARNING: Could not recover jumptable at 0x000b46cc. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_free_0015c5ec)(pReader);\n  return;\n}" { (if_statement "if (pReader != (Fts3SegReader *)0x0) {\n    if (pReader->ppNextElem == (Fts3HashElem **)0x0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);\n    }\n    if (pReader->rootOnly == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);\n    }\n    sqlite3_blob_close(pReader->pBlob);\n  }" if (parenthesized_expression "(pReader != (Fts3SegReader *)0x0)" ( (binary_expression "pReader != (Fts3SegReader *)0x0" identifier != (cast_expression "(Fts3SegReader *)0x0" ( (type_descriptor "Fts3SegReader *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pReader->ppNextElem == (Fts3HashElem **)0x0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);\n    }\n    if (pReader->rootOnly == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);\n    }\n    sqlite3_blob_close(pReader->pBlob);\n  }" { (if_statement "if (pReader->ppNextElem == (Fts3HashElem **)0x0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);\n    }" if (parenthesized_expression "(pReader->ppNextElem == (Fts3HashElem **)0x0)" ( (binary_expression "pReader->ppNextElem == (Fts3HashElem **)0x0" (field_expression "pReader->ppNextElem" identifier -> field_identifier) == (cast_expression "(Fts3HashElem **)0x0" ( (type_descriptor "Fts3HashElem **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm);" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(pReader->zTerm)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pReader->zTerm)" ( (field_expression "pReader->zTerm" identifier -> field_identifier) ))) ;) })) (if_statement "if (pReader->rootOnly == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);\n    }" if (parenthesized_expression "(pReader->rootOnly == '\0')" ( (binary_expression "pReader->rootOnly == '\0'" (field_expression "pReader->rootOnly" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode);" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(pReader->aNode)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pReader->aNode)" ( (field_expression "pReader->aNode" identifier -> field_identifier) ))) ;) })) (expression_statement "sqlite3_blob_close(pReader->pBlob);" (call_expression "sqlite3_blob_close(pReader->pBlob)" identifier (argument_list "(pReader->pBlob)" ( (field_expression "pReader->pBlob" identifier -> field_identifier) ))) ;) })) comment comment (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(pReader);" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(pReader)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pReader)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000b4670(int param_1)\n\n{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_000b4670(int param_1)\n\n{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000b4670(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }" { (if_statement "if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x38) == 0)" ( (binary_expression "*(int *)(param_1 + 0x38) == 0" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x40))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }" if (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" ( (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" * (cast_expression "(char *)(param_1 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x28))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) ))) ;) })) (expression_statement "sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));" (call_expression "sqlite3_blob_close(*(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 "(*(code *)PTR_sqlite3_free_0015c5ec)(param_1);" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" * (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000b4670(int param_1)\n\n{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b4670(int param_1)" (identifier "FUN_000b4670") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }\n  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);\n  return;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }\n    if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }\n    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x38) == 0) {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x38) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) == 0" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));\n    }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015c5ec"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x40))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(param_1 + 5) == '\0') {\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 5) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 5) == '\0'" (pointer_expression "*(char *)(param_1 + 5)" (* "*") (cast_expression "(char *)(param_1 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 5)" (( "(") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));\n    }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015c5ec"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x28))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));" (call_expression "sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34))" (identifier "sqlite3_blob_close") (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 "(*(code *)PTR_sqlite3_free_0015c5ec)(param_1);" (call_expression "(*(code *)PTR_sqlite3_free_0015c5ec)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015c5ec)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015c5ec" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015c5ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015c5ec"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1)

{
  if (var_1 != (type_1 *)0x0) {
    if (var_1->ppNextElem == (type_2 **)0x0) {
      (*(type_3 *)PTR_sqlite3_free_0015c5ec)(var_1->zTerm);
    }
    if (var_1->rootOnly == '\0') {
      (*(type_3 *)PTR_sqlite3_free_0015c5ec)(var_1->aNode);
    }
    var_2(var_1->pBlob);
  }
                    /* WARNING: Could not recover jumptable at 0x000b46cc. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(type_3 *)PTR_sqlite3_free_0015c5ec)(var_1);
  return;
}


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

void MASKED(int param_1)

{
  if (param_1 != 0) {
    if (*(int *)(param_1 + 0x38) == 0) {
      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x40));
    }
    if (*(char *)(param_1 + 5) == '\0') {
      (*(code *)PTR_sqlite3_free_0015c5ec)(*(undefined4 *)(param_1 + 0x28));
    }
    sqlite3_blob_close(*(undefined4 *)(param_1 + 0x34));
  }
  (*(code *)PTR_sqlite3_free_0015c5ec)(param_1);
  return;
}

