
void sqlite3FreeIndex(sqlite3 *db,Index *p)

{
  if (p->pPartIdxWhere != (Expr *)0x0) {
    sqlite3ExprDeleteNN(db,p->pPartIdxWhere);
  }
  if (p->aColExpr != (ExprList *)0x0) {
                    /* WARNING: Subroutine does not return */
    exprListDeleteNN(db,p->aColExpr);
  }
  if (p->zColAff != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    sqlite3DbFreeNN(db,p->zColAff);
  }
  FUN_0004812c();
  return;
}



void FUN_000480a8(undefined4 param_1,int param_2)

{
  if (*(int *)(param_2 + 0x24) != 0) {
    FUN_00047bc4();
  }
  if (*(int *)(param_2 + 0x28) != 0) {
    FUN_00047d30(param_1);
  }
  if (*(int *)(param_2 + 0x10) != 0) {
    FUN_0002a924(param_1);
  }
  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {
    FUN_0002a924(param_1);
  }
  FUN_0002a924(param_1,param_2);
  return;
}


lui gp,0x12
addiu gp,gp,-0x4af8
addu gp,gp,t9
addiu sp,sp,-0x28
sw s2,0x20(sp)
sw s0,0x18(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x1c(sp)
lw a1,0x24(a1)
beq a1,zero,0x000480f0
_or s2,a0,zero
lw t9,-0x7ef0(gp)
addiu t9,t9,0x7bc4
bal 0x00047bc4
_nop
lw gp,0x10(sp)
lw a1,0x28(s0)
beq a1,zero,0x0004810c
_lw t9,-0x7ef0(gp)
addiu t9,t9,0x7d30
bal 0x00047d30
_or a0,s2,zero
lw gp,0x10(sp)
lw a1,0x10(s0)
beq a1,zero,0x00048178
_lw s1,-0x7ed8(gp)
addiu s1,s1,-0x56dc
or t9,s1,zero
bal 0x0002a924
_or a0,s2,zero
lw gp,0x10(sp)
lbu v0,0x37(s0)
andi v0,v0,0x8
beq v0,zero,0x00048158
_lw ra,0x24(sp)
lw a1,0x20(s0)
beq a1,zero,0x00048158
_or t9,s1,zero
bal 0x0002a924
_or a0,s2,zero
lw gp,0x10(sp)
lw ra,0x24(sp)
or a1,s0,zero
or a0,s2,zero
lw s0,0x18(sp)
lw s2,0x20(sp)
or t9,s1,zero
lw s1,0x1c(sp)
b 0x0002a924
_addiu sp,sp,0x28
b 0x0004812c
_addiu s1,s1,-0x56dc
(translation_unit "void FUN_000480a8(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_000480a8(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_000480a8(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" { (if_statement "if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x24) != 0)" ( (binary_expression "*(int *)(param_2 + 0x24) != 0" (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" 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 (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x28) != 0)" ( (binary_expression "*(int *)(param_2 + 0x28) != 0" (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" 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 (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x10) != 0)" ( (binary_expression "*(int *)(param_2 + 0x10) != 0" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) != 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 (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }" if (parenthesized_expression "(((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0))" ( (binary_expression "((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)" (parenthesized_expression "((*(byte *)(param_2 + 0x37) & 8) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x37) & 8) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x37) & 8)" ( (binary_expression "*(byte *)(param_2 + 0x37) & 8" (pointer_expression "*(byte *)(param_2 + 0x37)" * (cast_expression "(byte *)(param_2 + 0x37)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x37)" ( (binary_expression "param_2 + 0x37" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x20) != 0)" ( (binary_expression "*(int *)(param_2 + 0x20) != 0" (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) != 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 ))) ;) })) (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 sqlite3FreeIndex(sqlite3 *db,Index *p)\n\n{\n  if (p->pPartIdxWhere != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pPartIdxWhere);\n  }\n  if (p->aColExpr != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->aColExpr);\n  }\n  if (p->zColAff != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zColAff);\n  }\n  FUN_0004812c();\n  return;\n}\n\n" (function_definition "void sqlite3FreeIndex(sqlite3 *db,Index *p)\n\n{\n  if (p->pPartIdxWhere != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pPartIdxWhere);\n  }\n  if (p->aColExpr != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->aColExpr);\n  }\n  if (p->zColAff != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zColAff);\n  }\n  FUN_0004812c();\n  return;\n}" primitive_type (function_declarator "sqlite3FreeIndex(sqlite3 *db,Index *p)" identifier (parameter_list "(sqlite3 *db,Index *p)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Index *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  if (p->pPartIdxWhere != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pPartIdxWhere);\n  }\n  if (p->aColExpr != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->aColExpr);\n  }\n  if (p->zColAff != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zColAff);\n  }\n  FUN_0004812c();\n  return;\n}" { (if_statement "if (p->pPartIdxWhere != (Expr *)0x0) {\n    sqlite3ExprDeleteNN(db,p->pPartIdxWhere);\n  }" if (parenthesized_expression "(p->pPartIdxWhere != (Expr *)0x0)" ( (binary_expression "p->pPartIdxWhere != (Expr *)0x0" (field_expression "p->pPartIdxWhere" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3ExprDeleteNN(db,p->pPartIdxWhere);\n  }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pPartIdxWhere);" (call_expression "sqlite3ExprDeleteNN(db,p->pPartIdxWhere)" identifier (argument_list "(db,p->pPartIdxWhere)" ( identifier , (field_expression "p->pPartIdxWhere" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->aColExpr != (ExprList *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    exprListDeleteNN(db,p->aColExpr);\n  }" if (parenthesized_expression "(p->aColExpr != (ExprList *)0x0)" ( (binary_expression "p->aColExpr != (ExprList *)0x0" (field_expression "p->aColExpr" 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->aColExpr);\n  }" { comment (expression_statement "exprListDeleteNN(db,p->aColExpr);" (call_expression "exprListDeleteNN(db,p->aColExpr)" identifier (argument_list "(db,p->aColExpr)" ( identifier , (field_expression "p->aColExpr" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->zColAff != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zColAff);\n  }" if (parenthesized_expression "(p->zColAff != (char *)0x0)" ( (binary_expression "p->zColAff != (char *)0x0" (field_expression "p->zColAff" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    sqlite3DbFreeNN(db,p->zColAff);\n  }" { comment (expression_statement "sqlite3DbFreeNN(db,p->zColAff);" (call_expression "sqlite3DbFreeNN(db,p->zColAff)" identifier (argument_list "(db,p->zColAff)" ( identifier , (field_expression "p->zColAff" identifier -> field_identifier) ))) ;) })) (expression_statement "FUN_0004812c();" (call_expression "FUN_0004812c()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000480a8(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_000480a8(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_000480a8(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" { (if_statement "if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x24) != 0)" ( (binary_expression "*(int *)(param_2 + 0x24) != 0" (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" 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 (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x28) != 0)" ( (binary_expression "*(int *)(param_2 + 0x28) != 0" (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" 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 (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x10) != 0)" ( (binary_expression "*(int *)(param_2 + 0x10) != 0" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) != 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 (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }" if (parenthesized_expression "(((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0))" ( (binary_expression "((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)" (parenthesized_expression "((*(byte *)(param_2 + 0x37) & 8) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x37) & 8) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x37) & 8)" ( (binary_expression "*(byte *)(param_2 + 0x37) & 8" (pointer_expression "*(byte *)(param_2 + 0x37)" * (cast_expression "(byte *)(param_2 + 0x37)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x37)" ( (binary_expression "param_2 + 0x37" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x20) != 0)" ( (binary_expression "*(int *)(param_2 + 0x20) != 0" (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) != 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 ))) ;) })) (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 IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000480a8(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000480a8(undefined4 param_1,int param_2)" (identifier "FUN_000480a8") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }\n  if (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }\n  if (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }\n  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }\n  FUN_0002a924(param_1,param_2);\n  return;\n}" ({ "{") (if_statement "if (*(int *)(param_2 + 0x24) != 0) {\n    FUN_00047bc4();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x24) != 0" (pointer_expression "*(int *)(param_2 + 0x24)" (* "*") (cast_expression "(int *)(param_2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (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 (*(int *)(param_2 + 0x28) != 0) {\n    FUN_00047d30(param_1);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x28) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x28) != 0" (pointer_expression "*(int *)(param_2 + 0x28)" (* "*") (cast_expression "(int *)(param_2 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (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 (*(int *)(param_2 + 0x10) != 0) {\n    FUN_0002a924(param_1);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x10) != 0" (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (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 (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {\n    FUN_0002a924(param_1);\n  }" (if "if") (parenthesized_expression "(((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0))" (( "(") (binary_expression "((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)" (parenthesized_expression "((*(byte *)(param_2 + 0x37) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x37) & 8) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x37) & 8)" (( "(") (binary_expression "*(byte *)(param_2 + 0x37) & 8" (pointer_expression "*(byte *)(param_2 + 0x37)" (* "*") (cast_expression "(byte *)(param_2 + 0x37)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x37)" (( "(") (binary_expression "param_2 + 0x37" (identifier "param_2") (+ "+") (number_literal "0x37")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2 + 0x20) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x20) != 0" (pointer_expression "*(int *)(param_2 + 0x20)" (* "*") (cast_expression "(int *)(param_2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (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") () ")"))) (; ";")) (} "}"))) (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 *p)

{
  if (p->pPartIdxWhere != (type_3 *)0x0) {
    var_1(db,p->pPartIdxWhere);
  }
  if (p->aColExpr != (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2(db,p->aColExpr);
  }
  if (p->zColAff != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3(db,p->zColAff);
  }
  var_4();
  return;
}


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

void MASKED(undefined4 param_1,int param_2)

{
  if (*(int *)(param_2 + 0x24) != 0) {
    FUN_00047bc4();
  }
  if (*(int *)(param_2 + 0x28) != 0) {
    FUN_00047d30(param_1);
  }
  if (*(int *)(param_2 + 0x10) != 0) {
    FUN_0002a924(param_1);
  }
  if (((*(byte *)(param_2 + 0x37) & 8) != 0) && (*(int *)(param_2 + 0x20) != 0)) {
    FUN_0002a924(param_1);
  }
  FUN_0002a924(param_1,param_2);
  return;
}

