
void releaseAllSavepoints(Pager *pPager)

{
  sqlite3_io_methods *psVar1;
  int iVar2;
  sqlite3_file *psVar3;
  int iVar4;
  
  if (0 < pPager->nSavepoint) {
    iVar2 = 0;
    iVar4 = 0;
    do {
      iVar2 = iVar2 + 1;
      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));
      iVar4 = iVar4 + 0x30;
    } while (iVar2 < pPager->nSavepoint);
  }
  psVar3 = pPager->sjfd;
  psVar1 = psVar3->pMethods;
  if (pPager->exclusiveMode == '\0') {
    if (psVar1 == (sqlite3_io_methods *)0x0) goto LAB_00029c58;
  }
  else if (psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)) goto LAB_00029c58;
  (*psVar1->xClose)(psVar3);
  psVar3->pMethods = (sqlite3_io_methods *)0x0;
LAB_00029c58:
  (*(code *)PTR_sqlite3_free_000f53a0)(pPager->aSavepoint);
  pPager->aSavepoint = (PagerSavepoint *)0x0;
  pPager->nSavepoint = 0;
  pPager->nSubRec = 0;
  return;
}



void FUN_00029bc4(int param_1)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  
  if (0 < *(int *)(param_1 + 0x60)) {
    iVar5 = 0;
    iVar3 = 0;
    do {
      iVar3 = iVar3 + 1;
      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;
      iVar5 = iVar5 + 0x30;
      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));
    } while (iVar3 < *(int *)(param_1 + 0x60));
  }
  puVar4 = *(undefined4 **)(param_1 + 0x44);
  puVar2 = (undefined *)*puVar4;
  if (*(char *)(param_1 + 4) == '\0') {
    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;
  }
  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;
  (**(code **)(puVar2 + 4))(puVar4);
  *puVar4 = 0;
LAB_00029c58:
  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));
  *(undefined4 *)(param_1 + 0x5c) = 0;
  *(undefined4 *)(param_1 + 0x60) = 0;
  *(undefined4 *)(param_1 + 0x34) = 0;
  return;
}


lui gp,0xd
addiu gp,gp,0x36dc
addu gp,gp,t9
addiu sp,sp,-0x30
lw v0,0x60(a0)
sw gp,0x10(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
blez v0,0x00029c34
_sw s1,0x20(sp)
lw s3,-0x7fb4(gp)
or s2,zero,zero
or s1,zero,zero
addiu s3,s3,-0x672c
lw v0,0x5c(s0)
or t9,s3,zero
addiu s1,s1,0x1
addu v0,v0,s2
addiu s2,s2,0x30
bal 0x000298d4
_lw a0,0x10(v0)
lw v0,0x60(s0)
slt v0,s1,v0
bne v0,zero,0x00029c08
_lw gp,0x10(sp)
lw s1,0x44(s0)
lbu v1,0x4(s0)
beq v1,zero,0x00029c88
_lw v0,0x0(s1)
lw v1,-0x7fe4(gp)
addiu v1,v1,0x3a34
beq v0,v1,0x00029c90
_nop
lw t9,-0x7f00(gp)
jalr t9
_lw a0,0x5c(s0)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
sw zero,0x5c(s0)
sw zero,0x60(s0)
sw zero,0x34(s0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
beq v0,zero,0x00029c58
_lw t9,-0x7f00(gp)
lw t9,0x4(v0)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
b 0x00029c54
_sw zero,0x0(s1)
(translation_unit "void FUN_00029bc4(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}\n\n" (function_definition "void FUN_00029bc4(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00029bc4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x60))" ( (binary_expression "0 < *(int *)(param_1 + 0x60)" number_literal < (pointer_expression "*(int *)(param_1 + 0x60)" * (cast_expression "(int *)(param_1 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));" do (compound_statement "{\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x5c) + iVar5;" (assignment_expression "iVar1 = *(int *)(param_1 + 0x5c) + iVar5" identifier = (binary_expression "*(int *)(param_1 + 0x5c) + iVar5" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + identifier)) ;) (expression_statement "iVar5 = iVar5 + 0x30;" (assignment_expression "iVar5 = iVar5 + 0x30" identifier = (binary_expression "iVar5 + 0x30" identifier + number_literal)) ;) (expression_statement "FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));" (call_expression "FUN_000298d4(*(undefined4 *)(iVar1 + 0x10))" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ))) ;) }) while (parenthesized_expression "(iVar3 < *(int *)(param_1 + 0x60))" ( (binary_expression "iVar3 < *(int *)(param_1 + 0x60)" identifier < (pointer_expression "*(int *)(param_1 + 0x60)" * (cast_expression "(int *)(param_1 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) )) ;) })) (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x44);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined *)*puVar4;" (assignment_expression "puVar2 = (undefined *)*puVar4" identifier = (cast_expression "(undefined *)*puVar4" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (if_statement "if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" if (parenthesized_expression "(*(char *)(param_1 + 4) == '\0')" ( (binary_expression "*(char *)(param_1 + 4) == '\0'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }" { (if_statement "if (puVar2 == (undefined *)0x0) goto LAB_00029c58;" if (parenthesized_expression "(puVar2 == (undefined *)0x0)" ( (binary_expression "puVar2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00029c58;" goto statement_identifier ;)) }) (else_clause "else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" else (if_statement "if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" if (parenthesized_expression "(puVar2 != PTR_DAT_000f52bc + 0x3a34)" ( (binary_expression "puVar2 != PTR_DAT_000f52bc + 0x3a34" identifier != (binary_expression "PTR_DAT_000f52bc + 0x3a34" identifier + number_literal)) )) (goto_statement "goto LAB_00029c58;" goto statement_identifier ;)))) (expression_statement "(**(code **)(puVar2 + 4))(puVar4);" (call_expression "(**(code **)(puVar2 + 4))(puVar4)" (parenthesized_expression "(**(code **)(puVar2 + 4))" ( (pointer_expression "**(code **)(puVar2 + 4)" * (pointer_expression "*(code **)(puVar2 + 4)" * (cast_expression "(code **)(puVar2 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (labeled_statement "LAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c))" (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_1 + 0x5c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" * (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) ))) ;)) (expression_statement "*(undefined4 *)(param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" * (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x60)" * (cast_expression "(undefined4 *)(param_1 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (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) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void releaseAllSavepoints(Pager *pPager)\n\n{\n  sqlite3_io_methods *psVar1;\n  int iVar2;\n  sqlite3_file *psVar3;\n  int iVar4;\n  \n  if (0 < pPager->nSavepoint) {\n    iVar2 = 0;\n    iVar4 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));\n      iVar4 = iVar4 + 0x30;\n    } while (iVar2 < pPager->nSavepoint);\n  }\n  psVar3 = pPager->sjfd;\n  psVar1 = psVar3->pMethods;\n  if (pPager->exclusiveMode == '\0') {\n    if (psVar1 == (sqlite3_io_methods *)0x0) goto LAB_00029c58;\n  }\n  else if (psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)) goto LAB_00029c58;\n  (*psVar1->xClose)(psVar3);\n  psVar3->pMethods = (sqlite3_io_methods *)0x0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(pPager->aSavepoint);\n  pPager->aSavepoint = (PagerSavepoint *)0x0;\n  pPager->nSavepoint = 0;\n  pPager->nSubRec = 0;\n  return;\n}\n\n" (function_definition "void releaseAllSavepoints(Pager *pPager)\n\n{\n  sqlite3_io_methods *psVar1;\n  int iVar2;\n  sqlite3_file *psVar3;\n  int iVar4;\n  \n  if (0 < pPager->nSavepoint) {\n    iVar2 = 0;\n    iVar4 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));\n      iVar4 = iVar4 + 0x30;\n    } while (iVar2 < pPager->nSavepoint);\n  }\n  psVar3 = pPager->sjfd;\n  psVar1 = psVar3->pMethods;\n  if (pPager->exclusiveMode == '\0') {\n    if (psVar1 == (sqlite3_io_methods *)0x0) goto LAB_00029c58;\n  }\n  else if (psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)) goto LAB_00029c58;\n  (*psVar1->xClose)(psVar3);\n  psVar3->pMethods = (sqlite3_io_methods *)0x0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(pPager->aSavepoint);\n  pPager->aSavepoint = (PagerSavepoint *)0x0;\n  pPager->nSavepoint = 0;\n  pPager->nSubRec = 0;\n  return;\n}" primitive_type (function_declarator "releaseAllSavepoints(Pager *pPager)" identifier (parameter_list "(Pager *pPager)" ( (parameter_declaration "Pager *pPager" type_identifier (pointer_declarator "*pPager" * identifier)) ))) (compound_statement "{\n  sqlite3_io_methods *psVar1;\n  int iVar2;\n  sqlite3_file *psVar3;\n  int iVar4;\n  \n  if (0 < pPager->nSavepoint) {\n    iVar2 = 0;\n    iVar4 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));\n      iVar4 = iVar4 + 0x30;\n    } while (iVar2 < pPager->nSavepoint);\n  }\n  psVar3 = pPager->sjfd;\n  psVar1 = psVar3->pMethods;\n  if (pPager->exclusiveMode == '\0') {\n    if (psVar1 == (sqlite3_io_methods *)0x0) goto LAB_00029c58;\n  }\n  else if (psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)) goto LAB_00029c58;\n  (*psVar1->xClose)(psVar3);\n  psVar3->pMethods = (sqlite3_io_methods *)0x0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(pPager->aSavepoint);\n  pPager->aSavepoint = (PagerSavepoint *)0x0;\n  pPager->nSavepoint = 0;\n  pPager->nSubRec = 0;\n  return;\n}" { (declaration "sqlite3_io_methods *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "sqlite3_file *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (0 < pPager->nSavepoint) {\n    iVar2 = 0;\n    iVar4 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));\n      iVar4 = iVar4 + 0x30;\n    } while (iVar2 < pPager->nSavepoint);\n  }" if (parenthesized_expression "(0 < pPager->nSavepoint)" ( (binary_expression "0 < pPager->nSavepoint" number_literal < (field_expression "pPager->nSavepoint" identifier -> field_identifier)) )) (compound_statement "{\n    iVar2 = 0;\n    iVar4 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));\n      iVar4 = iVar4 + 0x30;\n    } while (iVar2 < pPager->nSavepoint);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar2 + 1;\n      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));\n      iVar4 = iVar4 + 0x30;\n    } while (iVar2 < pPager->nSavepoint);" do (compound_statement "{\n      iVar2 = iVar2 + 1;\n      sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));\n      iVar4 = iVar4 + 0x30;\n    }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc));" (call_expression "sqlite3BitvecDestroy(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc))" identifier (argument_list "(*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc))" ( (pointer_expression "*(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc)" * (cast_expression "(Bitvec **)((int)pPager->aSavepoint->aWalData + iVar4 + -0xc)" ( (type_descriptor "Bitvec **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pPager->aSavepoint->aWalData + iVar4 + -0xc)" ( (binary_expression "(int)pPager->aSavepoint->aWalData + iVar4 + -0xc" (binary_expression "(int)pPager->aSavepoint->aWalData + iVar4" (cast_expression "(int)pPager->aSavepoint->aWalData" ( (type_descriptor "int" primitive_type) ) (field_expression "pPager->aSavepoint->aWalData" (field_expression "pPager->aSavepoint" identifier -> field_identifier) -> field_identifier)) + identifier) + number_literal) )))) ))) ;) (expression_statement "iVar4 = iVar4 + 0x30;" (assignment_expression "iVar4 = iVar4 + 0x30" identifier = (binary_expression "iVar4 + 0x30" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < pPager->nSavepoint)" ( (binary_expression "iVar2 < pPager->nSavepoint" identifier < (field_expression "pPager->nSavepoint" identifier -> field_identifier)) )) ;) })) (expression_statement "psVar3 = pPager->sjfd;" (assignment_expression "psVar3 = pPager->sjfd" identifier = (field_expression "pPager->sjfd" identifier -> field_identifier)) ;) (expression_statement "psVar1 = psVar3->pMethods;" (assignment_expression "psVar1 = psVar3->pMethods" identifier = (field_expression "psVar3->pMethods" identifier -> field_identifier)) ;) (if_statement "if (pPager->exclusiveMode == '\0') {\n    if (psVar1 == (sqlite3_io_methods *)0x0) goto LAB_00029c58;\n  }\n  else if (psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)) goto LAB_00029c58;" if (parenthesized_expression "(pPager->exclusiveMode == '\0')" ( (binary_expression "pPager->exclusiveMode == '\0'" (field_expression "pPager->exclusiveMode" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (psVar1 == (sqlite3_io_methods *)0x0) goto LAB_00029c58;\n  }" { (if_statement "if (psVar1 == (sqlite3_io_methods *)0x0) goto LAB_00029c58;" if (parenthesized_expression "(psVar1 == (sqlite3_io_methods *)0x0)" ( (binary_expression "psVar1 == (sqlite3_io_methods *)0x0" identifier == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00029c58;" goto statement_identifier ;)) }) (else_clause "else if (psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)) goto LAB_00029c58;" else (if_statement "if (psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)) goto LAB_00029c58;" if (parenthesized_expression "(psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34))" ( (binary_expression "psVar1 != (sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)" identifier != (cast_expression "(sqlite3_io_methods *)(PTR_DAT_000f52bc + 0x3a34)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000f52bc + 0x3a34)" ( (binary_expression "PTR_DAT_000f52bc + 0x3a34" identifier + number_literal) )))) )) (goto_statement "goto LAB_00029c58;" goto statement_identifier ;)))) (expression_statement "(*psVar1->xClose)(psVar3);" (call_expression "(*psVar1->xClose)(psVar3)" (parenthesized_expression "(*psVar1->xClose)" ( (pointer_expression "*psVar1->xClose" * (field_expression "psVar1->xClose" identifier -> field_identifier)) )) (argument_list "(psVar3)" ( identifier ))) ;) (expression_statement "psVar3->pMethods = (sqlite3_io_methods *)0x0;" (assignment_expression "psVar3->pMethods = (sqlite3_io_methods *)0x0" (field_expression "psVar3->pMethods" identifier -> field_identifier) = (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(pPager->aSavepoint);" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(pPager->aSavepoint);" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(pPager->aSavepoint)" (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 "(pPager->aSavepoint)" ( (field_expression "pPager->aSavepoint" identifier -> field_identifier) ))) ;)) (expression_statement "pPager->aSavepoint = (PagerSavepoint *)0x0;" (assignment_expression "pPager->aSavepoint = (PagerSavepoint *)0x0" (field_expression "pPager->aSavepoint" identifier -> field_identifier) = (cast_expression "(PagerSavepoint *)0x0" ( (type_descriptor "PagerSavepoint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pPager->nSavepoint = 0;" (assignment_expression "pPager->nSavepoint = 0" (field_expression "pPager->nSavepoint" identifier -> field_identifier) = number_literal) ;) (expression_statement "pPager->nSubRec = 0;" (assignment_expression "pPager->nSubRec = 0" (field_expression "pPager->nSubRec" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00029bc4(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}\n\n" (function_definition "void FUN_00029bc4(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00029bc4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x60))" ( (binary_expression "0 < *(int *)(param_1 + 0x60)" number_literal < (pointer_expression "*(int *)(param_1 + 0x60)" * (cast_expression "(int *)(param_1 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));" do (compound_statement "{\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x5c) + iVar5;" (assignment_expression "iVar1 = *(int *)(param_1 + 0x5c) + iVar5" identifier = (binary_expression "*(int *)(param_1 + 0x5c) + iVar5" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + identifier)) ;) (expression_statement "iVar5 = iVar5 + 0x30;" (assignment_expression "iVar5 = iVar5 + 0x30" identifier = (binary_expression "iVar5 + 0x30" identifier + number_literal)) ;) (expression_statement "FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));" (call_expression "FUN_000298d4(*(undefined4 *)(iVar1 + 0x10))" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ))) ;) }) while (parenthesized_expression "(iVar3 < *(int *)(param_1 + 0x60))" ( (binary_expression "iVar3 < *(int *)(param_1 + 0x60)" identifier < (pointer_expression "*(int *)(param_1 + 0x60)" * (cast_expression "(int *)(param_1 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) )) ;) })) (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x44);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined *)*puVar4;" (assignment_expression "puVar2 = (undefined *)*puVar4" identifier = (cast_expression "(undefined *)*puVar4" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (if_statement "if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" if (parenthesized_expression "(*(char *)(param_1 + 4) == '\0')" ( (binary_expression "*(char *)(param_1 + 4) == '\0'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }" { (if_statement "if (puVar2 == (undefined *)0x0) goto LAB_00029c58;" if (parenthesized_expression "(puVar2 == (undefined *)0x0)" ( (binary_expression "puVar2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00029c58;" goto statement_identifier ;)) }) (else_clause "else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" else (if_statement "if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" if (parenthesized_expression "(puVar2 != PTR_DAT_000f52bc + 0x3a34)" ( (binary_expression "puVar2 != PTR_DAT_000f52bc + 0x3a34" identifier != (binary_expression "PTR_DAT_000f52bc + 0x3a34" identifier + number_literal)) )) (goto_statement "goto LAB_00029c58;" goto statement_identifier ;)))) (expression_statement "(**(code **)(puVar2 + 4))(puVar4);" (call_expression "(**(code **)(puVar2 + 4))(puVar4)" (parenthesized_expression "(**(code **)(puVar2 + 4))" ( (pointer_expression "**(code **)(puVar2 + 4)" * (pointer_expression "*(code **)(puVar2 + 4)" * (cast_expression "(code **)(puVar2 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (labeled_statement "LAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));" statement_identifier : (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c))" (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_1 + 0x5c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" * (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) ))) ;)) (expression_statement "*(undefined4 *)(param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" * (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x60)" * (cast_expression "(undefined4 *)(param_1 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (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) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (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) )))) ))) ;) }) while (parenthesized_expression ( (binary_expression 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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (labeled_statement statement_identifier : (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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00029bc4(int param_1)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00029bc4(int param_1)" (identifier "FUN_00029bc4") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }\n  puVar4 = *(undefined4 **)(param_1 + 0x44);\n  puVar2 = (undefined *)*puVar4;\n  if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;\n  (**(code **)(puVar2 + 4))(puVar4);\n  *puVar4 = 0;\nLAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));\n  *(undefined4 *)(param_1 + 0x5c) = 0;\n  *(undefined4 *)(param_1 + 0x60) = 0;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (if_statement "if (0 < *(int *)(param_1 + 0x60)) {\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x60))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x60)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x60)" (* "*") (cast_expression "(int *)(param_1 + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (compound_statement "{\n    iVar5 = 0;\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));\n  }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    } while (iVar3 < *(int *)(param_1 + 0x60));" (do "do") (compound_statement "{\n      iVar3 = iVar3 + 1;\n      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;\n      iVar5 = iVar5 + 0x30;\n      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));\n    }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x5c) + iVar5;" (assignment_expression "iVar1 = *(int *)(param_1 + 0x5c) + iVar5" (identifier "iVar1") (= "=") (binary_expression "*(int *)(param_1 + 0x5c) + iVar5" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = iVar5 + 0x30;" (assignment_expression "iVar5 = iVar5 + 0x30" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 0x30" (identifier "iVar5") (+ "+") (number_literal "0x30"))) (; ";")) (expression_statement "FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));" (call_expression "FUN_000298d4(*(undefined4 *)(iVar1 + 0x10))" (identifier "FUN_000298d4") (argument_list "(*(undefined4 *)(iVar1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < *(int *)(param_1 + 0x60))" (( "(") (binary_expression "iVar3 < *(int *)(param_1 + 0x60)" (identifier "iVar3") (< "<") (pointer_expression "*(int *)(param_1 + 0x60)" (* "*") (cast_expression "(int *)(param_1 + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x44);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x44)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "puVar2 = (undefined *)*puVar4;" (assignment_expression "puVar2 = (undefined *)*puVar4" (identifier "puVar2") (= "=") (cast_expression "(undefined *)*puVar4" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (if_statement "if (*(char *)(param_1 + 4) == '\0') {\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }\n  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 4) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 4) == '\0'" (pointer_expression "*(char *)(param_1 + 4)" (* "*") (cast_expression "(char *)(param_1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;\n  }" ({ "{") (if_statement "if (puVar2 == (undefined *)0x0) goto LAB_00029c58;" (if "if") (parenthesized_expression "(puVar2 == (undefined *)0x0)" (( "(") (binary_expression "puVar2 == (undefined *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00029c58;" (goto "goto") (statement_identifier "LAB_00029c58") (; ";"))) (} "}")) (else_clause "else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" (else "else") (if_statement "if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;" (if "if") (parenthesized_expression "(puVar2 != PTR_DAT_000f52bc + 0x3a34)" (( "(") (binary_expression "puVar2 != PTR_DAT_000f52bc + 0x3a34" (identifier "puVar2") (!= "!=") (binary_expression "PTR_DAT_000f52bc + 0x3a34" (identifier "PTR_DAT_000f52bc") (+ "+") (number_literal "0x3a34"))) () ")")) (goto_statement "goto LAB_00029c58;" (goto "goto") (statement_identifier "LAB_00029c58") (; ";"))))) (expression_statement "(**(code **)(puVar2 + 4))(puVar4);" (call_expression "(**(code **)(puVar2 + 4))(puVar4)" (parenthesized_expression "(**(code **)(puVar2 + 4))" (( "(") (pointer_expression "**(code **)(puVar2 + 4)" (* "*") (pointer_expression "*(code **)(puVar2 + 4)" (* "*") (cast_expression "(code **)(puVar2 + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 4)" (( "(") (binary_expression "puVar2 + 4" (identifier "puVar2") (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00029c58:\n  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));" (statement_identifier "LAB_00029c58") (: ":") (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c))" (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_1 + 0x5c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) () ")"))) (; ";"))) (expression_statement "*(undefined4 *)(param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x60)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (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")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "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 (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) 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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))))) condition: (parenthesized_expression (binary_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 (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))) (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))))

void MASKED(int param_1)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  
  if (0 < *(int *)(param_1 + 0x60)) {
    iVar5 = 0;
    iVar3 = 0;
    do {
      iVar3 = iVar3 + 1;
      iVar1 = *(int *)(param_1 + 0x5c) + iVar5;
      iVar5 = iVar5 + 0x30;
      FUN_000298d4(*(undefined4 *)(iVar1 + 0x10));
    } while (iVar3 < *(int *)(param_1 + 0x60));
  }
  puVar4 = *(undefined4 **)(param_1 + 0x44);
  puVar2 = (undefined *)*puVar4;
  if (*(char *)(param_1 + 4) == '\0') {
    if (puVar2 == (undefined *)0x0) goto LAB_00029c58;
  }
  else if (puVar2 != PTR_DAT_000f52bc + 0x3a34) goto LAB_00029c58;
  (**(code **)(puVar2 + 4))(puVar4);
  *puVar4 = 0;
LAB_00029c58:
  (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(param_1 + 0x5c));
  *(undefined4 *)(param_1 + 0x5c) = 0;
  *(undefined4 *)(param_1 + 0x60) = 0;
  *(undefined4 *)(param_1 + 0x34) = 0;
  return;
}

