
int zipfileGetMode(sqlite3_value *pVal,int bIsDir,u32 *pMode,char **pzErr)

{
  int iVar1;
  char *pcVar2;
  int iVar3;
  uint uVar4;
  char *pcVar5;
  char *pcVar6;
  char *pcVar7;
  char *pcVar8;
  int iVar9;
  undefined *puVar10;
  char zTemplate [11];
  
  puVar10 = PTR___stack_chk_guard_00190e24;
  iVar1 = *(int *)PTR___stack_chk_guard_00190e24;
  pcVar5 = (char *)bIsDir;
  pcVar2 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();
  if (pcVar2 == (char *)0x0) {
    uVar4 = 0x81a4;
    if (bIsDir != 0) {
      uVar4 = 0x41ed;
    }
  }
  else {
    iVar9 = (int)*pcVar2;
    if ((iVar9 - 0x30U & 0xff) < 10) {
      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);
    }
    else {
      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);
      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);
      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);
      zTemplate[10] = PTR_LAB_00190958[0xdd6];
      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);
      if ((iVar3 != 10) ||
         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&
          (uVar4 = 0x8000, iVar9 != 0x2d)))) {
LAB_0001e25c:
        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);
        iVar9 = 1;
        *pzErr = pcVar5;
        pcVar5 = pcVar2;
        goto LAB_0001e2a8;
      }
      pcVar6 = pcVar2 + 1;
      pcVar8 = &DAT_00000072;
      pcVar7 = zTemplate;
      while( true ) {
        pcVar5 = (char *)(int)*pcVar6;
        if (pcVar5 == pcVar8) {
          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));
          uVar4 = uVar4 | (uint)pcVar5;
        }
        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;
        pcVar6 = pcVar6 + 1;
        if (pcVar2 + 10 == pcVar6) break;
        pcVar8 = (char *)(int)pcVar7[2];
        pcVar7 = pcVar7 + 1;
      }
    }
    if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {
      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);
      iVar9 = 0x13;
      *pzErr = pcVar2;
      goto LAB_0001e2a8;
    }
  }
  iVar9 = 0;
  *pMode = uVar4;
LAB_0001e2a8:
  if (iVar1 == *(int *)puVar10) {
    return iVar9;
  }
  puVar10 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  iVar1 = (**(code **)(puVar10 + 0x1729ec))();
  if ((char *)0x180 < pcVar5 + -0x80) {
    *(undefined4 *)(iVar1 + 0x640) = 0x88;
    *(undefined4 *)(iVar1 + 0x648) = 7;
    return 7;
  }
  *(undefined4 *)(iVar1 + 0x648) = 7;
  *(int *)(iVar1 + 0x640) = (int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)) >> 2;
  return 7;
}



undefined4 FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)

{
  char *pcVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  undefined4 *puVar7;
  char *pcVar8;
  char *pcVar9;
  int iVar10;
  undefined *puVar11;
  undefined4 local_30;
  undefined4 local_2c;
  undefined2 local_28;
  undefined1 local_26;
  int local_24;
  
  puVar11 = PTR___stack_chk_guard_00190e24;
  local_24 = *(int *)PTR___stack_chk_guard_00190e24;
  pcVar8 = param_2;
  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();
  if (pcVar1 == (char *)0x0) {
    uVar3 = 0x81a4;
    if (param_2 != (char *)0x0) {
      uVar3 = 0x41ed;
    }
  }
  else {
    iVar10 = (int)*pcVar1;
    if ((iVar10 - 0x30U & 0xff) < 10) {
      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);
    }
    else {
      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);
      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);
      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);
      local_26 = PTR_LAB_00190958[0xdd6];
      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);
      if ((iVar2 != 10) ||
         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&
          (uVar3 = 0x8000, iVar10 != 0x2d)))) {
LAB_0001e25c:
        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);
        uVar5 = 1;
        *param_4 = uVar4;
        pcVar8 = pcVar1;
        goto LAB_0001e2a8;
      }
      pcVar6 = pcVar1 + 1;
      pcVar9 = &DAT_00000072;
      puVar7 = &local_30;
      while( true ) {
        pcVar8 = (char *)(int)*pcVar6;
        if (pcVar8 == pcVar9) {
          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));
          uVar3 = uVar3 | (uint)pcVar8;
        }
        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;
        pcVar6 = pcVar6 + 1;
        if (pcVar1 + 10 == pcVar6) break;
        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);
        puVar7 = (undefined4 *)((int)puVar7 + 1);
      }
    }
    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {
      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);
      uVar5 = 0x13;
      *param_4 = uVar4;
      goto LAB_0001e2a8;
    }
  }
  uVar5 = 0;
  *param_3 = uVar3;
LAB_0001e2a8:
  if (local_24 == *(int *)puVar11) {
    return uVar5;
  }
  puVar11 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  iVar10 = (**(code **)(puVar11 + 0x1729ec))();
  if ((char *)0x180 < pcVar8 + -0x80) {
    *(undefined4 *)(iVar10 + 0x640) = 0x88;
    *(undefined4 *)(iVar10 + 0x648) = 7;
    return 7;
  }
  *(undefined4 *)(iVar10 + 0x648) = 7;
  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;
  return 7;
}


lui gp,0x18
addiu gp,gp,-0x585c
addu gp,gp,t9
addiu sp,sp,-0x48
lw t9,-0x7fac(gp)
sw s1,0x2c(sp)
sw gp,0x10(sp)
sw s5,0x3c(sp)
or s5,a0,zero
sw s4,0x38(sp)
or s4,a3,zero
sw s3,0x34(sp)
or s3,a2,zero
sw s2,0x30(sp)
or s2,a1,zero
sw ra,0x44(sp)
sw s6,0x40(sp)
sw s0,0x28(sp)
lw s1,-0x7afc(gp)
lw v0,0x0(s1)
sw v0,0x24(sp)
jalr t9
_nop
beq v0,zero,0x0001e2e0
_lw gp,0x10(sp)
lb s6,0x0(v0)
or s0,v0,zero
addiu v0,s6,-0x30
andi v0,v0,0xff
sltiu v0,v0,0xa
bne v0,zero,0x0001e280
_lw v1,-0x7fc8(gp)
or a0,s0,zero
lw t9,-0x7ba0(gp)
addiu v0,v1,0xdcc
lw a2,0xdcc(v1)
lw a1,0x4(v0)
lhu v1,0x8(v0)
lbu v0,0xa(v0)
sw a2,0x18(sp)
sh v1,0x20(sp)
sw a1,0x1c(sp)
jalr t9
_sb v0,0x22(sp)
li v1,0xa
bne v0,v1,0x0001e25c
_lw gp,0x10(sp)
li v0,0x64
beq s6,v0,0x0001e2f0
_li v0,0x4000
li v0,0x6c
beq s6,v0,0x0001e2f0
_ori v0,zero,0xa000
li v0,0x2d
beq s6,v0,0x0001e2f0
_ori v0,zero,0x8000
lw a0,-0x7fc8(gp)
or a1,s0,zero
lw t9,-0x7fbc(gp)
jalr t9
_addiu a0,a0,0xd84
li v1,0x1
lw gp,0x10(sp)
b 0x0001e2a8
_sw v0,0x0(s4)
lw t9,-0x7fa8(gp)
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
xori v1,v0,0x4000
ext v1,v1,0xe,0x1
beq v1,s2,0x0001e344
_lw a0,-0x7fc8(gp)
or v1,zero,zero
sw v0,0x0(s3)
lw a0,0x24(sp)
or v0,v1,zero
lw v1,0x0(s1)
bne a0,v1,0x0001e360
_lw ra,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x48
ori v0,zero,0x81a4
li v1,0x41ed
b 0x0001e2a0
_movn v0,v1,s2
addiu v1,s0,0x1
addiu a0,sp,0x18
addiu a3,s0,0xa
li a2,0x72
li t0,0x2d
addiu t2,s0,0x9
b 0x0001e328
_li t1,0x1
bne a1,t0,0x0001e25c
_nop
addiu v1,v1,0x1
beq a3,v1,0x0001e290
_addiu a0,a0,0x1
lb a2,0x1(a0)
lb a1,0x0(v1)
bne a1,a2,0x0001e310
_nop
subu a1,t2,v1
sllv a1,t1,a1
b 0x0001e318
_or v0,v0,a1
lw t9,-0x7fbc(gp)
jalr t9
_addiu a0,a0,0xda8
li v1,0x13
lw gp,0x10(sp)
b 0x0001e2a8
_sw v0,0x0(s4)
lw t9,-0x7b28(gp)
jalr t9
_nop
lui gp,0x18
addiu gp,gp,-0x5a4c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7bc8(gp)
li a2,0x650
sw s0,0x18(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_or a1,zero,zero
or v1,v0,zero
addiu v0,s0,-0x80
sltiu v0,v0,0x181
beq v0,zero,0x0001e3e4
_li v0,0x7
li v0,-0x20
addiu s0,s0,0x1f
and s0,s0,v0
li v0,0x320
subu s0,v0,s0
li v0,0x7
sra s0,s0,0x2
sw v0,0x648(v1)
sw s0,0x640(v1)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
li s0,0x88
sw s0,0x640(v1)
sw v0,0x648(v1)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}\n\n" (function_definition "undefined4 FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" type_identifier (function_declarator "FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined2 local_28;" type_identifier identifier ;) (declaration "undefined1 local_26;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar11 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar11 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_24 = *(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 "pcVar8 = param_2;" (assignment_expression "pcVar8 = param_2" identifier = identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)()" identifier = (cast_expression "(char *)(*(code *)PTR_sqlite3_value_text_00190974)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_value_text_00190974)()" (parenthesized_expression "(*(code *)PTR_sqlite3_value_text_00190974)" ( (pointer_expression "*(code *)PTR_sqlite3_value_text_00190974" * (cast_expression "(code *)PTR_sqlite3_value_text_00190974" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }" { (expression_statement "uVar3 = 0x81a4;" (assignment_expression "uVar3 = 0x81a4" identifier = number_literal) ;) (if_statement "if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = 0x41ed;\n    }" { (expression_statement "uVar3 = 0x41ed;" (assignment_expression "uVar3 = 0x41ed" identifier = number_literal) ;) })) }) (else_clause "else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" else (compound_statement "{\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" { (expression_statement "iVar10 = (int)*pcVar1;" (assignment_expression "iVar10 = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) (if_statement "if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" if (parenthesized_expression "((iVar10 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar10 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar10 - 0x30U & 0xff)" ( (binary_expression "iVar10 - 0x30U & 0xff" (binary_expression "iVar10 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }" { (expression_statement "uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1)" identifier = (call_expression "(*(code *)PTR_sqlite3_value_int_00190978)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_int_00190978)" ( (pointer_expression "*(code *)PTR_sqlite3_value_int_00190978" * (cast_expression "(code *)PTR_sqlite3_value_int_00190978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" else (compound_statement "{\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" { (expression_statement "local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);" (assignment_expression "local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" identifier = (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" * (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdcc)" ( (binary_expression "PTR_LAB_00190958 + 0xdcc" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);" (assignment_expression "local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" identifier = (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" * (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdd0)" ( (binary_expression "PTR_LAB_00190958 + 0xdd0" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);" (assignment_expression "local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" identifier = (pointer_expression "*(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" * (cast_expression "(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdd4)" ( (binary_expression "PTR_LAB_00190958 + 0xdd4" identifier + number_literal) ))))) ;) (expression_statement "local_26 = PTR_LAB_00190958[0xdd6];" (assignment_expression "local_26 = PTR_LAB_00190958[0xdd6]" identifier = (subscript_expression "PTR_LAB_00190958[0xdd6]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1)" identifier = (call_expression "(*(code *)PTR_strlen_00190d80)(pcVar1)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" ( (pointer_expression "*(code *)PTR_strlen_00190d80" * (cast_expression "(code *)PTR_strlen_00190d80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier )))) ;) (if_statement "if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }" if (parenthesized_expression "((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d))))" ( (binary_expression "(iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))" (parenthesized_expression "(iVar2 != 10)" ( (binary_expression "iVar2 != 10" identifier != number_literal) )) || (parenthesized_expression "(((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))" ( (parenthesized_expression "((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d))" ( (binary_expression "(uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)" (parenthesized_expression "(uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c))" ( (comma_expression "uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)" (assignment_expression "uVar3 = 0x4000" identifier = number_literal) , (binary_expression "iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)" (binary_expression "iVar10 != 100" identifier != number_literal) && (parenthesized_expression "(uVar3 = 0xa000, iVar10 != 0x6c)" ( (comma_expression "uVar3 = 0xa000, iVar10 != 0x6c" (assignment_expression "uVar3 = 0xa000" identifier = number_literal) , (binary_expression "iVar10 != 0x6c" identifier != number_literal)) )))) )) && (parenthesized_expression "(uVar3 = 0x8000, iVar10 != 0x2d)" ( (comma_expression "uVar3 = 0x8000, iVar10 != 0x2d" (assignment_expression "uVar3 = 0x8000" identifier = number_literal) , (binary_expression "iVar10 != 0x2d" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }" { (labeled_statement "LAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" statement_identifier : (expression_statement "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" (assignment_expression "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0xd84)" ( (binary_expression "PTR_LAB_00190958 + 0xd84" identifier + number_literal) )))) ;)) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "pcVar8 = pcVar1;" (assignment_expression "pcVar8 = pcVar1" identifier = identifier) ;) (goto_statement "goto LAB_0001e2a8;" goto statement_identifier ;) })) (expression_statement "pcVar6 = pcVar1 + 1;" (assignment_expression "pcVar6 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = &DAT_00000072;" (assignment_expression "pcVar9 = &DAT_00000072" identifier = (pointer_expression "&DAT_00000072" & identifier)) ;) (expression_statement "puVar7 = &local_30;" (assignment_expression "puVar7 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (while_statement "while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }" { (expression_statement "pcVar8 = (char *)(int)*pcVar6;" (assignment_expression "pcVar8 = (char *)(int)*pcVar6" identifier = (cast_expression "(char *)(int)*pcVar6" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)*pcVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar6" * identifier)))) ;) (if_statement "if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" if (parenthesized_expression "(pcVar8 == pcVar9)" ( (binary_expression "pcVar8 == pcVar9" identifier == identifier) )) (compound_statement "{\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }" { (expression_statement "pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));" (assignment_expression "pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" identifier = (cast_expression "(char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" ( (binary_expression "1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f)" number_literal << (parenthesized_expression "((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f)" ( (binary_expression "(uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f" (call_expression "(uint)(pcVar1 + (9 - (int)pcVar6))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar1 + (9 - (int)pcVar6))" ( (binary_expression "pcVar1 + (9 - (int)pcVar6)" identifier + (parenthesized_expression "(9 - (int)pcVar6)" ( (binary_expression "9 - (int)pcVar6" number_literal - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) & number_literal) ))) )))) ;) (expression_statement "uVar3 = uVar3 | (uint)pcVar8;" (assignment_expression "uVar3 = uVar3 | (uint)pcVar8" identifier = (binary_expression "uVar3 | (uint)pcVar8" identifier | (cast_expression "(uint)pcVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) (else_clause "else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" else (if_statement "if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" if (parenthesized_expression "(pcVar8 != (char *)0x2d)" ( (binary_expression "pcVar8 != (char *)0x2d" identifier != (cast_expression "(char *)0x2d" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001e25c;" goto statement_identifier ;)))) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar1 + 10 == pcVar6) break;" if (parenthesized_expression "(pcVar1 + 10 == pcVar6)" ( (binary_expression "pcVar1 + 10 == pcVar6" (binary_expression "pcVar1 + 10" identifier + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);" (assignment_expression "pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2)" identifier = (cast_expression "(char *)(int)*(char *)((int)puVar7 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)*(char *)((int)puVar7 + 2)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)puVar7 + 2)" * (cast_expression "(char *)((int)puVar7 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 2)" ( (binary_expression "(int)puVar7 + 2" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))))) ;) (expression_statement "puVar7 = (undefined4 *)((int)puVar7 + 1);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar7 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar7 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 1)" ( (binary_expression "(int)puVar7 + 1" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) }))) (if_statement "if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }" if (parenthesized_expression "((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2)" ( (binary_expression "(char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2" (cast_expression "(char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uVar3 ^ 0x4000) << 0x11) >> 0x1f)" ( (binary_expression "((uVar3 ^ 0x4000) << 0x11) >> 0x1f" (parenthesized_expression "((uVar3 ^ 0x4000) << 0x11)" ( (binary_expression "(uVar3 ^ 0x4000) << 0x11" (parenthesized_expression "(uVar3 ^ 0x4000)" ( (binary_expression "uVar3 ^ 0x4000" identifier ^ number_literal) )) << number_literal) )) >> number_literal) ))) == identifier) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }" { (expression_statement "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);" (assignment_expression "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0xda8)" ( (binary_expression "PTR_LAB_00190958 + 0xda8" identifier + number_literal) )))) ;) (expression_statement "uVar5 = 0x13;" (assignment_expression "uVar5 = 0x13" identifier = number_literal) ;) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" * identifier) = identifier) ;) (goto_statement "goto LAB_0001e2a8;" goto statement_identifier ;) })) }))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "*param_3 = uVar3;" (assignment_expression "*param_3 = uVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (labeled_statement "LAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar11)" ( (binary_expression "local_24 == *(int *)puVar11" identifier == (pointer_expression "*(int *)puVar11" * (cast_expression "(int *)puVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) }))) (expression_statement "puVar11 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar11 = 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 "iVar10 = (**(code **)(puVar11 + 0x1729ec))();" (assignment_expression "iVar10 = (**(code **)(puVar11 + 0x1729ec))()" identifier = (call_expression "(**(code **)(puVar11 + 0x1729ec))()" (parenthesized_expression "(**(code **)(puVar11 + 0x1729ec))" ( (pointer_expression "**(code **)(puVar11 + 0x1729ec)" * (pointer_expression "*(code **)(puVar11 + 0x1729ec)" * (cast_expression "(code **)(puVar11 + 0x1729ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x1729ec)" ( (binary_expression "puVar11 + 0x1729ec" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }" if (parenthesized_expression "((char *)0x180 < pcVar8 + -0x80)" ( (binary_expression "(char *)0x180 < pcVar8 + -0x80" (cast_expression "(char *)0x180" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "pcVar8 + -0x80" identifier + number_literal)) )) (compound_statement "{\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }" { (expression_statement "*(undefined4 *)(iVar10 + 0x640) = 0x88;" (assignment_expression "*(undefined4 *)(iVar10 + 0x640) = 0x88" (pointer_expression "*(undefined4 *)(iVar10 + 0x640)" * (cast_expression "(undefined4 *)(iVar10 + 0x640)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x640)" ( (binary_expression "iVar10 + 0x640" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar10 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar10 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar10 + 0x648)" * (cast_expression "(undefined4 *)(iVar10 + 0x648)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x648)" ( (binary_expression "iVar10 + 0x648" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "*(undefined4 *)(iVar10 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar10 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar10 + 0x648)" * (cast_expression "(undefined4 *)(iVar10 + 0x648)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x648)" ( (binary_expression "iVar10 + 0x648" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;" (assignment_expression "*(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2" (pointer_expression "*(int *)(iVar10 + 0x640)" * (cast_expression "(int *)(iVar10 + 0x640)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x640)" ( (binary_expression "iVar10 + 0x640" identifier + number_literal) )))) = (binary_expression "(int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2" (cast_expression "(int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0))" ( (binary_expression "800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)" number_literal - (parenthesized_expression "((uint)(pcVar8 + 0x1f) & 0xffffffe0)" ( (binary_expression "(uint)(pcVar8 + 0x1f) & 0xffffffe0" (call_expression "(uint)(pcVar8 + 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar8 + 0x1f)" ( (binary_expression "pcVar8 + 0x1f" identifier + number_literal) ))) & number_literal) ))) ))) >> number_literal)) ;) (return_statement "return 7;" return number_literal ;) })))
(translation_unit "int zipfileGetMode(sqlite3_value *pVal,int bIsDir,u32 *pMode,char **pzErr)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  uint uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char *pcVar7;\n  char *pcVar8;\n  int iVar9;\n  undefined *puVar10;\n  char zTemplate [11];\n  \n  puVar10 = PTR___stack_chk_guard_00190e24;\n  iVar1 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar5 = (char *)bIsDir;\n  pcVar2 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar2 == (char *)0x0) {\n    uVar4 = 0x81a4;\n    if (bIsDir != 0) {\n      uVar4 = 0x41ed;\n    }\n  }\n  else {\n    iVar9 = (int)*pcVar2;\n    if ((iVar9 - 0x30U & 0xff) < 10) {\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }\n    else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }\n    if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }\n  }\n  iVar9 = 0;\n  *pMode = uVar4;\nLAB_0001e2a8:\n  if (iVar1 == *(int *)puVar10) {\n    return iVar9;\n  }\n  puVar10 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar1 = (**(code **)(puVar10 + 0x1729ec))();\n  if ((char *)0x180 < pcVar5 + -0x80) {\n    *(undefined4 *)(iVar1 + 0x640) = 0x88;\n    *(undefined4 *)(iVar1 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar1 + 0x648) = 7;\n  *(int *)(iVar1 + 0x640) = (int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}\n\n" (function_definition "int zipfileGetMode(sqlite3_value *pVal,int bIsDir,u32 *pMode,char **pzErr)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  uint uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char *pcVar7;\n  char *pcVar8;\n  int iVar9;\n  undefined *puVar10;\n  char zTemplate [11];\n  \n  puVar10 = PTR___stack_chk_guard_00190e24;\n  iVar1 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar5 = (char *)bIsDir;\n  pcVar2 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar2 == (char *)0x0) {\n    uVar4 = 0x81a4;\n    if (bIsDir != 0) {\n      uVar4 = 0x41ed;\n    }\n  }\n  else {\n    iVar9 = (int)*pcVar2;\n    if ((iVar9 - 0x30U & 0xff) < 10) {\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }\n    else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }\n    if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }\n  }\n  iVar9 = 0;\n  *pMode = uVar4;\nLAB_0001e2a8:\n  if (iVar1 == *(int *)puVar10) {\n    return iVar9;\n  }\n  puVar10 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar1 = (**(code **)(puVar10 + 0x1729ec))();\n  if ((char *)0x180 < pcVar5 + -0x80) {\n    *(undefined4 *)(iVar1 + 0x640) = 0x88;\n    *(undefined4 *)(iVar1 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar1 + 0x648) = 7;\n  *(int *)(iVar1 + 0x640) = (int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" primitive_type (function_declarator "zipfileGetMode(sqlite3_value *pVal,int bIsDir,u32 *pMode,char **pzErr)" identifier (parameter_list "(sqlite3_value *pVal,int bIsDir,u32 *pMode,char **pzErr)" ( (parameter_declaration "sqlite3_value *pVal" type_identifier (pointer_declarator "*pVal" * identifier)) , (parameter_declaration "int bIsDir" primitive_type identifier) , (parameter_declaration "u32 *pMode" type_identifier (pointer_declarator "*pMode" * identifier)) , (parameter_declaration "char **pzErr" primitive_type (pointer_declarator "**pzErr" * (pointer_declarator "*pzErr" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  uint uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char *pcVar7;\n  char *pcVar8;\n  int iVar9;\n  undefined *puVar10;\n  char zTemplate [11];\n  \n  puVar10 = PTR___stack_chk_guard_00190e24;\n  iVar1 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar5 = (char *)bIsDir;\n  pcVar2 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar2 == (char *)0x0) {\n    uVar4 = 0x81a4;\n    if (bIsDir != 0) {\n      uVar4 = 0x41ed;\n    }\n  }\n  else {\n    iVar9 = (int)*pcVar2;\n    if ((iVar9 - 0x30U & 0xff) < 10) {\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }\n    else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }\n    if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }\n  }\n  iVar9 = 0;\n  *pMode = uVar4;\nLAB_0001e2a8:\n  if (iVar1 == *(int *)puVar10) {\n    return iVar9;\n  }\n  puVar10 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar1 = (**(code **)(puVar10 + 0x1729ec))();\n  if ((char *)0x180 < pcVar5 + -0x80) {\n    *(undefined4 *)(iVar1 + 0x640) = 0x88;\n    *(undefined4 *)(iVar1 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar1 + 0x648) = 7;\n  *(int *)(iVar1 + 0x640) = (int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char zTemplate [11];" primitive_type (array_declarator "zTemplate [11]" identifier [ number_literal ]) ;) (expression_statement "puVar10 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar10 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "iVar1 = *(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 "pcVar5 = (char *)bIsDir;" (assignment_expression "pcVar5 = (char *)bIsDir" identifier = (cast_expression "(char *)bIsDir" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar2 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)()" identifier = (cast_expression "(char *)(*(code *)PTR_sqlite3_value_text_00190974)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_value_text_00190974)()" (parenthesized_expression "(*(code *)PTR_sqlite3_value_text_00190974)" ( (pointer_expression "*(code *)PTR_sqlite3_value_text_00190974" * (cast_expression "(code *)PTR_sqlite3_value_text_00190974" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    uVar4 = 0x81a4;\n    if (bIsDir != 0) {\n      uVar4 = 0x41ed;\n    }\n  }\n  else {\n    iVar9 = (int)*pcVar2;\n    if ((iVar9 - 0x30U & 0xff) < 10) {\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }\n    else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }\n    if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }\n  }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = 0x81a4;\n    if (bIsDir != 0) {\n      uVar4 = 0x41ed;\n    }\n  }" { (expression_statement "uVar4 = 0x81a4;" (assignment_expression "uVar4 = 0x81a4" identifier = number_literal) ;) (if_statement "if (bIsDir != 0) {\n      uVar4 = 0x41ed;\n    }" if (parenthesized_expression "(bIsDir != 0)" ( (binary_expression "bIsDir != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = 0x41ed;\n    }" { (expression_statement "uVar4 = 0x41ed;" (assignment_expression "uVar4 = 0x41ed" identifier = number_literal) ;) })) }) (else_clause "else {\n    iVar9 = (int)*pcVar2;\n    if ((iVar9 - 0x30U & 0xff) < 10) {\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }\n    else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }\n    if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }\n  }" else (compound_statement "{\n    iVar9 = (int)*pcVar2;\n    if ((iVar9 - 0x30U & 0xff) < 10) {\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }\n    else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }\n    if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }\n  }" { (expression_statement "iVar9 = (int)*pcVar2;" (assignment_expression "iVar9 = (int)*pcVar2" identifier = (cast_expression "(int)*pcVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar2" * identifier))) ;) (if_statement "if ((iVar9 - 0x30U & 0xff) < 10) {\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }\n    else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }" if (parenthesized_expression "((iVar9 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar9 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar9 - 0x30U & 0xff)" ( (binary_expression "iVar9 - 0x30U & 0xff" (binary_expression "iVar9 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);\n    }" { (expression_statement "uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal);" (assignment_expression "uVar4 = (*(code *)PTR_sqlite3_value_int_00190978)(pVal)" identifier = (call_expression "(*(code *)PTR_sqlite3_value_int_00190978)(pVal)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_int_00190978)" ( (pointer_expression "*(code *)PTR_sqlite3_value_int_00190978" * (cast_expression "(code *)PTR_sqlite3_value_int_00190978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pVal)" ( identifier )))) ;) }) (else_clause "else {\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }" else (compound_statement "{\n      zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      zTemplate[10] = PTR_LAB_00190958[0xdd6];\n      iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);\n      if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar2 + 1;\n      pcVar8 = &DAT_00000072;\n      pcVar7 = zTemplate;\n      while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }\n    }" { (expression_statement "zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);" (assignment_expression "zTemplate._0_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" (field_expression "zTemplate._0_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" * (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdcc)" ( (binary_expression "PTR_LAB_00190958 + 0xdcc" identifier + number_literal) ))))) ;) (expression_statement "zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);" (assignment_expression "zTemplate._4_4_ = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" (field_expression "zTemplate._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" * (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdd0)" ( (binary_expression "PTR_LAB_00190958 + 0xdd0" identifier + number_literal) ))))) ;) (expression_statement "zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);" (assignment_expression "zTemplate._8_2_ = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" (field_expression "zTemplate._8_2_" identifier . field_identifier) = (pointer_expression "*(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" * (cast_expression "(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdd4)" ( (binary_expression "PTR_LAB_00190958 + 0xdd4" identifier + number_literal) ))))) ;) (expression_statement "zTemplate[10] = PTR_LAB_00190958[0xdd6];" (assignment_expression "zTemplate[10] = PTR_LAB_00190958[0xdd6]" (subscript_expression "zTemplate[10]" identifier [ number_literal ]) = (subscript_expression "PTR_LAB_00190958[0xdd6]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00190d80)(pcVar2)" identifier = (call_expression "(*(code *)PTR_strlen_00190d80)(pcVar2)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" ( (pointer_expression "*(code *)PTR_strlen_00190d80" * (cast_expression "(code *)PTR_strlen_00190d80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2)" ( identifier )))) ;) (if_statement "if ((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))) {\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }" if (parenthesized_expression "((iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d))))" ( (binary_expression "(iVar3 != 10) ||\n         (((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))" (parenthesized_expression "(iVar3 != 10)" ( (binary_expression "iVar3 != 10" identifier != number_literal) )) || (parenthesized_expression "(((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)))" ( (parenthesized_expression "((uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d))" ( (binary_expression "(uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)) &&\n          (uVar4 = 0x8000, iVar9 != 0x2d)" (parenthesized_expression "(uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c))" ( (comma_expression "uVar4 = 0x4000, iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)" (assignment_expression "uVar4 = 0x4000" identifier = number_literal) , (binary_expression "iVar9 != 100 && (uVar4 = 0xa000, iVar9 != 0x6c)" (binary_expression "iVar9 != 100" identifier != number_literal) && (parenthesized_expression "(uVar4 = 0xa000, iVar9 != 0x6c)" ( (comma_expression "uVar4 = 0xa000, iVar9 != 0x6c" (assignment_expression "uVar4 = 0xa000" identifier = number_literal) , (binary_expression "iVar9 != 0x6c" identifier != number_literal)) )))) )) && (parenthesized_expression "(uVar4 = 0x8000, iVar9 != 0x2d)" ( (comma_expression "uVar4 = 0x8000, iVar9 != 0x2d" (assignment_expression "uVar4 = 0x8000" identifier = number_literal) , (binary_expression "iVar9 != 0x2d" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\nLAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        iVar9 = 1;\n        *pzErr = pcVar5;\n        pcVar5 = pcVar2;\n        goto LAB_0001e2a8;\n      }" { (labeled_statement "LAB_0001e25c:\n        pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" statement_identifier : (expression_statement "pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" identifier = (cast_expression "(char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0xd84)" ( (binary_expression "PTR_LAB_00190958 + 0xd84" identifier + number_literal) ))))) ;)) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (expression_statement "*pzErr = pcVar5;" (assignment_expression "*pzErr = pcVar5" (pointer_expression "*pzErr" * identifier) = identifier) ;) (expression_statement "pcVar5 = pcVar2;" (assignment_expression "pcVar5 = pcVar2" identifier = identifier) ;) (goto_statement "goto LAB_0001e2a8;" goto statement_identifier ;) })) (expression_statement "pcVar6 = pcVar2 + 1;" (assignment_expression "pcVar6 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "pcVar8 = &DAT_00000072;" (assignment_expression "pcVar8 = &DAT_00000072" identifier = (pointer_expression "&DAT_00000072" & identifier)) ;) (expression_statement "pcVar7 = zTemplate;" (assignment_expression "pcVar7 = zTemplate" identifier = identifier) ;) (while_statement "while( true ) {\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar5 = (char *)(int)*pcVar6;\n        if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar2 + 10 == pcVar6) break;\n        pcVar8 = (char *)(int)pcVar7[2];\n        pcVar7 = pcVar7 + 1;\n      }" { (expression_statement "pcVar5 = (char *)(int)*pcVar6;" (assignment_expression "pcVar5 = (char *)(int)*pcVar6" identifier = (cast_expression "(char *)(int)*pcVar6" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)*pcVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar6" * identifier)))) ;) (if_statement "if (pcVar5 == pcVar8) {\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }\n        else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;" if (parenthesized_expression "(pcVar5 == pcVar8)" ( (binary_expression "pcVar5 == pcVar8" identifier == identifier) )) (compound_statement "{\n          pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));\n          uVar4 = uVar4 | (uint)pcVar5;\n        }" { (expression_statement "pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f));" (assignment_expression "pcVar5 = (char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f))" identifier = (cast_expression "(char *)(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f))" ( (binary_expression "1 << ((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f)" number_literal << (parenthesized_expression "((uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f)" ( (binary_expression "(uint)(pcVar2 + (9 - (int)pcVar6)) & 0x1f" (call_expression "(uint)(pcVar2 + (9 - (int)pcVar6))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar2 + (9 - (int)pcVar6))" ( (binary_expression "pcVar2 + (9 - (int)pcVar6)" identifier + (parenthesized_expression "(9 - (int)pcVar6)" ( (binary_expression "9 - (int)pcVar6" number_literal - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) & number_literal) ))) )))) ;) (expression_statement "uVar4 = uVar4 | (uint)pcVar5;" (assignment_expression "uVar4 = uVar4 | (uint)pcVar5" identifier = (binary_expression "uVar4 | (uint)pcVar5" identifier | (cast_expression "(uint)pcVar5" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) (else_clause "else if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;" else (if_statement "if (pcVar5 != &DAT_0000002d) goto LAB_0001e25c;" if (parenthesized_expression "(pcVar5 != &DAT_0000002d)" ( (binary_expression "pcVar5 != &DAT_0000002d" identifier != (pointer_expression "&DAT_0000002d" & identifier)) )) (goto_statement "goto LAB_0001e25c;" goto statement_identifier ;)))) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar2 + 10 == pcVar6) break;" if (parenthesized_expression "(pcVar2 + 10 == pcVar6)" ( (binary_expression "pcVar2 + 10 == pcVar6" (binary_expression "pcVar2 + 10" identifier + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "pcVar8 = (char *)(int)pcVar7[2];" (assignment_expression "pcVar8 = (char *)(int)pcVar7[2]" identifier = (cast_expression "(char *)(int)pcVar7[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)pcVar7[2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar7[2]" identifier [ number_literal ])))) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) }))) (if_statement "if (((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir) {\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }" if (parenthesized_expression "(((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir)" ( (binary_expression "((uVar4 ^ 0x4000) << 0x11) >> 0x1f == bIsDir" (binary_expression "((uVar4 ^ 0x4000) << 0x11) >> 0x1f" (parenthesized_expression "((uVar4 ^ 0x4000) << 0x11)" ( (binary_expression "(uVar4 ^ 0x4000) << 0x11" (parenthesized_expression "(uVar4 ^ 0x4000)" ( (binary_expression "uVar4 ^ 0x4000" identifier ^ number_literal) )) << number_literal) )) >> number_literal) == identifier) )) (compound_statement "{\n      pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      iVar9 = 0x13;\n      *pzErr = pcVar2;\n      goto LAB_0001e2a8;\n    }" { (expression_statement "pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" identifier = (cast_expression "(char *)(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0xda8)" ( (binary_expression "PTR_LAB_00190958 + 0xda8" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = 0x13;" (assignment_expression "iVar9 = 0x13" identifier = number_literal) ;) (expression_statement "*pzErr = pcVar2;" (assignment_expression "*pzErr = pcVar2" (pointer_expression "*pzErr" * identifier) = identifier) ;) (goto_statement "goto LAB_0001e2a8;" goto statement_identifier ;) })) }))) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "*pMode = uVar4;" (assignment_expression "*pMode = uVar4" (pointer_expression "*pMode" * identifier) = identifier) ;) (labeled_statement "LAB_0001e2a8:\n  if (iVar1 == *(int *)puVar10) {\n    return iVar9;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)puVar10) {\n    return iVar9;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar10)" ( (binary_expression "iVar1 == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar9;\n  }" { (return_statement "return iVar9;" return identifier ;) }))) (expression_statement "puVar10 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar10 = 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 "iVar1 = (**(code **)(puVar10 + 0x1729ec))();" (assignment_expression "iVar1 = (**(code **)(puVar10 + 0x1729ec))()" identifier = (call_expression "(**(code **)(puVar10 + 0x1729ec))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1729ec))" ( (pointer_expression "**(code **)(puVar10 + 0x1729ec)" * (pointer_expression "*(code **)(puVar10 + 0x1729ec)" * (cast_expression "(code **)(puVar10 + 0x1729ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1729ec)" ( (binary_expression "puVar10 + 0x1729ec" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((char *)0x180 < pcVar5 + -0x80) {\n    *(undefined4 *)(iVar1 + 0x640) = 0x88;\n    *(undefined4 *)(iVar1 + 0x648) = 7;\n    return 7;\n  }" if (parenthesized_expression "((char *)0x180 < pcVar5 + -0x80)" ( (binary_expression "(char *)0x180 < pcVar5 + -0x80" (cast_expression "(char *)0x180" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "pcVar5 + -0x80" identifier + number_literal)) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0x640) = 0x88;\n    *(undefined4 *)(iVar1 + 0x648) = 7;\n    return 7;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0x640) = 0x88;" (assignment_expression "*(undefined4 *)(iVar1 + 0x640) = 0x88" (pointer_expression "*(undefined4 *)(iVar1 + 0x640)" * (cast_expression "(undefined4 *)(iVar1 + 0x640)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x640)" ( (binary_expression "iVar1 + 0x640" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar1 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar1 + 0x648)" * (cast_expression "(undefined4 *)(iVar1 + 0x648)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x648)" ( (binary_expression "iVar1 + 0x648" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "*(undefined4 *)(iVar1 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar1 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar1 + 0x648)" * (cast_expression "(undefined4 *)(iVar1 + 0x648)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x648)" ( (binary_expression "iVar1 + 0x648" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar1 + 0x640) = (int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)) >> 2;" (assignment_expression "*(int *)(iVar1 + 0x640) = (int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)) >> 2" (pointer_expression "*(int *)(iVar1 + 0x640)" * (cast_expression "(int *)(iVar1 + 0x640)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x640)" ( (binary_expression "iVar1 + 0x640" identifier + number_literal) )))) = (binary_expression "(int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)) >> 2" (cast_expression "(int)(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0))" ( (binary_expression "800 - ((uint)(pcVar5 + 0x1f) & 0xffffffe0)" number_literal - (parenthesized_expression "((uint)(pcVar5 + 0x1f) & 0xffffffe0)" ( (binary_expression "(uint)(pcVar5 + 0x1f) & 0xffffffe0" (call_expression "(uint)(pcVar5 + 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar5 + 0x1f)" ( (binary_expression "pcVar5 + 0x1f" identifier + number_literal) ))) & number_literal) ))) ))) >> number_literal)) ;) (return_statement "return 7;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}\n\n" (function_definition "undefined4 FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" type_identifier (function_declarator "FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined2 local_28;" type_identifier identifier ;) (declaration "undefined1 local_26;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar11 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar11 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_24 = *(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 "pcVar8 = param_2;" (assignment_expression "pcVar8 = param_2" identifier = identifier) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)()" identifier = (cast_expression "(char *)(*(code *)PTR_sqlite3_value_text_00190974)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sqlite3_value_text_00190974)()" (parenthesized_expression "(*(code *)PTR_sqlite3_value_text_00190974)" ( (pointer_expression "*(code *)PTR_sqlite3_value_text_00190974" * (cast_expression "(code *)PTR_sqlite3_value_text_00190974" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }" { (expression_statement "uVar3 = 0x81a4;" (assignment_expression "uVar3 = 0x81a4" identifier = number_literal) ;) (if_statement "if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = 0x41ed;\n    }" { (expression_statement "uVar3 = 0x41ed;" (assignment_expression "uVar3 = 0x41ed" identifier = number_literal) ;) })) }) (else_clause "else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" else (compound_statement "{\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" { (expression_statement "iVar10 = (int)*pcVar1;" (assignment_expression "iVar10 = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) (if_statement "if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" if (parenthesized_expression "((iVar10 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar10 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar10 - 0x30U & 0xff)" ( (binary_expression "iVar10 - 0x30U & 0xff" (binary_expression "iVar10 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }" { (expression_statement "uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1)" identifier = (call_expression "(*(code *)PTR_sqlite3_value_int_00190978)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_int_00190978)" ( (pointer_expression "*(code *)PTR_sqlite3_value_int_00190978" * (cast_expression "(code *)PTR_sqlite3_value_int_00190978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" else (compound_statement "{\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" { (expression_statement "local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);" (assignment_expression "local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" identifier = (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" * (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdcc)" ( (binary_expression "PTR_LAB_00190958 + 0xdcc" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);" (assignment_expression "local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" identifier = (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" * (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdd0)" ( (binary_expression "PTR_LAB_00190958 + 0xdd0" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);" (assignment_expression "local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" identifier = (pointer_expression "*(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" * (cast_expression "(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190958 + 0xdd4)" ( (binary_expression "PTR_LAB_00190958 + 0xdd4" identifier + number_literal) ))))) ;) (expression_statement "local_26 = PTR_LAB_00190958[0xdd6];" (assignment_expression "local_26 = PTR_LAB_00190958[0xdd6]" identifier = (subscript_expression "PTR_LAB_00190958[0xdd6]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1)" identifier = (call_expression "(*(code *)PTR_strlen_00190d80)(pcVar1)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" ( (pointer_expression "*(code *)PTR_strlen_00190d80" * (cast_expression "(code *)PTR_strlen_00190d80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier )))) ;) (if_statement "if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }" if (parenthesized_expression "((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d))))" ( (binary_expression "(iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))" (parenthesized_expression "(iVar2 != 10)" ( (binary_expression "iVar2 != 10" identifier != number_literal) )) || (parenthesized_expression "(((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))" ( (parenthesized_expression "((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d))" ( (binary_expression "(uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)" (parenthesized_expression "(uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c))" ( (comma_expression "uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)" (assignment_expression "uVar3 = 0x4000" identifier = number_literal) , (binary_expression "iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)" (binary_expression "iVar10 != 100" identifier != number_literal) && (parenthesized_expression "(uVar3 = 0xa000, iVar10 != 0x6c)" ( (comma_expression "uVar3 = 0xa000, iVar10 != 0x6c" (assignment_expression "uVar3 = 0xa000" identifier = number_literal) , (binary_expression "iVar10 != 0x6c" identifier != number_literal)) )))) )) && (parenthesized_expression "(uVar3 = 0x8000, iVar10 != 0x2d)" ( (comma_expression "uVar3 = 0x8000, iVar10 != 0x2d" (assignment_expression "uVar3 = 0x8000" identifier = number_literal) , (binary_expression "iVar10 != 0x2d" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }" { (labeled_statement "LAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" statement_identifier : (expression_statement "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" (assignment_expression "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0xd84)" ( (binary_expression "PTR_LAB_00190958 + 0xd84" identifier + number_literal) )))) ;)) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "pcVar8 = pcVar1;" (assignment_expression "pcVar8 = pcVar1" identifier = identifier) ;) (goto_statement "goto LAB_0001e2a8;" goto statement_identifier ;) })) (expression_statement "pcVar6 = pcVar1 + 1;" (assignment_expression "pcVar6 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = &DAT_00000072;" (assignment_expression "pcVar9 = &DAT_00000072" identifier = (pointer_expression "&DAT_00000072" & identifier)) ;) (expression_statement "puVar7 = &local_30;" (assignment_expression "puVar7 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (while_statement "while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }" { (expression_statement "pcVar8 = (char *)(int)*pcVar6;" (assignment_expression "pcVar8 = (char *)(int)*pcVar6" identifier = (cast_expression "(char *)(int)*pcVar6" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)*pcVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar6" * identifier)))) ;) (if_statement "if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" if (parenthesized_expression "(pcVar8 == pcVar9)" ( (binary_expression "pcVar8 == pcVar9" identifier == identifier) )) (compound_statement "{\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }" { (expression_statement "pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));" (assignment_expression "pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" identifier = (cast_expression "(char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" ( (binary_expression "1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f)" number_literal << (parenthesized_expression "((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f)" ( (binary_expression "(uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f" (call_expression "(uint)(pcVar1 + (9 - (int)pcVar6))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar1 + (9 - (int)pcVar6))" ( (binary_expression "pcVar1 + (9 - (int)pcVar6)" identifier + (parenthesized_expression "(9 - (int)pcVar6)" ( (binary_expression "9 - (int)pcVar6" number_literal - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) & number_literal) ))) )))) ;) (expression_statement "uVar3 = uVar3 | (uint)pcVar8;" (assignment_expression "uVar3 = uVar3 | (uint)pcVar8" identifier = (binary_expression "uVar3 | (uint)pcVar8" identifier | (cast_expression "(uint)pcVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) (else_clause "else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" else (if_statement "if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" if (parenthesized_expression "(pcVar8 != (char *)0x2d)" ( (binary_expression "pcVar8 != (char *)0x2d" identifier != (cast_expression "(char *)0x2d" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001e25c;" goto statement_identifier ;)))) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar1 + 10 == pcVar6) break;" if (parenthesized_expression "(pcVar1 + 10 == pcVar6)" ( (binary_expression "pcVar1 + 10 == pcVar6" (binary_expression "pcVar1 + 10" identifier + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);" (assignment_expression "pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2)" identifier = (cast_expression "(char *)(int)*(char *)((int)puVar7 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)*(char *)((int)puVar7 + 2)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)puVar7 + 2)" * (cast_expression "(char *)((int)puVar7 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 2)" ( (binary_expression "(int)puVar7 + 2" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))))) ;) (expression_statement "puVar7 = (undefined4 *)((int)puVar7 + 1);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar7 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar7 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 1)" ( (binary_expression "(int)puVar7 + 1" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) }))) (if_statement "if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }" if (parenthesized_expression "((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2)" ( (binary_expression "(char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2" (cast_expression "(char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uVar3 ^ 0x4000) << 0x11) >> 0x1f)" ( (binary_expression "((uVar3 ^ 0x4000) << 0x11) >> 0x1f" (parenthesized_expression "((uVar3 ^ 0x4000) << 0x11)" ( (binary_expression "(uVar3 ^ 0x4000) << 0x11" (parenthesized_expression "(uVar3 ^ 0x4000)" ( (binary_expression "uVar3 ^ 0x4000" identifier ^ number_literal) )) << number_literal) )) >> number_literal) ))) == identifier) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }" { (expression_statement "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);" (assignment_expression "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" identifier = (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" ( (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" * (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00190958 + 0xda8)" ( (binary_expression "PTR_LAB_00190958 + 0xda8" identifier + number_literal) )))) ;) (expression_statement "uVar5 = 0x13;" (assignment_expression "uVar5 = 0x13" identifier = number_literal) ;) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" * identifier) = identifier) ;) (goto_statement "goto LAB_0001e2a8;" goto statement_identifier ;) })) }))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "*param_3 = uVar3;" (assignment_expression "*param_3 = uVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (labeled_statement "LAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar11)" ( (binary_expression "local_24 == *(int *)puVar11" identifier == (pointer_expression "*(int *)puVar11" * (cast_expression "(int *)puVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) }))) (expression_statement "puVar11 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar11 = 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 "iVar10 = (**(code **)(puVar11 + 0x1729ec))();" (assignment_expression "iVar10 = (**(code **)(puVar11 + 0x1729ec))()" identifier = (call_expression "(**(code **)(puVar11 + 0x1729ec))()" (parenthesized_expression "(**(code **)(puVar11 + 0x1729ec))" ( (pointer_expression "**(code **)(puVar11 + 0x1729ec)" * (pointer_expression "*(code **)(puVar11 + 0x1729ec)" * (cast_expression "(code **)(puVar11 + 0x1729ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x1729ec)" ( (binary_expression "puVar11 + 0x1729ec" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }" if (parenthesized_expression "((char *)0x180 < pcVar8 + -0x80)" ( (binary_expression "(char *)0x180 < pcVar8 + -0x80" (cast_expression "(char *)0x180" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "pcVar8 + -0x80" identifier + number_literal)) )) (compound_statement "{\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }" { (expression_statement "*(undefined4 *)(iVar10 + 0x640) = 0x88;" (assignment_expression "*(undefined4 *)(iVar10 + 0x640) = 0x88" (pointer_expression "*(undefined4 *)(iVar10 + 0x640)" * (cast_expression "(undefined4 *)(iVar10 + 0x640)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x640)" ( (binary_expression "iVar10 + 0x640" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar10 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar10 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar10 + 0x648)" * (cast_expression "(undefined4 *)(iVar10 + 0x648)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x648)" ( (binary_expression "iVar10 + 0x648" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "*(undefined4 *)(iVar10 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar10 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar10 + 0x648)" * (cast_expression "(undefined4 *)(iVar10 + 0x648)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x648)" ( (binary_expression "iVar10 + 0x648" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;" (assignment_expression "*(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2" (pointer_expression "*(int *)(iVar10 + 0x640)" * (cast_expression "(int *)(iVar10 + 0x640)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x640)" ( (binary_expression "iVar10 + 0x640" identifier + number_literal) )))) = (binary_expression "(int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2" (cast_expression "(int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0))" ( (binary_expression "800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)" number_literal - (parenthesized_expression "((uint)(pcVar8 + 0x1f) & 0xffffffe0)" ( (binary_expression "(uint)(pcVar8 + 0x1f) & 0xffffffe0" (call_expression "(uint)(pcVar8 + 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar8 + 0x1f)" ( (binary_expression "pcVar8 + 0x1f" identifier + number_literal) ))) & number_literal) ))) ))) >> number_literal)) ;) (return_statement "return 7;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = 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 ( ))))) ;) (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) ;) (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 = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (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 (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) )))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) ))) )) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) & LIT) ))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ LIT) )) << LIT) )) >> LIT) ))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression LIT - (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))) ))) >> LIT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)\n\n{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001e17c(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)" (identifier "FUN_0001e17c") (parameter_list "(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined4 local_30;\n  undefined4 local_2c;\n  undefined2 local_28;\n  undefined1 local_26;\n  int local_24;\n  \n  puVar11 = PTR___stack_chk_guard_00190e24;\n  local_24 = *(int *)PTR___stack_chk_guard_00190e24;\n  pcVar8 = param_2;\n  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();\n  if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }\n  uVar5 = 0;\n  *param_3 = uVar3;\nLAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }\n  puVar11 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar10 = (**(code **)(puVar11 + 0x1729ec))();\n  if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }\n  *(undefined4 *)(iVar10 + 0x648) = 7;\n  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;\n  return 7;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined *puVar11;" (type_identifier "undefined") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined2 local_28;" (type_identifier "undefined2") (identifier "local_28") (; ";")) (declaration "undefined1 local_26;" (type_identifier "undefined1") (identifier "local_26") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "puVar11 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar11 = PTR___stack_chk_guard_00190e24" (identifier "puVar11") (= "=") (identifier "PTR___stack_chk_guard_00190e24")) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_00190e24" (identifier "local_24") (= "=") (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 "pcVar8 = param_2;" (assignment_expression "pcVar8 = param_2" (identifier "pcVar8") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)()" (identifier "pcVar1") (= "=") (cast_expression "(char *)(*(code *)PTR_sqlite3_value_text_00190974)()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_sqlite3_value_text_00190974)()" (parenthesized_expression "(*(code *)PTR_sqlite3_value_text_00190974)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_value_text_00190974" (* "*") (cast_expression "(code *)PTR_sqlite3_value_text_00190974" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_value_text_00190974"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (pcVar1 == (char *)0x0) {\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }\n  else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" (if "if") (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar3 = 0x81a4;\n    if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }\n  }" ({ "{") (expression_statement "uVar3 = 0x81a4;" (assignment_expression "uVar3 = 0x81a4" (identifier "uVar3") (= "=") (number_literal "0x81a4")) (; ";")) (if_statement "if (param_2 != (char *)0x0) {\n      uVar3 = 0x41ed;\n    }" (if "if") (parenthesized_expression "(param_2 != (char *)0x0)" (( "(") (binary_expression "param_2 != (char *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar3 = 0x41ed;\n    }" ({ "{") (expression_statement "uVar3 = 0x41ed;" (assignment_expression "uVar3 = 0x41ed" (identifier "uVar3") (= "=") (number_literal "0x41ed")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" (else "else") (compound_statement "{\n    iVar10 = (int)*pcVar1;\n    if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }\n    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }\n  }" ({ "{") (expression_statement "iVar10 = (int)*pcVar1;" (assignment_expression "iVar10 = (int)*pcVar1" (identifier "iVar10") (= "=") (cast_expression "(int)*pcVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")))) (; ";")) (if_statement "if ((iVar10 - 0x30U & 0xff) < 10) {\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }\n    else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" (if "if") (parenthesized_expression "((iVar10 - 0x30U & 0xff) < 10)" (( "(") (binary_expression "(iVar10 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar10 - 0x30U & 0xff)" (( "(") (binary_expression "iVar10 - 0x30U & 0xff" (binary_expression "iVar10 - 0x30U" (identifier "iVar10") (- "-") (number_literal "0x30U")) (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "10")) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_sqlite3_value_int_00190978)(param_1)" (parenthesized_expression "(*(code *)PTR_sqlite3_value_int_00190978)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_value_int_00190978" (* "*") (cast_expression "(code *)PTR_sqlite3_value_int_00190978" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_value_int_00190978"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" (else "else") (compound_statement "{\n      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);\n      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);\n      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);\n      local_26 = PTR_LAB_00190958[0xdd6];\n      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);\n      if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }\n      pcVar6 = pcVar1 + 1;\n      pcVar9 = &DAT_00000072;\n      puVar7 = &local_30;\n      while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }\n    }" ({ "{") (expression_statement "local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);" (assignment_expression "local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" (identifier "local_30") (= "=") (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" (* "*") (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdcc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190958 + 0xdcc)" (( "(") (binary_expression "PTR_LAB_00190958 + 0xdcc" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0xdcc")) () ")"))))) (; ";")) (expression_statement "local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);" (assignment_expression "local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" (identifier "local_2c") (= "=") (pointer_expression "*(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" (* "*") (cast_expression "(undefined4 *)(PTR_LAB_00190958 + 0xdd0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190958 + 0xdd0)" (( "(") (binary_expression "PTR_LAB_00190958 + 0xdd0" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0xdd0")) () ")"))))) (; ";")) (expression_statement "local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);" (assignment_expression "local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" (identifier "local_28") (= "=") (pointer_expression "*(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" (* "*") (cast_expression "(undefined2 *)(PTR_LAB_00190958 + 0xdd4)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190958 + 0xdd4)" (( "(") (binary_expression "PTR_LAB_00190958 + 0xdd4" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0xdd4")) () ")"))))) (; ";")) (expression_statement "local_26 = PTR_LAB_00190958[0xdd6];" (assignment_expression "local_26 = PTR_LAB_00190958[0xdd6]" (identifier "local_26") (= "=") (subscript_expression "PTR_LAB_00190958[0xdd6]" (identifier "PTR_LAB_00190958") ([ "[") (number_literal "0xdd6") (] "]"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strlen_00190d80)(pcVar1)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" (( "(") (pointer_expression "*(code *)PTR_strlen_00190d80" (* "*") (cast_expression "(code *)PTR_strlen_00190d80" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00190d80"))) () ")")) (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";")) (if_statement "if ((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))) {\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }" (if "if") (parenthesized_expression "((iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d))))" (( "(") (binary_expression "(iVar2 != 10) ||\n         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))" (parenthesized_expression "(iVar2 != 10)" (( "(") (binary_expression "iVar2 != 10" (identifier "iVar2") (!= "!=") (number_literal "10")) () ")")) (|| "||") (parenthesized_expression "(((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)))" (( "(") (parenthesized_expression "((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d))" (( "(") (binary_expression "(uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&\n          (uVar3 = 0x8000, iVar10 != 0x2d)" (parenthesized_expression "(uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c))" (( "(") (comma_expression "uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)" (assignment_expression "uVar3 = 0x4000" (identifier "uVar3") (= "=") (number_literal "0x4000")) (, ",") (binary_expression "iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)" (binary_expression "iVar10 != 100" (identifier "iVar10") (!= "!=") (number_literal "100")) (&& "&&") (parenthesized_expression "(uVar3 = 0xa000, iVar10 != 0x6c)" (( "(") (comma_expression "uVar3 = 0xa000, iVar10 != 0x6c" (assignment_expression "uVar3 = 0xa000" (identifier "uVar3") (= "=") (number_literal "0xa000")) (, ",") (binary_expression "iVar10 != 0x6c" (identifier "iVar10") (!= "!=") (number_literal "0x6c"))) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = 0x8000, iVar10 != 0x2d)" (( "(") (comma_expression "uVar3 = 0x8000, iVar10 != 0x2d" (assignment_expression "uVar3 = 0x8000" (identifier "uVar3") (= "=") (number_literal "0x8000")) (, ",") (binary_expression "iVar10 != 0x2d" (identifier "iVar10") (!= "!=") (number_literal "0x2d"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\nLAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);\n        uVar5 = 1;\n        *param_4 = uVar4;\n        pcVar8 = pcVar1;\n        goto LAB_0001e2a8;\n      }" ({ "{") (labeled_statement "LAB_0001e25c:\n        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" (statement_identifier "LAB_0001e25c") (: ":") (expression_statement "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);" (assignment_expression "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0xd84)" (( "(") (binary_expression "PTR_LAB_00190958 + 0xd84" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0xd84")) () ")")))) (; ";"))) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "pcVar8 = pcVar1;" (assignment_expression "pcVar8 = pcVar1" (identifier "pcVar8") (= "=") (identifier "pcVar1")) (; ";")) (goto_statement "goto LAB_0001e2a8;" (goto "goto") (statement_identifier "LAB_0001e2a8") (; ";")) (} "}"))) (expression_statement "pcVar6 = pcVar1 + 1;" (assignment_expression "pcVar6 = pcVar1 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar9 = &DAT_00000072;" (assignment_expression "pcVar9 = &DAT_00000072" (identifier "pcVar9") (= "=") (pointer_expression "&DAT_00000072" (& "&") (identifier "DAT_00000072"))) (; ";")) (expression_statement "puVar7 = &local_30;" (assignment_expression "puVar7 = &local_30" (identifier "puVar7") (= "=") (pointer_expression "&local_30" (& "&") (identifier "local_30"))) (; ";")) (while_statement "while( true ) {\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pcVar8 = (char *)(int)*pcVar6;\n        if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;\n        pcVar6 = pcVar6 + 1;\n        if (pcVar1 + 10 == pcVar6) break;\n        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);\n        puVar7 = (undefined4 *)((int)puVar7 + 1);\n      }" ({ "{") (expression_statement "pcVar8 = (char *)(int)*pcVar6;" (assignment_expression "pcVar8 = (char *)(int)*pcVar6" (identifier "pcVar8") (= "=") (cast_expression "(char *)(int)*pcVar6" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)*pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))))) (; ";")) (if_statement "if (pcVar8 == pcVar9) {\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }\n        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" (if "if") (parenthesized_expression "(pcVar8 == pcVar9)" (( "(") (binary_expression "pcVar8 == pcVar9" (identifier "pcVar8") (== "==") (identifier "pcVar9")) () ")")) (compound_statement "{\n          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));\n          uVar3 = uVar3 | (uint)pcVar8;\n        }" ({ "{") (expression_statement "pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));" (assignment_expression "pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" (identifier "pcVar8") (= "=") (cast_expression "(char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f))" (( "(") (binary_expression "1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f)" (( "(") (binary_expression "(uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f" (call_expression "(uint)(pcVar1 + (9 - (int)pcVar6))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(pcVar1 + (9 - (int)pcVar6))" (( "(") (binary_expression "pcVar1 + (9 - (int)pcVar6)" (identifier "pcVar1") (+ "+") (parenthesized_expression "(9 - (int)pcVar6)" (( "(") (binary_expression "9 - (int)pcVar6" (number_literal "9") (- "-") (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6"))) () ")"))) () ")"))) (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (expression_statement "uVar3 = uVar3 | (uint)pcVar8;" (assignment_expression "uVar3 = uVar3 | (uint)pcVar8" (identifier "uVar3") (= "=") (binary_expression "uVar3 | (uint)pcVar8" (identifier "uVar3") (| "|") (cast_expression "(uint)pcVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pcVar8")))) (; ";")) (} "}")) (else_clause "else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" (else "else") (if_statement "if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;" (if "if") (parenthesized_expression "(pcVar8 != (char *)0x2d)" (( "(") (binary_expression "pcVar8 != (char *)0x2d" (identifier "pcVar8") (!= "!=") (cast_expression "(char *)0x2d" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2d"))) () ")")) (goto_statement "goto LAB_0001e25c;" (goto "goto") (statement_identifier "LAB_0001e25c") (; ";"))))) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pcVar1 + 10 == pcVar6) break;" (if "if") (parenthesized_expression "(pcVar1 + 10 == pcVar6)" (( "(") (binary_expression "pcVar1 + 10 == pcVar6" (binary_expression "pcVar1 + 10" (identifier "pcVar1") (+ "+") (number_literal "10")) (== "==") (identifier "pcVar6")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);" (assignment_expression "pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2)" (identifier "pcVar9") (= "=") (cast_expression "(char *)(int)*(char *)((int)puVar7 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)*(char *)((int)puVar7 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)((int)puVar7 + 2)" (* "*") (cast_expression "(char *)((int)puVar7 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 2)" (( "(") (binary_expression "(int)puVar7 + 2" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "2")) () ")"))))))) (; ";")) (expression_statement "puVar7 = (undefined4 *)((int)puVar7 + 1);" (assignment_expression "puVar7 = (undefined4 *)((int)puVar7 + 1)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((int)puVar7 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 1)" (( "(") (binary_expression "(int)puVar7 + 1" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}"))) (} "}")))) (if_statement "if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }" (if "if") (parenthesized_expression "((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2)" (( "(") (binary_expression "(char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2" (cast_expression "(char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(((uVar3 ^ 0x4000) << 0x11) >> 0x1f)" (( "(") (binary_expression "((uVar3 ^ 0x4000) << 0x11) >> 0x1f" (parenthesized_expression "((uVar3 ^ 0x4000) << 0x11)" (( "(") (binary_expression "(uVar3 ^ 0x4000) << 0x11" (parenthesized_expression "(uVar3 ^ 0x4000)" (( "(") (binary_expression "uVar3 ^ 0x4000" (identifier "uVar3") (^ "^") (number_literal "0x4000")) () ")")) (<< "<<") (number_literal "0x11")) () ")")) (>> ">>") (number_literal "0x1f")) () ")"))) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);\n      uVar5 = 0x13;\n      *param_4 = uVar4;\n      goto LAB_0001e2a8;\n    }" ({ "{") (expression_statement "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);" (assignment_expression "uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8)" (parenthesized_expression "(*(code *)PTR_sqlite3_mprintf_00190964)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_mprintf_00190964" (* "*") (cast_expression "(code *)PTR_sqlite3_mprintf_00190964" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_mprintf_00190964"))) () ")")) (argument_list "(PTR_LAB_00190958 + 0xda8)" (( "(") (binary_expression "PTR_LAB_00190958 + 0xda8" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0xda8")) () ")")))) (; ";")) (expression_statement "uVar5 = 0x13;" (assignment_expression "uVar5 = 0x13" (identifier "uVar5") (= "=") (number_literal "0x13")) (; ";")) (expression_statement "*param_4 = uVar4;" (assignment_expression "*param_4 = uVar4" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar4")) (; ";")) (goto_statement "goto LAB_0001e2a8;" (goto "goto") (statement_identifier "LAB_0001e2a8") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_3 = uVar3;" (assignment_expression "*param_3 = uVar3" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar3")) (; ";")) (labeled_statement "LAB_0001e2a8:\n  if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }" (statement_identifier "LAB_0001e2a8") (: ":") (if_statement "if (local_24 == *(int *)puVar11) {\n    return uVar5;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)puVar11)" (( "(") (binary_expression "local_24 == *(int *)puVar11" (identifier "local_24") (== "==") (pointer_expression "*(int *)puVar11" (* "*") (cast_expression "(int *)puVar11" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar11")))) () ")")) (compound_statement "{\n    return uVar5;\n  }" ({ "{") (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))) (expression_statement "puVar11 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar11 = PTR___stack_chk_fail_00190df8" (identifier "puVar11") (= "=") (identifier "PTR___stack_chk_fail_00190df8")) (; ";")) (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 "iVar10 = (**(code **)(puVar11 + 0x1729ec))();" (assignment_expression "iVar10 = (**(code **)(puVar11 + 0x1729ec))()" (identifier "iVar10") (= "=") (call_expression "(**(code **)(puVar11 + 0x1729ec))()" (parenthesized_expression "(**(code **)(puVar11 + 0x1729ec))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x1729ec)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x1729ec)" (* "*") (cast_expression "(code **)(puVar11 + 0x1729ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x1729ec)" (( "(") (binary_expression "puVar11 + 0x1729ec" (identifier "puVar11") (+ "+") (number_literal "0x1729ec")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((char *)0x180 < pcVar8 + -0x80) {\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }" (if "if") (parenthesized_expression "((char *)0x180 < pcVar8 + -0x80)" (( "(") (binary_expression "(char *)0x180 < pcVar8 + -0x80" (cast_expression "(char *)0x180" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x180")) (< "<") (binary_expression "pcVar8 + -0x80" (identifier "pcVar8") (+ "+") (number_literal "-0x80"))) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar10 + 0x640) = 0x88;\n    *(undefined4 *)(iVar10 + 0x648) = 7;\n    return 7;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar10 + 0x640) = 0x88;" (assignment_expression "*(undefined4 *)(iVar10 + 0x640) = 0x88" (pointer_expression "*(undefined4 *)(iVar10 + 0x640)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x640)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x640)" (( "(") (binary_expression "iVar10 + 0x640" (identifier "iVar10") (+ "+") (number_literal "0x640")) () ")")))) (= "=") (number_literal "0x88")) (; ";")) (expression_statement "*(undefined4 *)(iVar10 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar10 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar10 + 0x648)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x648)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x648)" (( "(") (binary_expression "iVar10 + 0x648" (identifier "iVar10") (+ "+") (number_literal "0x648")) () ")")))) (= "=") (number_literal "7")) (; ";")) (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar10 + 0x648) = 7;" (assignment_expression "*(undefined4 *)(iVar10 + 0x648) = 7" (pointer_expression "*(undefined4 *)(iVar10 + 0x648)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x648)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x648)" (( "(") (binary_expression "iVar10 + 0x648" (identifier "iVar10") (+ "+") (number_literal "0x648")) () ")")))) (= "=") (number_literal "7")) (; ";")) (expression_statement "*(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;" (assignment_expression "*(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2" (pointer_expression "*(int *)(iVar10 + 0x640)" (* "*") (cast_expression "(int *)(iVar10 + 0x640)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x640)" (( "(") (binary_expression "iVar10 + 0x640" (identifier "iVar10") (+ "+") (number_literal "0x640")) () ")")))) (= "=") (binary_expression "(int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2" (cast_expression "(int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0))" (( "(") (binary_expression "800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)" (number_literal "800") (- "-") (parenthesized_expression "((uint)(pcVar8 + 0x1f) & 0xffffffe0)" (( "(") (binary_expression "(uint)(pcVar8 + 0x1f) & 0xffffffe0" (call_expression "(uint)(pcVar8 + 0x1f)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(pcVar8 + 0x1f)" (( "(") (binary_expression "pcVar8 + 0x1f" (identifier "pcVar8") (+ "+") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "0xffffffe0")) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";")) (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}")))
(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (identifier))) (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: (identifier) right: (number_literal))) (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: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (labeled_statement label: (statement_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 (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) alternative: (else_clause (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: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (labeled_statement label: (statement_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 (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: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (binary_expression left: (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: (identifier) right: (number_literal))))) right: (number_literal))) (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: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement (number_literal)))) (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: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) right: (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 param_1,char *param_2,uint *param_3,undefined4 *param_4)

{
  char *pcVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  undefined4 *puVar7;
  char *pcVar8;
  char *pcVar9;
  int iVar10;
  undefined *puVar11;
  undefined4 local_30;
  undefined4 local_2c;
  undefined2 local_28;
  undefined1 local_26;
  int local_24;
  
  puVar11 = PTR___stack_chk_guard_00190e24;
  local_24 = *(int *)PTR___stack_chk_guard_00190e24;
  pcVar8 = param_2;
  pcVar1 = (char *)(*(code *)PTR_sqlite3_value_text_00190974)();
  if (pcVar1 == (char *)0x0) {
    uVar3 = 0x81a4;
    if (param_2 != (char *)0x0) {
      uVar3 = 0x41ed;
    }
  }
  else {
    iVar10 = (int)*pcVar1;
    if ((iVar10 - 0x30U & 0xff) < 10) {
      uVar3 = (*(code *)PTR_sqlite3_value_int_00190978)(param_1);
    }
    else {
      local_30 = *(undefined4 *)(PTR_LAB_00190958 + 0xdcc);
      local_2c = *(undefined4 *)(PTR_LAB_00190958 + 0xdd0);
      local_28 = *(undefined2 *)(PTR_LAB_00190958 + 0xdd4);
      local_26 = PTR_LAB_00190958[0xdd6];
      iVar2 = (*(code *)PTR_strlen_00190d80)(pcVar1);
      if ((iVar2 != 10) ||
         (((uVar3 = 0x4000, iVar10 != 100 && (uVar3 = 0xa000, iVar10 != 0x6c)) &&
          (uVar3 = 0x8000, iVar10 != 0x2d)))) {
LAB_0001e25c:
        uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xd84);
        uVar5 = 1;
        *param_4 = uVar4;
        pcVar8 = pcVar1;
        goto LAB_0001e2a8;
      }
      pcVar6 = pcVar1 + 1;
      pcVar9 = &DAT_00000072;
      puVar7 = &local_30;
      while( true ) {
        pcVar8 = (char *)(int)*pcVar6;
        if (pcVar8 == pcVar9) {
          pcVar8 = (char *)(1 << ((uint)(pcVar1 + (9 - (int)pcVar6)) & 0x1f));
          uVar3 = uVar3 | (uint)pcVar8;
        }
        else if (pcVar8 != (char *)0x2d) goto LAB_0001e25c;
        pcVar6 = pcVar6 + 1;
        if (pcVar1 + 10 == pcVar6) break;
        pcVar9 = (char *)(int)*(char *)((int)puVar7 + 2);
        puVar7 = (undefined4 *)((int)puVar7 + 1);
      }
    }
    if ((char *)(((uVar3 ^ 0x4000) << 0x11) >> 0x1f) == param_2) {
      uVar4 = (*(code *)PTR_sqlite3_mprintf_00190964)(PTR_LAB_00190958 + 0xda8);
      uVar5 = 0x13;
      *param_4 = uVar4;
      goto LAB_0001e2a8;
    }
  }
  uVar5 = 0;
  *param_3 = uVar3;
LAB_0001e2a8:
  if (local_24 == *(int *)puVar11) {
    return uVar5;
  }
  puVar11 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  iVar10 = (**(code **)(puVar11 + 0x1729ec))();
  if ((char *)0x180 < pcVar8 + -0x80) {
    *(undefined4 *)(iVar10 + 0x640) = 0x88;
    *(undefined4 *)(iVar10 + 0x648) = 7;
    return 7;
  }
  *(undefined4 *)(iVar10 + 0x648) = 7;
  *(int *)(iVar10 + 0x640) = (int)(800 - ((uint)(pcVar8 + 0x1f) & 0xffffffe0)) >> 2;
  return 7;
}

