
void * sqlite3_realloc64(void *pOld,sqlite3_uint64 n)

{
  int iVar1;
  void *pvVar2;
  undefined4 in_a1;
  undefined4 in_a2;
  undefined4 in_a3;
  
  iVar1 = sqlite3_initialize();
  if (iVar1 == 0) {
                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3);
    return pvVar2;
  }
  return (void *)0x0;
}



undefined4
sqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = sqlite3_initialize();
  if (iVar1 == 0) {
                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);
    return uVar2;
  }
  return 0;
}


lui gp,0x11
addiu gp,gp,-0x4030
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7e5c(gp)
sw gp,0x10(sp)
sw s3,0x20(sp)
or s3,a3,zero
sw s2,0x1c(sp)
or s2,a2,zero
sw s0,0x18(sp)
sw ra,0x24(sp)
bal 0x0004f11c
_or s0,a0,zero
bne v0,zero,0x0005764c
_lw gp,0x10(sp)
lw t9,-0x7ed8(gp)
or a3,s3,zero
lw ra,0x24(sp)
or a2,s2,zero
lw s3,0x20(sp)
or a0,s0,zero
lw s2,0x1c(sp)
addiu t9,t9,-0x3038
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x28
lw ra,0x24(sp)
or v0,zero,zero
lw s3,0x20(sp)
lw s2,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4\nsqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nsqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "sqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = sqlite3_initialize();" (assignment_expression "iVar1 = sqlite3_initialize()" identifier = (call_expression "sqlite3_initialize()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }" { comment comment (expression_statement "uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x3038)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x3038)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x3038)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x3038" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "void * sqlite3_realloc64(void *pOld,sqlite3_uint64 n)\n\n{\n  int iVar1;\n  void *pvVar2;\n  undefined4 in_a1;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3);\n    return pvVar2;\n  }\n  return (void *)0x0;\n}\n\n" (function_definition "void * sqlite3_realloc64(void *pOld,sqlite3_uint64 n)\n\n{\n  int iVar1;\n  void *pvVar2;\n  undefined4 in_a1;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3);\n    return pvVar2;\n  }\n  return (void *)0x0;\n}" primitive_type (pointer_declarator "* sqlite3_realloc64(void *pOld,sqlite3_uint64 n)" * (function_declarator "sqlite3_realloc64(void *pOld,sqlite3_uint64 n)" identifier (parameter_list "(void *pOld,sqlite3_uint64 n)" ( (parameter_declaration "void *pOld" primitive_type (pointer_declarator "*pOld" * identifier)) , (parameter_declaration "sqlite3_uint64 n" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  void *pvVar2;\n  undefined4 in_a1;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3);\n    return pvVar2;\n  }\n  return (void *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "undefined4 in_a1;" type_identifier identifier ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (expression_statement "iVar1 = sqlite3_initialize();" (assignment_expression "iVar1 = sqlite3_initialize()" identifier = (call_expression "sqlite3_initialize()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3);\n    return pvVar2;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3);\n    return pvVar2;\n  }" { comment comment (expression_statement "pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3);" (assignment_expression "pvVar2 = (void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3)" identifier = (cast_expression "(void *)(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(pOld,in_a1,in_a2,in_a3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x3038)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x3038)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x3038)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x3038" identifier + number_literal) )))) )) (argument_list "(pOld,in_a1,in_a2,in_a3)" ( identifier , identifier , identifier , identifier ))))) ;) (return_statement "return pvVar2;" return identifier ;) })) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4\nsqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nsqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "sqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = sqlite3_initialize();" (assignment_expression "iVar1 = sqlite3_initialize()" identifier = (call_expression "sqlite3_initialize()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }" { (expression_statement "uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x3038)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x3038)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x3038)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x3038" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4\nsqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "sqlite3_realloc64(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "sqlite3_realloc64") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = sqlite3_initialize();\n  if (iVar1 == 0) {\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = sqlite3_initialize();" (assignment_expression "iVar1 = sqlite3_initialize()" (identifier "iVar1") (= "=") (call_expression "sqlite3_initialize()" (identifier "sqlite3_initialize") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4)" (identifier "uVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x3038))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x3038)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x3038)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x3038)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x3038" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x3038")) () ")")))) () ")")) (argument_list "(param_1,param_2,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

void * function_1(void *pOld,type_1 n)

{
  int var_2;
  void *pvVar2;
  type_2 in_a1;
  type_2 in_a2;
  type_2 in_a3;
  
  var_2 = var_1();
  if (var_2 == 0) {
                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pvVar2 = (void *)(*(type_3 *)(var_3 + -0x3038))(pOld,in_a1,in_a2,in_a3);
    return pvVar2;
  }
  return (void *)0x0;
}


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

undefined4
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = sqlite3_initialize();
  if (iVar1 == 0) {
                    /* WARNING: Could not recover jumptable at 0x00057644. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (*(code *)(PTR_LAB_0015b6d8 + -0x3038))(param_1,param_2,param_3,param_4);
    return uVar2;
  }
  return 0;
}

