
int sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,
                       _func_void_void_ptr *xDel)

{
  int iVar1;
  
  if ((nData._4_4_ == 0) && ((uint)nData < 0x80000000)) {
    iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0');
    return iVar1;
  }
  if (xDel + -1 < (code *)0xfffffffe) {
    (*xDel)(zData);
  }
  return 0x12;
}



undefined4
sqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,
                   int param_5,code *param_6)

{
  undefined4 uVar1;
  
  if ((param_5 == 0) && (param_4 < 0x80000000)) {
    uVar1 = FUN_0004ca20();
    return uVar1;
  }
  if (param_6 + -1 < (code *)0xfffffffe) {
    (*param_6)(param_3);
  }
  return 0x12;
}


PUSH ESI
PUSH EBX
SUB ESP,0x4
CMP dword ptr [ESP + 0x20],0x0
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [ESP + 0x1c]
MOV EBX,dword ptr [ESP + 0x24]
JNZ 0x0004cb88
CMP ESI,0x7fffffff
JBE 0x0004cba8
LEA EAX,[EBX + -0x1]
CMP EAX,-0x3
JA 0x0004cb99
SUB ESP,0xc
PUSH ECX
CALL EBX
ADD ESP,0x10
ADD ESP,0x4
MOV EAX,0x12
POP EBX
POP ESI
RET
MOV dword ptr [ESP + 0x14],EBX
MOV dword ptr [ESP + 0x10],ESI
MOV dword ptr [ESP + 0x18],0x0
ADD ESP,0x4
POP EBX
POP ESI
JMP 0x0004ca20
(translation_unit "undefined4\nsqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}\n\n" (function_definition "undefined4\nsqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}" type_identifier (function_declarator "sqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)" ( (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 "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "code *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }" if (parenthesized_expression "((param_5 == 0) && (param_4 < 0x80000000))" ( (binary_expression "(param_5 == 0) && (param_4 < 0x80000000)" (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_4 < 0x80000000)" ( (binary_expression "param_4 < 0x80000000" identifier < number_literal) ))) )) (compound_statement "{\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_0004ca20();" (assignment_expression "uVar1 = FUN_0004ca20()" identifier = (call_expression "FUN_0004ca20()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }" if (parenthesized_expression "(param_6 + -1 < (code *)0xfffffffe)" ( (binary_expression "param_6 + -1 < (code *)0xfffffffe" (binary_expression "param_6 + -1" identifier + number_literal) < (cast_expression "(code *)0xfffffffe" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*param_6)(param_3);\n  }" { (expression_statement "(*param_6)(param_3);" (call_expression "(*param_6)(param_3)" (parenthesized_expression "(*param_6)" ( (pointer_expression "*param_6" * identifier) )) (argument_list "(param_3)" ( identifier ))) ;) })) (return_statement "return 0x12;" return number_literal ;) })))
(translation_unit "int sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)\n\n{\n  int iVar1;\n  \n  if ((nData._4_4_ == 0) && ((uint)nData < 0x80000000)) {\n    iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0');\n    return iVar1;\n  }\n  if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n  }\n  return 0x12;\n}\n\n" (function_definition "int sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)\n\n{\n  int iVar1;\n  \n  if ((nData._4_4_ == 0) && ((uint)nData < 0x80000000)) {\n    iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0');\n    return iVar1;\n  }\n  if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n  }\n  return 0x12;\n}" primitive_type (function_declarator "sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)" identifier (parameter_list "(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "int i" primitive_type identifier) , (parameter_declaration "void *zData" primitive_type (pointer_declarator "*zData" * identifier)) , (parameter_declaration "sqlite3_uint64 nData" type_identifier identifier) , (parameter_declaration "_func_void_void_ptr *xDel" type_identifier (pointer_declarator "*xDel" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((nData._4_4_ == 0) && ((uint)nData < 0x80000000)) {\n    iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0');\n    return iVar1;\n  }\n  if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n  }\n  return 0x12;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((nData._4_4_ == 0) && ((uint)nData < 0x80000000)) {\n    iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0');\n    return iVar1;\n  }" if (parenthesized_expression "((nData._4_4_ == 0) && ((uint)nData < 0x80000000))" ( (binary_expression "(nData._4_4_ == 0) && ((uint)nData < 0x80000000)" (parenthesized_expression "(nData._4_4_ == 0)" ( (binary_expression "nData._4_4_ == 0" (field_expression "nData._4_4_" identifier . field_identifier) == number_literal) )) && (parenthesized_expression "((uint)nData < 0x80000000)" ( (binary_expression "(uint)nData < 0x80000000" (cast_expression "(uint)nData" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n    iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0');\n    return iVar1;\n  }" { (expression_statement "iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0');" (assignment_expression "iVar1 = bindText(pStmt,i,zData,(uint)nData,xDel,'\0')" identifier = (call_expression "bindText(pStmt,i,zData,(uint)nData,xDel,'\0')" identifier (argument_list "(pStmt,i,zData,(uint)nData,xDel,'\0')" ( identifier , identifier , identifier , (cast_expression "(uint)nData" ( (type_descriptor "uint" type_identifier) ) identifier) , identifier , (char_literal "'\0'" ' escape_sequence ') )))) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n  }" if (parenthesized_expression "(xDel + -1 < (code *)0xfffffffe)" ( (binary_expression "xDel + -1 < (code *)0xfffffffe" (binary_expression "xDel + -1" identifier + number_literal) < (cast_expression "(code *)0xfffffffe" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*xDel)(zData);\n  }" { (expression_statement "(*xDel)(zData);" (call_expression "(*xDel)(zData)" (parenthesized_expression "(*xDel)" ( (pointer_expression "*xDel" * identifier) )) (argument_list "(zData)" ( identifier ))) ;) })) (return_statement "return 0x12;" return number_literal ;) })))
(translation_unit "undefined4\nsqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}\n\n" (function_definition "undefined4\nsqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}" type_identifier (function_declarator "sqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)" ( (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 "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "code *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }" if (parenthesized_expression "((param_5 == 0) && (param_4 < 0x80000000))" ( (binary_expression "(param_5 == 0) && (param_4 < 0x80000000)" (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_4 < 0x80000000)" ( (binary_expression "param_4 < 0x80000000" identifier < number_literal) ))) )) (compound_statement "{\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_0004ca20();" (assignment_expression "uVar1 = FUN_0004ca20()" identifier = (call_expression "FUN_0004ca20()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }" if (parenthesized_expression "(param_6 + -1 < (code *)0xfffffffe)" ( (binary_expression "param_6 + -1 < (code *)0xfffffffe" (binary_expression "param_6 + -1" identifier + number_literal) < (cast_expression "(code *)0xfffffffe" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*param_6)(param_3);\n  }" { (expression_statement "(*param_6)(param_3);" (call_expression "(*param_6)(param_3)" (parenthesized_expression "(*param_6)" ( (pointer_expression "*param_6" * identifier) )) (argument_list "(param_3)" ( identifier ))) ;) })) (return_statement "return 0x12;" 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4\nsqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}" (type_identifier "undefined4") (function_declarator "sqlite3_bind_blob64(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)" (identifier "sqlite3_bind_blob64") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,\n                   int param_5,code *param_6)" (( "(") (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 "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "code *param_6" (type_identifier "code") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }\n  return 0x12;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if ((param_5 == 0) && (param_4 < 0x80000000)) {\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "((param_5 == 0) && (param_4 < 0x80000000))" (( "(") (binary_expression "(param_5 == 0) && (param_4 < 0x80000000)" (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_4 < 0x80000000)" (( "(") (binary_expression "param_4 < 0x80000000" (identifier "param_4") (< "<") (number_literal "0x80000000")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = FUN_0004ca20();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = FUN_0004ca20();" (assignment_expression "uVar1 = FUN_0004ca20()" (identifier "uVar1") (= "=") (call_expression "FUN_0004ca20()" (identifier "FUN_0004ca20") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n  }" (if "if") (parenthesized_expression "(param_6 + -1 < (code *)0xfffffffe)" (( "(") (binary_expression "param_6 + -1 < (code *)0xfffffffe" (binary_expression "param_6 + -1" (identifier "param_6") (+ "+") (number_literal "-1")) (< "<") (cast_expression "(code *)0xfffffffe" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfffffffe"))) () ")")) (compound_statement "{\n    (*param_6)(param_3);\n  }" ({ "{") (expression_statement "(*param_6)(param_3);" (call_expression "(*param_6)(param_3)" (parenthesized_expression "(*param_6)" (( "(") (pointer_expression "*param_6" (* "*") (identifier "param_6")) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (return_statement "return 0x12;" (return "return") (number_literal "0x12") (; ";")) (} "}")))

int function_1(type_1 *pStmt,int i,void *zData,type_2 nData,
                       type_3 *var_2)

{
  int iVar1;
  
  if ((nData._4_4_ == 0) && ((type_4)nData < 0x80000000)) {
    iVar1 = var_1(pStmt,i,zData,(type_4)nData,var_2,'\0');
    return iVar1;
  }
  if (var_2 + -1 < (type_5 *)0xfffffffe) {
    (*var_2)(zData);
  }
  return 0x12;
}


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

undefined4
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,
                   int param_5,code *param_6)

{
  undefined4 uVar1;
  
  if ((param_5 == 0) && (param_4 < 0x80000000)) {
    uVar1 = FUN_0004ca20();
    return uVar1;
  }
  if (param_6 + -1 < (code *)0xfffffffe) {
    (*param_6)(param_3);
  }
  return 0x12;
}

