
int fts5ExecPrintf(sqlite3 *db,char **pzErr,char *zFormat,...)

{
  undefined4 *puVar1;
  int *piVar2;
  int iVar3;
  int *piVar4;
  int in_a3;
  undefined *puVar5;
  int iStackX_c;
  va_list ap;
  
  puVar5 = PTR___stack_chk_guard_0015ba2c;
  piVar4 = &iStackX_c;
  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;
  iStackX_c = in_a3;
  piVar2 = (int *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat);
  if (piVar2 == (int *)0x0) {
    iVar3 = 7;
  }
  else {
    in_a3 = 0;
    zFormat = (char *)0x0;
    piVar4 = piVar2;
    iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);
    (*(code *)PTR_sqlite3_free_0015b620)(piVar2);
  }
  if (puVar1 == *(undefined4 **)puVar5) {
    return iVar3;
  }
  puVar5 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  iVar3 = fts5ExecPrintf((sqlite3 *)*puVar1,(char **)0x0,
                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,
                         in_a3,zFormat,puVar5 + 0x62f00);
  *piVar4 = iVar3;
  return iVar3;
}



undefined4 FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  undefined4 local_resc;
  
  puVar5 = PTR___stack_chk_guard_0015ba2c;
  puVar4 = &local_resc;
  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;
  local_resc = param_4;
  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);
  if (puVar2 == (undefined4 *)0x0) {
    uVar3 = 7;
  }
  else {
    param_4 = 0;
    param_3 = 0;
    puVar4 = puVar2;
    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);
    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);
  }
  if (puVar1 == *(undefined4 **)puVar5) {
    return uVar3;
  }
  puVar5 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,
                       param_4,param_3,puVar5 + 0x62f00);
  *puVar4 = uVar3;
  return uVar3;
}


lui gp,0x6
addiu gp,gp,0x2fdc
addu gp,gp,t9
addiu sp,sp,-0x48
lw t9,-0x7f98(gp)
addiu v0,sp,0x54
sw s1,0x38(sp)
sw gp,0x18(sp)
sw s3,0x40(sp)
or s3,a1,zero
sw s2,0x3c(sp)
or a1,v0,zero
sw ra,0x44(sp)
or s2,a0,zero
sw s0,0x34(sp)
or a0,a2,zero
sw a3,0x54(sp)
sw v0,0x28(sp)
lw s1,-0x7b84(gp)
lw v0,0x0(s1)
sw v0,0x2c(sp)
jalr t9
_nop
beq v0,zero,0x0010069c
_lw gp,0x18(sp)
lw t9,-0x7f40(gp)
or a3,zero,zero
or a2,zero,zero
sw s3,0x10(sp)
or a0,s2,zero
or a1,v0,zero
jalr t9
_or s0,v0,zero
lw gp,0x18(sp)
or a0,s0,zero
lw t9,-0x7f90(gp)
jalr t9
_sw v0,0x24(sp)
lw gp,0x18(sp)
lw v0,0x24(sp)
lw a0,0x2c(sp)
lw v1,0x0(s1)
bne a0,v1,0x001006a4
_lw ra,0x44(sp)
lw s3,0x40(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x48
b 0x00100674
_li v0,0x7
lw t9,-0x7ba0(gp)
jalr t9
_nop
(translation_unit "undefined4 FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}" type_identifier (function_declarator "FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar5 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "puVar4 = &local_resc;" (assignment_expression "puVar4 = &local_resc" identifier = (pointer_expression "&local_resc" & identifier)) ;) (expression_statement "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)" ( (pointer_expression "*(code *)PTR_sqlite3_vmprintf_0015b618" * (cast_expression "(code *)PTR_sqlite3_vmprintf_0015b618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier ))))) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = 7;\n  }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" else (compound_statement "{\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" { (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" identifier = number_literal) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" identifier = identifier) ;) (expression_statement "uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_0015b670)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_0015b670)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_0015b670" * (cast_expression "(code *)PTR_sqlite3_exec_0015b670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(puVar2);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(puVar2)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) }))) (if_statement "if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }" if (parenthesized_expression "(puVar1 == *(undefined4 **)puVar5)" ( (binary_expression "puVar1 == *(undefined4 **)puVar5" identifier == (pointer_expression "*(undefined4 **)puVar5" * (cast_expression "(undefined4 **)puVar5" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);" (assignment_expression "uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" identifier = (call_expression "FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" identifier (argument_list "(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" ( (pointer_expression "*puVar1" * identifier) , number_literal , (binary_expression "*(int *)(puVar5 + 0x5af4c) + -0x3ab4" (pointer_expression "*(int *)(puVar5 + 0x5af4c)" * (cast_expression "(int *)(puVar5 + 0x5af4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x5af4c)" ( (binary_expression "puVar5 + 0x5af4c" identifier + number_literal) )))) + number_literal) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[2]" identifier [ number_literal ]) , identifier , identifier , identifier , (binary_expression "puVar5 + 0x62f00" identifier + number_literal) )))) ;) (expression_statement "*puVar4 = uVar3;" (assignment_expression "*puVar4 = uVar3" (pointer_expression "*puVar4" * identifier) = identifier) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int fts5ExecPrintf(sqlite3 *db,char **pzErr,char *zFormat,...)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int in_a3;\n  undefined *puVar5;\n  int iStackX_c;\n  va_list ap;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  piVar4 = &iStackX_c;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  iStackX_c = in_a3;\n  piVar2 = (int *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat);\n  if (piVar2 == (int *)0x0) {\n    iVar3 = 7;\n  }\n  else {\n    in_a3 = 0;\n    zFormat = (char *)0x0;\n    piVar4 = piVar2;\n    iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);\n    (*(code *)PTR_sqlite3_free_0015b620)(piVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return iVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  iVar3 = fts5ExecPrintf((sqlite3 *)*puVar1,(char **)0x0,\n                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,\n                         in_a3,zFormat,puVar5 + 0x62f00);\n  *piVar4 = iVar3;\n  return iVar3;\n}\n\n" (function_definition "int fts5ExecPrintf(sqlite3 *db,char **pzErr,char *zFormat,...)\n\n{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int in_a3;\n  undefined *puVar5;\n  int iStackX_c;\n  va_list ap;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  piVar4 = &iStackX_c;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  iStackX_c = in_a3;\n  piVar2 = (int *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat);\n  if (piVar2 == (int *)0x0) {\n    iVar3 = 7;\n  }\n  else {\n    in_a3 = 0;\n    zFormat = (char *)0x0;\n    piVar4 = piVar2;\n    iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);\n    (*(code *)PTR_sqlite3_free_0015b620)(piVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return iVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  iVar3 = fts5ExecPrintf((sqlite3 *)*puVar1,(char **)0x0,\n                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,\n                         in_a3,zFormat,puVar5 + 0x62f00);\n  *piVar4 = iVar3;\n  return iVar3;\n}" primitive_type (function_declarator "fts5ExecPrintf(sqlite3 *db,char **pzErr,char *zFormat,...)" identifier (parameter_list "(sqlite3 *db,char **pzErr,char *zFormat,...)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char **pzErr" primitive_type (pointer_declarator "**pzErr" * (pointer_declarator "*pzErr" * identifier))) , (parameter_declaration "char *zFormat" primitive_type (pointer_declarator "*zFormat" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int in_a3;\n  undefined *puVar5;\n  int iStackX_c;\n  va_list ap;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  piVar4 = &iStackX_c;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  iStackX_c = in_a3;\n  piVar2 = (int *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat);\n  if (piVar2 == (int *)0x0) {\n    iVar3 = 7;\n  }\n  else {\n    in_a3 = 0;\n    zFormat = (char *)0x0;\n    piVar4 = piVar2;\n    iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);\n    (*(code *)PTR_sqlite3_free_0015b620)(piVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return iVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  iVar3 = fts5ExecPrintf((sqlite3 *)*puVar1,(char **)0x0,\n                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,\n                         in_a3,zFormat,puVar5 + 0x62f00);\n  *piVar4 = iVar3;\n  return iVar3;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int in_a3;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iStackX_c;" primitive_type identifier ;) (declaration "va_list ap;" type_identifier identifier ;) (expression_statement "puVar5 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "piVar4 = &iStackX_c;" (assignment_expression "piVar4 = &iStackX_c" identifier = (pointer_expression "&iStackX_c" & identifier)) ;) (expression_statement "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iStackX_c = in_a3;" (assignment_expression "iStackX_c = in_a3" identifier = identifier) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat)" identifier = (cast_expression "(int *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)(zFormat)" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)" ( (pointer_expression "*(code *)PTR_sqlite3_vmprintf_0015b618" * (cast_expression "(code *)PTR_sqlite3_vmprintf_0015b618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zFormat)" ( identifier ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    iVar3 = 7;\n  }\n  else {\n    in_a3 = 0;\n    zFormat = (char *)0x0;\n    piVar4 = piVar2;\n    iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);\n    (*(code *)PTR_sqlite3_free_0015b620)(piVar2);\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 7;\n  }" { (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    in_a3 = 0;\n    zFormat = (char *)0x0;\n    piVar4 = piVar2;\n    iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);\n    (*(code *)PTR_sqlite3_free_0015b620)(piVar2);\n  }" else (compound_statement "{\n    in_a3 = 0;\n    zFormat = (char *)0x0;\n    piVar4 = piVar2;\n    iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);\n    (*(code *)PTR_sqlite3_free_0015b620)(piVar2);\n  }" { (expression_statement "in_a3 = 0;" (assignment_expression "in_a3 = 0" identifier = number_literal) ;) (expression_statement "zFormat = (char *)0x0;" (assignment_expression "zFormat = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = piVar2;" (assignment_expression "piVar4 = piVar2" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db);" (assignment_expression "iVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(db)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_0015b670)(db)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_0015b670)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_0015b670" * (cast_expression "(code *)PTR_sqlite3_exec_0015b670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(db)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(piVar2);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(piVar2)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2)" ( identifier ))) ;) }))) (if_statement "if (puVar1 == *(undefined4 **)puVar5) {\n    return iVar3;\n  }" if (parenthesized_expression "(puVar1 == *(undefined4 **)puVar5)" ( (binary_expression "puVar1 == *(undefined4 **)puVar5" identifier == (pointer_expression "*(undefined4 **)puVar5" * (cast_expression "(undefined4 **)puVar5" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = fts5ExecPrintf((sqlite3 *)*puVar1,(char **)0x0,\n                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,\n                         in_a3,zFormat,puVar5 + 0x62f00);" (assignment_expression "iVar3 = fts5ExecPrintf((sqlite3 *)*puVar1,(char **)0x0,\n                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,\n                         in_a3,zFormat,puVar5 + 0x62f00)" identifier = (call_expression "fts5ExecPrintf((sqlite3 *)*puVar1,(char **)0x0,\n                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,\n                         in_a3,zFormat,puVar5 + 0x62f00)" identifier (argument_list "((sqlite3 *)*puVar1,(char **)0x0,\n                         (char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4),puVar1[1],puVar1[2],zFormat,\n                         in_a3,zFormat,puVar5 + 0x62f00)" ( (cast_expression "(sqlite3 *)*puVar1" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(char *)(*(int *)(puVar5 + 0x5af4c) + -0x3ab4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x5af4c) + -0x3ab4)" ( (binary_expression "*(int *)(puVar5 + 0x5af4c) + -0x3ab4" (pointer_expression "*(int *)(puVar5 + 0x5af4c)" * (cast_expression "(int *)(puVar5 + 0x5af4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x5af4c)" ( (binary_expression "puVar5 + 0x5af4c" identifier + number_literal) )))) + number_literal) ))) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[2]" identifier [ number_literal ]) , identifier , identifier , identifier , (binary_expression "puVar5 + 0x62f00" identifier + number_literal) )))) ;) (expression_statement "*piVar4 = iVar3;" (assignment_expression "*piVar4 = iVar3" (pointer_expression "*piVar4" * identifier) = identifier) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "undefined4 FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}" type_identifier (function_declarator "FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar5 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "puVar4 = &local_resc;" (assignment_expression "puVar4 = &local_resc" identifier = (pointer_expression "&local_resc" & identifier)) ;) (expression_statement "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)" ( (pointer_expression "*(code *)PTR_sqlite3_vmprintf_0015b618" * (cast_expression "(code *)PTR_sqlite3_vmprintf_0015b618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier ))))) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = 7;\n  }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" else (compound_statement "{\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" { (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" identifier = number_literal) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" identifier = identifier) ;) (expression_statement "uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1)" identifier = (call_expression "(*(code *)PTR_sqlite3_exec_0015b670)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_0015b670)" ( (pointer_expression "*(code *)PTR_sqlite3_exec_0015b670" * (cast_expression "(code *)PTR_sqlite3_exec_0015b670" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(puVar2);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(puVar2)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) }))) (if_statement "if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }" if (parenthesized_expression "(puVar1 == *(undefined4 **)puVar5)" ( (binary_expression "puVar1 == *(undefined4 **)puVar5" identifier == (pointer_expression "*(undefined4 **)puVar5" * (cast_expression "(undefined4 **)puVar5" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0015ba10" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);" (assignment_expression "uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" identifier = (call_expression "FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" identifier (argument_list "(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" ( (pointer_expression "*puVar1" * identifier) , number_literal , (binary_expression "*(int *)(puVar5 + 0x5af4c) + -0x3ab4" (pointer_expression "*(int *)(puVar5 + 0x5af4c)" * (cast_expression "(int *)(puVar5 + 0x5af4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x5af4c)" ( (binary_expression "puVar5 + 0x5af4c" identifier + number_literal) )))) + number_literal) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[2]" identifier [ number_literal ]) , identifier , identifier , identifier , (binary_expression "puVar5 + 0x62f00" identifier + number_literal) )))) ;) (expression_statement "*puVar4 = uVar3;" (assignment_expression "*puVar4 = uVar3" (pointer_expression "*puVar4" * identifier) = identifier) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_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 = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_001005d4(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_001005d4") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  undefined4 local_resc;\n  \n  puVar5 = PTR___stack_chk_guard_0015ba2c;\n  puVar4 = &local_resc;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;\n  local_resc = param_4;\n  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);\n  if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }\n  if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }\n  puVar5 = PTR___stack_chk_fail_0015ba10;\n  (*(code *)PTR___stack_chk_fail_0015ba10)();\n  uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);\n  *puVar4 = uVar3;\n  return uVar3;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 local_resc;" (type_identifier "undefined4") (identifier "local_resc") (; ";")) (expression_statement "puVar5 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_0015ba2c" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_guard_0015ba2c")) (; ";")) (expression_statement "puVar4 = &local_resc;" (assignment_expression "puVar4 = &local_resc" (identifier "puVar4") (= "=") (pointer_expression "&local_resc" (& "&") (identifier "local_resc"))) (; ";")) (expression_statement "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_0015ba2c" (* "*") (cast_expression "(undefined4 **)PTR___stack_chk_guard_0015ba2c" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0015ba2c")))) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3)" (parenthesized_expression "(*(code *)PTR_sqlite3_vmprintf_0015b618)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_vmprintf_0015b618" (* "*") (cast_expression "(code *)PTR_sqlite3_vmprintf_0015b618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_vmprintf_0015b618"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))))) (; ";")) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    uVar3 = 7;\n  }\n  else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined4 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar3 = 7;\n  }" ({ "{") (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" (identifier "uVar3") (= "=") (number_literal "7")) (; ";")) (} "}")) (else_clause "else {\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" (else "else") (compound_statement "{\n    param_4 = 0;\n    param_3 = 0;\n    puVar4 = puVar2;\n    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);\n    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);\n  }" ({ "{") (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" (identifier "param_4") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" (identifier "param_3") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" (identifier "puVar4") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_sqlite3_exec_0015b670)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_exec_0015b670)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_exec_0015b670" (* "*") (cast_expression "(code *)PTR_sqlite3_exec_0015b670" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_exec_0015b670"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(puVar2);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(puVar2)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015b620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015b620"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (} "}")))) (if_statement "if (puVar1 == *(undefined4 **)puVar5) {\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(puVar1 == *(undefined4 **)puVar5)" (( "(") (binary_expression "puVar1 == *(undefined4 **)puVar5" (identifier "puVar1") (== "==") (pointer_expression "*(undefined4 **)puVar5" (* "*") (cast_expression "(undefined4 **)puVar5" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar5")))) () ")")) (compound_statement "{\n    return uVar3;\n  }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "puVar5 = PTR___stack_chk_fail_0015ba10;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0015ba10" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_fail_0015ba10")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015ba10"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00);" (assignment_expression "uVar3 = FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" (identifier "uVar3") (= "=") (call_expression "FUN_001005d4(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" (identifier "FUN_001005d4") (argument_list "(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,\n                       param_4,param_3,puVar5 + 0x62f00)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar5 + 0x5af4c) + -0x3ab4" (pointer_expression "*(int *)(puVar5 + 0x5af4c)" (* "*") (cast_expression "(int *)(puVar5 + 0x5af4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x5af4c)" (( "(") (binary_expression "puVar5 + 0x5af4c" (identifier "puVar5") (+ "+") (number_literal "0x5af4c")) () ")")))) (+ "+") (number_literal "-0x3ab4")) (, ",") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_3") (, ",") (binary_expression "puVar5 + 0x62f00" (identifier "puVar5") (+ "+") (number_literal "0x62f00")) () ")")))) (; ";")) (expression_statement "*puVar4 = uVar3;" (assignment_expression "*puVar4 = uVar3" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

int function_1(type_1 *db,char **pzErr,char *zFormat,...)

{
  type_2 *var_2;
  int *var_1;
  int iVar3;
  int *piVar4;
  int in_a3;
  type_3 *var_3;
  int iStackX_c;
  type_4 ap;
  
  var_3 = PTR___stack_chk_guard_0015ba2c;
  piVar4 = &iStackX_c;
  var_2 = *(type_2 **)PTR___stack_chk_guard_0015ba2c;
  iStackX_c = in_a3;
  var_1 = (int *)(*(type_5 *)PTR_sqlite3_vmprintf_0015b618)(zFormat);
  if (var_1 == (int *)0x0) {
    iVar3 = 7;
  }
  else {
    in_a3 = 0;
    zFormat = (char *)0x0;
    piVar4 = var_1;
    iVar3 = (*(type_5 *)PTR_sqlite3_exec_0015b670)(db);
    (*(type_5 *)PTR_sqlite3_free_0015b620)(var_1);
  }
  if (var_2 == *(type_2 **)var_3) {
    return iVar3;
  }
  var_3 = PTR___stack_chk_fail_0015ba10;
  (*(type_5 *)PTR___stack_chk_fail_0015ba10)();
  iVar3 = function_1((type_1 *)*var_2,(char **)0x0,
                         (char *)(*(int *)(var_3 + 0x5af4c) + -0x3ab4),var_2[1],var_2[2],zFormat,
                         in_a3,zFormat,var_3 + 0x62f00);
  *piVar4 = iVar3;
  return iVar3;
}


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

undefined4 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  undefined4 local_resc;
  
  puVar5 = PTR___stack_chk_guard_0015ba2c;
  puVar4 = &local_resc;
  puVar1 = *(undefined4 **)PTR___stack_chk_guard_0015ba2c;
  local_resc = param_4;
  puVar2 = (undefined4 *)(*(code *)PTR_sqlite3_vmprintf_0015b618)(param_3);
  if (puVar2 == (undefined4 *)0x0) {
    uVar3 = 7;
  }
  else {
    param_4 = 0;
    param_3 = 0;
    puVar4 = puVar2;
    uVar3 = (*(code *)PTR_sqlite3_exec_0015b670)(param_1);
    (*(code *)PTR_sqlite3_free_0015b620)(puVar2);
  }
  if (puVar1 == *(undefined4 **)puVar5) {
    return uVar3;
  }
  puVar5 = PTR___stack_chk_fail_0015ba10;
  (*(code *)PTR___stack_chk_fail_0015ba10)();
  uVar3 = MASKED(*puVar1,0,*(int *)(puVar5 + 0x5af4c) + -0x3ab4,puVar1[1],puVar1[2],param_3,
                       param_4,param_3,puVar5 + 0x62f00);
  *puVar4 = uVar3;
  return uVar3;
}

