
void freeP4(sqlite3 *db,int p4type,void *p4)

{
  if (p4type + 0x11U < 0xb) {
                    /* WARNING: Could not emulate address calculation at 0x00032324 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()
    ;
    return;
  }
  return;
}



void FUN_00032300(undefined4 param_1,int param_2)

{
  if (param_2 + 0x11U < 0xb) {
                    /* WARNING: Could not emulate address calculation at 0x00032324 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();
    return;
  }
  return;
}


lui gp,0xd
addiu gp,gp,-0x5060
addu gp,gp,t9
addiu a1,a1,0x11
sltiu v1,a1,0xb
beq v1,zero,0x00032344
_lw v0,-0x7fcc(gp)
sll v1,a1,0x2
addiu v0,v0,-0x33e4
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw v0,0x1f8(a0)
beq v0,zero,0x000323d4
_lw t9,-0x7fb4(gp)
jr ra
_nop
lw v0,0x4(a2)
andi v0,v0,0x10
bne v0,zero,0x0003236c
_lw t9,-0x7fb4(gp)
jr ra
_nop
beq a2,zero,0x00032344
_lw t9,-0x7fb4(gp)
addiu t9,t9,-0x7728
b 0x000288d8
_or a1,a2,zero
lw t9,-0x7fb4(gp)
addiu t9,t9,-0x693c
b 0x000296c4
_or a1,a2,zero
lw v0,0x1f8(a0)
beq v0,zero,0x000323e0
_lw t9,-0x7fb4(gp)
addiu t9,t9,-0x69cc
b 0x00029634
_or a1,a2,zero
lw v0,0x1f8(a0)
bne v0,zero,0x0003235c
_nop
beq a2,zero,0x0003235c
_nop
lw v0,0x0(a2)
addiu v0,v0,-0x1
bne v0,zero,0x00032344
_sw v0,0x0(a2)
lw t9,-0x7fb4(gp)
addiu t9,t9,0x1718
b 0x00031718
_or a0,a2,zero
addiu t9,t9,0x2238
b 0x00032238
_or a0,a2,zero
lw t9,-0x7fb4(gp)
addiu t9,t9,-0x6be0
b 0x00029420
_or a0,a2,zero
(translation_unit "void FUN_00032300(undefined4 param_1,int param_2)\n\n{\n  if (param_2 + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00032300(undefined4 param_1,int param_2)\n\n{\n  if (param_2 + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00032300(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 (param_2 + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}" { (if_statement "if (param_2 + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }" if (parenthesized_expression "(param_2 + 0x11U < 0xb)" ( (binary_expression "param_2 + 0x11U < 0xb" (binary_expression "param_2 + 0x11U" identifier + number_literal) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" * (cast_expression "(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" ( (binary_expression "PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4" (binary_expression "PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4" identifier + (binary_expression "(param_2 + 0x11U) * 4" (parenthesized_expression "(param_2 + 0x11U)" ( (binary_expression "param_2 + 0x11U" identifier + number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void freeP4(sqlite3 *db,int p4type,void *p4)\n\n{\n  if (p4type + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()\n    ;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void freeP4(sqlite3 *db,int p4type,void *p4)\n\n{\n  if (p4type + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()\n    ;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "freeP4(sqlite3 *db,int p4type,void *p4)" identifier (parameter_list "(sqlite3 *db,int p4type,void *p4)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "int p4type" primitive_type identifier) , (parameter_declaration "void *p4" primitive_type (pointer_declarator "*p4" * identifier)) ))) (compound_statement "{\n  if (p4type + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()\n    ;\n    return;\n  }\n  return;\n}" { (if_statement "if (p4type + 0x11U < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()\n    ;\n    return;\n  }" if (parenthesized_expression "(p4type + 0x11U < 0xb)" ( (binary_expression "p4type + 0x11U < 0xb" (binary_expression "p4type + 0x11U" identifier + number_literal) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00032324 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()\n    ;\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()\n    ;" (call_expression "(*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4))" ( (binary_expression "&_gp + *(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)" * (cast_expression "(int *)(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4)" ( (binary_expression "PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4 + -0x33e4" (binary_expression "PTR_yy_shift_ofst_376__000f52d4 + (p4type + 0x11U) * 4" identifier + (binary_expression "(p4type + 0x11U) * 4" (parenthesized_expression "(p4type + 0x11U)" ( (binary_expression "p4type + 0x11U" identifier + number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00032300(undefined4 param_1,int param_2)\n\n{\n  if (param_2 + 0x11U < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00032300(undefined4 param_1,int param_2)\n\n{\n  if (param_2 + 0x11U < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00032300(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 (param_2 + 0x11U < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}" { (if_statement "if (param_2 + 0x11U < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }" if (parenthesized_expression "(param_2 + 0x11U < 0xb)" ( (binary_expression "param_2 + 0x11U < 0xb" (binary_expression "param_2 + 0x11U" identifier + number_literal) < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }" { (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" * (cast_expression "(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" ( (binary_expression "PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4" (binary_expression "PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4" identifier + (binary_expression "(param_2 + 0x11U) * 4" (parenthesized_expression "(param_2 + 0x11U)" ( (binary_expression "param_2 + 0x11U" identifier + number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (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 (binary_expression IDENT + LIT) < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) + LIT) ))))) )))) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00032300(undefined4 param_1,int param_2)\n\n{\n  if (param_2 + 0x11U < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00032300(undefined4 param_1,int param_2)" (identifier "FUN_00032300") (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 (param_2 + 0x11U < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (param_2 + 0x11U < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 + 0x11U < 0xb)" (( "(") (binary_expression "param_2 + 0x11U < 0xb" (binary_expression "param_2 + 0x11U" (identifier "param_2") (+ "+") (number_literal "0x11U")) (< "<") (number_literal "0xb")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" (* "*") (cast_expression "(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)" (( "(") (binary_expression "PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4" (binary_expression "PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4" (identifier "PTR_DAT_000f52d4") (+ "+") (binary_expression "(param_2 + 0x11U) * 4" (parenthesized_expression "(param_2 + 0x11U)" (( "(") (binary_expression "param_2 + 0x11U" (identifier "param_2") (+ "+") (number_literal "0x11U")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x33e4")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (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: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list))) (return_statement))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  if (param_2 + 0x11U < 0xb) {
                    /* WARNING: Could not emulate address calculation at 0x00032324 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000f52d4 + (param_2 + 0x11U) * 4 + -0x33e4)))();
    return;
  }
  return;
}

