
void whereLoopClearUnion(sqlite3 *db,WhereLoop *p)

{
  uint uVar1;
  Index *p_00;
  
  uVar1 = p->wsFlags;
  if ((uVar1 & 0x4400) == 0) {
    return;
  }
  if (((uVar1 & 0x400) == 0) || ((p->u).vtab.needFree == '\0')) {
    if (((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)) {
      if (p_00->zColAff == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
        sqlite3DbFreeNN(db,p_00);
      }
                    /* WARNING: Subroutine does not return */
      sqlite3DbFreeNN(db,p_00->zColAff);
    }
  }
  else {
    (*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);
    (p->u).vtab.needFree = '\0';
    (p->u).btree.pIndex = (Index *)0x0;
  }
  return;
}



void FUN_00032f28(undefined4 param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = *(uint *)(param_2 + 0x24);
  if ((uVar1 & 0x4400) != 0) {
    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {
      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {
        if (*(int *)(iVar2 + 0x10) != 0) {
          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));
          iVar2 = *(int *)(param_2 + 0x20);
        }
        FUN_000288d8(param_1,iVar2);
        *(undefined4 *)(param_2 + 0x20) = 0;
      }
    }
    else {
      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));
      *(undefined1 *)(param_2 + 0x1c) = 0;
      *(undefined4 *)(param_2 + 0x20) = 0;
    }
    return;
  }
  return;
}


lui gp,0xd
addiu gp,gp,-0x5c88
addu gp,gp,t9
lw v0,0x24(a1)
andi v1,v0,0x4400
beq v1,zero,0x00032ff4
_nop
addiu sp,sp,-0x28
andi v1,v0,0x400
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a0,zero
sw s0,0x18(sp)
or s0,a1,zero
sw ra,0x24(sp)
bne v1,zero,0x00032fd0
_sw s2,0x20(sp)
andi v0,v0,0x4000
beq v0,zero,0x00032fbc
_lw ra,0x24(sp)
lw a1,0x20(s0)
beq a1,zero,0x00032fbc
_nop
lw v0,0x10(a1)
beq v0,zero,0x00032ffc
_lw s2,-0x7fb4(gp)
or a1,v0,zero
addiu s2,s2,-0x7728
or t9,s2,zero
bal 0x000288d8
_or a0,s1,zero
lw a1,0x20(s0)
or t9,s2,zero
bal 0x000288d8
_or a0,s1,zero
sw zero,0x20(s0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lbu v1,0x1c(a1)
beq v1,zero,0x00032f70
_andi v0,v0,0x4000
lw t9,-0x7f00(gp)
jalr t9
_lw a0,0x20(a1)
sb zero,0x1c(s0)
b 0x00032fb8
_sw zero,0x20(s0)
jr ra
_nop
b 0x00032fa8
_addiu s2,s2,-0x7728
(translation_unit "void FUN_00032f28(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00032f28(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00032f28(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = *(uint *)(param_2 + 0x24);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x24)" identifier = (pointer_expression "*(uint *)(param_2 + 0x24)" * (cast_expression "(uint *)(param_2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }" if (parenthesized_expression "((uVar1 & 0x4400) != 0)" ( (binary_expression "(uVar1 & 0x4400) != 0" (parenthesized_expression "(uVar1 & 0x4400)" ( (binary_expression "uVar1 & 0x4400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }" { (if_statement "if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" if (parenthesized_expression "(((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0'))" ( (binary_expression "((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')" (parenthesized_expression "((uVar1 & 0x400) == 0)" ( (binary_expression "(uVar1 & 0x400) == 0" (parenthesized_expression "(uVar1 & 0x400)" ( (binary_expression "uVar1 & 0x400" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(param_2 + 0x1c) == '\0')" ( (binary_expression "*(char *)(param_2 + 0x1c) == '\0'" (pointer_expression "*(char *)(param_2 + 0x1c)" * (cast_expression "(char *)(param_2 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }" { (if_statement "if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }" if (parenthesized_expression "(((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0))" ( (binary_expression "((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)" (parenthesized_expression "((uVar1 & 0x4000) != 0)" ( (binary_expression "(uVar1 & 0x4000) != 0" (parenthesized_expression "(uVar1 & 0x4000)" ( (binary_expression "uVar1 & 0x4000" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" identifier = (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }" { (if_statement "if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x10) != 0" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }" { (expression_statement "FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));" (call_expression "FUN_000288d8(param_1,*(int *)(iVar2 + 0x10))" identifier (argument_list "(param_1,*(int *)(iVar2 + 0x10))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" identifier = (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_000288d8(param_1,iVar2);" (call_expression "FUN_000288d8(param_1,iVar2)" identifier (argument_list "(param_1,iVar2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) })) }) (else_clause "else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" else (compound_statement "{\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_000f53a0)" ( (pointer_expression "*(code *)PTR_sqlite3_free_000f53a0" * (cast_expression "(code *)PTR_sqlite3_free_000f53a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 0x20))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined1 *)(param_2 + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x1c) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x1c)" * (cast_expression "(undefined1 *)(param_2 + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) }))) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void whereLoopClearUnion(sqlite3 *db,WhereLoop *p)\n\n{\n  uint uVar1;\n  Index *p_00;\n  \n  uVar1 = p->wsFlags;\n  if ((uVar1 & 0x4400) == 0) {\n    return;\n  }\n  if (((uVar1 & 0x400) == 0) || ((p->u).vtab.needFree == '\0')) {\n    if (((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)) {\n      if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }\n                    /* WARNING: Subroutine does not return */\n      sqlite3DbFreeNN(db,p_00->zColAff);\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);\n    (p->u).vtab.needFree = '\0';\n    (p->u).btree.pIndex = (Index *)0x0;\n  }\n  return;\n}\n\n" (function_definition "void whereLoopClearUnion(sqlite3 *db,WhereLoop *p)\n\n{\n  uint uVar1;\n  Index *p_00;\n  \n  uVar1 = p->wsFlags;\n  if ((uVar1 & 0x4400) == 0) {\n    return;\n  }\n  if (((uVar1 & 0x400) == 0) || ((p->u).vtab.needFree == '\0')) {\n    if (((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)) {\n      if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }\n                    /* WARNING: Subroutine does not return */\n      sqlite3DbFreeNN(db,p_00->zColAff);\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);\n    (p->u).vtab.needFree = '\0';\n    (p->u).btree.pIndex = (Index *)0x0;\n  }\n  return;\n}" primitive_type (function_declarator "whereLoopClearUnion(sqlite3 *db,WhereLoop *p)" identifier (parameter_list "(sqlite3 *db,WhereLoop *p)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "WhereLoop *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  Index *p_00;\n  \n  uVar1 = p->wsFlags;\n  if ((uVar1 & 0x4400) == 0) {\n    return;\n  }\n  if (((uVar1 & 0x400) == 0) || ((p->u).vtab.needFree == '\0')) {\n    if (((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)) {\n      if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }\n                    /* WARNING: Subroutine does not return */\n      sqlite3DbFreeNN(db,p_00->zColAff);\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);\n    (p->u).vtab.needFree = '\0';\n    (p->u).btree.pIndex = (Index *)0x0;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Index *p_00;" type_identifier (pointer_declarator "*p_00" * identifier) ;) (expression_statement "uVar1 = p->wsFlags;" (assignment_expression "uVar1 = p->wsFlags" identifier = (field_expression "p->wsFlags" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 & 0x4400) == 0) {\n    return;\n  }" if (parenthesized_expression "((uVar1 & 0x4400) == 0)" ( (binary_expression "(uVar1 & 0x4400) == 0" (parenthesized_expression "(uVar1 & 0x4400)" ( (binary_expression "uVar1 & 0x4400" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (((uVar1 & 0x400) == 0) || ((p->u).vtab.needFree == '\0')) {\n    if (((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)) {\n      if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }\n                    /* WARNING: Subroutine does not return */\n      sqlite3DbFreeNN(db,p_00->zColAff);\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);\n    (p->u).vtab.needFree = '\0';\n    (p->u).btree.pIndex = (Index *)0x0;\n  }" if (parenthesized_expression "(((uVar1 & 0x400) == 0) || ((p->u).vtab.needFree == '\0'))" ( (binary_expression "((uVar1 & 0x400) == 0) || ((p->u).vtab.needFree == '\0')" (parenthesized_expression "((uVar1 & 0x400) == 0)" ( (binary_expression "(uVar1 & 0x400) == 0" (parenthesized_expression "(uVar1 & 0x400)" ( (binary_expression "uVar1 & 0x400" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((p->u).vtab.needFree == '\0')" ( (binary_expression "(p->u).vtab.needFree == '\0'" (field_expression "(p->u).vtab.needFree" (field_expression "(p->u).vtab" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)) {\n      if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }\n                    /* WARNING: Subroutine does not return */\n      sqlite3DbFreeNN(db,p_00->zColAff);\n    }\n  }" { (if_statement "if (((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)) {\n      if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }\n                    /* WARNING: Subroutine does not return */\n      sqlite3DbFreeNN(db,p_00->zColAff);\n    }" if (parenthesized_expression "(((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0))" ( (binary_expression "((uVar1 & 0x4000) != 0) && (p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)" (parenthesized_expression "((uVar1 & 0x4000) != 0)" ( (binary_expression "(uVar1 & 0x4000) != 0" (parenthesized_expression "(uVar1 & 0x4000)" ( (binary_expression "uVar1 & 0x4000" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0)" ( (comma_expression "p_00 = (p->u).btree.pIndex, p_00 != (Index *)0x0" (assignment_expression "p_00 = (p->u).btree.pIndex" identifier = (field_expression "(p->u).btree.pIndex" (field_expression "(p->u).btree" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) , (binary_expression "p_00 != (Index *)0x0" identifier != (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }\n                    /* WARNING: Subroutine does not return */\n      sqlite3DbFreeNN(db,p_00->zColAff);\n    }" { (if_statement "if (p_00->zColAff == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }" if (parenthesized_expression "(p_00->zColAff == (char *)0x0)" ( (binary_expression "p_00->zColAff == (char *)0x0" (field_expression "p_00->zColAff" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,p_00);\n      }" { comment (expression_statement "sqlite3DbFreeNN(db,p_00);" (call_expression "sqlite3DbFreeNN(db,p_00)" identifier (argument_list "(db,p_00)" ( identifier , identifier ))) ;) })) comment (expression_statement "sqlite3DbFreeNN(db,p_00->zColAff);" (call_expression "sqlite3DbFreeNN(db,p_00->zColAff)" identifier (argument_list "(db,p_00->zColAff)" ( identifier , (field_expression "p_00->zColAff" identifier -> field_identifier) ))) ;) })) }) (else_clause "else {\n    (*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);\n    (p->u).vtab.needFree = '\0';\n    (p->u).btree.pIndex = (Index *)0x0;\n  }" else (compound_statement "{\n    (*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);\n    (p->u).vtab.needFree = '\0';\n    (p->u).btree.pIndex = (Index *)0x0;\n  }" { (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex);" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)((p->u).btree.pIndex)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_000f53a0)" ( (pointer_expression "*(code *)PTR_sqlite3_free_000f53a0" * (cast_expression "(code *)PTR_sqlite3_free_000f53a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((p->u).btree.pIndex)" ( (field_expression "(p->u).btree.pIndex" (field_expression "(p->u).btree" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (expression_statement "(p->u).vtab.needFree = '\0';" (assignment_expression "(p->u).vtab.needFree = '\0'" (field_expression "(p->u).vtab.needFree" (field_expression "(p->u).vtab" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(p->u).btree.pIndex = (Index *)0x0;" (assignment_expression "(p->u).btree.pIndex = (Index *)0x0" (field_expression "(p->u).btree.pIndex" (field_expression "(p->u).btree" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00032f28(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00032f28(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00032f28(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = *(uint *)(param_2 + 0x24);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x24)" identifier = (pointer_expression "*(uint *)(param_2 + 0x24)" * (cast_expression "(uint *)(param_2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }" if (parenthesized_expression "((uVar1 & 0x4400) != 0)" ( (binary_expression "(uVar1 & 0x4400) != 0" (parenthesized_expression "(uVar1 & 0x4400)" ( (binary_expression "uVar1 & 0x4400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }" { (if_statement "if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" if (parenthesized_expression "(((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0'))" ( (binary_expression "((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')" (parenthesized_expression "((uVar1 & 0x400) == 0)" ( (binary_expression "(uVar1 & 0x400) == 0" (parenthesized_expression "(uVar1 & 0x400)" ( (binary_expression "uVar1 & 0x400" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(param_2 + 0x1c) == '\0')" ( (binary_expression "*(char *)(param_2 + 0x1c) == '\0'" (pointer_expression "*(char *)(param_2 + 0x1c)" * (cast_expression "(char *)(param_2 + 0x1c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }" { (if_statement "if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }" if (parenthesized_expression "(((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0))" ( (binary_expression "((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)" (parenthesized_expression "((uVar1 & 0x4000) != 0)" ( (binary_expression "(uVar1 & 0x4000) != 0" (parenthesized_expression "(uVar1 & 0x4000)" ( (binary_expression "uVar1 & 0x4000" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" identifier = (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }" { (if_statement "if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x10) != 0" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }" { (expression_statement "FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));" (call_expression "FUN_000288d8(param_1,*(int *)(iVar2 + 0x10))" identifier (argument_list "(param_1,*(int *)(iVar2 + 0x10))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" identifier = (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_000288d8(param_1,iVar2);" (call_expression "FUN_000288d8(param_1,iVar2)" identifier (argument_list "(param_1,iVar2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) })) }) (else_clause "else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" else (compound_statement "{\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_000f53a0)" ( (pointer_expression "*(code *)PTR_sqlite3_free_000f53a0" * (cast_expression "(code *)PTR_sqlite3_free_000f53a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 0x20))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined1 *)(param_2 + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x1c) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x1c)" * (cast_expression "(undefined1 *)(param_2 + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) }))) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (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 IDENT (argument_list ( IDENT , (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) ))))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) }) (else_clause else (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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00032f28(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00032f28(undefined4 param_1,int param_2)" (identifier "FUN_00032f28") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_2 + 0x24);\n  if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 0x24);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x24)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 0x24)" (* "*") (cast_expression "(uint *)(param_2 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if ((uVar1 & 0x4400) != 0) {\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x4400) != 0)" (( "(") (binary_expression "(uVar1 & 0x4400) != 0" (parenthesized_expression "(uVar1 & 0x4400)" (( "(") (binary_expression "uVar1 & 0x4400" (identifier "uVar1") (& "&") (number_literal "0x4400")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }\n    return;\n  }" ({ "{") (if_statement "if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }\n    else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" (if "if") (parenthesized_expression "(((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0'))" (( "(") (binary_expression "((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')" (parenthesized_expression "((uVar1 & 0x400) == 0)" (( "(") (binary_expression "(uVar1 & 0x400) == 0" (parenthesized_expression "(uVar1 & 0x400)" (( "(") (binary_expression "uVar1 & 0x400" (identifier "uVar1") (& "&") (number_literal "0x400")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_2 + 0x1c) == '\0')" (( "(") (binary_expression "*(char *)(param_2 + 0x1c) == '\0'" (pointer_expression "*(char *)(param_2 + 0x1c)" (* "*") (cast_expression "(char *)(param_2 + 0x1c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }\n    }" ({ "{") (if_statement "if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }" (if "if") (parenthesized_expression "(((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0))" (( "(") (binary_expression "((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)" (parenthesized_expression "((uVar1 & 0x4000) != 0)" (( "(") (binary_expression "(uVar1 & 0x4000) != 0" (parenthesized_expression "(uVar1 & 0x4000)" (( "(") (binary_expression "uVar1 & 0x4000" (identifier "uVar1") (& "&") (number_literal "0x4000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x20)" (* "*") (cast_expression "(int *)(param_2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }\n        FUN_000288d8(param_1,iVar2);\n        *(undefined4 *)(param_2 + 0x20) = 0;\n      }" ({ "{") (if_statement "if (*(int *)(iVar2 + 0x10) != 0) {\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x10) != 0" (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));\n          iVar2 = *(int *)(param_2 + 0x20);\n        }" ({ "{") (expression_statement "FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));" (call_expression "FUN_000288d8(param_1,*(int *)(iVar2 + 0x10))" (identifier "FUN_000288d8") (argument_list "(param_1,*(int *)(iVar2 + 0x10))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x20)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x20)" (* "*") (cast_expression "(int *)(param_2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}"))) (expression_statement "FUN_000288d8(param_1,iVar2);" (call_expression "FUN_000288d8(param_1,iVar2)" (identifier "FUN_000288d8") (argument_list "(param_1,iVar2)" (( "(") (identifier "param_1") (, ",") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));\n      *(undefined1 *)(param_2 + 0x1c) = 0;\n      *(undefined4 *)(param_2 + 0x20) = 0;\n    }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_000f53a0)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_000f53a0" (* "*") (cast_expression "(code *)PTR_sqlite3_free_000f53a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_000f53a0"))) () ")")) (argument_list "(*(undefined4 *)(param_2 + 0x20))" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_2 + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x1c) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined1 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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)))))) right: (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: (identifier) arguments: (argument_list (identifier) (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)))))))) (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))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (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))))) right: (number_literal)))))) alternative: (else_clause (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 (assignment_expression left: (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))))) right: (number_literal))) (expression_statement (assignment_expression left: (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))))) right: (number_literal)))))) (return_statement))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = *(uint *)(param_2 + 0x24);
  if ((uVar1 & 0x4400) != 0) {
    if (((uVar1 & 0x400) == 0) || (*(char *)(param_2 + 0x1c) == '\0')) {
      if (((uVar1 & 0x4000) != 0) && (iVar2 = *(int *)(param_2 + 0x20), iVar2 != 0)) {
        if (*(int *)(iVar2 + 0x10) != 0) {
          FUN_000288d8(param_1,*(int *)(iVar2 + 0x10));
          iVar2 = *(int *)(param_2 + 0x20);
        }
        FUN_000288d8(param_1,iVar2);
        *(undefined4 *)(param_2 + 0x20) = 0;
      }
    }
    else {
      (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_2 + 0x20));
      *(undefined1 *)(param_2 + 0x1c) = 0;
      *(undefined4 *)(param_2 + 0x20) = 0;
    }
    return;
  }
  return;
}

