
void groupConcatValue(sqlite3_context *context)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(context,0);
  if (iVar1 == 0) {
    return;
  }
  if (*(char *)(iVar1 + 0x14) != '\x12') {
    if (*(char *)(iVar1 + 0x14) != '\a') {
      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);
                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(context);
  return;
}



void FUN_0005c510(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);
  if (iVar1 == 0) {
    return;
  }
  if (*(char *)(iVar1 + 0x14) != '\x12') {
    if (*(char *)(iVar1 + 0x14) != '\a') {
      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);
                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);
  return;
}


lui gp,0xa
addiu gp,gp,0xd90
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7df0(gp)
or a1,zero,zero
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
jalr t9
_or s0,a0,zero
beq v0,zero,0x0005c58c
_lw gp,0x10(sp)
lbu v1,0x14(v0)
li a0,0x12
beq v1,a0,0x0005c5b4
_li a0,0x7
beq v1,a0,0x0005c59c
_lw t9,-0x7e4c(gp)
jalr t9
_or a0,v0,zero
or a0,s0,zero
lw gp,0x10(sp)
li a3,-0x1
lw ra,0x1c(sp)
li a2,-0x1
lw s0,0x18(sp)
addiu sp,sp,0x20
lw t9,-0x7d30(gp)
jr t9
_or a1,v0,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7f24(gp)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7e08(gp)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void FUN_0005c510(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0005c510(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0005c510(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)" ( (pointer_expression "*(code *)PTR_sqlite3_aggregate_context_000f54b0" * (cast_expression "(code *)PTR_sqlite3_aggregate_context_000f54b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\x12')" ( (binary_expression "*(char *)(iVar1 + 0x14) != '\x12'" (pointer_expression "*(char *)(iVar1 + 0x14)" * (cast_expression "(char *)(iVar1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != (char_literal "'\x12'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }" { (if_statement "if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" if (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\a')" ( (binary_expression "*(char *)(iVar1 + 0x14) != '\a'" (pointer_expression "*(char *)(iVar1 + 0x14)" * (cast_expression "(char *)(iVar1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != (char_literal "'\a'" ' escape_sequence ')) )) (compound_statement "{\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" { (expression_statement "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" identifier = (call_expression "(*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_str_value_000f5454)" ( (pointer_expression "*(code *)PTR_sqlite3_str_value_000f5454" * (cast_expression "(code *)PTR_sqlite3_str_value_000f5454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) comment comment (expression_statement "(*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);" (call_expression "(*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_text_000f5570)" ( (pointer_expression "*(code *)PTR_sqlite3_result_text_000f5570" * (cast_expression "(code *)PTR_sqlite3_result_text_000f5570" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar2,0xffffffff,0xffffffff)" ( identifier , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);" (call_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)" ( (pointer_expression "*(code *)PTR_sqlite3_result_error_nomem_000f537c" * (cast_expression "(code *)PTR_sqlite3_result_error_nomem_000f537c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);" (call_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)" ( (pointer_expression "*(code *)PTR_sqlite3_result_error_toobig_000f5498" * (cast_expression "(code *)PTR_sqlite3_result_error_toobig_000f5498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void groupConcatValue(sqlite3_context *context)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(context,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(context);\n  return;\n}\n\n" (function_definition "void groupConcatValue(sqlite3_context *context)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(context,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(context);\n  return;\n}" primitive_type (function_declarator "groupConcatValue(sqlite3_context *context)" identifier (parameter_list "(sqlite3_context *context)" ( (parameter_declaration "sqlite3_context *context" type_identifier (pointer_declarator "*context" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(context,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(context);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(context,0);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(context,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)(context,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)" ( (pointer_expression "*(code *)PTR_sqlite3_aggregate_context_000f54b0" * (cast_expression "(code *)PTR_sqlite3_aggregate_context_000f54b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(context,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context);\n    return;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\x12')" ( (binary_expression "*(char *)(iVar1 + 0x14) != '\x12'" (pointer_expression "*(char *)(iVar1 + 0x14)" * (cast_expression "(char *)(iVar1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != (char_literal "'\x12'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context);\n    return;\n  }" { (if_statement "if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" if (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\a')" ( (binary_expression "*(char *)(iVar1 + 0x14) != '\a'" (pointer_expression "*(char *)(iVar1 + 0x14)" * (cast_expression "(char *)(iVar1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != (char_literal "'\a'" ' escape_sequence ')) )) (compound_statement "{\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" { (expression_statement "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" identifier = (call_expression "(*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_str_value_000f5454)" ( (pointer_expression "*(code *)PTR_sqlite3_str_value_000f5454" * (cast_expression "(code *)PTR_sqlite3_str_value_000f5454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) comment comment (expression_statement "(*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);" (call_expression "(*(code *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_text_000f5570)" ( (pointer_expression "*(code *)PTR_sqlite3_result_text_000f5570" * (cast_expression "(code *)PTR_sqlite3_result_text_000f5570" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(context,uVar2,0xffffffff,0xffffffff)" ( identifier , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context);" (call_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(context)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)" ( (pointer_expression "*(code *)PTR_sqlite3_result_error_nomem_000f537c" * (cast_expression "(code *)PTR_sqlite3_result_error_nomem_000f537c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(context)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(context);" (call_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(context)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)" ( (pointer_expression "*(code *)PTR_sqlite3_result_error_toobig_000f5498" * (cast_expression "(code *)PTR_sqlite3_result_error_toobig_000f5498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(context)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005c510(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0005c510(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0005c510(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)" ( (pointer_expression "*(code *)PTR_sqlite3_aggregate_context_000f54b0" * (cast_expression "(code *)PTR_sqlite3_aggregate_context_000f54b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\x12')" ( (binary_expression "*(char *)(iVar1 + 0x14) != '\x12'" (pointer_expression "*(char *)(iVar1 + 0x14)" * (cast_expression "(char *)(iVar1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != (char_literal "'\x12'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }" { (if_statement "if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" if (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\a')" ( (binary_expression "*(char *)(iVar1 + 0x14) != '\a'" (pointer_expression "*(char *)(iVar1 + 0x14)" * (cast_expression "(char *)(iVar1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) != (char_literal "'\a'" ' escape_sequence ')) )) (compound_statement "{\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" { (expression_statement "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" identifier = (call_expression "(*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_str_value_000f5454)" ( (pointer_expression "*(code *)PTR_sqlite3_str_value_000f5454" * (cast_expression "(code *)PTR_sqlite3_str_value_000f5454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);" (call_expression "(*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_text_000f5570)" ( (pointer_expression "*(code *)PTR_sqlite3_result_text_000f5570" * (cast_expression "(code *)PTR_sqlite3_result_text_000f5570" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar2,0xffffffff,0xffffffff)" ( identifier , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);" (call_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)" ( (pointer_expression "*(code *)PTR_sqlite3_result_error_nomem_000f537c" * (cast_expression "(code *)PTR_sqlite3_result_error_nomem_000f537c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);" (call_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)" ( (pointer_expression "*(code *)PTR_sqlite3_result_error_toobig_000f5498" * (cast_expression "(code *)PTR_sqlite3_result_error_toobig_000f5498" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , LIT ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005c510(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005c510(undefined4 param_1)" (identifier "FUN_0005c510") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);\n  if (iVar1 == 0) {\n    return;\n  }\n  if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);" (assignment_expression "iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_aggregate_context_000f54b0)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_aggregate_context_000f54b0" (* "*") (cast_expression "(code *)PTR_sqlite3_aggregate_context_000f54b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_aggregate_context_000f54b0"))) () ")")) (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(char *)(iVar1 + 0x14) != '\x12') {\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\x12')" (( "(") (binary_expression "*(char *)(iVar1 + 0x14) != '\x12'" (pointer_expression "*(char *)(iVar1 + 0x14)" (* "*") (cast_expression "(char *)(iVar1 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (char_literal "'\x12'" (' "'") (escape_sequence "\x12") (' "'"))) () ")")) (compound_statement "{\n    if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }\n                    \n                    \n    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);\n    return;\n  }" ({ "{") (if_statement "if (*(char *)(iVar1 + 0x14) != '\a') {\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar1 + 0x14) != '\a')" (( "(") (binary_expression "*(char *)(iVar1 + 0x14) != '\a'" (pointer_expression "*(char *)(iVar1 + 0x14)" (* "*") (cast_expression "(char *)(iVar1 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (char_literal "'\a'" (' "'") (escape_sequence "\a") (' "'"))) () ")")) (compound_statement "{\n      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);\n                    \n                    \n      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);\n      return;\n    }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_sqlite3_str_value_000f5454)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_str_value_000f5454)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_str_value_000f5454" (* "*") (cast_expression "(code *)PTR_sqlite3_str_value_000f5454" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_str_value_000f5454"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);" (call_expression "(*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_text_000f5570)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_result_text_000f5570" (* "*") (cast_expression "(code *)PTR_sqlite3_result_text_000f5570" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_result_text_000f5570"))) () ")")) (argument_list "(param_1,uVar2,0xffffffff,0xffffffff)" (( "(") (identifier "param_1") (, ",") (identifier "uVar2") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0xffffffff") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);" (call_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_nomem_000f537c)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_result_error_nomem_000f537c" (* "*") (cast_expression "(code *)PTR_sqlite3_result_error_nomem_000f537c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_result_error_nomem_000f537c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);" (call_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_result_error_toobig_000f5498)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_result_error_toobig_000f5498" (* "*") (cast_expression "(code *)PTR_sqlite3_result_error_toobig_000f5498" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_result_error_toobig_000f5498"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *context)

{
  int var_1;
  type_2 uVar2;
  
  var_1 = (*(type_3 *)PTR_sqlite3_aggregate_context_000f54b0)(context,0);
  if (var_1 == 0) {
    return;
  }
  if (*(char *)(var_1 + 0x14) != '\x12') {
    if (*(char *)(var_1 + 0x14) != '\a') {
      uVar2 = (*(type_3 *)PTR_sqlite3_str_value_000f5454)(var_1);
                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(type_3 *)PTR_sqlite3_result_text_000f5570)(context,uVar2,0xffffffff,0xffffffff);
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(type_3 *)PTR_sqlite3_result_error_nomem_000f537c)(context);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(type_3 *)PTR_sqlite3_result_error_toobig_000f5498)(context);
  return;
}


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

void MASKED(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_sqlite3_aggregate_context_000f54b0)(param_1,0);
  if (iVar1 == 0) {
    return;
  }
  if (*(char *)(iVar1 + 0x14) != '\x12') {
    if (*(char *)(iVar1 + 0x14) != '\a') {
      uVar2 = (*(code *)PTR_sqlite3_str_value_000f5454)(iVar1);
                    /* WARNING: Could not recover jumptable at 0x0005c584. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)PTR_sqlite3_result_text_000f5570)(param_1,uVar2,0xffffffff,0xffffffff);
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005c5ac. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_sqlite3_result_error_nomem_000f537c)(param_1);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x0005c5c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_sqlite3_result_error_toobig_000f5498)(param_1);
  return;
}

