
/* DWARF original prototype: void sqlite3DeleteColumnNames(sqlite3 * db, Table * pTable, Table *
   pTable) */

void sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)

{
  char *pcVar1;
  char *p;
  int iVar2;
  
  p = pTable->zName;
  if (p == (char *)0x0) {
    return;
  }
  if (0 < *(short *)&pTable_1->zName) {
    iVar2 = 0;
    do {
      iVar2 = iVar2 + 1;
      if (*(void **)p != (void *)0x0) {
                    /* WARNING: Subroutine does not return */
        sqlite3DbFreeNN(db,*(void **)p);
      }
      if (*(Expr **)(p + 4) != (Expr *)0x0) {
        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));
      }
      pcVar1 = p + 8;
      p = p + 0x10;
      if (*(void **)pcVar1 != (void *)0x0) {
                    /* WARNING: Subroutine does not return */
        sqlite3DbFreeNN(db,*(void **)pcVar1);
      }
    } while (iVar2 < *(short *)&pTable_1->zName);
    p = pTable->zName;
    if (p == (char *)0x0) {
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  sqlite3DbFreeNN(db,p);
}



void FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  
  piVar2 = (int *)*param_2;
  if (piVar2 == (int *)0x0) {
    return;
  }
  if (0 < *param_3) {
    iVar3 = 0;
    do {
      iVar3 = iVar3 + 1;
      if (*piVar2 != 0) {
        FUN_0002a924(param_1);
      }
      if (piVar2[1] != 0) {
        FUN_00047bc4(param_1);
      }
      piVar1 = piVar2 + 2;
      piVar2 = piVar2 + 4;
      if (*piVar1 != 0) {
        FUN_0002a924(param_1);
      }
    } while (iVar3 < *param_3);
    piVar2 = (int *)*param_2;
    if (piVar2 == (int *)0x0) {
      return;
    }
  }
  FUN_0002a924(param_1,piVar2);
  return;
}


lui gp,0x12
addiu gp,gp,-0x4bd0
addu gp,gp,t9
addiu sp,sp,-0x38
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s0,0x0(a1)
beq s0,zero,0x0004825c
_or s3,a2,zero
lh v0,0x0(a2)
or s1,a0,zero
blez v0,0x00048284
_or s6,a1,zero
lw s4,-0x7ed8(gp)
or s2,zero,zero
lw s5,-0x7ef0(gp)
addiu s4,s4,-0x56dc
addiu s5,s5,0x7bc4
lw a1,0x0(s0)
addiu s2,s2,0x1
beq a1,zero,0x00048204
_or a0,s1,zero
or t9,s4,zero
bal 0x0002a924
_nop
lw gp,0x10(sp)
lw a1,0x4(s0)
beq a1,zero,0x00048220
_or a0,s1,zero
or t9,s5,zero
bal 0x00047bc4
_nop
lw gp,0x10(sp)
lw a1,0x8(s0)
or a0,s1,zero
beq a1,zero,0x00048240
_addiu s0,s0,0x10
or t9,s4,zero
bal 0x0002a924
_nop
lw gp,0x10(sp)
lh v0,0x0(s3)
slt v0,s2,v0
bne v0,zero,0x000481e4
_nop
lw s0,0x0(s6)
bne s0,zero,0x00048288
_lw t9,-0x7ed8(gp)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7ed8(gp)
or a1,s0,zero
lw ra,0x34(sp)
or a0,s1,zero
lw s6,0x30(sp)
lw s5,0x2c(sp)
addiu t9,t9,-0x56dc
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
b 0x0002a924
_addiu sp,sp,0x38
(translation_unit "void FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}\n\n" (function_definition "void FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,short *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "short *param_3" (sized_type_specifier "short" short) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }" if (parenthesized_expression "(0 < *param_3)" ( (binary_expression "0 < *param_3" number_literal < (pointer_expression "*param_3" * identifier)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);" do (compound_statement "{\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0002a924(param_1);\n      }" { (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (if_statement "if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }" if (parenthesized_expression "(piVar2[1] != 0)" ( (binary_expression "piVar2[1] != 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00047bc4(param_1);\n      }" { (expression_statement "FUN_00047bc4(param_1);" (call_expression "FUN_00047bc4(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (expression_statement "piVar1 = piVar2 + 2;" (assignment_expression "piVar1 = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) (if_statement "if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0002a924(param_1);\n      }" { (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) }) while (parenthesized_expression "(iVar3 < *param_3)" ( (binary_expression "iVar3 < *param_3" identifier < (pointer_expression "*param_3" * identifier)) )) ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "FUN_0002a924(param_1,piVar2);" (call_expression "FUN_0002a924(param_1,piVar2)" identifier (argument_list "(param_1,piVar2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void sqlite3DeleteColumnNames(sqlite3 * db, Table * pTable, Table *\n   pTable) */\n\nvoid sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)\n\n{\n  char *pcVar1;\n  char *p;\n  int iVar2;\n  \n  p = pTable->zName;\n  if (p == (char *)0x0) {\n    return;\n  }\n  if (0 < *(short *)&pTable_1->zName) {\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      pcVar1 = p + 8;\n      p = p + 0x10;\n      if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }\n    } while (iVar2 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3DbFreeNN(db,p);\n}\n\n" comment (function_definition "void sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)\n\n{\n  char *pcVar1;\n  char *p;\n  int iVar2;\n  \n  p = pTable->zName;\n  if (p == (char *)0x0) {\n    return;\n  }\n  if (0 < *(short *)&pTable_1->zName) {\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      pcVar1 = p + 8;\n      p = p + 0x10;\n      if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }\n    } while (iVar2 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3DbFreeNN(db,p);\n}" primitive_type (function_declarator "sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)" identifier (parameter_list "(sqlite3 *db,Table *pTable,Table *pTable_1)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Table *pTable" type_identifier (pointer_declarator "*pTable" * identifier)) , (parameter_declaration "Table *pTable_1" type_identifier (pointer_declarator "*pTable_1" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  char *p;\n  int iVar2;\n  \n  p = pTable->zName;\n  if (p == (char *)0x0) {\n    return;\n  }\n  if (0 < *(short *)&pTable_1->zName) {\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      pcVar1 = p + 8;\n      p = p + 0x10;\n      if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }\n    } while (iVar2 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3DbFreeNN(db,p);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *p;" primitive_type (pointer_declarator "*p" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "p = pTable->zName;" (assignment_expression "p = pTable->zName" identifier = (field_expression "pTable->zName" identifier -> field_identifier)) ;) (if_statement "if (p == (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(p == (char *)0x0)" ( (binary_expression "p == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *(short *)&pTable_1->zName) {\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      pcVar1 = p + 8;\n      p = p + 0x10;\n      if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }\n    } while (iVar2 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }" if (parenthesized_expression "(0 < *(short *)&pTable_1->zName)" ( (binary_expression "0 < *(short *)&pTable_1->zName" number_literal < (pointer_expression "*(short *)&pTable_1->zName" * (cast_expression "(short *)&pTable_1->zName" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTable_1->zName" & (field_expression "pTable_1->zName" identifier -> field_identifier))))) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      pcVar1 = p + 8;\n      p = p + 0x10;\n      if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }\n    } while (iVar2 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar2 + 1;\n      if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      pcVar1 = p + 8;\n      p = p + 0x10;\n      if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }\n    } while (iVar2 < *(short *)&pTable_1->zName);" do (compound_statement "{\n      iVar2 = iVar2 + 1;\n      if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      pcVar1 = p + 8;\n      p = p + 0x10;\n      if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }\n    }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (*(void **)p != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }" if (parenthesized_expression "(*(void **)p != (void *)0x0)" ( (binary_expression "*(void **)p != (void *)0x0" (pointer_expression "*(void **)p" * (cast_expression "(void **)p" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)p);\n      }" { comment (expression_statement "sqlite3DbFreeNN(db,*(void **)p);" (call_expression "sqlite3DbFreeNN(db,*(void **)p)" identifier (argument_list "(db,*(void **)p)" ( identifier , (pointer_expression "*(void **)p" * (cast_expression "(void **)p" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (if_statement "if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }" if (parenthesized_expression "(*(Expr **)(p + 4) != (Expr *)0x0)" ( (binary_expression "*(Expr **)(p + 4) != (Expr *)0x0" (pointer_expression "*(Expr **)(p + 4)" * (cast_expression "(Expr **)(p + 4)" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p + 4)" ( (binary_expression "p + 4" identifier + number_literal) )))) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }" { (expression_statement "sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));" (call_expression "sqlite3ExprDeleteNN(db,*(Expr **)(p + 4))" identifier (argument_list "(db,*(Expr **)(p + 4))" ( identifier , (pointer_expression "*(Expr **)(p + 4)" * (cast_expression "(Expr **)(p + 4)" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p + 4)" ( (binary_expression "p + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "pcVar1 = p + 8;" (assignment_expression "pcVar1 = p + 8" identifier = (binary_expression "p + 8" identifier + number_literal)) ;) (expression_statement "p = p + 0x10;" (assignment_expression "p = p + 0x10" identifier = (binary_expression "p + 0x10" identifier + number_literal)) ;) (if_statement "if (*(void **)pcVar1 != (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }" if (parenthesized_expression "(*(void **)pcVar1 != (void *)0x0)" ( (binary_expression "*(void **)pcVar1 != (void *)0x0" (pointer_expression "*(void **)pcVar1" * (cast_expression "(void **)pcVar1" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        sqlite3DbFreeNN(db,*(void **)pcVar1);\n      }" { comment (expression_statement "sqlite3DbFreeNN(db,*(void **)pcVar1);" (call_expression "sqlite3DbFreeNN(db,*(void **)pcVar1)" identifier (argument_list "(db,*(void **)pcVar1)" ( identifier , (pointer_expression "*(void **)pcVar1" * (cast_expression "(void **)pcVar1" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) }) while (parenthesized_expression "(iVar2 < *(short *)&pTable_1->zName)" ( (binary_expression "iVar2 < *(short *)&pTable_1->zName" identifier < (pointer_expression "*(short *)&pTable_1->zName" * (cast_expression "(short *)&pTable_1->zName" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTable_1->zName" & (field_expression "pTable_1->zName" identifier -> field_identifier))))) )) ;) (expression_statement "p = pTable->zName;" (assignment_expression "p = pTable->zName" identifier = (field_expression "pTable->zName" identifier -> field_identifier)) ;) (if_statement "if (p == (char *)0x0) {\n      return;\n    }" if (parenthesized_expression "(p == (char *)0x0)" ( (binary_expression "p == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) comment (expression_statement "sqlite3DbFreeNN(db,p);" (call_expression "sqlite3DbFreeNN(db,p)" identifier (argument_list "(db,p)" ( identifier , identifier ))) ;) })))
(translation_unit "void FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}\n\n" (function_definition "void FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,short *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "short *param_3" (sized_type_specifier "short" short) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }" if (parenthesized_expression "(0 < *param_3)" ( (binary_expression "0 < *param_3" number_literal < (pointer_expression "*param_3" * identifier)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);" do (compound_statement "{\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0002a924(param_1);\n      }" { (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (if_statement "if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }" if (parenthesized_expression "(piVar2[1] != 0)" ( (binary_expression "piVar2[1] != 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00047bc4(param_1);\n      }" { (expression_statement "FUN_00047bc4(param_1);" (call_expression "FUN_00047bc4(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (expression_statement "piVar1 = piVar2 + 2;" (assignment_expression "piVar1 = piVar2 + 2" identifier = (binary_expression "piVar2 + 2" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) (if_statement "if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }" if (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0002a924(param_1);\n      }" { (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) }) while (parenthesized_expression "(iVar3 < *param_3)" ( (binary_expression "iVar3 < *param_3" identifier < (pointer_expression "*param_3" * identifier)) )) ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "FUN_0002a924(param_1,piVar2);" (call_expression "FUN_0002a924(param_1,piVar2)" identifier (argument_list "(param_1,piVar2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier short) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00048180(undefined4 param_1,undefined4 *param_2,short *param_3)" (identifier "FUN_00048180") (parameter_list "(undefined4 param_1,undefined4 *param_2,short *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "short *param_3" (sized_type_specifier "short" (short "short")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }\n  FUN_0002a924(param_1,piVar2);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (0 < *param_3) {\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(0 < *param_3)" (( "(") (binary_expression "0 < *param_3" (number_literal "0") (< "<") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) () ")")) (compound_statement "{\n    iVar3 = 0;\n    do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);\n    piVar2 = (int *)*param_2;\n    if (piVar2 == (int *)0x0) {\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    } while (iVar3 < *param_3);" (do "do") (compound_statement "{\n      iVar3 = iVar3 + 1;\n      if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }\n      if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }\n      piVar1 = piVar2 + 2;\n      piVar2 = piVar2 + 4;\n      if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }\n    }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*piVar2 != 0) {\n        FUN_0002a924(param_1);\n      }" (if "if") (parenthesized_expression "(*piVar2 != 0)" (( "(") (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0002a924(param_1);\n      }" ({ "{") (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" (identifier "FUN_0002a924") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (if_statement "if (piVar2[1] != 0) {\n        FUN_00047bc4(param_1);\n      }" (if "if") (parenthesized_expression "(piVar2[1] != 0)" (( "(") (binary_expression "piVar2[1] != 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00047bc4(param_1);\n      }" ({ "{") (expression_statement "FUN_00047bc4(param_1);" (call_expression "FUN_00047bc4(param_1)" (identifier "FUN_00047bc4") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar1 = piVar2 + 2;" (assignment_expression "piVar1 = piVar2 + 2" (identifier "piVar1") (= "=") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 4" (identifier "piVar2") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (*piVar1 != 0) {\n        FUN_0002a924(param_1);\n      }" (if "if") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0002a924(param_1);\n      }" ({ "{") (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" (identifier "FUN_0002a924") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar3 < *param_3)" (( "(") (binary_expression "iVar3 < *param_3" (identifier "iVar3") (< "<") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) () ")")) (; ";")) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0002a924(param_1,piVar2);" (call_expression "FUN_0002a924(param_1,piVar2)" (identifier "FUN_0002a924") (argument_list "(param_1,piVar2)" (( "(") (identifier "param_1") (, ",") (identifier "piVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 *param_2,short *param_3)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  
  piVar2 = (int *)*param_2;
  if (piVar2 == (int *)0x0) {
    return;
  }
  if (0 < *param_3) {
    iVar3 = 0;
    do {
      iVar3 = iVar3 + 1;
      if (*piVar2 != 0) {
        FUN_0002a924(param_1);
      }
      if (piVar2[1] != 0) {
        FUN_00047bc4(param_1);
      }
      piVar1 = piVar2 + 2;
      piVar2 = piVar2 + 4;
      if (*piVar1 != 0) {
        FUN_0002a924(param_1);
      }
    } while (iVar3 < *param_3);
    piVar2 = (int *)*param_2;
    if (piVar2 == (int *)0x0) {
      return;
    }
  }
  FUN_0002a924(param_1,piVar2);
  return;
}

