
void zeroblobFunc(sqlite3_context *context,int argc,sqlite3_value **argv)

{
  uint uVar1;
  Mem *pMVar2;
  uint uVar3;
  uint uVar4;
  longlong lVar5;
  
  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*argv);
  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);
  pMVar2 = context->pOut;
  if (lVar5 < 0) {
                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0);
    return;
  }
  uVar3 = pMVar2->db->aLimit[0];
  uVar4 = (int)uVar3 >> 0x1f;
  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {
                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5);
    return;
  }
  sqlite3_result_error_code(context,0x12);
  return;
}



void FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  longlong lVar5;
  
  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);
  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);
  iVar2 = *param_1;
  if (lVar5 < 0) {
                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);
    return;
  }
  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);
  uVar4 = (int)uVar3 >> 0x1f;
  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {
                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);
    return;
  }
  sqlite3_result_error_code(param_1,0x12);
  return;
}


lui gp,0x12
addiu gp,gp,-0x5b94
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7d78(gp)
sw gp,0x10(sp)
addiu t9,t9,0x7f68
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x1c(sp)
jalr t9
_lw a0,0x0(a2)
lw gp,0x10(sp)
bltz v0,0x0007e54c
_lw a0,0x0(s0)
lw a1,0x20(a0)
lw a1,0x6c(a1)
sra a2,a1,0x1f
sltu a3,a2,v0
beq a3,zero,0x0007e520
_lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7f4c(gp)
li a1,0x12
lw s0,0x18(sp)
b 0x0007e434
_addiu sp,sp,0x20
bne v0,a2,0x0007e530
_sltu a1,a1,v1
bne a1,zero,0x0007e508
_lw ra,0x1c(sp)
lw t9,-0x7d78(gp)
or a1,v1,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
addiu t9,t9,-0x1dc4
jr t9
_addiu sp,sp,0x20
lw t9,-0x7d78(gp)
or a1,zero,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
addiu t9,t9,-0x1dc4
jr t9
_addiu sp,sp,0x20
(translation_unit "void FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}\n\n" (function_definition "void FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}" primitive_type (function_declarator "FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (expression_statement "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);" (assignment_expression "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7f68)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7f68)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7f68)" ( (binary_expression "PTR_LAB_00190ba8 + 0x7f68" identifier + number_literal) )))) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (expression_statement "uVar1 = (uint)((ulonglong)lVar5 >> 0x20);" (assignment_expression "uVar1 = (uint)((ulonglong)lVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }" if (parenthesized_expression "(lVar5 < 0)" ( (binary_expression "lVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }" { comment comment (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" ( (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" identifier + number_literal) )))) )) (argument_list "(iVar2,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);" (assignment_expression "uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" * (cast_expression "(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x20) + 0x6c)" ( (binary_expression "*(int *)(iVar2 + 0x20) + 0x6c" (pointer_expression "*(int *)(iVar2 + 0x20)" * (cast_expression "(int *)(iVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar4 = (int)uVar3 >> 0x1f;" (assignment_expression "uVar4 = (int)uVar3 >> 0x1f" identifier = (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }" if (parenthesized_expression "((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3))))" ( (binary_expression "(uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" (parenthesized_expression "(uVar1 <= uVar4)" ( (binary_expression "uVar1 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" ( (parenthesized_expression "(uVar1 != uVar4 || ((uint)lVar5 <= uVar3))" ( (binary_expression "uVar1 != uVar4 || ((uint)lVar5 <= uVar3)" (binary_expression "uVar1 != uVar4" identifier != identifier) || (parenthesized_expression "((uint)lVar5 <= uVar3)" ( (binary_expression "(uint)lVar5 <= uVar3" (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier) <= identifier) ))) )) ))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }" { comment comment (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" ( (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" identifier + number_literal) )))) )) (argument_list "(iVar2,(uint)lVar5)" ( identifier , (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "sqlite3_result_error_code(param_1,0x12);" (call_expression "sqlite3_result_error_code(param_1,0x12)" identifier (argument_list "(param_1,0x12)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void zeroblobFunc(sqlite3_context *context,int argc,sqlite3_value **argv)\n\n{\n  uint uVar1;\n  Mem *pMVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*argv);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  pMVar2 = context->pOut;\n  if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0);\n    return;\n  }\n  uVar3 = pMVar2->db->aLimit[0];\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(context,0x12);\n  return;\n}\n\n" (function_definition "void zeroblobFunc(sqlite3_context *context,int argc,sqlite3_value **argv)\n\n{\n  uint uVar1;\n  Mem *pMVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*argv);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  pMVar2 = context->pOut;\n  if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0);\n    return;\n  }\n  uVar3 = pMVar2->db->aLimit[0];\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(context,0x12);\n  return;\n}" primitive_type (function_declarator "zeroblobFunc(sqlite3_context *context,int argc,sqlite3_value **argv)" identifier (parameter_list "(sqlite3_context *context,int argc,sqlite3_value **argv)" ( (parameter_declaration "sqlite3_context *context" type_identifier (pointer_declarator "*context" * identifier)) , (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "sqlite3_value **argv" type_identifier (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  uint uVar1;\n  Mem *pMVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*argv);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  pMVar2 = context->pOut;\n  if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0);\n    return;\n  }\n  uVar3 = pMVar2->db->aLimit[0];\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(context,0x12);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Mem *pMVar2;" type_identifier (pointer_declarator "*pMVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (expression_statement "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*argv);" (assignment_expression "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*argv)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*argv)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7f68)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7f68)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7f68)" ( (binary_expression "PTR_LAB_00190ba8 + 0x7f68" identifier + number_literal) )))) )) (argument_list "(*argv)" ( (pointer_expression "*argv" * identifier) )))) ;) (expression_statement "uVar1 = (uint)((ulonglong)lVar5 >> 0x20);" (assignment_expression "uVar1 = (uint)((ulonglong)lVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pMVar2 = context->pOut;" (assignment_expression "pMVar2 = context->pOut" identifier = (field_expression "context->pOut" identifier -> field_identifier)) ;) (if_statement "if (lVar5 < 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0);\n    return;\n  }" if (parenthesized_expression "(lVar5 < 0)" ( (binary_expression "lVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0);\n    return;\n  }" { comment comment (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" ( (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" identifier + number_literal) )))) )) (argument_list "(pMVar2,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = pMVar2->db->aLimit[0];" (assignment_expression "uVar3 = pMVar2->db->aLimit[0]" identifier = (subscript_expression "pMVar2->db->aLimit[0]" (field_expression "pMVar2->db->aLimit" (field_expression "pMVar2->db" identifier -> field_identifier) -> field_identifier) [ number_literal ])) ;) (expression_statement "uVar4 = (int)uVar3 >> 0x1f;" (assignment_expression "uVar4 = (int)uVar3 >> 0x1f" identifier = (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5);\n    return;\n  }" if (parenthesized_expression "((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3))))" ( (binary_expression "(uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" (parenthesized_expression "(uVar1 <= uVar4)" ( (binary_expression "uVar1 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" ( (parenthesized_expression "(uVar1 != uVar4 || ((uint)lVar5 <= uVar3))" ( (binary_expression "uVar1 != uVar4 || ((uint)lVar5 <= uVar3)" (binary_expression "uVar1 != uVar4" identifier != identifier) || (parenthesized_expression "((uint)lVar5 <= uVar3)" ( (binary_expression "(uint)lVar5 <= uVar3" (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier) <= identifier) ))) )) ))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5);\n    return;\n  }" { comment comment (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(pMVar2,(uint)lVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" ( (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" identifier + number_literal) )))) )) (argument_list "(pMVar2,(uint)lVar5)" ( identifier , (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "sqlite3_result_error_code(context,0x12);" (call_expression "sqlite3_result_error_code(context,0x12)" identifier (argument_list "(context,0x12)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}\n\n" (function_definition "void FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}" primitive_type (function_declarator "FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (expression_statement "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);" (assignment_expression "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7f68)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7f68)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7f68)" ( (binary_expression "PTR_LAB_00190ba8 + 0x7f68" identifier + number_literal) )))) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (expression_statement "uVar1 = (uint)((ulonglong)lVar5 >> 0x20);" (assignment_expression "uVar1 = (uint)((ulonglong)lVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (lVar5 < 0) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }" if (parenthesized_expression "(lVar5 < 0)" ( (binary_expression "lVar5 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" ( (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" identifier + number_literal) )))) )) (argument_list "(iVar2,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);" (assignment_expression "uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" * (cast_expression "(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x20) + 0x6c)" ( (binary_expression "*(int *)(iVar2 + 0x20) + 0x6c" (pointer_expression "*(int *)(iVar2 + 0x20)" * (cast_expression "(int *)(iVar2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar4 = (int)uVar3 >> 0x1f;" (assignment_expression "uVar4 = (int)uVar3 >> 0x1f" identifier = (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }" if (parenthesized_expression "((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3))))" ( (binary_expression "(uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" (parenthesized_expression "(uVar1 <= uVar4)" ( (binary_expression "uVar1 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" ( (parenthesized_expression "(uVar1 != uVar4 || ((uint)lVar5 <= uVar3))" ( (binary_expression "uVar1 != uVar4 || ((uint)lVar5 <= uVar3)" (binary_expression "uVar1 != uVar4" identifier != identifier) || (parenthesized_expression "((uint)lVar5 <= uVar3)" ( (binary_expression "(uint)lVar5 <= uVar3" (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier) <= identifier) ))) )) ))) )) (compound_statement "{\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" ( (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" identifier + number_literal) )))) )) (argument_list "(iVar2,(uint)lVar5)" ( identifier , (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "sqlite3_result_error_code(param_1,0x12);" (call_expression "sqlite3_result_error_code(param_1,0x12)" identifier (argument_list "(param_1,0x12)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= IDENT) ))) )) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007e4b4(int *param_1,undefined4 param_2,undefined4 *param_3)" (identifier "FUN_0007e4b4") (parameter_list "(int *param_1,undefined4 param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  longlong lVar5;\n  \n  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);\n  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);\n  iVar2 = *param_1;\n  if (lVar5 < 0) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }\n  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);\n  uVar4 = (int)uVar3 >> 0x1f;\n  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }\n  sqlite3_result_error_code(param_1,0x12);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "longlong lVar5;" (type_identifier "longlong") (identifier "lVar5") (; ";")) (expression_statement "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);" (assignment_expression "lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3)" (identifier "lVar5") (= "=") (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7f68))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7f68)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7f68)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7f68)" (( "(") (binary_expression "PTR_LAB_00190ba8 + 0x7f68" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "0x7f68")) () ")")))) () ")")) (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")))) (; ";")) (expression_statement "uVar1 = (uint)((ulonglong)lVar5 >> 0x20);" (assignment_expression "uVar1 = (uint)((ulonglong)lVar5 >> 0x20)" (identifier "uVar1") (= "=") (call_expression "(uint)((ulonglong)lVar5 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)lVar5 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (lVar5 < 0) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }" (if "if") (parenthesized_expression "(lVar5 < 0)" (( "(") (binary_expression "lVar5 < 0" (identifier "lVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" (( "(") (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "-0x1dc4")) () ")")))) () ")")) (argument_list "(iVar2,0)" (( "(") (identifier "iVar2") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);" (assignment_expression "uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" (* "*") (cast_expression "(uint *)(*(int *)(iVar2 + 0x20) + 0x6c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x20) + 0x6c)" (( "(") (binary_expression "*(int *)(iVar2 + 0x20) + 0x6c" (pointer_expression "*(int *)(iVar2 + 0x20)" (* "*") (cast_expression "(int *)(iVar2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (expression_statement "uVar4 = (int)uVar3 >> 0x1f;" (assignment_expression "uVar4 = (int)uVar3 >> 0x1f" (identifier "uVar4") (= "=") (binary_expression "(int)uVar3 >> 0x1f" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (>> ">>") (number_literal "0x1f"))) (; ";")) (if_statement "if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }" (if "if") (parenthesized_expression "((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3))))" (( "(") (binary_expression "(uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" (parenthesized_expression "(uVar1 <= uVar4)" (( "(") (binary_expression "uVar1 <= uVar4" (identifier "uVar1") (<= "<=") (identifier "uVar4")) () ")")) (&& "&&") (parenthesized_expression "((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))" (( "(") (parenthesized_expression "(uVar1 != uVar4 || ((uint)lVar5 <= uVar3))" (( "(") (binary_expression "uVar1 != uVar4 || ((uint)lVar5 <= uVar3)" (binary_expression "uVar1 != uVar4" (identifier "uVar1") (!= "!=") (identifier "uVar4")) (|| "||") (parenthesized_expression "((uint)lVar5 <= uVar3)" (( "(") (binary_expression "(uint)lVar5 <= uVar3" (cast_expression "(uint)lVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar5")) (<= "<=") (identifier "uVar3")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x1dc4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x1dc4)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x1dc4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + -0x1dc4)" (( "(") (binary_expression "PTR_LAB_00190ba8 + -0x1dc4" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "-0x1dc4")) () ")")))) () ")")) (argument_list "(iVar2,(uint)lVar5)" (( "(") (identifier "iVar2") (, ",") (cast_expression "(uint)lVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar5")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "sqlite3_result_error_code(param_1,0x12);" (call_expression "sqlite3_result_error_code(param_1,0x12)" (identifier "sqlite3_result_error_code") (argument_list "(param_1,0x12)" (( "(") (identifier "param_1") (, ",") (number_literal "0x12") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *context,int argc,type_2 **argv)

{
  type_3 var_3;
  type_4 *pMVar2;
  type_3 var_5;
  type_3 var_4;
  type_5 var_2;
  
  var_2 = (*(type_6 *)(var_1 + 0x7f68))(*argv);
  var_3 = (type_3)((type_7)var_2 >> 0x20);
  pMVar2 = context->pOut;
  if (var_2 < 0) {
                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(type_6 *)(var_1 + -0x1dc4))(pMVar2,0);
    return;
  }
  var_5 = pMVar2->db->aLimit[0];
  var_4 = (int)var_5 >> 0x1f;
  if ((var_3 <= var_4) && ((var_3 != var_4 || ((type_3)var_2 <= var_5)))) {
                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(type_6 *)(var_1 + -0x1dc4))(pMVar2,(type_3)var_2);
    return;
  }
  var_6(context,0x12);
  return;
}


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

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

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  longlong lVar5;
  
  lVar5 = (*(code *)(PTR_LAB_00190ba8 + 0x7f68))(*param_3);
  uVar1 = (uint)((ulonglong)lVar5 >> 0x20);
  iVar2 = *param_1;
  if (lVar5 < 0) {
                    /* WARNING: Could not recover jumptable at 0x0007e560. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,0);
    return;
  }
  uVar3 = *(uint *)(*(int *)(iVar2 + 0x20) + 0x6c);
  uVar4 = (int)uVar3 >> 0x1f;
  if ((uVar1 <= uVar4) && ((uVar1 != uVar4 || ((uint)lVar5 <= uVar3)))) {
                    /* WARNING: Could not recover jumptable at 0x0007e544. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(PTR_LAB_00190ba8 + -0x1dc4))(iVar2,(uint)lVar5);
    return;
  }
  sqlite3_result_error_code(param_1,0x12);
  return;
}

