
int sqlite3_bind_parameter_index(sqlite3_stmt *pStmt,char *zName)

{
  int iVar1;
  
  if (pStmt == (sqlite3_stmt *)0x0) {
    return 0;
  }
  if (zName != (char *)0x0) {
    iVar1 = sqlite3Strlen30(zName);
    iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1);
    return iVar1;
  }
  return 0;
}



undefined4 sqlite3_bind_parameter_index(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
    return 0;
  }
  if (param_2 != 0) {
    uVar1 = FUN_0005b438(param_2);
    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);
    return uVar1;
  }
  return 0;
}


lui gp,0x13
addiu gp,gp,0x7870
addu gp,gp,t9
beq a0,zero,0x00060134
_nop
beq a1,zero,0x0006013c
_nop
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s0,a1,zero
or s1,a0,zero
or a0,a1,zero
lw t9,-0x7d50(gp)
addiu t9,t9,-0x4bc8
bal 0x0005b438
_nop
lw gp,0x10(sp)
or a2,v0,zero
or a1,s0,zero
lw a0,0x80(s1)
lw t9,-0x7d50(gp)
addiu t9,t9,-0x38
bal 0x0005ffc8
_nop
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_or v0,zero,zero
jr ra
_or v0,zero,zero
(translation_unit "undefined4 sqlite3_bind_parameter_index(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 sqlite3_bind_parameter_index(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "sqlite3_bind_parameter_index(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_0005b438(param_2);" (assignment_expression "uVar1 = FUN_0005b438(param_2)" identifier = (call_expression "FUN_0005b438(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);" (assignment_expression "uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" identifier = (call_expression "FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x80)" * (cast_expression "(undefined4 *)(param_1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) , identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int sqlite3_bind_parameter_index(sqlite3_stmt *pStmt,char *zName)\n\n{\n  int iVar1;\n  \n  if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }\n  if (zName != (char *)0x0) {\n    iVar1 = sqlite3Strlen30(zName);\n    iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1);\n    return iVar1;\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3_bind_parameter_index(sqlite3_stmt *pStmt,char *zName)\n\n{\n  int iVar1;\n  \n  if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }\n  if (zName != (char *)0x0) {\n    iVar1 = sqlite3Strlen30(zName);\n    iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1);\n    return iVar1;\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3_bind_parameter_index(sqlite3_stmt *pStmt,char *zName)" identifier (parameter_list "(sqlite3_stmt *pStmt,char *zName)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }\n  if (zName != (char *)0x0) {\n    iVar1 = sqlite3Strlen30(zName);\n    iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1);\n    return iVar1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (pStmt == (sqlite3_stmt *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(pStmt == (sqlite3_stmt *)0x0)" ( (binary_expression "pStmt == (sqlite3_stmt *)0x0" identifier == (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (zName != (char *)0x0) {\n    iVar1 = sqlite3Strlen30(zName);\n    iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1);\n    return iVar1;\n  }" if (parenthesized_expression "(zName != (char *)0x0)" ( (binary_expression "zName != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = sqlite3Strlen30(zName);\n    iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1);\n    return iVar1;\n  }" { (expression_statement "iVar1 = sqlite3Strlen30(zName);" (assignment_expression "iVar1 = sqlite3Strlen30(zName)" identifier = (call_expression "sqlite3Strlen30(zName)" identifier (argument_list "(zName)" ( identifier )))) ;) (expression_statement "iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1);" (assignment_expression "iVar1 = sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1)" identifier = (call_expression "sqlite3VListNameToNum(*(VList **)(pStmt + 0x80),zName,iVar1)" identifier (argument_list "(*(VList **)(pStmt + 0x80),zName,iVar1)" ( (pointer_expression "*(VList **)(pStmt + 0x80)" * (cast_expression "(VList **)(pStmt + 0x80)" ( (type_descriptor "VList **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pStmt + 0x80)" ( (binary_expression "pStmt + 0x80" identifier + number_literal) )))) , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 sqlite3_bind_parameter_index(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 sqlite3_bind_parameter_index(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "sqlite3_bind_parameter_index(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_0005b438(param_2);" (assignment_expression "uVar1 = FUN_0005b438(param_2)" identifier = (call_expression "FUN_0005b438(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);" (assignment_expression "uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" identifier = (call_expression "FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x80)" * (cast_expression "(undefined4 *)(param_1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) , identifier , identifier )))) ;) (return_statement "return uVar1;" 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) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 sqlite3_bind_parameter_index(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "sqlite3_bind_parameter_index(int param_1,int param_2)" (identifier "sqlite3_bind_parameter_index") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_0005b438(param_2);\n    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = FUN_0005b438(param_2);" (assignment_expression "uVar1 = FUN_0005b438(param_2)" (identifier "uVar1") (= "=") (call_expression "FUN_0005b438(param_2)" (identifier "FUN_0005b438") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);" (assignment_expression "uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" (identifier "uVar1") (= "=") (call_expression "FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" (identifier "FUN_0005ffc8") (argument_list "(*(undefined4 *)(param_1 + 0x80),param_2,uVar1)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x80)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x80)" (( "(") (binary_expression "param_1 + 0x80" (identifier "param_1") (+ "+") (number_literal "0x80")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "uVar1") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *var_1,char *var_2)

{
  int iVar1;
  
  if (var_1 == (type_1 *)0x0) {
    return 0;
  }
  if (var_2 != (char *)0x0) {
    iVar1 = var_3(var_2);
    iVar1 = var_4(*(type_2 **)(var_1 + 0x80),var_2,iVar1);
    return iVar1;
  }
  return 0;
}


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

undefined4 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
    return 0;
  }
  if (param_2 != 0) {
    uVar1 = FUN_0005b438(param_2);
    uVar1 = FUN_0005ffc8(*(undefined4 *)(param_1 + 0x80),param_2,uVar1);
    return uVar1;
  }
  return 0;
}

