
int sessionBindValue(sqlite3_stmt *pStmt,int i,sqlite3_value *pVal)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(pVal);
  if ((iVar1 - 3U < 2) && (pVal->z == (char *)0x0)) {
    return 7;
  }
  iVar1 = sqlite3_bind_value(pStmt,i,pVal);
  return iVar1;
}



undefined4 FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);
  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {
    return 7;
  }
  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);
  return uVar2;
}


lui gp,0xf
addiu gp,gp,0x3c78
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7fb8(gp)
sw gp,0x10(sp)
sw s2,0x20(sp)
or s2,a1,zero
sw s1,0x1c(sp)
or s1,a0,zero
sw s0,0x18(sp)
or a0,a2,zero
sw ra,0x24(sp)
jalr t9
_or s0,a2,zero
addiu v0,v0,-0x3
sltiu v0,v0,0x2
beq v0,zero,0x0006f990
_lw gp,0x10(sp)
lw v0,0x10(s0)
beq v0,zero,0x0006f9b8
_lw ra,0x24(sp)
lw ra,0x24(sp)
or a2,s0,zero
or a1,s2,zero
lw s0,0x18(sp)
lw s2,0x20(sp)
or a0,s1,zero
lw t9,-0x7da4(gp)
lw s1,0x1c(sp)
b 0x0006f7dc
_addiu sp,sp,0x28
li v0,0x7
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3)" identifier = (call_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)" ( (pointer_expression "*(code *)PTR_sqlite3_value_type_0015b5f8" * (cast_expression "(code *)PTR_sqlite3_value_type_0015b5f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }" if (parenthesized_expression "((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0))" ( (binary_expression "(iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)" (parenthesized_expression "(iVar1 - 3U < 2)" ( (binary_expression "iVar1 - 3U < 2" (binary_expression "iVar1 - 3U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(*(int *)(param_3 + 0x10) == 0)" ( (binary_expression "*(int *)(param_3 + 0x10) == 0" (pointer_expression "*(int *)(param_3 + 0x10)" * (cast_expression "(int *)(param_3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    return 7;\n  }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "uVar2 = sqlite3_bind_value(param_1,param_2,param_3);" (assignment_expression "uVar2 = sqlite3_bind_value(param_1,param_2,param_3)" identifier = (call_expression "sqlite3_bind_value(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int sessionBindValue(sqlite3_stmt *pStmt,int i,sqlite3_value *pVal)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(pVal);\n  if ((iVar1 - 3U < 2) && (pVal->z == (char *)0x0)) {\n    return 7;\n  }\n  iVar1 = sqlite3_bind_value(pStmt,i,pVal);\n  return iVar1;\n}\n\n" (function_definition "int sessionBindValue(sqlite3_stmt *pStmt,int i,sqlite3_value *pVal)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(pVal);\n  if ((iVar1 - 3U < 2) && (pVal->z == (char *)0x0)) {\n    return 7;\n  }\n  iVar1 = sqlite3_bind_value(pStmt,i,pVal);\n  return iVar1;\n}" primitive_type (function_declarator "sessionBindValue(sqlite3_stmt *pStmt,int i,sqlite3_value *pVal)" identifier (parameter_list "(sqlite3_stmt *pStmt,int i,sqlite3_value *pVal)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "int i" primitive_type identifier) , (parameter_declaration "sqlite3_value *pVal" type_identifier (pointer_declarator "*pVal" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(pVal);\n  if ((iVar1 - 3U < 2) && (pVal->z == (char *)0x0)) {\n    return 7;\n  }\n  iVar1 = sqlite3_bind_value(pStmt,i,pVal);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(pVal);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(pVal)" identifier = (call_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)(pVal)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)" ( (pointer_expression "*(code *)PTR_sqlite3_value_type_0015b5f8" * (cast_expression "(code *)PTR_sqlite3_value_type_0015b5f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pVal)" ( identifier )))) ;) (if_statement "if ((iVar1 - 3U < 2) && (pVal->z == (char *)0x0)) {\n    return 7;\n  }" if (parenthesized_expression "((iVar1 - 3U < 2) && (pVal->z == (char *)0x0))" ( (binary_expression "(iVar1 - 3U < 2) && (pVal->z == (char *)0x0)" (parenthesized_expression "(iVar1 - 3U < 2)" ( (binary_expression "iVar1 - 3U < 2" (binary_expression "iVar1 - 3U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(pVal->z == (char *)0x0)" ( (binary_expression "pVal->z == (char *)0x0" (field_expression "pVal->z" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    return 7;\n  }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "iVar1 = sqlite3_bind_value(pStmt,i,pVal);" (assignment_expression "iVar1 = sqlite3_bind_value(pStmt,i,pVal)" identifier = (call_expression "sqlite3_bind_value(pStmt,i,pVal)" identifier (argument_list "(pStmt,i,pVal)" ( identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3)" identifier = (call_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)" ( (pointer_expression "*(code *)PTR_sqlite3_value_type_0015b5f8" * (cast_expression "(code *)PTR_sqlite3_value_type_0015b5f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }" if (parenthesized_expression "((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0))" ( (binary_expression "(iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)" (parenthesized_expression "(iVar1 - 3U < 2)" ( (binary_expression "iVar1 - 3U < 2" (binary_expression "iVar1 - 3U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(*(int *)(param_3 + 0x10) == 0)" ( (binary_expression "*(int *)(param_3 + 0x10) == 0" (pointer_expression "*(int *)(param_3 + 0x10)" * (cast_expression "(int *)(param_3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    return 7;\n  }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "uVar2 = sqlite3_bind_value(param_1,param_2,param_3);" (assignment_expression "uVar2 = sqlite3_bind_value(param_1,param_2,param_3)" identifier = (call_expression "sqlite3_bind_value(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - 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 { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0006f938(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_0006f938") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);\n  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }\n  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_type_0015b5f8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_value_type_0015b5f8" (* "*") (cast_expression "(code *)PTR_sqlite3_value_type_0015b5f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_value_type_0015b5f8"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (if_statement "if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {\n    return 7;\n  }" (if "if") (parenthesized_expression "((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0))" (( "(") (binary_expression "(iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)" (parenthesized_expression "(iVar1 - 3U < 2)" (( "(") (binary_expression "iVar1 - 3U < 2" (binary_expression "iVar1 - 3U" (identifier "iVar1") (- "-") (number_literal "3U")) (< "<") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_3 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x10) == 0" (pointer_expression "*(int *)(param_3 + 0x10)" (* "*") (cast_expression "(int *)(param_3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x10)" (( "(") (binary_expression "param_3 + 0x10" (identifier "param_3") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    return 7;\n  }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (expression_statement "uVar2 = sqlite3_bind_value(param_1,param_2,param_3);" (assignment_expression "uVar2 = sqlite3_bind_value(param_1,param_2,param_3)" (identifier "uVar2") (= "=") (call_expression "sqlite3_bind_value(param_1,param_2,param_3)" (identifier "sqlite3_bind_value") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(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: (primitive_type) 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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) 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 (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (return_statement (identifier)))))

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

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_sqlite3_value_type_0015b5f8)(param_3);
  if ((iVar1 - 3U < 2) && (*(int *)(param_3 + 0x10) == 0)) {
    return 7;
  }
  uVar2 = sqlite3_bind_value(param_1,param_2,param_3);
  return uVar2;
}

