
void fts3DbExec(int *pRc,sqlite3 *db,char *zFormat,...)

{
  undefined *puVar1;
  sqlite3 *pRc_00;
  int iVar2;
  int iVar3;
  sqlite3 *psVar4;
  sqlite3_vfs *in_a3;
  undefined *puVar5;
  sqlite3_vfs *psStackX_c;
  va_list ap;
  
  puVar5 = PTR___stack_chk_guard_00190e24;
  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;
  psVar4 = (sqlite3 *)&psStackX_c;
  pRc_00 = (sqlite3 *)pRc;
  psStackX_c = in_a3;
  if (*pRc == 0) {
    pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();
    if (pRc_00 == (sqlite3 *)0x0) {
      *pRc = 7;
      pRc_00 = (sqlite3 *)zFormat;
      db = psVar4;
    }
    else {
      psVar4 = pRc_00;
      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);
      puVar1 = PTR_sqlite3_free_0019096c;
      *pRc = iVar2;
      (*(code *)puVar1)();
      db = psVar4;
    }
  }
  if (iVar3 == *(int *)puVar5) {
    return;
  }
  puVar5 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  fts3DbExec((int *)pRc_00,(sqlite3 *)db->mutex,(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4),
             db->aDb,db->nDb);
  if (pRc_00->pVfs == (sqlite3_vfs *)0x0) {
    *(undefined1 *)((int)&db->xUpdateCallback + 1) = 1;
  }
  return;
}



void FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)

{
  undefined *puVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int local_resc;
  
  puVar2 = PTR___stack_chk_guard_00190e24;
  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;
  piVar6 = &local_resc;
  local_resc = param_4;
  if (*param_1 == 0) {
    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();
    if (piVar3 == (int *)0x0) {
      *param_1 = 7;
      param_1 = param_3;
      param_2 = piVar6;
    }
    else {
      piVar6 = piVar3;
      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);
      puVar1 = PTR_sqlite3_free_0019096c;
      *param_1 = iVar4;
      (*(code *)puVar1)();
      param_1 = piVar3;
      param_2 = piVar6;
    }
  }
  if (iVar5 == *(int *)puVar2) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_00190df8)();
  FUN_00129084();
  if (*param_1 == 0) {
    *(undefined1 *)((int)param_2 + 0xe9) = 1;
  }
  return;
}


lui gp,0x7
addiu gp,gp,-0x764
addu gp,gp,t9
addiu sp,sp,-0x40
sw s0,0x2c(sp)
sw gp,0x18(sp)
sw ra,0x3c(sp)
sw s3,0x38(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
sw a3,0x4c(sp)
lw s0,-0x7afc(gp)
lw v0,0x0(a0)
lw v1,0x0(s0)
sw v1,0x24(sp)
beq v0,zero,0x001290f0
_addiu v0,sp,0x4c
lw v1,0x24(sp)
lw v0,0x0(s0)
bne v1,v0,0x0012915c
_lw ra,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7f58(gp)
or s1,a0,zero
or s3,a1,zero
sw v0,0x20(sp)
or a0,a2,zero
jalr t9
_or a1,v0,zero
lw gp,0x18(sp)
beq v0,zero,0x00129150
_or s2,v0,zero
lw t9,-0x7ed8(gp)
or a3,zero,zero
or a2,zero,zero
sw zero,0x10(sp)
or a0,s3,zero
jalr t9
_or a1,v0,zero
or a0,s2,zero
lw gp,0x18(sp)
lw t9,-0x7fb4(gp)
jalr t9
_sw v0,0x0(s1)
b 0x001290c8
_lw gp,0x18(sp)
li v0,0x7
b 0x001290c8
_sw v0,0x0(s1)
lw t9,-0x7b28(gp)
jalr t9
_nop
(translation_unit "void FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int local_resc;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar2 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar6 = &local_resc;" (assignment_expression "piVar6 = &local_resc" identifier = (pointer_expression "&local_resc" & identifier)) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (if_statement "if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" identifier = (cast_expression "(int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)()" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)" ( (pointer_expression "*(code *)PTR_sqlite3_vmprintf_001909c8" * (cast_expression "(code *)PTR_sqlite3_vmprintf_001909c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }" { (expression_statement "*param_1 = 7;" (assignment_expression "*param_1 = 7" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_3;" (assignment_expression "param_1 = param_3" identifier = identifier) ;) (expression_statement "param_2 = piVar6;" (assignment_expression "param_2 = piVar6" identifier = identifier) ;) }) (else_clause "else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" else (compound_statement "{\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" { (expression_statement "piVar6 = piVar3;" (assignment_expression "piVar6 = piVar3" identifier = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,piVar3,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "puVar1 = PTR_sqlite3_free_0019096c;" (assignment_expression "puVar1 = PTR_sqlite3_free_0019096c" identifier = identifier) ;) (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "param_1 = piVar3;" (assignment_expression "param_1 = piVar3" identifier = identifier) ;) (expression_statement "param_2 = piVar6;" (assignment_expression "param_2 = piVar6" identifier = identifier) ;) }))) })) (if_statement "if (iVar5 == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(iVar5 == *(int *)puVar2)" ( (binary_expression "iVar5 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "FUN_00129084();" (call_expression "FUN_00129084()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }" { (expression_statement "*(undefined1 *)((int)param_2 + 0xe9) = 1;" (assignment_expression "*(undefined1 *)((int)param_2 + 0xe9) = 1" (pointer_expression "*(undefined1 *)((int)param_2 + 0xe9)" * (cast_expression "(undefined1 *)((int)param_2 + 0xe9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xe9)" ( (binary_expression "(int)param_2 + 0xe9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void fts3DbExec(int *pRc,sqlite3 *db,char *zFormat,...)\n\n{\n  undefined *puVar1;\n  sqlite3 *pRc_00;\n  int iVar2;\n  int iVar3;\n  sqlite3 *psVar4;\n  sqlite3_vfs *in_a3;\n  undefined *puVar5;\n  sqlite3_vfs *psStackX_c;\n  va_list ap;\n  \n  puVar5 = PTR___stack_chk_guard_00190e24;\n  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;\n  psVar4 = (sqlite3 *)&psStackX_c;\n  pRc_00 = (sqlite3 *)pRc;\n  psStackX_c = in_a3;\n  if (*pRc == 0) {\n    pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (pRc_00 == (sqlite3 *)0x0) {\n      *pRc = 7;\n      pRc_00 = (sqlite3 *)zFormat;\n      db = psVar4;\n    }\n    else {\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }\n  }\n  if (iVar3 == *(int *)puVar5) {\n    return;\n  }\n  puVar5 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  fts3DbExec((int *)pRc_00,(sqlite3 *)db->mutex,(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4),\n             db->aDb,db->nDb);\n  if (pRc_00->pVfs == (sqlite3_vfs *)0x0) {\n    *(undefined1 *)((int)&db->xUpdateCallback + 1) = 1;\n  }\n  return;\n}\n\n" (function_definition "void fts3DbExec(int *pRc,sqlite3 *db,char *zFormat,...)\n\n{\n  undefined *puVar1;\n  sqlite3 *pRc_00;\n  int iVar2;\n  int iVar3;\n  sqlite3 *psVar4;\n  sqlite3_vfs *in_a3;\n  undefined *puVar5;\n  sqlite3_vfs *psStackX_c;\n  va_list ap;\n  \n  puVar5 = PTR___stack_chk_guard_00190e24;\n  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;\n  psVar4 = (sqlite3 *)&psStackX_c;\n  pRc_00 = (sqlite3 *)pRc;\n  psStackX_c = in_a3;\n  if (*pRc == 0) {\n    pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (pRc_00 == (sqlite3 *)0x0) {\n      *pRc = 7;\n      pRc_00 = (sqlite3 *)zFormat;\n      db = psVar4;\n    }\n    else {\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }\n  }\n  if (iVar3 == *(int *)puVar5) {\n    return;\n  }\n  puVar5 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  fts3DbExec((int *)pRc_00,(sqlite3 *)db->mutex,(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4),\n             db->aDb,db->nDb);\n  if (pRc_00->pVfs == (sqlite3_vfs *)0x0) {\n    *(undefined1 *)((int)&db->xUpdateCallback + 1) = 1;\n  }\n  return;\n}" primitive_type (function_declarator "fts3DbExec(int *pRc,sqlite3 *db,char *zFormat,...)" identifier (parameter_list "(int *pRc,sqlite3 *db,char *zFormat,...)" ( (parameter_declaration "int *pRc" primitive_type (pointer_declarator "*pRc" * identifier)) , (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char *zFormat" primitive_type (pointer_declarator "*zFormat" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  undefined *puVar1;\n  sqlite3 *pRc_00;\n  int iVar2;\n  int iVar3;\n  sqlite3 *psVar4;\n  sqlite3_vfs *in_a3;\n  undefined *puVar5;\n  sqlite3_vfs *psStackX_c;\n  va_list ap;\n  \n  puVar5 = PTR___stack_chk_guard_00190e24;\n  iVar3 = *(int *)PTR___stack_chk_guard_00190e24;\n  psVar4 = (sqlite3 *)&psStackX_c;\n  pRc_00 = (sqlite3 *)pRc;\n  psStackX_c = in_a3;\n  if (*pRc == 0) {\n    pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (pRc_00 == (sqlite3 *)0x0) {\n      *pRc = 7;\n      pRc_00 = (sqlite3 *)zFormat;\n      db = psVar4;\n    }\n    else {\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }\n  }\n  if (iVar3 == *(int *)puVar5) {\n    return;\n  }\n  puVar5 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  fts3DbExec((int *)pRc_00,(sqlite3 *)db->mutex,(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4),\n             db->aDb,db->nDb);\n  if (pRc_00->pVfs == (sqlite3_vfs *)0x0) {\n    *(undefined1 *)((int)&db->xUpdateCallback + 1) = 1;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "sqlite3 *pRc_00;" type_identifier (pointer_declarator "*pRc_00" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "sqlite3 *psVar4;" type_identifier (pointer_declarator "*psVar4" * identifier) ;) (declaration "sqlite3_vfs *in_a3;" type_identifier (pointer_declarator "*in_a3" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "sqlite3_vfs *psStackX_c;" type_identifier (pointer_declarator "*psStackX_c" * identifier) ;) (declaration "va_list ap;" type_identifier identifier ;) (expression_statement "puVar5 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar5 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "psVar4 = (sqlite3 *)&psStackX_c;" (assignment_expression "psVar4 = (sqlite3 *)&psStackX_c" identifier = (cast_expression "(sqlite3 *)&psStackX_c" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psStackX_c" & identifier))) ;) (expression_statement "pRc_00 = (sqlite3 *)pRc;" (assignment_expression "pRc_00 = (sqlite3 *)pRc" identifier = (cast_expression "(sqlite3 *)pRc" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "psStackX_c = in_a3;" (assignment_expression "psStackX_c = in_a3" identifier = identifier) ;) (if_statement "if (*pRc == 0) {\n    pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (pRc_00 == (sqlite3 *)0x0) {\n      *pRc = 7;\n      pRc_00 = (sqlite3 *)zFormat;\n      db = psVar4;\n    }\n    else {\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }\n  }" if (parenthesized_expression "(*pRc == 0)" ( (binary_expression "*pRc == 0" (pointer_expression "*pRc" * identifier) == number_literal) )) (compound_statement "{\n    pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (pRc_00 == (sqlite3 *)0x0) {\n      *pRc = 7;\n      pRc_00 = (sqlite3 *)zFormat;\n      db = psVar4;\n    }\n    else {\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }\n  }" { (expression_statement "pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();" (assignment_expression "pRc_00 = (sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" identifier = (cast_expression "(sqlite3 *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)()" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)" ( (pointer_expression "*(code *)PTR_sqlite3_vmprintf_001909c8" * (cast_expression "(code *)PTR_sqlite3_vmprintf_001909c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (pRc_00 == (sqlite3 *)0x0) {\n      *pRc = 7;\n      pRc_00 = (sqlite3 *)zFormat;\n      db = psVar4;\n    }\n    else {\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }" if (parenthesized_expression "(pRc_00 == (sqlite3 *)0x0)" ( (binary_expression "pRc_00 == (sqlite3 *)0x0" identifier == (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *pRc = 7;\n      pRc_00 = (sqlite3 *)zFormat;\n      db = psVar4;\n    }" { (expression_statement "*pRc = 7;" (assignment_expression "*pRc = 7" (pointer_expression "*pRc" * identifier) = number_literal) ;) (expression_statement "pRc_00 = (sqlite3 *)zFormat;" (assignment_expression "pRc_00 = (sqlite3 *)zFormat" identifier = (cast_expression "(sqlite3 *)zFormat" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "db = psVar4;" (assignment_expression "db = psVar4" identifier = identifier) ;) }) (else_clause "else {\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }" else (compound_statement "{\n      psVar4 = pRc_00;\n      iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *pRc = iVar2;\n      (*(code *)puVar1)();\n      db = psVar4;\n    }" { (expression_statement "psVar4 = pRc_00;" (assignment_expression "psVar4 = pRc_00" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0);" (assignment_expression "iVar2 = (*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(db,pRc_00,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(db,pRc_00,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "puVar1 = PTR_sqlite3_free_0019096c;" (assignment_expression "puVar1 = PTR_sqlite3_free_0019096c" identifier = identifier) ;) (expression_statement "*pRc = iVar2;" (assignment_expression "*pRc = iVar2" (pointer_expression "*pRc" * identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "db = psVar4;" (assignment_expression "db = psVar4" identifier = identifier) ;) }))) })) (if_statement "if (iVar3 == *(int *)puVar5) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar5)" ( (binary_expression "iVar3 == *(int *)puVar5" identifier == (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar5 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "fts3DbExec((int *)pRc_00,(sqlite3 *)db->mutex,(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4),\n             db->aDb,db->nDb);" (call_expression "fts3DbExec((int *)pRc_00,(sqlite3 *)db->mutex,(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4),\n             db->aDb,db->nDb)" identifier (argument_list "((int *)pRc_00,(sqlite3 *)db->mutex,(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4),\n             db->aDb,db->nDb)" ( (cast_expression "(int *)pRc_00" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(sqlite3 *)db->mutex" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "db->mutex" identifier -> field_identifier)) , (cast_expression "(char *)(*(int *)(puVar5 + 0x677f4) + -0x9d4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x677f4) + -0x9d4)" ( (binary_expression "*(int *)(puVar5 + 0x677f4) + -0x9d4" (pointer_expression "*(int *)(puVar5 + 0x677f4)" * (cast_expression "(int *)(puVar5 + 0x677f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x677f4)" ( (binary_expression "puVar5 + 0x677f4" identifier + number_literal) )))) + number_literal) ))) , (field_expression "db->aDb" identifier -> field_identifier) , (field_expression "db->nDb" identifier -> field_identifier) ))) ;) (if_statement "if (pRc_00->pVfs == (sqlite3_vfs *)0x0) {\n    *(undefined1 *)((int)&db->xUpdateCallback + 1) = 1;\n  }" if (parenthesized_expression "(pRc_00->pVfs == (sqlite3_vfs *)0x0)" ( (binary_expression "pRc_00->pVfs == (sqlite3_vfs *)0x0" (field_expression "pRc_00->pVfs" identifier -> field_identifier) == (cast_expression "(sqlite3_vfs *)0x0" ( (type_descriptor "sqlite3_vfs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(undefined1 *)((int)&db->xUpdateCallback + 1) = 1;\n  }" { (expression_statement "*(undefined1 *)((int)&db->xUpdateCallback + 1) = 1;" (assignment_expression "*(undefined1 *)((int)&db->xUpdateCallback + 1) = 1" (pointer_expression "*(undefined1 *)((int)&db->xUpdateCallback + 1)" * (cast_expression "(undefined1 *)((int)&db->xUpdateCallback + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&db->xUpdateCallback + 1)" ( (binary_expression "(int)&db->xUpdateCallback + 1" (cast_expression "(int)&db->xUpdateCallback" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&db->xUpdateCallback" & (field_expression "db->xUpdateCallback" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int local_resc;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar2 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar6 = &local_resc;" (assignment_expression "piVar6 = &local_resc" identifier = (pointer_expression "&local_resc" & identifier)) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (if_statement "if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" identifier = (cast_expression "(int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)()" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)" ( (pointer_expression "*(code *)PTR_sqlite3_vmprintf_001909c8" * (cast_expression "(code *)PTR_sqlite3_vmprintf_001909c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }" { (expression_statement "*param_1 = 7;" (assignment_expression "*param_1 = 7" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = param_3;" (assignment_expression "param_1 = param_3" identifier = identifier) ;) (expression_statement "param_2 = piVar6;" (assignment_expression "param_2 = piVar6" identifier = identifier) ;) }) (else_clause "else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" else (compound_statement "{\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" { (expression_statement "piVar6 = piVar3;" (assignment_expression "piVar6 = piVar3" identifier = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" * (cast_expression "(code *)PTR_sqlite3_exec_00190a48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,piVar3,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "puVar1 = PTR_sqlite3_free_0019096c;" (assignment_expression "puVar1 = PTR_sqlite3_free_0019096c" identifier = identifier) ;) (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "param_1 = piVar3;" (assignment_expression "param_1 = piVar3" identifier = identifier) ;) (expression_statement "param_2 = piVar6;" (assignment_expression "param_2 = piVar6" identifier = identifier) ;) }))) })) (if_statement "if (iVar5 == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(iVar5 == *(int *)puVar2)" ( (binary_expression "iVar5 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "FUN_00129084();" (call_expression "FUN_00129084()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }" { (expression_statement "*(undefined1 *)((int)param_2 + 0xe9) = 1;" (assignment_expression "*(undefined1 *)((int)param_2 + 0xe9) = 1" (pointer_expression "*(undefined1 *)((int)param_2 + 0xe9)" * (cast_expression "(undefined1 *)((int)param_2 + 0xe9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0xe9)" ( (binary_expression "(int)param_2 + 0xe9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00129084(int *param_1,int *param_2,int *param_3,int param_4)" (identifier "FUN_00129084") (parameter_list "(int *param_1,int *param_2,int *param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int local_resc;\n  \n  puVar2 = PTR___stack_chk_guard_00190e24;\n  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;\n  piVar6 = &local_resc;\n  local_resc = param_4;\n  if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }\n  if (iVar5 == *(int *)puVar2) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  FUN_00129084();\n  if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int local_resc;" (primitive_type "int") (identifier "local_resc") (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar2 = PTR___stack_chk_guard_00190e24" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_00190e24")) (; ";")) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_00190e24" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00190e24" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00190e24")))) (; ";")) (expression_statement "piVar6 = &local_resc;" (assignment_expression "piVar6 = &local_resc" (identifier "piVar6") (= "=") (pointer_expression "&local_resc" (& "&") (identifier "local_resc"))) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (*param_1 == 0) {\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();\n    if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }\n  }" ({ "{") (expression_statement "piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)()" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_001909c8)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_vmprintf_001909c8" (* "*") (cast_expression "(code *)PTR_sqlite3_vmprintf_001909c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_vmprintf_001909c8"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (piVar3 == (int *)0x0) {\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }\n    else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" (if "if") (parenthesized_expression "(piVar3 == (int *)0x0)" (( "(") (binary_expression "piVar3 == (int *)0x0" (identifier "piVar3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_1 = 7;\n      param_1 = param_3;\n      param_2 = piVar6;\n    }" ({ "{") (expression_statement "*param_1 = 7;" (assignment_expression "*param_1 = 7" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "7")) (; ";")) (expression_statement "param_1 = param_3;" (assignment_expression "param_1 = param_3" (identifier "param_1") (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_2 = piVar6;" (assignment_expression "param_2 = piVar6" (identifier "param_2") (= "=") (identifier "piVar6")) (; ";")) (} "}")) (else_clause "else {\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" (else "else") (compound_statement "{\n      piVar6 = piVar3;\n      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);\n      puVar1 = PTR_sqlite3_free_0019096c;\n      *param_1 = iVar4;\n      (*(code *)puVar1)();\n      param_1 = piVar3;\n      param_2 = piVar6;\n    }" ({ "{") (expression_statement "piVar6 = piVar3;" (assignment_expression "piVar6 = piVar3" (identifier "piVar6") (= "=") (identifier "piVar3")) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);" (assignment_expression "iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_00190a48)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_00190a48" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_00190a48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_00190a48"))) () ")")) (argument_list "(param_2,piVar3,0,0,0)" (( "(") (identifier "param_2") (, ",") (identifier "piVar3") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_sqlite3_free_0019096c;" (assignment_expression "puVar1 = PTR_sqlite3_free_0019096c" (identifier "puVar1") (= "=") (identifier "PTR_sqlite3_free_0019096c")) (; ";")) (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_1 = piVar3;" (assignment_expression "param_1 = piVar3" (identifier "param_1") (= "=") (identifier "piVar3")) (; ";")) (expression_statement "param_2 = piVar6;" (assignment_expression "param_2 = piVar6" (identifier "param_2") (= "=") (identifier "piVar6")) (; ";")) (} "}")))) (} "}"))) (if_statement "if (iVar5 == *(int *)puVar2) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar5 == *(int *)puVar2)" (( "(") (binary_expression "iVar5 == *(int *)puVar2" (identifier "iVar5") (== "==") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00190df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00190df8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00129084();" (call_expression "FUN_00129084()" (identifier "FUN_00129084") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*param_1 == 0) {\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 *)((int)param_2 + 0xe9) = 1;\n  }" ({ "{") (expression_statement "*(undefined1 *)((int)param_2 + 0xe9) = 1;" (assignment_expression "*(undefined1 *)((int)param_2 + 0xe9) = 1" (pointer_expression "*(undefined1 *)((int)param_2 + 0xe9)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 0xe9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0xe9)" (( "(") (binary_expression "(int)param_2 + 0xe9" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0xe9")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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) (identifier) (number_literal) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))))) (return_statement))))

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

{
  undefined *puVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int local_resc;
  
  puVar2 = PTR___stack_chk_guard_00190e24;
  iVar5 = *(int *)PTR___stack_chk_guard_00190e24;
  piVar6 = &local_resc;
  local_resc = param_4;
  if (*param_1 == 0) {
    piVar3 = (int *)(*(code *)PTR_sqlite3_vmprintf_001909c8)();
    if (piVar3 == (int *)0x0) {
      *param_1 = 7;
      param_1 = param_3;
      param_2 = piVar6;
    }
    else {
      piVar6 = piVar3;
      iVar4 = (*(code *)PTR_sqlite3_exec_00190a48)(param_2,piVar3,0,0,0);
      puVar1 = PTR_sqlite3_free_0019096c;
      *param_1 = iVar4;
      (*(code *)puVar1)();
      param_1 = piVar3;
      param_2 = piVar6;
    }
  }
  if (iVar5 == *(int *)puVar2) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_00190df8)();
  MASKED();
  if (*param_1 == 0) {
    *(undefined1 *)((int)param_2 + 0xe9) = 1;
  }
  return;
}

