
void sqlite3WindowDelete(sqlite3 *db,Window *p)

{
  if (p == (Window *)0x0) {
    return;
  }
  if (p->pFilter != (Expr *)0x0) {
    sqlite3ExprDeleteNN(db,p->pFilter);
  }
  if (p->pPartition != (ExprList *)0x0) {
                    /* WARNING: Subroutine does not return */
    exprListDeleteNN(db,p->pPartition);
  }
  if (p->pOrderBy != (ExprList *)0x0) {
                    /* WARNING: Subroutine does not return */
    exprListDeleteNN(db,p->pOrderBy);
  }
  if (p->pEnd != (Expr *)0x0) {
    sqlite3ExprDeleteNN(db,p->pEnd);
  }
  if (p->pStart != (Expr *)0x0) {
    sqlite3ExprDeleteNN(db,p->pStart);
  }
  if (p->zName != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    sqlite3DbFreeNN(db,p->zName);
  }
                    /* WARNING: Subroutine does not return */
  sqlite3DbFreeNN(db,p);
}



void FUN_00047e9c(undefined4 param_1,int *param_2)

{
  if (param_2 == (int *)0x0) {
    return;
  }
  if (param_2[7] != 0) {
    FUN_00047bc4();
  }
  if (param_2[1] != 0) {
    FUN_00047d30(param_1);
  }
  if (param_2[2] != 0) {
    FUN_00047d30(param_1);
  }
  if (param_2[5] != 0) {
    FUN_00047bc4(param_1);
  }
  if (param_2[4] != 0) {
    FUN_00047bc4(param_1);
  }
  if (*param_2 != 0) {
    FUN_0002a924(param_1);
    FUN_0002a924(param_1,param_2);
    return;
  }
  FUN_0002a924(param_1,param_2);
  return;
}


lui gp,0x12
addiu gp,gp,-0x48ec
addu gp,gp,t9
beq a1,zero,0x00047fd0
_nop
addiu sp,sp,-0x28
sw s1,0x1c(sp)
sw s0,0x18(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
lw a1,0x1c(a1)
beq a1,zero,0x00047eec
_or s1,a0,zero
lw t9,-0x7ef0(gp)
addiu t9,t9,0x7bc4
bal 0x00047bc4
_nop
lw gp,0x10(sp)
lw a1,0x4(s0)
beq a1,zero,0x00047f08
_lw t9,-0x7ef0(gp)
addiu t9,t9,0x7d30
bal 0x00047d30
_or a0,s1,zero
lw gp,0x10(sp)
lw a1,0x8(s0)
beq a1,zero,0x00047f24
_lw t9,-0x7ef0(gp)
addiu t9,t9,0x7d30
bal 0x00047d30
_or a0,s1,zero
lw gp,0x10(sp)
lw a1,0x14(s0)
beq a1,zero,0x00047f40
_lw t9,-0x7ef0(gp)
addiu t9,t9,0x7bc4
bal 0x00047bc4
_or a0,s1,zero
lw gp,0x10(sp)
lw a1,0x10(s0)
beq a1,zero,0x00047f5c
_lw t9,-0x7ef0(gp)
addiu t9,t9,0x7bc4
bal 0x00047bc4
_or a0,s1,zero
lw gp,0x10(sp)
lw a1,0x0(s0)
beq a1,zero,0x00047fa4
_nop
lw s2,-0x7ed8(gp)
addiu s2,s2,-0x56dc
or t9,s2,zero
bal 0x0002a924
_or a0,s1,zero
or a1,s0,zero
lw gp,0x10(sp)
or a0,s1,zero
lw ra,0x24(sp)
or t9,s2,zero
lw s1,0x1c(sp)
lw s2,0x20(sp)
lw s0,0x18(sp)
b 0x0002a924
_addiu sp,sp,0x28
lw s2,-0x7ed8(gp)
or a1,s0,zero
lw ra,0x24(sp)
or a0,s1,zero
lw s0,0x18(sp)
addiu s2,s2,-0x56dc
lw s1,0x1c(sp)
or t9,s2,zero
lw s2,0x20(sp)
b 0x0002a924
_addiu sp,sp,0x28
jr ra
_nop
(translation_unit "void FUN_00047e9c(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00047e9c(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00047e9c(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" { (if_statement "if (param_2 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (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 (param_2[7] != 0) {\n    FUN_00047bc4();\n  }" if (parenthesized_expression "(param_2[7] != 0)" ( (binary_expression "param_2[7] != 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00047bc4();\n  }" { (expression_statement "FUN_00047bc4();" (call_expression "FUN_00047bc4()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00047d30(param_1);\n  }" { (expression_statement "FUN_00047d30(param_1);" (call_expression "FUN_00047d30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (if_statement "if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }" if (parenthesized_expression "(param_2[2] != 0)" ( (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00047d30(param_1);\n  }" { (expression_statement "FUN_00047d30(param_1);" (call_expression "FUN_00047d30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (if_statement "if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }" if (parenthesized_expression "(param_2[5] != 0)" ( (binary_expression "param_2[5] != 0" (subscript_expression "param_2[5]" 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 ))) ;) })) (if_statement "if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }" if (parenthesized_expression "(param_2[4] != 0)" ( (binary_expression "param_2[4] != 0" (subscript_expression "param_2[4]" 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 ))) ;) })) (if_statement "if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }" { (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_0002a924(param_1,param_2);" (call_expression "FUN_0002a924(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0002a924(param_1,param_2);" (call_expression "FUN_0002a924(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3WindowDelete(sqlite3 *db,Window *p)\n\n{\n  if (p == (Window *)0x0) {\n    return;\n  }\n  if (p->pFilter != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pFilter);\n  }\n  if (p->pPartition != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pPartition);\n  }\n  if (p->pOrderBy != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pOrderBy);\n  }\n  if (p->pEnd != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pEnd);\n  }\n  if (p->pStart != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pStart);\n  }\n  if (p->zName != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zName);\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3DbFreeNN(db,p);\n}\n\n" (function_definition "void sqlite3WindowDelete(sqlite3 *db,Window *p)\n\n{\n  if (p == (Window *)0x0) {\n    return;\n  }\n  if (p->pFilter != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pFilter);\n  }\n  if (p->pPartition != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pPartition);\n  }\n  if (p->pOrderBy != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pOrderBy);\n  }\n  if (p->pEnd != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pEnd);\n  }\n  if (p->pStart != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pStart);\n  }\n  if (p->zName != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zName);\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3DbFreeNN(db,p);\n}" primitive_type (function_declarator "sqlite3WindowDelete(sqlite3 *db,Window *p)" identifier (parameter_list "(sqlite3 *db,Window *p)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Window *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  if (p == (Window *)0x0) {\n    return;\n  }\n  if (p->pFilter != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pFilter);\n  }\n  if (p->pPartition != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pPartition);\n  }\n  if (p->pOrderBy != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pOrderBy);\n  }\n  if (p->pEnd != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pEnd);\n  }\n  if (p->pStart != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pStart);\n  }\n  if (p->zName != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zName);\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3DbFreeNN(db,p);\n}" { (if_statement "if (p == (Window *)0x0) {\n    return;\n  }" if (parenthesized_expression "(p == (Window *)0x0)" ( (binary_expression "p == (Window *)0x0" identifier == (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (p->pFilter != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pFilter);\n  }" if (parenthesized_expression "(p->pFilter != (Expr *)0x0)" ( (binary_expression "p->pFilter != (Expr *)0x0" (field_expression "p->pFilter" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3ExprDeleteNN(db,p->pFilter);\n  }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pFilter);" (call_expression "sqlite3ExprDeleteNN(db,p->pFilter)" identifier (argument_list "(db,p->pFilter)" ( identifier , (field_expression "p->pFilter" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pPartition != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pPartition);\n  }" if (parenthesized_expression "(p->pPartition != (ExprList *)0x0)" ( (binary_expression "p->pPartition != (ExprList *)0x0" (field_expression "p->pPartition" identifier -> field_identifier) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pPartition);\n  }" { comment (expression_statement "exprListDeleteNN(db,p->pPartition);" (call_expression "exprListDeleteNN(db,p->pPartition)" identifier (argument_list "(db,p->pPartition)" ( identifier , (field_expression "p->pPartition" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pOrderBy != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pOrderBy);\n  }" if (parenthesized_expression "(p->pOrderBy != (ExprList *)0x0)" ( (binary_expression "p->pOrderBy != (ExprList *)0x0" (field_expression "p->pOrderBy" identifier -> field_identifier) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->pOrderBy);\n  }" { comment (expression_statement "exprListDeleteNN(db,p->pOrderBy);" (call_expression "exprListDeleteNN(db,p->pOrderBy)" identifier (argument_list "(db,p->pOrderBy)" ( identifier , (field_expression "p->pOrderBy" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pEnd != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pEnd);\n  }" if (parenthesized_expression "(p->pEnd != (Expr *)0x0)" ( (binary_expression "p->pEnd != (Expr *)0x0" (field_expression "p->pEnd" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3ExprDeleteNN(db,p->pEnd);\n  }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pEnd);" (call_expression "sqlite3ExprDeleteNN(db,p->pEnd)" identifier (argument_list "(db,p->pEnd)" ( identifier , (field_expression "p->pEnd" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pStart != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pStart);\n  }" if (parenthesized_expression "(p->pStart != (Expr *)0x0)" ( (binary_expression "p->pStart != (Expr *)0x0" (field_expression "p->pStart" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3ExprDeleteNN(db,p->pStart);\n  }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pStart);" (call_expression "sqlite3ExprDeleteNN(db,p->pStart)" identifier (argument_list "(db,p->pStart)" ( identifier , (field_expression "p->pStart" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->zName != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zName);\n  }" if (parenthesized_expression "(p->zName != (char *)0x0)" ( (binary_expression "p->zName != (char *)0x0" (field_expression "p->zName" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zName);\n  }" { comment (expression_statement "sqlite3DbFreeNN(db,p->zName);" (call_expression "sqlite3DbFreeNN(db,p->zName)" identifier (argument_list "(db,p->zName)" ( identifier , (field_expression "p->zName" identifier -> field_identifier) ))) ;) })) comment (expression_statement "sqlite3DbFreeNN(db,p);" (call_expression "sqlite3DbFreeNN(db,p)" identifier (argument_list "(db,p)" ( identifier , identifier ))) ;) })))
(translation_unit "void FUN_00047e9c(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00047e9c(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00047e9c(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" { (if_statement "if (param_2 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (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 (param_2[7] != 0) {\n    FUN_00047bc4();\n  }" if (parenthesized_expression "(param_2[7] != 0)" ( (binary_expression "param_2[7] != 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00047bc4();\n  }" { (expression_statement "FUN_00047bc4();" (call_expression "FUN_00047bc4()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00047d30(param_1);\n  }" { (expression_statement "FUN_00047d30(param_1);" (call_expression "FUN_00047d30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (if_statement "if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }" if (parenthesized_expression "(param_2[2] != 0)" ( (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_00047d30(param_1);\n  }" { (expression_statement "FUN_00047d30(param_1);" (call_expression "FUN_00047d30(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (if_statement "if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }" if (parenthesized_expression "(param_2[5] != 0)" ( (binary_expression "param_2[5] != 0" (subscript_expression "param_2[5]" 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 ))) ;) })) (if_statement "if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }" if (parenthesized_expression "(param_2[4] != 0)" ( (binary_expression "param_2[4] != 0" (subscript_expression "param_2[4]" 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 ))) ;) })) (if_statement "if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }" { (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_0002a924(param_1,param_2);" (call_expression "FUN_0002a924(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0002a924(param_1,param_2);" (call_expression "FUN_0002a924(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( 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)) ))) (compound_statement { (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 (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00047e9c(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00047e9c(undefined4 param_1,int *param_2)" (identifier "FUN_00047e9c") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if (param_2 == (int *)0x0) {\n    return;\n  }\n  if (param_2[7] != 0) {\n    FUN_00047bc4();\n  }\n  if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }\n  if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" ({ "{") (if_statement "if (param_2 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == (int *)0x0)" (( "(") (binary_expression "param_2 == (int *)0x0" (identifier "param_2") (== "==") (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 (param_2[7] != 0) {\n    FUN_00047bc4();\n  }" (if "if") (parenthesized_expression "(param_2[7] != 0)" (( "(") (binary_expression "param_2[7] != 0" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00047bc4();\n  }" ({ "{") (expression_statement "FUN_00047bc4();" (call_expression "FUN_00047bc4()" (identifier "FUN_00047bc4") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2[1] != 0) {\n    FUN_00047d30(param_1);\n  }" (if "if") (parenthesized_expression "(param_2[1] != 0)" (( "(") (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00047d30(param_1);\n  }" ({ "{") (expression_statement "FUN_00047d30(param_1);" (call_expression "FUN_00047d30(param_1)" (identifier "FUN_00047d30") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2[2] != 0) {\n    FUN_00047d30(param_1);\n  }" (if "if") (parenthesized_expression "(param_2[2] != 0)" (( "(") (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00047d30(param_1);\n  }" ({ "{") (expression_statement "FUN_00047d30(param_1);" (call_expression "FUN_00047d30(param_1)" (identifier "FUN_00047d30") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2[5] != 0) {\n    FUN_00047bc4(param_1);\n  }" (if "if") (parenthesized_expression "(param_2[5] != 0)" (( "(") (binary_expression "param_2[5] != 0" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (!= "!=") (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") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2[4] != 0) {\n    FUN_00047bc4(param_1);\n  }" (if "if") (parenthesized_expression "(param_2[4] != 0)" (( "(") (binary_expression "param_2[4] != 0" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (!= "!=") (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") () ")"))) (; ";")) (} "}"))) (if_statement "if (*param_2 != 0) {\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(*param_2 != 0)" (( "(") (binary_expression "*param_2 != 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0002a924(param_1);\n    FUN_0002a924(param_1,param_2);\n    return;\n  }" ({ "{") (expression_statement "FUN_0002a924(param_1);" (call_expression "FUN_0002a924(param_1)" (identifier "FUN_0002a924") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_0002a924(param_1,param_2);" (call_expression "FUN_0002a924(param_1,param_2)" (identifier "FUN_0002a924") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0002a924(param_1,param_2);" (call_expression "FUN_0002a924(param_1,param_2)" (identifier "FUN_0002a924") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *db,type_2 *var_1)

{
  if (var_1 == (type_2 *)0x0) {
    return;
  }
  if (var_1->pFilter != (type_3 *)0x0) {
    var_2(db,var_1->pFilter);
  }
  if (var_1->pPartition != (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3(db,var_1->pPartition);
  }
  if (var_1->pOrderBy != (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3(db,var_1->pOrderBy);
  }
  if (var_1->pEnd != (type_3 *)0x0) {
    var_2(db,var_1->pEnd);
  }
  if (var_1->pStart != (type_3 *)0x0) {
    var_2(db,var_1->pStart);
  }
  if (var_1->zName != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_4(db,var_1->zName);
  }
                    /* WARNING: Subroutine does not return */
  var_4(db,var_1);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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)))))) (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)))))) (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)))))) (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)))))) (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)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,int *param_2)

{
  if (param_2 == (int *)0x0) {
    return;
  }
  if (param_2[7] != 0) {
    FUN_00047bc4();
  }
  if (param_2[1] != 0) {
    FUN_00047d30(param_1);
  }
  if (param_2[2] != 0) {
    FUN_00047d30(param_1);
  }
  if (param_2[5] != 0) {
    FUN_00047bc4(param_1);
  }
  if (param_2[4] != 0) {
    FUN_00047bc4(param_1);
  }
  if (*param_2 != 0) {
    FUN_0002a924(param_1);
    FUN_0002a924(param_1,param_2);
    return;
  }
  FUN_0002a924(param_1,param_2);
  return;
}

