
void walIndexClose(Wal *pWal,int isDelete)

{
  u32 **ppuVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  if (pWal->exclusiveMode == '\x02') {
    if (pWal->nWiData < 1) {
      return;
    }
  }
  else if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;
  ppuVar1 = pWal->apWiData;
  iVar3 = 0;
  do {
    iVar4 = iVar3 + 1;
    (*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3]);
    ppuVar1 = pWal->apWiData;
    iVar2 = pWal->nWiData;
    ppuVar1[iVar3] = (u32 *)0x0;
    iVar3 = iVar4;
  } while (iVar4 < iVar2);
  if (pWal->exclusiveMode == '\x02') {
    return;
  }
LAB_00029a04:
                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete);
  return;
}



void FUN_00029964(int param_1,undefined4 param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  if (*(char *)(param_1 + 0x2b) == '\x02') {
    if (*(int *)(param_1 + 0x18) < 1) {
      return;
    }
  }
  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;
  iVar1 = *(int *)(param_1 + 0x20);
  iVar4 = 0;
  do {
    iVar3 = iVar4 * 4;
    iVar4 = iVar4 + 1;
    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));
    iVar1 = *(int *)(param_1 + 0x20);
    iVar2 = *(int *)(param_1 + 0x18);
    *(undefined4 *)(iVar1 + iVar3) = 0;
  } while (iVar4 < iVar2);
  if (*(char *)(param_1 + 0x2b) == '\x02') {
    return;
  }
LAB_00029a04:
                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);
  return;
}


lui gp,0xd
addiu gp,gp,0x393c
addu gp,gp,t9
addiu sp,sp,-0x30
li v0,0x2
sw s3,0x28(sp)
or s3,a1,zero
sw s2,0x24(sp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
lbu v1,0x2b(a0)
beq v1,v0,0x00029a34
_or s2,a0,zero
lbu v0,0x32(a0)
beq v0,zero,0x00029a04
_nop
lw v0,0x18(a0)
blez v0,0x00029a04
_nop
lw v0,0x20(s2)
or s1,zero,zero
sll s0,s1,0x2
lw t9,-0x7f00(gp)
addiu s1,s1,0x1
addu v0,v0,s0
jalr t9
_lw a0,0x0(v0)
lw v0,0x20(s2)
lw v1,0x18(s2)
lw gp,0x10(sp)
addu s0,v0,s0
slt v1,s1,v1
bne v1,zero,0x000299c0
_sw zero,0x0(s0)
lbu v1,0x2b(s2)
li v0,0x2
beq v1,v0,0x00029a40
_lw ra,0x2c(sp)
lw v0,0x4(s2)
or a1,s3,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
or a0,v0,zero
lw s2,0x24(sp)
lw v0,0x0(v0)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,0x40(v0)
jr t9
_addiu sp,sp,0x30
lw v0,0x18(a0)
bgtz v0,0x000299b8
_lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_00029964(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}\n\n" (function_definition "void FUN_00029964(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00029964(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" if (parenthesized_expression "(*(char *)(param_1 + 0x2b) == '\x02')" ( (binary_expression "*(char *)(param_1 + 0x2b) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x2b)" * (cast_expression "(char *)(param_1 + 0x2b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b)" ( (binary_expression "param_1 + 0x2b" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) < 1)" ( (binary_expression "*(int *)(param_1 + 0x18) < 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) (else_clause "else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" else (if_statement "if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" if (parenthesized_expression "((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1))" ( (binary_expression "(*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)" (parenthesized_expression "(*(char *)(param_1 + 0x32) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x32) == '\0'" (pointer_expression "*(char *)(param_1 + 0x32)" * (cast_expression "(char *)(param_1 + 0x32)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(int *)(param_1 + 0x18) < 1)" ( (binary_expression "*(int *)(param_1 + 0x18) < 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) < number_literal) ))) )) (goto_statement "goto LAB_00029a04;" goto statement_identifier ;)))) (expression_statement "iVar1 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);" do (compound_statement "{\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  }" { (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3))" (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 *)(iVar1 + iVar3))" ( (pointer_expression "*(undefined4 *)(iVar1 + iVar3)" * (cast_expression "(undefined4 *)(iVar1 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3)" ( (binary_expression "iVar1 + iVar3" identifier + identifier) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar1 + iVar3)" * (cast_expression "(undefined4 *)(iVar1 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3)" ( (binary_expression "iVar1 + iVar3" identifier + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "(iVar4 < iVar2)" ( (binary_expression "iVar4 < iVar2" identifier < identifier) )) ;) (if_statement "if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x2b) == '\x02')" ( (binary_expression "*(char *)(param_1 + 0x2b) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x2b)" * (cast_expression "(char *)(param_1 + 0x2b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b)" ( (binary_expression "param_1 + 0x2b" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);" statement_identifier : comment comment (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 0x40))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 0x40)" * (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 0x40)" * (cast_expression "(code **)(**(int **)(param_1 + 4) + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 4) + 0x40)" ( (binary_expression "**(int **)(param_1 + 4) + 0x40" (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 4),param_2)" ( (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void walIndexClose(Wal *pWal,int isDelete)\n\n{\n  u32 **ppuVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (pWal->exclusiveMode == '\x02') {\n    if (pWal->nWiData < 1) {\n      return;\n    }\n  }\n  else if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;\n  ppuVar1 = pWal->apWiData;\n  iVar3 = 0;\n  do {\n    iVar4 = iVar3 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3]);\n    ppuVar1 = pWal->apWiData;\n    iVar2 = pWal->nWiData;\n    ppuVar1[iVar3] = (u32 *)0x0;\n    iVar3 = iVar4;\n  } while (iVar4 < iVar2);\n  if (pWal->exclusiveMode == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete);\n  return;\n}\n\n" (function_definition "void walIndexClose(Wal *pWal,int isDelete)\n\n{\n  u32 **ppuVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (pWal->exclusiveMode == '\x02') {\n    if (pWal->nWiData < 1) {\n      return;\n    }\n  }\n  else if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;\n  ppuVar1 = pWal->apWiData;\n  iVar3 = 0;\n  do {\n    iVar4 = iVar3 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3]);\n    ppuVar1 = pWal->apWiData;\n    iVar2 = pWal->nWiData;\n    ppuVar1[iVar3] = (u32 *)0x0;\n    iVar3 = iVar4;\n  } while (iVar4 < iVar2);\n  if (pWal->exclusiveMode == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete);\n  return;\n}" primitive_type (function_declarator "walIndexClose(Wal *pWal,int isDelete)" identifier (parameter_list "(Wal *pWal,int isDelete)" ( (parameter_declaration "Wal *pWal" type_identifier (pointer_declarator "*pWal" * identifier)) , (parameter_declaration "int isDelete" primitive_type identifier) ))) (compound_statement "{\n  u32 **ppuVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (pWal->exclusiveMode == '\x02') {\n    if (pWal->nWiData < 1) {\n      return;\n    }\n  }\n  else if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;\n  ppuVar1 = pWal->apWiData;\n  iVar3 = 0;\n  do {\n    iVar4 = iVar3 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3]);\n    ppuVar1 = pWal->apWiData;\n    iVar2 = pWal->nWiData;\n    ppuVar1[iVar3] = (u32 *)0x0;\n    iVar3 = iVar4;\n  } while (iVar4 < iVar2);\n  if (pWal->exclusiveMode == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete);\n  return;\n}" { (declaration "u32 **ppuVar1;" type_identifier (pointer_declarator "**ppuVar1" * (pointer_declarator "*ppuVar1" * identifier)) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (pWal->exclusiveMode == '\x02') {\n    if (pWal->nWiData < 1) {\n      return;\n    }\n  }\n  else if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;" if (parenthesized_expression "(pWal->exclusiveMode == '\x02')" ( (binary_expression "pWal->exclusiveMode == '\x02'" (field_expression "pWal->exclusiveMode" identifier -> field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if (pWal->nWiData < 1) {\n      return;\n    }\n  }" { (if_statement "if (pWal->nWiData < 1) {\n      return;\n    }" if (parenthesized_expression "(pWal->nWiData < 1)" ( (binary_expression "pWal->nWiData < 1" (field_expression "pWal->nWiData" identifier -> field_identifier) < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) (else_clause "else if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;" else (if_statement "if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;" if (parenthesized_expression "((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1))" ( (binary_expression "(pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)" (parenthesized_expression "(pWal->bShmUnreliable == '\0')" ( (binary_expression "pWal->bShmUnreliable == '\0'" (field_expression "pWal->bShmUnreliable" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(pWal->nWiData < 1)" ( (binary_expression "pWal->nWiData < 1" (field_expression "pWal->nWiData" identifier -> field_identifier) < number_literal) ))) )) (goto_statement "goto LAB_00029a04;" goto statement_identifier ;)))) (expression_statement "ppuVar1 = pWal->apWiData;" (assignment_expression "ppuVar1 = pWal->apWiData" identifier = (field_expression "pWal->apWiData" identifier -> field_identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar4 = iVar3 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3]);\n    ppuVar1 = pWal->apWiData;\n    iVar2 = pWal->nWiData;\n    ppuVar1[iVar3] = (u32 *)0x0;\n    iVar3 = iVar4;\n  } while (iVar4 < iVar2);" do (compound_statement "{\n    iVar4 = iVar3 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3]);\n    ppuVar1 = pWal->apWiData;\n    iVar2 = pWal->nWiData;\n    ppuVar1[iVar3] = (u32 *)0x0;\n    iVar3 = iVar4;\n  }" { (expression_statement "iVar4 = iVar3 + 1;" (assignment_expression "iVar4 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3]);" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(ppuVar1[iVar3])" (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 "(ppuVar1[iVar3])" ( (subscript_expression "ppuVar1[iVar3]" identifier [ identifier ]) ))) ;) (expression_statement "ppuVar1 = pWal->apWiData;" (assignment_expression "ppuVar1 = pWal->apWiData" identifier = (field_expression "pWal->apWiData" identifier -> field_identifier)) ;) (expression_statement "iVar2 = pWal->nWiData;" (assignment_expression "iVar2 = pWal->nWiData" identifier = (field_expression "pWal->nWiData" identifier -> field_identifier)) ;) (expression_statement "ppuVar1[iVar3] = (u32 *)0x0;" (assignment_expression "ppuVar1[iVar3] = (u32 *)0x0" (subscript_expression "ppuVar1[iVar3]" identifier [ identifier ]) = (cast_expression "(u32 *)0x0" ( (type_descriptor "u32 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 < iVar2)" ( (binary_expression "iVar4 < iVar2" identifier < identifier) )) ;) (if_statement "if (pWal->exclusiveMode == '\x02') {\n    return;\n  }" if (parenthesized_expression "(pWal->exclusiveMode == '\x02')" ( (binary_expression "pWal->exclusiveMode == '\x02'" (field_expression "pWal->exclusiveMode" identifier -> field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00029a04:\n                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete);" statement_identifier : comment comment (expression_statement "(*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete);" (call_expression "(*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete)" (parenthesized_expression "(*pWal->pDbFd->pMethods->xShmUnmap)" ( (pointer_expression "*pWal->pDbFd->pMethods->xShmUnmap" * (field_expression "pWal->pDbFd->pMethods->xShmUnmap" (field_expression "pWal->pDbFd->pMethods" (field_expression "pWal->pDbFd" identifier -> field_identifier) -> field_identifier) -> field_identifier)) )) (argument_list "(pWal->pDbFd,isDelete)" ( (field_expression "pWal->pDbFd" identifier -> field_identifier) , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00029964(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    \n                    \n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}\n\n" (function_definition "void FUN_00029964(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    \n                    \n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00029964(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    \n                    \n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" if (parenthesized_expression "(*(char *)(param_1 + 0x2b) == '\x02')" ( (binary_expression "*(char *)(param_1 + 0x2b) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x2b)" * (cast_expression "(char *)(param_1 + 0x2b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b)" ( (binary_expression "param_1 + 0x2b" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) < 1)" ( (binary_expression "*(int *)(param_1 + 0x18) < 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) (else_clause "else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" else (if_statement "if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" if (parenthesized_expression "((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1))" ( (binary_expression "(*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)" (parenthesized_expression "(*(char *)(param_1 + 0x32) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x32) == '\0'" (pointer_expression "*(char *)(param_1 + 0x32)" * (cast_expression "(char *)(param_1 + 0x32)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(int *)(param_1 + 0x18) < 1)" ( (binary_expression "*(int *)(param_1 + 0x18) < 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) < number_literal) ))) )) (goto_statement "goto LAB_00029a04;" goto statement_identifier ;)))) (expression_statement "iVar1 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);" do (compound_statement "{\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  }" { (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3))" (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 *)(iVar1 + iVar3))" ( (pointer_expression "*(undefined4 *)(iVar1 + iVar3)" * (cast_expression "(undefined4 *)(iVar1 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3)" ( (binary_expression "iVar1 + iVar3" identifier + identifier) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x20)" identifier = (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar1 + iVar3)" * (cast_expression "(undefined4 *)(iVar1 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3)" ( (binary_expression "iVar1 + iVar3" identifier + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "(iVar4 < iVar2)" ( (binary_expression "iVar4 < iVar2" identifier < identifier) )) ;) (if_statement "if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x2b) == '\x02')" ( (binary_expression "*(char *)(param_1 + 0x2b) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x2b)" * (cast_expression "(char *)(param_1 + 0x2b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2b)" ( (binary_expression "param_1 + 0x2b" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00029a04:\n                    \n                    \n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);" statement_identifier : (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 0x40))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 0x40)" * (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 0x40)" * (cast_expression "(code **)(**(int **)(param_1 + 4) + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 4) + 0x40)" ( (binary_expression "**(int **)(param_1 + 4) + 0x40" (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 4),param_2)" ( (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier ))) ;)) (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 ;) (declaration TYPE IDENT ;) (declaration TYPE 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) ))) )) (goto_statement goto statement_identifier ;)))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 IDENT + LIT)) ;) (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 + IDENT) )))) ))) ;) (expression_statement (assignment_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 *)) ) (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 + IDENT) )))) = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < 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 { (return_statement return ;) })) (labeled_statement 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 (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;)) (return_statement return ;) })))
(function_definition "void FUN_00029964(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    \n                    \n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00029964(int param_1,undefined4 param_2)" (identifier "FUN_00029964") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;\n  iVar1 = *(int *)(param_1 + 0x20);\n  iVar4 = 0;\n  do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);\n  if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }\nLAB_00029a04:\n                    \n                    \n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (*(char *)(param_1 + 0x2b) == '\x02') {\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }\n  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x2b) == '\x02')" (( "(") (binary_expression "*(char *)(param_1 + 0x2b) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x2b)" (* "*") (cast_expression "(char *)(param_1 + 0x2b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2b)" (( "(") (binary_expression "param_1 + 0x2b" (identifier "param_1") (+ "+") (number_literal "0x2b")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x18) < 1) {\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x18) < 1)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) < 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" (else "else") (if_statement "if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;" (if "if") (parenthesized_expression "((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1))" (( "(") (binary_expression "(*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)" (parenthesized_expression "(*(char *)(param_1 + 0x32) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x32) == '\0'" (pointer_expression "*(char *)(param_1 + 0x32)" (* "*") (cast_expression "(char *)(param_1 + 0x32)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x32)" (( "(") (binary_expression "param_1 + 0x32" (identifier "param_1") (+ "+") (number_literal "0x32")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_1 + 0x18) < 1)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) < 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (number_literal "1")) () ")"))) () ")")) (goto_statement "goto LAB_00029a04;" (goto "goto") (statement_identifier "LAB_00029a04") (; ";"))))) (expression_statement "iVar1 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x20)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  } while (iVar4 < iVar2);" (do "do") (compound_statement "{\n    iVar3 = iVar4 * 4;\n    iVar4 = iVar4 + 1;\n    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));\n    iVar1 = *(int *)(param_1 + 0x20);\n    iVar2 = *(int *)(param_1 + 0x18);\n    *(undefined4 *)(iVar1 + iVar3) = 0;\n  }" ({ "{") (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" (identifier "iVar3") (= "=") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));" (call_expression "(*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3))" (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 *)(iVar1 + iVar3))" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + iVar3)" (* "*") (cast_expression "(undefined4 *)(iVar1 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar3)" (( "(") (binary_expression "iVar1 + iVar3" (identifier "iVar1") (+ "+") (identifier "iVar3")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x20);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x20)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar1 + iVar3)" (* "*") (cast_expression "(undefined4 *)(iVar1 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar3)" (( "(") (binary_expression "iVar1 + iVar3" (identifier "iVar1") (+ "+") (identifier "iVar3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < iVar2)" (( "(") (binary_expression "iVar4 < iVar2" (identifier "iVar4") (< "<") (identifier "iVar2")) () ")")) (; ";")) (if_statement "if (*(char *)(param_1 + 0x2b) == '\x02') {\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x2b) == '\x02')" (( "(") (binary_expression "*(char *)(param_1 + 0x2b) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x2b)" (* "*") (cast_expression "(char *)(param_1 + 0x2b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2b)" (( "(") (binary_expression "param_1 + 0x2b" (identifier "param_1") (+ "+") (number_literal "0x2b")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_00029a04:\n                    \n                    \n  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);" (statement_identifier "LAB_00029a04") (: ":") (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 0x40))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 0x40)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 0x40)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 4) + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 4) + 0x40)" (( "(") (binary_expression "**(int **)(param_1 + 4) + 0x40" (pointer_expression "**(int **)(param_1 + 4)" (* "*") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (argument_list "(*(int **)(param_1 + 4),param_2)" (( "(") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pWal,int isDelete)

{
  type_2 **ppuVar1;
  int var_3;
  int var_1;
  int var_2;
  
  if (pWal->exclusiveMode == '\x02') {
    if (pWal->nWiData < 1) {
      return;
    }
  }
  else if ((pWal->bShmUnreliable == '\0') || (pWal->nWiData < 1)) goto LAB_00029a04;
  ppuVar1 = pWal->apWiData;
  var_1 = 0;
  do {
    var_2 = var_1 + 1;
    (*(type_3 *)PTR_sqlite3_free_000f53a0)(ppuVar1[var_1]);
    ppuVar1 = pWal->apWiData;
    var_3 = pWal->nWiData;
    ppuVar1[var_1] = (type_2 *)0x0;
    var_1 = var_2;
  } while (var_2 < var_3);
  if (pWal->exclusiveMode == '\x02') {
    return;
  }
LAB_00029a04:
                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*pWal->pDbFd->pMethods->xShmUnmap)(pWal->pDbFd,isDelete);
  return;
}


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

void MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  if (*(char *)(param_1 + 0x2b) == '\x02') {
    if (*(int *)(param_1 + 0x18) < 1) {
      return;
    }
  }
  else if ((*(char *)(param_1 + 0x32) == '\0') || (*(int *)(param_1 + 0x18) < 1)) goto LAB_00029a04;
  iVar1 = *(int *)(param_1 + 0x20);
  iVar4 = 0;
  do {
    iVar3 = iVar4 * 4;
    iVar4 = iVar4 + 1;
    (*(code *)PTR_sqlite3_free_000f53a0)(*(undefined4 *)(iVar1 + iVar3));
    iVar1 = *(int *)(param_1 + 0x20);
    iVar2 = *(int *)(param_1 + 0x18);
    *(undefined4 *)(iVar1 + iVar3) = 0;
  } while (iVar4 < iVar2);
  if (*(char *)(param_1 + 0x2b) == '\x02') {
    return;
  }
LAB_00029a04:
                    /* WARNING: Could not recover jumptable at 0x00029a2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(**(int **)(param_1 + 4) + 0x40))(*(int **)(param_1 + 4),param_2);
  return;
}

