
void minMaxValueFinalize(sqlite3_context *context,int bValue)

{
  sqlite3_value *pValue;
  
  pValue = (sqlite3_value *)sqlite3_aggregate_context(context,0);
  if (pValue != (sqlite3_value *)0x0) {
    if (pValue->flags == 0) {
      if (bValue != 0) {
        return;
      }
    }
    else {
      sqlite3_result_value(context,pValue);
      if (bValue != 0) {
        return;
      }
      if ((pValue->flags & 0x2400) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);
        return;
      }
    }
    if (pValue->szMalloc != 0) {
                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);
      return;
    }
  }
  return;
}



void FUN_0005c9d4(undefined4 param_1,int param_2)

{
  int iVar1;
  
  iVar1 = sqlite3_aggregate_context(param_1,0);
  if (iVar1 != 0) {
    if (*(short *)(iVar1 + 8) == 0) {
      if (param_2 != 0) {
        return;
      }
    }
    else {
      sqlite3_result_value(param_1,iVar1);
      if (param_2 != 0) {
        return;
      }
      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);
        return;
      }
    }
    if (*(int *)(iVar1 + 0x18) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);
      return;
    }
  }
  return;
}


lui gp,0x10
addiu gp,gp,0x7bdc
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7e44(gp)
sw s0,0x24(sp)
or s0,a1,zero
or a1,zero,zero
sw gp,0x10(sp)
sw s1,0x28(sp)
sw ra,0x2c(sp)
bal 0x000583ac
_or s1,a0,zero
beq v0,zero,0x0005ca64
_lw gp,0x10(sp)
lhu v1,0x8(v0)
bne v1,zero,0x0005ca4c
_lw t9,-0x7df4(gp)
bne s0,zero,0x0005ca68
_lw ra,0x2c(sp)
lw v1,0x18(v0)
beq v1,zero,0x0005ca68
_lw ra,0x2c(sp)
lw t9,-0x7ed4(gp)
or a0,v0,zero
lw s1,0x28(sp)
lw s0,0x24(sp)
addiu t9,t9,-0x47f4
jr t9
_addiu sp,sp,0x30
or a1,v0,zero
sw v0,0x1c(sp)
bal 0x0005c834
_or a0,s1,zero
beq s0,zero,0x0005ca78
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
lw v0,0x1c(sp)
lhu v1,0x8(v0)
andi v1,v1,0x2400
beq v1,zero,0x0005ca24
_lw t9,-0x7ed4(gp)
or a0,v0,zero
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
addiu t9,t9,-0x47f4
jr t9
_addiu sp,sp,0x30
(translation_unit "void FUN_0005c9d4(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0005c9d4(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0005c9d4(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = sqlite3_aggregate_context(param_1,0);" (assignment_expression "iVar1 = sqlite3_aggregate_context(param_1,0)" identifier = (call_expression "sqlite3_aggregate_context(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }" { (if_statement "if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" if (parenthesized_expression "(*(short *)(iVar1 + 8) == 0)" ( (binary_expression "*(short *)(iVar1 + 8) == 0" (pointer_expression "*(short *)(iVar1 + 8)" * (cast_expression "(short *)(iVar1 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (param_2 != 0) {\n        return;\n      }\n    }" { (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" else (compound_statement "{\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" { (expression_statement "sqlite3_result_value(param_1,iVar1);" (call_expression "sqlite3_result_value(param_1,iVar1)" identifier (argument_list "(param_1,iVar1)" ( identifier , identifier ))) ;) (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }" if (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) != 0)" ( (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) != 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" ( (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" * (cast_expression "(ushort *)(iVar1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }" { comment comment (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" ( (binary_expression "PTR_LAB_0015c6dc + -0x47f4" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }" { comment comment (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" ( (binary_expression "PTR_LAB_0015c6dc + -0x47f4" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void minMaxValueFinalize(sqlite3_context *context,int bValue)\n\n{\n  sqlite3_value *pValue;\n  \n  pValue = (sqlite3_value *)sqlite3_aggregate_context(context,0);\n  if (pValue != (sqlite3_value *)0x0) {\n    if (pValue->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }\n    if (pValue->szMalloc != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void minMaxValueFinalize(sqlite3_context *context,int bValue)\n\n{\n  sqlite3_value *pValue;\n  \n  pValue = (sqlite3_value *)sqlite3_aggregate_context(context,0);\n  if (pValue != (sqlite3_value *)0x0) {\n    if (pValue->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }\n    if (pValue->szMalloc != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "minMaxValueFinalize(sqlite3_context *context,int bValue)" identifier (parameter_list "(sqlite3_context *context,int bValue)" ( (parameter_declaration "sqlite3_context *context" type_identifier (pointer_declarator "*context" * identifier)) , (parameter_declaration "int bValue" primitive_type identifier) ))) (compound_statement "{\n  sqlite3_value *pValue;\n  \n  pValue = (sqlite3_value *)sqlite3_aggregate_context(context,0);\n  if (pValue != (sqlite3_value *)0x0) {\n    if (pValue->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }\n    if (pValue->szMalloc != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n      return;\n    }\n  }\n  return;\n}" { (declaration "sqlite3_value *pValue;" type_identifier (pointer_declarator "*pValue" * identifier) ;) (expression_statement "pValue = (sqlite3_value *)sqlite3_aggregate_context(context,0);" (assignment_expression "pValue = (sqlite3_value *)sqlite3_aggregate_context(context,0)" identifier = (cast_expression "(sqlite3_value *)sqlite3_aggregate_context(context,0)" ( (type_descriptor "sqlite3_value *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_aggregate_context(context,0)" identifier (argument_list "(context,0)" ( identifier , number_literal ))))) ;) (if_statement "if (pValue != (sqlite3_value *)0x0) {\n    if (pValue->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }\n    if (pValue->szMalloc != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n      return;\n    }\n  }" if (parenthesized_expression "(pValue != (sqlite3_value *)0x0)" ( (binary_expression "pValue != (sqlite3_value *)0x0" identifier != (cast_expression "(sqlite3_value *)0x0" ( (type_descriptor "sqlite3_value *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pValue->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }\n    if (pValue->szMalloc != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n      return;\n    }\n  }" { (if_statement "if (pValue->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }" if (parenthesized_expression "(pValue->flags == 0)" ( (binary_expression "pValue->flags == 0" (field_expression "pValue->flags" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      if (bValue != 0) {\n        return;\n      }\n    }" { (if_statement "if (bValue != 0) {\n        return;\n      }" if (parenthesized_expression "(bValue != 0)" ( (binary_expression "bValue != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }" else (compound_statement "{\n      sqlite3_result_value(context,pValue);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }\n    }" { (expression_statement "sqlite3_result_value(context,pValue);" (call_expression "sqlite3_result_value(context,pValue)" identifier (argument_list "(context,pValue)" ( identifier , identifier ))) ;) (if_statement "if (bValue != 0) {\n        return;\n      }" if (parenthesized_expression "(bValue != 0)" ( (binary_expression "bValue != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if ((pValue->flags & 0x2400) != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }" if (parenthesized_expression "((pValue->flags & 0x2400) != 0)" ( (binary_expression "(pValue->flags & 0x2400) != 0" (parenthesized_expression "(pValue->flags & 0x2400)" ( (binary_expression "pValue->flags & 0x2400" (field_expression "pValue->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n        return;\n      }" { comment comment (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" ( (binary_expression "PTR_LAB_0015c6dc + -0x47f4" identifier + number_literal) )))) )) (argument_list "(pValue)" ( identifier ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (pValue->szMalloc != 0) {\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n      return;\n    }" if (parenthesized_expression "(pValue->szMalloc != 0)" ( (binary_expression "pValue->szMalloc != 0" (field_expression "pValue->szMalloc" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);\n      return;\n    }" { comment comment (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(pValue)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" ( (binary_expression "PTR_LAB_0015c6dc + -0x47f4" identifier + number_literal) )))) )) (argument_list "(pValue)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005c9d4(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0005c9d4(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0005c9d4(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = sqlite3_aggregate_context(param_1,0);" (assignment_expression "iVar1 = sqlite3_aggregate_context(param_1,0)" identifier = (call_expression "sqlite3_aggregate_context(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }" { (if_statement "if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" if (parenthesized_expression "(*(short *)(iVar1 + 8) == 0)" ( (binary_expression "*(short *)(iVar1 + 8) == 0" (pointer_expression "*(short *)(iVar1 + 8)" * (cast_expression "(short *)(iVar1 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (param_2 != 0) {\n        return;\n      }\n    }" { (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" else (compound_statement "{\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" { (expression_statement "sqlite3_result_value(param_1,iVar1);" (call_expression "sqlite3_result_value(param_1,iVar1)" identifier (argument_list "(param_1,iVar1)" ( identifier , identifier ))) ;) (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }" if (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) != 0)" ( (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) != 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" ( (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" * (cast_expression "(ushort *)(iVar1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }" { (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" ( (binary_expression "PTR_LAB_0015c6dc + -0x47f4" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }" { (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" ( (binary_expression "PTR_LAB_0015c6dc + -0x47f4" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != 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 ))) ;) (return_statement return ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != 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 ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0005c9d4(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005c9d4(undefined4 param_1,int param_2)" (identifier "FUN_0005c9d4") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0);\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = sqlite3_aggregate_context(param_1,0);" (assignment_expression "iVar1 = sqlite3_aggregate_context(param_1,0)" (identifier "iVar1") (= "=") (call_expression "sqlite3_aggregate_context(param_1,0)" (identifier "sqlite3_aggregate_context") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }\n  }" ({ "{") (if_statement "if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(*(short *)(iVar1 + 8) == 0)" (( "(") (binary_expression "*(short *)(iVar1 + 8) == 0" (pointer_expression "*(short *)(iVar1 + 8)" (* "*") (cast_expression "(short *)(iVar1 + 8)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_2 != 0) {\n        return;\n      }\n    }" ({ "{") (if_statement "if (param_2 != 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      sqlite3_result_value(param_1,iVar1);\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }\n    }" ({ "{") (expression_statement "sqlite3_result_value(param_1,iVar1);" (call_expression "sqlite3_result_value(param_1,iVar1)" (identifier "sqlite3_result_value") (argument_list "(param_1,iVar1)" (( "(") (identifier "param_1") (, ",") (identifier "iVar1") () ")"))) (; ";")) (if_statement "if (param_2 != 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }" (if "if") (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) != 0)" (( "(") (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) != 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" (( "(") (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" (* "*") (cast_expression "(ushort *)(iVar1 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x2400")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n        return;\n      }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" (* "*") (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" (( "(") (binary_expression "PTR_LAB_0015c6dc + -0x47f4" (identifier "PTR_LAB_0015c6dc") (+ "+") (number_literal "-0x47f4")) () ")")))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);\n      return;\n    }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + -0x47f4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015c6dc + -0x47f4)" (* "*") (cast_expression "(code *)(PTR_LAB_0015c6dc + -0x47f4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015c6dc + -0x47f4)" (( "(") (binary_expression "PTR_LAB_0015c6dc + -0x47f4" (identifier "PTR_LAB_0015c6dc") (+ "+") (number_literal "-0x47f4")) () ")")))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) 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)))) (return_statement)))))) (if_statement condition: (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 (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)))) (return_statement))))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  
  iVar1 = sqlite3_aggregate_context(param_1,0);
  if (iVar1 != 0) {
    if (*(short *)(iVar1 + 8) == 0) {
      if (param_2 != 0) {
        return;
      }
    }
    else {
      sqlite3_result_value(param_1,iVar1);
      if (param_2 != 0) {
        return;
      }
      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0005caa0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);
        return;
      }
    }
    if (*(int *)(iVar1 + 0x18) != 0) {
                    /* WARNING: Could not recover jumptable at 0x0005ca44. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)(PTR_LAB_0015c6dc + -0x47f4))(iVar1);
      return;
    }
  }
  return;
}

