
void verifyDbFile(unixFile *pFile)

{
  int iVar1;
  unixInodeInfo *puVar2;
  int iVar3;
  UnixUnusedFd *pUVar4;
  unixFile *pFile_00;
  char *in_a2;
  unixInodeInfo *puVar5;
  undefined *puVar6;
  code *pcVar7;
  stat buf;
  
  puVar6 = PTR___stack_chk_guard_0015ca30;
  iVar3 = *(int *)PTR___stack_chk_guard_0015ca30;
  pFile_00 = pFile;
  if ((pFile->ctrlFlags & 0x80) == 0) {
    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf);
    if (iVar1 == 0) {
      if (buf.st_nlink == 0) {
        pFile_00 = (unixFile *)0x1c;
        in_a2 = pFile->zPath;
        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);
      }
      else if (buf.st_nlink < 2) {
        pFile_00 = (unixFile *)&pFile->pInode;
        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);
        if (iVar1 != 0) {
          pFile_00 = (unixFile *)0x1c;
          in_a2 = pFile->zPath;
          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);
        }
      }
      else {
        pFile_00 = (unixFile *)0x1c;
        in_a2 = pFile->zPath;
        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);
      }
    }
    else {
      pFile_00 = (unixFile *)0x1c;
      in_a2 = pFile->zPath;
      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);
    }
  }
  if (iVar3 == *(int *)puVar6) {
    return;
  }
  puVar6 = PTR___stack_chk_fail_0015ca14;
  (*(code *)PTR___stack_chk_fail_0015ca14)();
  iVar3 = *(int *)(puVar6 + 0xed774);
  puVar5 = pFile_00->pInode;
  verifyDbFile(pFile_00);
  posixUnlock((sqlite3_file *)pFile_00,0,(int)in_a2);
  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar3 + -0x3358));
  (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);
  if (puVar5->nLock != 0) {
    puVar2 = pFile_00->pInode;
    pUVar4 = pFile_00->pPreallocatedUnused;
    pUVar4->pNext = puVar2->pUnused;
    puVar2->pUnused = pUVar4;
    pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0;
    pFile_00->h = -1;
  }
  (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);
  puVar5 = pFile_00->pInode;
  if ((puVar5 != (unixInodeInfo *)0x0) &&
     (iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0)) {
    (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);
    closePendingFds(pFile_00);
    (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);
    if (puVar5->pPrev == (unixInodeInfo *)0x0) {
      puVar2 = puVar5->pNext;
      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;
    }
    else {
      puVar5->pPrev->pNext = puVar5->pNext;
      puVar2 = puVar5->pNext;
    }
    pcVar7 = *(code **)(puVar6 + 0xed8f0);
    if (puVar2 != (unixInodeInfo *)0x0) {
      puVar2->pPrev = puVar5->pPrev;
    }
    (*pcVar7)(puVar5->pLockMutex);
    (**(code **)(puVar6 + 0xed788))(puVar5);
  }
  closeUnixFile((sqlite3_file *)pFile_00);
  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar3 + -0x3358));
  return;
}



int FUN_0006ed34(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined *puVar6;
  code *pcVar7;
  undefined1 auStack_b8 [28];
  uint local_9c;
  int local_14;
  
  puVar6 = PTR___stack_chk_guard_0015ca30;
  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;
  iVar1 = param_1;
  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {
    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);
    if (iVar1 == 0) {
      if (local_9c == 0) {
        iVar1 = 0x1c;
        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));
      }
      else if (local_9c < 2) {
        iVar1 = param_1 + 8;
        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);
        if (iVar2 != 0) {
          iVar1 = 0x1c;
          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));
        }
      }
      else {
        iVar1 = 0x1c;
        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));
      }
    }
    else {
      iVar1 = 0x1c;
      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));
    }
  }
  if (local_14 == *(int *)puVar6) {
    return *(int *)puVar6;
  }
  puVar6 = PTR___stack_chk_fail_0015ca14;
  (*(code *)PTR___stack_chk_fail_0015ca14)();
  iVar5 = *(int *)(puVar6 + 0xed774);
  iVar2 = *(int *)(iVar1 + 8);
  FUN_0006ed34();
  FUN_0006d7fc(iVar1,0);
  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));
  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));
  if (*(int *)(iVar2 + 0x18) != 0) {
    iVar3 = *(int *)(iVar1 + 8);
    iVar4 = *(int *)(iVar1 + 0x1c);
    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);
    *(int *)(iVar3 + 0x20) = iVar4;
    *(undefined4 *)(iVar1 + 0x1c) = 0;
    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;
  }
  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));
  iVar2 = *(int *)(iVar1 + 8);
  if ((iVar2 != 0) &&
     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {
    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));
    FUN_0006d740(iVar1);
    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));
    if (*(int *)(iVar2 + 0x30) == 0) {
      iVar3 = *(int *)(iVar2 + 0x2c);
      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;
    }
    else {
      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);
      iVar3 = *(int *)(iVar2 + 0x2c);
    }
    pcVar7 = *(code **)(puVar6 + 0xed8f0);
    if (iVar3 != 0) {
      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);
    }
    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));
    (**(code **)(puVar6 + 0xed788))(iVar2);
  }
  iVar1 = FUN_0006d468(iVar1);
  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));
  return iVar1;
}


lui gp,0xf
addiu gp,gp,0x587c
addu gp,gp,t9
addiu sp,sp,-0xd0
sw s1,0xc8(sp)
sw gp,0x10(sp)
sw ra,0xcc(sp)
sw s0,0xc4(sp)
lw s1,-0x7b80(gp)
lhu v0,0x12(a0)
lw v1,0x0(s1)
andi v0,v0,0x80
sw v1,0xbc(sp)
bne v0,zero,0x0006edb8
_lw v0,-0x7fd8(gp)
or s0,a0,zero
lw a0,0xc(a0)
lw t9,-0x3b78(v0)
jalr t9
_addiu a1,sp,0x18
bne v0,zero,0x0006ee18
_lw gp,0x10(sp)
lw v0,0x34(sp)
beq v0,zero,0x0006edd8
_sltiu v0,v0,0x2
beq v0,zero,0x0006edf8
_lw t9,-0x7ed4(gp)
addiu a1,s0,0x20
addiu t9,t9,0x19a0
jalr t9
_addiu a0,s0,0x8
bne v0,zero,0x0006ee38
_lw gp,0x10(sp)
lw v1,0xbc(sp)
lw v0,0x0(s1)
bne v1,v0,0x0006ee58
_lw ra,0xcc(sp)
lw s1,0xc8(sp)
lw s0,0xc4(sp)
jr ra
_addiu sp,sp,0xd0
lw a1,-0x7fc8(gp)
li a0,0x1c
lw t9,-0x7dc8(gp)
lw a2,0x20(s0)
bal 0x0006881c
_addiu a1,a1,0x7bdc
b 0x0006edb8
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
li a0,0x1c
lw t9,-0x7dc8(gp)
lw a2,0x20(s0)
bal 0x0006881c
_addiu a1,a1,0x7bfc
b 0x0006edb8
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
li a0,0x1c
lw t9,-0x7dc8(gp)
lw a2,0x20(s0)
bal 0x0006881c
_addiu a1,a1,0x7bc4
b 0x0006edb8
_lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
li a0,0x1c
lw t9,-0x7dc8(gp)
lw a2,0x20(s0)
bal 0x0006881c
_addiu a1,a1,0x7c18
b 0x0006edb8
_lw gp,0x10(sp)
lw t9,-0x7b9c(gp)
jalr t9
_nop
lui gp,0xf
addiu gp,gp,0x574c
addu gp,gp,t9
lw t9,-0x7e6c(gp)
addiu sp,sp,-0x30
addiu t9,t9,-0x12cc
sw ra,0x2c(sp)
sw gp,0x10(sp)
sw s2,0x28(sp)
sw s0,0x20(sp)
or s0,a0,zero
sw s1,0x24(sp)
lw s2,-0x7fd8(gp)
bal 0x0006ed34
_lw s1,0x8(a0)
or a1,zero,zero
lw gp,0x10(sp)
lw t9,-0x7e6c(gp)
addiu t9,t9,-0x2804
bal 0x0006d7fc
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7efc(gp)
jalr t9
_lw a0,-0x3358(s2)
lw gp,0x10(sp)
lw t9,-0x7efc(gp)
jalr t9
_lw a0,0x10(s1)
lw v0,0x18(s1)
beq v0,zero,0x0006ef04
_lw gp,0x10(sp)
lw v0,0x8(s0)
lw v1,0x1c(s0)
lw a0,0x20(v0)
sw a0,0x8(v1)
sw v1,0x20(v0)
li v0,-0x1
sw zero,0x1c(s0)
sw v0,0xc(s0)
lw t9,-0x7ef8(gp)
jalr t9
_lw a0,0x10(s1)
lw s1,0x8(s0)
beq s1,zero,0x0006ef2c
_lw gp,0x10(sp)
lw v0,0x24(s1)
addiu v0,v0,-0x1
beq v0,zero,0x0006ef6c
_sw v0,0x24(s1)
lw t9,-0x7e6c(gp)
addiu t9,t9,-0x2b98
bal 0x0006d468
_or a0,s0,zero
lw gp,0x10(sp)
lw a0,-0x3358(s2)
lw t9,-0x7ef8(gp)
jalr t9
_sw v0,0x1c(sp)
lw ra,0x2c(sp)
lw v0,0x1c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7efc(gp)
jalr t9
_lw a0,0x10(s1)
lw gp,0x10(sp)
lw t9,-0x7e6c(gp)
addiu t9,t9,-0x28c0
bal 0x0006d740
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7ef8(gp)
jalr t9
_lw a0,0x10(s1)
lw v0,0x30(s1)
beq v0,zero,0x0006efe4
_lw gp,0x10(sp)
lw v1,0x2c(s1)
sw v1,0x2c(v0)
lw v0,0x2c(s1)
beq v0,zero,0x0006efc4
_lw t9,-0x7e5c(gp)
lw v1,0x30(s1)
sw v1,0x30(v0)
jalr t9
_lw a0,0x10(s1)
lw gp,0x10(sp)
lw t9,-0x7fc4(gp)
jalr t9
_or a0,s1,zero
b 0x0006ef2c
_lw gp,0x10(sp)
lw v1,-0x7fd8(gp)
lw v0,0x2c(s1)
b 0x0006efb4
_sw v0,-0x335c(v1)
(translation_unit "int FUN_0006ed34(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}\n\n" (function_definition "int FUN_0006ed34(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0006ed34(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined1 auStack_b8 [28];" type_identifier (array_declarator "auStack_b8 [28]" identifier [ number_literal ]) ;) (declaration "uint local_9c;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_0015ca30;" (assignment_expression "puVar6 = PTR___stack_chk_guard_0015ca30" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015ca30;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015ca30" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ca30" * (cast_expression "(int *)PTR___stack_chk_guard_0015ca30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = param_1;" (assignment_expression "iVar1 = param_1" identifier = identifier) ;) (if_statement "if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }" if (parenthesized_expression "((*(ushort *)(param_1 + 0x12) & 0x80) == 0)" ( (binary_expression "(*(ushort *)(param_1 + 0x12) & 0x80) == 0" (parenthesized_expression "(*(ushort *)(param_1 + 0x12) & 0x80)" ( (binary_expression "*(ushort *)(param_1 + 0x12) & 0x80" (pointer_expression "*(ushort *)(param_1 + 0x12)" * (cast_expression "(ushort *)(param_1 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);" (assignment_expression "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8)" identifier = (call_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8)" (parenthesized_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))" ( (pointer_expression "**(code **)(PTR_DAT_0015c5d8 + -0x3b78)" * (pointer_expression "*(code **)(PTR_DAT_0015c5d8 + -0x3b78)" * (cast_expression "(code **)(PTR_DAT_0015c5d8 + -0x3b78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0015c5d8 + -0x3b78)" ( (binary_expression "PTR_DAT_0015c5d8 + -0x3b78" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),auStack_b8)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }" { (if_statement "if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" if (parenthesized_expression "(local_9c == 0)" ( (binary_expression "local_9c == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bdc" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) }) (else_clause "else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" else (if_statement "if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" if (parenthesized_expression "(local_9c < 2)" ( (binary_expression "local_9c < 2" identifier < number_literal) )) (compound_statement "{\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }" { (expression_statement "iVar1 = param_1 + 8;" (assignment_expression "iVar1 = param_1 + 8" identifier = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20)" identifier = (call_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + 0x19a0)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + 0x19a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + 0x19a0)" ( (binary_expression "PTR_LAB_0015c6dc + 0x19a0" identifier + number_literal) )))) )) (argument_list "(iVar1,param_1 + 0x20)" ( identifier , (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7c18" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) })) }) (else_clause "else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" else (compound_statement "{\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bfc" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) }))))) }) (else_clause "else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" else (compound_statement "{\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bc4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) }))) })) (if_statement "if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar6)" ( (binary_expression "local_14 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar6;\n  }" { (return_statement "return *(int *)puVar6;" return (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_0015ca14;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0015ca14" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ca14)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ca14)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ca14)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ca14" * (cast_expression "(code *)PTR___stack_chk_fail_0015ca14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)(puVar6 + 0xed774);" (assignment_expression "iVar5 = *(int *)(puVar6 + 0xed774)" identifier = (pointer_expression "*(int *)(puVar6 + 0xed774)" * (cast_expression "(int *)(puVar6 + 0xed774)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xed774)" ( (binary_expression "puVar6 + 0xed774" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "FUN_0006ed34();" (call_expression "FUN_0006ed34()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0006d7fc(iVar1,0);" (call_expression "FUN_0006d7fc(iVar1,0)" identifier (argument_list "(iVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + -0x3358))" ( (pointer_expression "*(undefined4 *)(iVar5 + -0x3358)" * (cast_expression "(undefined4 *)(iVar5 + -0x3358)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + -0x3358)" ( (binary_expression "iVar5 + -0x3358" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }" { (expression_statement "iVar3 = *(int *)(iVar1 + 8);" (assignment_expression "iVar3 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);" (assignment_expression "*(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20)" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" * (cast_expression "(undefined4 *)(iVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar3 + 0x20) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0x20) = iVar4" (pointer_expression "*(int *)(iVar3 + 0x20)" * (cast_expression "(int *)(iVar3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }" if (parenthesized_expression "((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0))" ( (binary_expression "(iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)" ( (comma_expression "iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24) + -1" identifier = (binary_expression "*(int *)(iVar2 + 0x24) + -1" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0" (assignment_expression "*(int *)(iVar2 + 0x24) = iVar3" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = identifier) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }" { (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0006d740(iVar1);" (call_expression "FUN_0006d740(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x30) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x30) == 0" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }" { (expression_statement "iVar3 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;" (assignment_expression "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3" (pointer_expression "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c)" * (cast_expression "(int *)(*(int *)(puVar6 + 0xed774) + -0x335c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 0xed774) + -0x335c)" ( (binary_expression "*(int *)(puVar6 + 0xed774) + -0x335c" (pointer_expression "*(int *)(puVar6 + 0xed774)" * (cast_expression "(int *)(puVar6 + 0xed774)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xed774)" ( (binary_expression "puVar6 + 0xed774" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" else (compound_statement "{\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" { (expression_statement "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);" (assignment_expression "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c)" (pointer_expression "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x30) + 0x2c)" ( (binary_expression "*(int *)(iVar2 + 0x30) + 0x2c" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" * (cast_expression "(undefined4 *)(iVar2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) }))) (expression_statement "pcVar7 = *(code **)(puVar6 + 0xed8f0);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0xed8f0)" identifier = (pointer_expression "*(code **)(puVar6 + 0xed8f0)" * (cast_expression "(code **)(puVar6 + 0xed8f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed8f0)" ( (binary_expression "puVar6 + 0xed8f0" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }" { (expression_statement "*(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30)" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" * (cast_expression "(undefined4 *)(iVar3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar7)(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(*pcVar7)(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed788))(iVar2);" (call_expression "(**(code **)(puVar6 + 0xed788))(iVar2)" (parenthesized_expression "(**(code **)(puVar6 + 0xed788))" ( (pointer_expression "**(code **)(puVar6 + 0xed788)" * (pointer_expression "*(code **)(puVar6 + 0xed788)" * (cast_expression "(code **)(puVar6 + 0xed788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed788)" ( (binary_expression "puVar6 + 0xed788" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;) })) (expression_statement "iVar1 = FUN_0006d468(iVar1);" (assignment_expression "iVar1 = FUN_0006d468(iVar1)" identifier = (call_expression "FUN_0006d468(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + -0x3358))" ( (pointer_expression "*(undefined4 *)(iVar5 + -0x3358)" * (cast_expression "(undefined4 *)(iVar5 + -0x3358)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + -0x3358)" ( (binary_expression "iVar5 + -0x3358" identifier + number_literal) )))) ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void verifyDbFile(unixFile *pFile)\n\n{\n  int iVar1;\n  unixInodeInfo *puVar2;\n  int iVar3;\n  UnixUnusedFd *pUVar4;\n  unixFile *pFile_00;\n  char *in_a2;\n  unixInodeInfo *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  stat buf;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  iVar3 = *(int *)PTR___stack_chk_guard_0015ca30;\n  pFile_00 = pFile;\n  if ((pFile->ctrlFlags & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf);\n    if (iVar1 == 0) {\n      if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }\n    }\n    else {\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }\n  }\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar3 = *(int *)(puVar6 + 0xed774);\n  puVar5 = pFile_00->pInode;\n  verifyDbFile(pFile_00);\n  posixUnlock((sqlite3_file *)pFile_00,0,(int)in_a2);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar3 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n  if (puVar5->nLock != 0) {\n    puVar2 = pFile_00->pInode;\n    pUVar4 = pFile_00->pPreallocatedUnused;\n    pUVar4->pNext = puVar2->pUnused;\n    puVar2->pUnused = pUVar4;\n    pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0;\n    pFile_00->h = -1;\n  }\n  (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n  puVar5 = pFile_00->pInode;\n  if ((puVar5 != (unixInodeInfo *)0x0) &&\n     (iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n    closePendingFds(pFile_00);\n    (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n    if (puVar5->pPrev == (unixInodeInfo *)0x0) {\n      puVar2 = puVar5->pNext;\n      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;\n    }\n    else {\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (puVar2 != (unixInodeInfo *)0x0) {\n      puVar2->pPrev = puVar5->pPrev;\n    }\n    (*pcVar7)(puVar5->pLockMutex);\n    (**(code **)(puVar6 + 0xed788))(puVar5);\n  }\n  closeUnixFile((sqlite3_file *)pFile_00);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar3 + -0x3358));\n  return;\n}\n\n" (function_definition "void verifyDbFile(unixFile *pFile)\n\n{\n  int iVar1;\n  unixInodeInfo *puVar2;\n  int iVar3;\n  UnixUnusedFd *pUVar4;\n  unixFile *pFile_00;\n  char *in_a2;\n  unixInodeInfo *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  stat buf;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  iVar3 = *(int *)PTR___stack_chk_guard_0015ca30;\n  pFile_00 = pFile;\n  if ((pFile->ctrlFlags & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf);\n    if (iVar1 == 0) {\n      if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }\n    }\n    else {\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }\n  }\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar3 = *(int *)(puVar6 + 0xed774);\n  puVar5 = pFile_00->pInode;\n  verifyDbFile(pFile_00);\n  posixUnlock((sqlite3_file *)pFile_00,0,(int)in_a2);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar3 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n  if (puVar5->nLock != 0) {\n    puVar2 = pFile_00->pInode;\n    pUVar4 = pFile_00->pPreallocatedUnused;\n    pUVar4->pNext = puVar2->pUnused;\n    puVar2->pUnused = pUVar4;\n    pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0;\n    pFile_00->h = -1;\n  }\n  (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n  puVar5 = pFile_00->pInode;\n  if ((puVar5 != (unixInodeInfo *)0x0) &&\n     (iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n    closePendingFds(pFile_00);\n    (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n    if (puVar5->pPrev == (unixInodeInfo *)0x0) {\n      puVar2 = puVar5->pNext;\n      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;\n    }\n    else {\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (puVar2 != (unixInodeInfo *)0x0) {\n      puVar2->pPrev = puVar5->pPrev;\n    }\n    (*pcVar7)(puVar5->pLockMutex);\n    (**(code **)(puVar6 + 0xed788))(puVar5);\n  }\n  closeUnixFile((sqlite3_file *)pFile_00);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar3 + -0x3358));\n  return;\n}" primitive_type (function_declarator "verifyDbFile(unixFile *pFile)" identifier (parameter_list "(unixFile *pFile)" ( (parameter_declaration "unixFile *pFile" type_identifier (pointer_declarator "*pFile" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  unixInodeInfo *puVar2;\n  int iVar3;\n  UnixUnusedFd *pUVar4;\n  unixFile *pFile_00;\n  char *in_a2;\n  unixInodeInfo *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  stat buf;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  iVar3 = *(int *)PTR___stack_chk_guard_0015ca30;\n  pFile_00 = pFile;\n  if ((pFile->ctrlFlags & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf);\n    if (iVar1 == 0) {\n      if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }\n    }\n    else {\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }\n  }\n  if (iVar3 == *(int *)puVar6) {\n    return;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar3 = *(int *)(puVar6 + 0xed774);\n  puVar5 = pFile_00->pInode;\n  verifyDbFile(pFile_00);\n  posixUnlock((sqlite3_file *)pFile_00,0,(int)in_a2);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar3 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n  if (puVar5->nLock != 0) {\n    puVar2 = pFile_00->pInode;\n    pUVar4 = pFile_00->pPreallocatedUnused;\n    pUVar4->pNext = puVar2->pUnused;\n    puVar2->pUnused = pUVar4;\n    pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0;\n    pFile_00->h = -1;\n  }\n  (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n  puVar5 = pFile_00->pInode;\n  if ((puVar5 != (unixInodeInfo *)0x0) &&\n     (iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n    closePendingFds(pFile_00);\n    (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n    if (puVar5->pPrev == (unixInodeInfo *)0x0) {\n      puVar2 = puVar5->pNext;\n      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;\n    }\n    else {\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (puVar2 != (unixInodeInfo *)0x0) {\n      puVar2->pPrev = puVar5->pPrev;\n    }\n    (*pcVar7)(puVar5->pLockMutex);\n    (**(code **)(puVar6 + 0xed788))(puVar5);\n  }\n  closeUnixFile((sqlite3_file *)pFile_00);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar3 + -0x3358));\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "unixInodeInfo *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "UnixUnusedFd *pUVar4;" type_identifier (pointer_declarator "*pUVar4" * identifier) ;) (declaration "unixFile *pFile_00;" type_identifier (pointer_declarator "*pFile_00" * identifier) ;) (declaration "char *in_a2;" primitive_type (pointer_declarator "*in_a2" * identifier) ;) (declaration "unixInodeInfo *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "stat buf;" type_identifier identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_0015ca30;" (assignment_expression "puVar6 = PTR___stack_chk_guard_0015ca30" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_0015ca30;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_0015ca30" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ca30" * (cast_expression "(int *)PTR___stack_chk_guard_0015ca30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pFile_00 = pFile;" (assignment_expression "pFile_00 = pFile" identifier = identifier) ;) (if_statement "if ((pFile->ctrlFlags & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf);\n    if (iVar1 == 0) {\n      if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }\n    }\n    else {\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }\n  }" if (parenthesized_expression "((pFile->ctrlFlags & 0x80) == 0)" ( (binary_expression "(pFile->ctrlFlags & 0x80) == 0" (parenthesized_expression "(pFile->ctrlFlags & 0x80)" ( (binary_expression "pFile->ctrlFlags & 0x80" (field_expression "pFile->ctrlFlags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf);\n    if (iVar1 == 0) {\n      if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }\n    }\n    else {\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf);" (assignment_expression "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf)" identifier = (call_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(pFile->h,&buf)" (parenthesized_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))" ( (pointer_expression "**(code **)(PTR_DAT_0015c5d8 + -0x3b78)" * (pointer_expression "*(code **)(PTR_DAT_0015c5d8 + -0x3b78)" * (cast_expression "(code **)(PTR_DAT_0015c5d8 + -0x3b78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0015c5d8 + -0x3b78)" ( (binary_expression "PTR_DAT_0015c5d8 + -0x3b78" identifier + number_literal) ))))) )) (argument_list "(pFile->h,&buf)" ( (field_expression "pFile->h" identifier -> field_identifier) , (pointer_expression "&buf" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n      if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }\n    }\n    else {\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }\n    }" { (if_statement "if (buf.st_nlink == 0) {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }\n      else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }" if (parenthesized_expression "(buf.st_nlink == 0)" ( (binary_expression "buf.st_nlink == 0" (field_expression "buf.st_nlink" identifier . field_identifier) == number_literal) )) (compound_statement "{\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);\n      }" { (expression_statement "pFile_00 = (unixFile *)0x1c;" (assignment_expression "pFile_00 = (unixFile *)0x1c" identifier = (cast_expression "(unixFile *)0x1c" ( (type_descriptor "unixFile *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "in_a2 = pFile->zPath;" (assignment_expression "in_a2 = pFile->zPath" identifier = (field_expression "pFile->zPath" identifier -> field_identifier)) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc);" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc)" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bdc)" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bdc" identifier + number_literal) ))) ;) }) (else_clause "else if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }" else (if_statement "if (buf.st_nlink < 2) {\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }\n      else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }" if (parenthesized_expression "(buf.st_nlink < 2)" ( (binary_expression "buf.st_nlink < 2" (field_expression "buf.st_nlink" identifier . field_identifier) < number_literal) )) (compound_statement "{\n        pFile_00 = (unixFile *)&pFile->pInode;\n        iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);\n        if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }\n      }" { (expression_statement "pFile_00 = (unixFile *)&pFile->pInode;" (assignment_expression "pFile_00 = (unixFile *)&pFile->pInode" identifier = (cast_expression "(unixFile *)&pFile->pInode" ( (type_descriptor "unixFile *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pFile->pInode" & (field_expression "pFile->pInode" identifier -> field_identifier)))) ;) (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath)" identifier = (call_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))(pFile_00,&pFile->zPath)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + 0x19a0)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + 0x19a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + 0x19a0)" ( (binary_expression "PTR_LAB_0015c6dc + 0x19a0" identifier + number_literal) )))) )) (argument_list "(pFile_00,&pFile->zPath)" ( identifier , (pointer_expression "&pFile->zPath" & (field_expression "pFile->zPath" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar1 != 0) {\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          pFile_00 = (unixFile *)0x1c;\n          in_a2 = pFile->zPath;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);\n        }" { (expression_statement "pFile_00 = (unixFile *)0x1c;" (assignment_expression "pFile_00 = (unixFile *)0x1c" identifier = (cast_expression "(unixFile *)0x1c" ( (type_descriptor "unixFile *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "in_a2 = pFile->zPath;" (assignment_expression "in_a2 = pFile->zPath" identifier = (field_expression "pFile->zPath" identifier -> field_identifier)) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18);" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18)" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7c18)" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7c18" identifier + number_literal) ))) ;) })) }) (else_clause "else {\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }" else (compound_statement "{\n        pFile_00 = (unixFile *)0x1c;\n        in_a2 = pFile->zPath;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);\n      }" { (expression_statement "pFile_00 = (unixFile *)0x1c;" (assignment_expression "pFile_00 = (unixFile *)0x1c" identifier = (cast_expression "(unixFile *)0x1c" ( (type_descriptor "unixFile *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "in_a2 = pFile->zPath;" (assignment_expression "in_a2 = pFile->zPath" identifier = (field_expression "pFile->zPath" identifier -> field_identifier)) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc);" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc)" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bfc)" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bfc" identifier + number_literal) ))) ;) }))))) }) (else_clause "else {\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }" else (compound_statement "{\n      pFile_00 = (unixFile *)0x1c;\n      in_a2 = pFile->zPath;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);\n    }" { (expression_statement "pFile_00 = (unixFile *)0x1c;" (assignment_expression "pFile_00 = (unixFile *)0x1c" identifier = (cast_expression "(unixFile *)0x1c" ( (type_descriptor "unixFile *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "in_a2 = pFile->zPath;" (assignment_expression "in_a2 = pFile->zPath" identifier = (field_expression "pFile->zPath" identifier -> field_identifier)) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4);" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4)" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bc4)" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bc4" identifier + number_literal) ))) ;) }))) })) (if_statement "if (iVar3 == *(int *)puVar6) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar6)" ( (binary_expression "iVar3 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_0015ca14;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0015ca14" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ca14)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ca14)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ca14)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ca14" * (cast_expression "(code *)PTR___stack_chk_fail_0015ca14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(puVar6 + 0xed774);" (assignment_expression "iVar3 = *(int *)(puVar6 + 0xed774)" identifier = (pointer_expression "*(int *)(puVar6 + 0xed774)" * (cast_expression "(int *)(puVar6 + 0xed774)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xed774)" ( (binary_expression "puVar6 + 0xed774" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = pFile_00->pInode;" (assignment_expression "puVar5 = pFile_00->pInode" identifier = (field_expression "pFile_00->pInode" identifier -> field_identifier)) ;) (expression_statement "verifyDbFile(pFile_00);" (call_expression "verifyDbFile(pFile_00)" identifier (argument_list "(pFile_00)" ( identifier ))) ;) (expression_statement "posixUnlock((sqlite3_file *)pFile_00,0,(int)in_a2);" (call_expression "posixUnlock((sqlite3_file *)pFile_00,0,(int)in_a2)" identifier (argument_list "((sqlite3_file *)pFile_00,0,(int)in_a2)" ( (cast_expression "(sqlite3_file *)pFile_00" ( (type_descriptor "sqlite3_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , (cast_expression "(int)in_a2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar3 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar3 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + -0x3358))" ( (pointer_expression "*(undefined4 *)(iVar3 + -0x3358)" * (cast_expression "(undefined4 *)(iVar3 + -0x3358)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x3358)" ( (binary_expression "iVar3 + -0x3358" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);" (call_expression "(**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex)" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(puVar5->pLockMutex)" ( (field_expression "puVar5->pLockMutex" identifier -> field_identifier) ))) ;) (if_statement "if (puVar5->nLock != 0) {\n    puVar2 = pFile_00->pInode;\n    pUVar4 = pFile_00->pPreallocatedUnused;\n    pUVar4->pNext = puVar2->pUnused;\n    puVar2->pUnused = pUVar4;\n    pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0;\n    pFile_00->h = -1;\n  }" if (parenthesized_expression "(puVar5->nLock != 0)" ( (binary_expression "puVar5->nLock != 0" (field_expression "puVar5->nLock" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    puVar2 = pFile_00->pInode;\n    pUVar4 = pFile_00->pPreallocatedUnused;\n    pUVar4->pNext = puVar2->pUnused;\n    puVar2->pUnused = pUVar4;\n    pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0;\n    pFile_00->h = -1;\n  }" { (expression_statement "puVar2 = pFile_00->pInode;" (assignment_expression "puVar2 = pFile_00->pInode" identifier = (field_expression "pFile_00->pInode" identifier -> field_identifier)) ;) (expression_statement "pUVar4 = pFile_00->pPreallocatedUnused;" (assignment_expression "pUVar4 = pFile_00->pPreallocatedUnused" identifier = (field_expression "pFile_00->pPreallocatedUnused" identifier -> field_identifier)) ;) (expression_statement "pUVar4->pNext = puVar2->pUnused;" (assignment_expression "pUVar4->pNext = puVar2->pUnused" (field_expression "pUVar4->pNext" identifier -> field_identifier) = (field_expression "puVar2->pUnused" identifier -> field_identifier)) ;) (expression_statement "puVar2->pUnused = pUVar4;" (assignment_expression "puVar2->pUnused = pUVar4" (field_expression "puVar2->pUnused" identifier -> field_identifier) = identifier) ;) (expression_statement "pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0;" (assignment_expression "pFile_00->pPreallocatedUnused = (UnixUnusedFd *)0x0" (field_expression "pFile_00->pPreallocatedUnused" identifier -> field_identifier) = (cast_expression "(UnixUnusedFd *)0x0" ( (type_descriptor "UnixUnusedFd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pFile_00->h = -1;" (assignment_expression "pFile_00->h = -1" (field_expression "pFile_00->h" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "(**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);" (call_expression "(**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex)" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(puVar5->pLockMutex)" ( (field_expression "puVar5->pLockMutex" identifier -> field_identifier) ))) ;) (expression_statement "puVar5 = pFile_00->pInode;" (assignment_expression "puVar5 = pFile_00->pInode" identifier = (field_expression "pFile_00->pInode" identifier -> field_identifier)) ;) (if_statement "if ((puVar5 != (unixInodeInfo *)0x0) &&\n     (iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n    closePendingFds(pFile_00);\n    (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n    if (puVar5->pPrev == (unixInodeInfo *)0x0) {\n      puVar2 = puVar5->pNext;\n      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;\n    }\n    else {\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (puVar2 != (unixInodeInfo *)0x0) {\n      puVar2->pPrev = puVar5->pPrev;\n    }\n    (*pcVar7)(puVar5->pLockMutex);\n    (**(code **)(puVar6 + 0xed788))(puVar5);\n  }" if (parenthesized_expression "((puVar5 != (unixInodeInfo *)0x0) &&\n     (iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0))" ( (binary_expression "(puVar5 != (unixInodeInfo *)0x0) &&\n     (iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0)" (parenthesized_expression "(puVar5 != (unixInodeInfo *)0x0)" ( (binary_expression "puVar5 != (unixInodeInfo *)0x0" identifier != (cast_expression "(unixInodeInfo *)0x0" ( (type_descriptor "unixInodeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0)" ( (comma_expression "iVar1 = puVar5->nRef + -1, puVar5->nRef = iVar1, iVar1 == 0" (assignment_expression "iVar1 = puVar5->nRef + -1" identifier = (binary_expression "puVar5->nRef + -1" (field_expression "puVar5->nRef" identifier -> field_identifier) + number_literal)) , (comma_expression "puVar5->nRef = iVar1, iVar1 == 0" (assignment_expression "puVar5->nRef = iVar1" (field_expression "puVar5->nRef" identifier -> field_identifier) = identifier) , (binary_expression "iVar1 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    (**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);\n    closePendingFds(pFile_00);\n    (**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);\n    if (puVar5->pPrev == (unixInodeInfo *)0x0) {\n      puVar2 = puVar5->pNext;\n      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;\n    }\n    else {\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (puVar2 != (unixInodeInfo *)0x0) {\n      puVar2->pPrev = puVar5->pPrev;\n    }\n    (*pcVar7)(puVar5->pLockMutex);\n    (**(code **)(puVar6 + 0xed788))(puVar5);\n  }" { (expression_statement "(**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex);" (call_expression "(**(code **)(puVar6 + 0xed850))(puVar5->pLockMutex)" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(puVar5->pLockMutex)" ( (field_expression "puVar5->pLockMutex" identifier -> field_identifier) ))) ;) (expression_statement "closePendingFds(pFile_00);" (call_expression "closePendingFds(pFile_00)" identifier (argument_list "(pFile_00)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex);" (call_expression "(**(code **)(puVar6 + 0xed854))(puVar5->pLockMutex)" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(puVar5->pLockMutex)" ( (field_expression "puVar5->pLockMutex" identifier -> field_identifier) ))) ;) (if_statement "if (puVar5->pPrev == (unixInodeInfo *)0x0) {\n      puVar2 = puVar5->pNext;\n      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;\n    }\n    else {\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }" if (parenthesized_expression "(puVar5->pPrev == (unixInodeInfo *)0x0)" ( (binary_expression "puVar5->pPrev == (unixInodeInfo *)0x0" (field_expression "puVar5->pPrev" identifier -> field_identifier) == (cast_expression "(unixInodeInfo *)0x0" ( (type_descriptor "unixInodeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar2 = puVar5->pNext;\n      *(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;\n    }" { (expression_statement "puVar2 = puVar5->pNext;" (assignment_expression "puVar2 = puVar5->pNext" identifier = (field_expression "puVar5->pNext" identifier -> field_identifier)) ;) (expression_statement "*(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2;" (assignment_expression "*(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c) = puVar2" (pointer_expression "*(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c)" * (cast_expression "(unixInodeInfo **)(*(int *)(puVar6 + 0xed774) + -0x335c)" ( (type_descriptor "unixInodeInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar6 + 0xed774) + -0x335c)" ( (binary_expression "*(int *)(puVar6 + 0xed774) + -0x335c" (pointer_expression "*(int *)(puVar6 + 0xed774)" * (cast_expression "(int *)(puVar6 + 0xed774)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xed774)" ( (binary_expression "puVar6 + 0xed774" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }" else (compound_statement "{\n      puVar5->pPrev->pNext = puVar5->pNext;\n      puVar2 = puVar5->pNext;\n    }" { (expression_statement "puVar5->pPrev->pNext = puVar5->pNext;" (assignment_expression "puVar5->pPrev->pNext = puVar5->pNext" (field_expression "puVar5->pPrev->pNext" (field_expression "puVar5->pPrev" identifier -> field_identifier) -> field_identifier) = (field_expression "puVar5->pNext" identifier -> field_identifier)) ;) (expression_statement "puVar2 = puVar5->pNext;" (assignment_expression "puVar2 = puVar5->pNext" identifier = (field_expression "puVar5->pNext" identifier -> field_identifier)) ;) }))) (expression_statement "pcVar7 = *(code **)(puVar6 + 0xed8f0);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0xed8f0)" identifier = (pointer_expression "*(code **)(puVar6 + 0xed8f0)" * (cast_expression "(code **)(puVar6 + 0xed8f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed8f0)" ( (binary_expression "puVar6 + 0xed8f0" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != (unixInodeInfo *)0x0) {\n      puVar2->pPrev = puVar5->pPrev;\n    }" if (parenthesized_expression "(puVar2 != (unixInodeInfo *)0x0)" ( (binary_expression "puVar2 != (unixInodeInfo *)0x0" identifier != (cast_expression "(unixInodeInfo *)0x0" ( (type_descriptor "unixInodeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar2->pPrev = puVar5->pPrev;\n    }" { (expression_statement "puVar2->pPrev = puVar5->pPrev;" (assignment_expression "puVar2->pPrev = puVar5->pPrev" (field_expression "puVar2->pPrev" identifier -> field_identifier) = (field_expression "puVar5->pPrev" identifier -> field_identifier)) ;) })) (expression_statement "(*pcVar7)(puVar5->pLockMutex);" (call_expression "(*pcVar7)(puVar5->pLockMutex)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(puVar5->pLockMutex)" ( (field_expression "puVar5->pLockMutex" identifier -> field_identifier) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed788))(puVar5);" (call_expression "(**(code **)(puVar6 + 0xed788))(puVar5)" (parenthesized_expression "(**(code **)(puVar6 + 0xed788))" ( (pointer_expression "**(code **)(puVar6 + 0xed788)" * (pointer_expression "*(code **)(puVar6 + 0xed788)" * (cast_expression "(code **)(puVar6 + 0xed788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed788)" ( (binary_expression "puVar6 + 0xed788" identifier + number_literal) ))))) )) (argument_list "(puVar5)" ( identifier ))) ;) })) (expression_statement "closeUnixFile((sqlite3_file *)pFile_00);" (call_expression "closeUnixFile((sqlite3_file *)pFile_00)" identifier (argument_list "((sqlite3_file *)pFile_00)" ( (cast_expression "(sqlite3_file *)pFile_00" ( (type_descriptor "sqlite3_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar3 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar3 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + -0x3358))" ( (pointer_expression "*(undefined4 *)(iVar3 + -0x3358)" * (cast_expression "(undefined4 *)(iVar3 + -0x3358)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x3358)" ( (binary_expression "iVar3 + -0x3358" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int FUN_0006ed34(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}\n\n" (function_definition "int FUN_0006ed34(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0006ed34(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined1 auStack_b8 [28];" type_identifier (array_declarator "auStack_b8 [28]" identifier [ number_literal ]) ;) (declaration "uint local_9c;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_0015ca30;" (assignment_expression "puVar6 = PTR___stack_chk_guard_0015ca30" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015ca30;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015ca30" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ca30" * (cast_expression "(int *)PTR___stack_chk_guard_0015ca30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = param_1;" (assignment_expression "iVar1 = param_1" identifier = identifier) ;) (if_statement "if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }" if (parenthesized_expression "((*(ushort *)(param_1 + 0x12) & 0x80) == 0)" ( (binary_expression "(*(ushort *)(param_1 + 0x12) & 0x80) == 0" (parenthesized_expression "(*(ushort *)(param_1 + 0x12) & 0x80)" ( (binary_expression "*(ushort *)(param_1 + 0x12) & 0x80" (pointer_expression "*(ushort *)(param_1 + 0x12)" * (cast_expression "(ushort *)(param_1 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);" (assignment_expression "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8)" identifier = (call_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8)" (parenthesized_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))" ( (pointer_expression "**(code **)(PTR_DAT_0015c5d8 + -0x3b78)" * (pointer_expression "*(code **)(PTR_DAT_0015c5d8 + -0x3b78)" * (cast_expression "(code **)(PTR_DAT_0015c5d8 + -0x3b78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0015c5d8 + -0x3b78)" ( (binary_expression "PTR_DAT_0015c5d8 + -0x3b78" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_1 + 0xc),auStack_b8)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }" { (if_statement "if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" if (parenthesized_expression "(local_9c == 0)" ( (binary_expression "local_9c == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bdc" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) }) (else_clause "else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" else (if_statement "if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" if (parenthesized_expression "(local_9c < 2)" ( (binary_expression "local_9c < 2" identifier < number_literal) )) (compound_statement "{\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }" { (expression_statement "iVar1 = param_1 + 8;" (assignment_expression "iVar1 = param_1 + 8" identifier = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20)" identifier = (call_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))" ( (pointer_expression "*(code *)(PTR_LAB_0015c6dc + 0x19a0)" * (cast_expression "(code *)(PTR_LAB_0015c6dc + 0x19a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015c6dc + 0x19a0)" ( (binary_expression "PTR_LAB_0015c6dc + 0x19a0" identifier + number_literal) )))) )) (argument_list "(iVar1,param_1 + 0x20)" ( identifier , (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7c18" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) })) }) (else_clause "else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" else (compound_statement "{\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bfc" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) }))))) }) (else_clause "else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" else (compound_statement "{\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" { (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" identifier = number_literal) ;) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20))" ( number_literal , (binary_expression "PTR_LAB_0015c5e8 + 0x7bc4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) }))) })) (if_statement "if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar6)" ( (binary_expression "local_14 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar6;\n  }" { (return_statement "return *(int *)puVar6;" return (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_0015ca14;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0015ca14" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ca14)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ca14)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ca14)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ca14" * (cast_expression "(code *)PTR___stack_chk_fail_0015ca14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)(puVar6 + 0xed774);" (assignment_expression "iVar5 = *(int *)(puVar6 + 0xed774)" identifier = (pointer_expression "*(int *)(puVar6 + 0xed774)" * (cast_expression "(int *)(puVar6 + 0xed774)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xed774)" ( (binary_expression "puVar6 + 0xed774" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "FUN_0006ed34();" (call_expression "FUN_0006ed34()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0006d7fc(iVar1,0);" (call_expression "FUN_0006d7fc(iVar1,0)" identifier (argument_list "(iVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + -0x3358))" ( (pointer_expression "*(undefined4 *)(iVar5 + -0x3358)" * (cast_expression "(undefined4 *)(iVar5 + -0x3358)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + -0x3358)" ( (binary_expression "iVar5 + -0x3358" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }" { (expression_statement "iVar3 = *(int *)(iVar1 + 8);" (assignment_expression "iVar3 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);" (assignment_expression "*(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20)" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" * (cast_expression "(undefined4 *)(iVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar3 + 0x20) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0x20) = iVar4" (pointer_expression "*(int *)(iVar3 + 0x20)" * (cast_expression "(int *)(iVar3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }" if (parenthesized_expression "((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0))" ( (binary_expression "(iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)" ( (comma_expression "iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24) + -1" identifier = (binary_expression "*(int *)(iVar2 + 0x24) + -1" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0" (assignment_expression "*(int *)(iVar2 + 0x24) = iVar3" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = identifier) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }" { (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" ( (pointer_expression "**(code **)(puVar6 + 0xed850)" * (pointer_expression "*(code **)(puVar6 + 0xed850)" * (cast_expression "(code **)(puVar6 + 0xed850)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed850)" ( (binary_expression "puVar6 + 0xed850" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0006d740(iVar1);" (call_expression "FUN_0006d740(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x30) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x30) == 0" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }" { (expression_statement "iVar3 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;" (assignment_expression "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3" (pointer_expression "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c)" * (cast_expression "(int *)(*(int *)(puVar6 + 0xed774) + -0x335c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 0xed774) + -0x335c)" ( (binary_expression "*(int *)(puVar6 + 0xed774) + -0x335c" (pointer_expression "*(int *)(puVar6 + 0xed774)" * (cast_expression "(int *)(puVar6 + 0xed774)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xed774)" ( (binary_expression "puVar6 + 0xed774" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" else (compound_statement "{\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" { (expression_statement "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);" (assignment_expression "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c)" (pointer_expression "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x30) + 0x2c)" ( (binary_expression "*(int *)(iVar2 + 0x30) + 0x2c" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" * (cast_expression "(undefined4 *)(iVar2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) }))) (expression_statement "pcVar7 = *(code **)(puVar6 + 0xed8f0);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0xed8f0)" identifier = (pointer_expression "*(code **)(puVar6 + 0xed8f0)" * (cast_expression "(code **)(puVar6 + 0xed8f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed8f0)" ( (binary_expression "puVar6 + 0xed8f0" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }" { (expression_statement "*(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30)" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" * (cast_expression "(undefined4 *)(iVar3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar7)(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(*pcVar7)(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar6 + 0xed788))(iVar2);" (call_expression "(**(code **)(puVar6 + 0xed788))(iVar2)" (parenthesized_expression "(**(code **)(puVar6 + 0xed788))" ( (pointer_expression "**(code **)(puVar6 + 0xed788)" * (pointer_expression "*(code **)(puVar6 + 0xed788)" * (cast_expression "(code **)(puVar6 + 0xed788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed788)" ( (binary_expression "puVar6 + 0xed788" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;) })) (expression_statement "iVar1 = FUN_0006d468(iVar1);" (assignment_expression "iVar1 = FUN_0006d468(iVar1)" identifier = (call_expression "FUN_0006d468(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" ( (pointer_expression "**(code **)(puVar6 + 0xed854)" * (pointer_expression "*(code **)(puVar6 + 0xed854)" * (cast_expression "(code **)(puVar6 + 0xed854)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xed854)" ( (binary_expression "puVar6 + 0xed854" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + -0x3358))" ( (pointer_expression "*(undefined4 *)(iVar5 + -0x3358)" * (cast_expression "(undefined4 *)(iVar5 + -0x3358)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + -0x3358)" ( (binary_expression "iVar5 + -0x3358" identifier + number_literal) )))) ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE 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 (array_declarator IDENT [ LIT ]) ;) (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) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }))))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (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 (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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) ;) })) (expression_statement (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 ( (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) , (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (expression_statement (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (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) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (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 ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_0006ed34(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0006ed34(int param_1)" (identifier "FUN_0006ed34") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  undefined1 auStack_b8 [28];\n  uint local_9c;\n  int local_14;\n  \n  puVar6 = PTR___stack_chk_guard_0015ca30;\n  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;\n  iVar1 = param_1;\n  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }\n  if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }\n  puVar6 = PTR___stack_chk_fail_0015ca14;\n  (*(code *)PTR___stack_chk_fail_0015ca14)();\n  iVar5 = *(int *)(puVar6 + 0xed774);\n  iVar2 = *(int *)(iVar1 + 8);\n  FUN_0006ed34();\n  FUN_0006d7fc(iVar1,0);\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));\n  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n  if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n  iVar2 = *(int *)(iVar1 + 8);\n  if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }\n  iVar1 = FUN_0006d468(iVar1);\n  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "undefined1 auStack_b8 [28];" (type_identifier "undefined1") (array_declarator "auStack_b8 [28]" (identifier "auStack_b8") ([ "[") (number_literal "28") (] "]")) (; ";")) (declaration "uint local_9c;" (type_identifier "uint") (identifier "local_9c") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "puVar6 = PTR___stack_chk_guard_0015ca30;" (assignment_expression "puVar6 = PTR___stack_chk_guard_0015ca30" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_guard_0015ca30")) (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015ca30;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015ca30" (identifier "local_14") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0015ca30" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015ca30" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015ca30")))) (; ";")) (expression_statement "iVar1 = param_1;" (assignment_expression "iVar1 = param_1" (identifier "iVar1") (= "=") (identifier "param_1")) (; ";")) (if_statement "if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }" (if "if") (parenthesized_expression "((*(ushort *)(param_1 + 0x12) & 0x80) == 0)" (( "(") (binary_expression "(*(ushort *)(param_1 + 0x12) & 0x80) == 0" (parenthesized_expression "(*(ushort *)(param_1 + 0x12) & 0x80)" (( "(") (binary_expression "*(ushort *)(param_1 + 0x12) & 0x80" (pointer_expression "*(ushort *)(param_1 + 0x12)" (* "*") (cast_expression "(ushort *)(param_1 + 0x12)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x12)" (( "(") (binary_expression "param_1 + 0x12" (identifier "param_1") (+ "+") (number_literal "0x12")) () ")")))) (& "&") (number_literal "0x80")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);\n    if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);" (assignment_expression "iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8)" (parenthesized_expression "(**(code **)(PTR_DAT_0015c5d8 + -0x3b78))" (( "(") (pointer_expression "**(code **)(PTR_DAT_0015c5d8 + -0x3b78)" (* "*") (pointer_expression "*(code **)(PTR_DAT_0015c5d8 + -0x3b78)" (* "*") (cast_expression "(code **)(PTR_DAT_0015c5d8 + -0x3b78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0015c5d8 + -0x3b78)" (( "(") (binary_expression "PTR_DAT_0015c5d8 + -0x3b78" (identifier "PTR_DAT_0015c5d8") (+ "+") (number_literal "-0x3b78")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0xc),auStack_b8)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "auStack_b8") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }\n    else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }\n    }" ({ "{") (if_statement "if (local_9c == 0) {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }\n      else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" (if "if") (parenthesized_expression "(local_9c == 0)" (( "(") (binary_expression "local_9c == 0" (identifier "local_9c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));\n      }" ({ "{") (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" (identifier "iVar1") (= "=") (number_literal "0x1c")) (; ";")) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20))" (identifier "sqlite3_log") (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20))" (( "(") (number_literal "0x1c") (, ",") (binary_expression "PTR_LAB_0015c5e8 + 0x7bdc" (identifier "PTR_LAB_0015c5e8") (+ "+") (number_literal "0x7bdc")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (} "}")) (else_clause "else if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" (else "else") (if_statement "if (local_9c < 2) {\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }\n      else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" (if "if") (parenthesized_expression "(local_9c < 2)" (( "(") (binary_expression "local_9c < 2" (identifier "local_9c") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        iVar1 = param_1 + 8;\n        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);\n        if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }\n      }" ({ "{") (expression_statement "iVar1 = param_1 + 8;" (assignment_expression "iVar1 = param_1 + 8" (identifier "iVar1") (= "=") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20)" (parenthesized_expression "(*(code *)(PTR_LAB_0015c6dc + 0x19a0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015c6dc + 0x19a0)" (* "*") (cast_expression "(code *)(PTR_LAB_0015c6dc + 0x19a0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015c6dc + 0x19a0)" (( "(") (binary_expression "PTR_LAB_0015c6dc + 0x19a0" (identifier "PTR_LAB_0015c6dc") (+ "+") (number_literal "0x19a0")) () ")")))) () ")")) (argument_list "(iVar1,param_1 + 0x20)" (( "(") (identifier "iVar1") (, ",") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar1 = 0x1c;\n          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));\n        }" ({ "{") (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" (identifier "iVar1") (= "=") (number_literal "0x1c")) (; ";")) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20))" (identifier "sqlite3_log") (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20))" (( "(") (number_literal "0x1c") (, ",") (binary_expression "PTR_LAB_0015c5e8 + 0x7c18" (identifier "PTR_LAB_0015c5e8") (+ "+") (number_literal "0x7c18")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" (else "else") (compound_statement "{\n        iVar1 = 0x1c;\n        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));\n      }" ({ "{") (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" (identifier "iVar1") (= "=") (number_literal "0x1c")) (; ";")) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20))" (identifier "sqlite3_log") (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20))" (( "(") (number_literal "0x1c") (, ",") (binary_expression "PTR_LAB_0015c5e8 + 0x7bfc" (identifier "PTR_LAB_0015c5e8") (+ "+") (number_literal "0x7bfc")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (} "}")))))) (} "}")) (else_clause "else {\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" (else "else") (compound_statement "{\n      iVar1 = 0x1c;\n      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));\n    }" ({ "{") (expression_statement "iVar1 = 0x1c;" (assignment_expression "iVar1 = 0x1c" (identifier "iVar1") (= "=") (number_literal "0x1c")) (; ";")) (expression_statement "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));" (call_expression "sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20))" (identifier "sqlite3_log") (argument_list "(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20))" (( "(") (number_literal "0x1c") (, ",") (binary_expression "PTR_LAB_0015c5e8 + 0x7bc4" (identifier "PTR_LAB_0015c5e8") (+ "+") (number_literal "0x7bc4")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (} "}")))) (} "}"))) (if_statement "if (local_14 == *(int *)puVar6) {\n    return *(int *)puVar6;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)puVar6)" (( "(") (binary_expression "local_14 == *(int *)puVar6" (identifier "local_14") (== "==") (pointer_expression "*(int *)puVar6" (* "*") (cast_expression "(int *)puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6")))) () ")")) (compound_statement "{\n    return *(int *)puVar6;\n  }" ({ "{") (return_statement "return *(int *)puVar6;" (return "return") (pointer_expression "*(int *)puVar6" (* "*") (cast_expression "(int *)puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) (; ";")) (} "}"))) (expression_statement "puVar6 = PTR___stack_chk_fail_0015ca14;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0015ca14" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_fail_0015ca14")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ca14)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ca14)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ca14)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015ca14" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015ca14" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015ca14"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = *(int *)(puVar6 + 0xed774);" (assignment_expression "iVar5 = *(int *)(puVar6 + 0xed774)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(puVar6 + 0xed774)" (* "*") (cast_expression "(int *)(puVar6 + 0xed774)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xed774)" (( "(") (binary_expression "puVar6 + 0xed774" (identifier "puVar6") (+ "+") (number_literal "0xed774")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "FUN_0006ed34();" (call_expression "FUN_0006ed34()" (identifier "FUN_0006ed34") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0006d7fc(iVar1,0);" (call_expression "FUN_0006d7fc(iVar1,0)" (identifier "FUN_0006d7fc") (argument_list "(iVar1,0)" (( "(") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xed850)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xed850)" (* "*") (cast_expression "(code **)(puVar6 + 0xed850)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed850)" (( "(") (binary_expression "puVar6 + 0xed850" (identifier "puVar6") (+ "+") (number_literal "0xed850")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar5 + -0x3358))" (( "(") (pointer_expression "*(undefined4 *)(iVar5 + -0x3358)" (* "*") (cast_expression "(undefined4 *)(iVar5 + -0x3358)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + -0x3358)" (( "(") (binary_expression "iVar5 + -0x3358" (identifier "iVar5") (+ "+") (number_literal "-0x3358")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xed850)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xed850)" (* "*") (cast_expression "(code **)(puVar6 + 0xed850)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed850)" (( "(") (binary_expression "puVar6 + 0xed850" (identifier "puVar6") (+ "+") (number_literal "0xed850")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x18) != 0) {\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = *(int *)(iVar1 + 8);\n    iVar4 = *(int *)(iVar1 + 0x1c);\n    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);\n    *(int *)(iVar3 + 0x20) = iVar4;\n    *(undefined4 *)(iVar1 + 0x1c) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar1 + 8);" (assignment_expression "iVar3 = *(int *)(iVar1 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x1c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);" (assignment_expression "*(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20)" (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x20)" (( "(") (binary_expression "iVar3 + 0x20" (identifier "iVar3") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar3 + 0x20) = iVar4;" (assignment_expression "*(int *)(iVar3 + 0x20) = iVar4" (pointer_expression "*(int *)(iVar3 + 0x20)" (* "*") (cast_expression "(int *)(iVar3 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x20)" (( "(") (binary_expression "iVar3 + 0x20" (identifier "iVar3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xed854)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xed854)" (* "*") (cast_expression "(code **)(puVar6 + 0xed854)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed854)" (( "(") (binary_expression "puVar6 + 0xed854" (identifier "puVar6") (+ "+") (number_literal "0xed854")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }" (if "if") (parenthesized_expression "((iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0))" (( "(") (binary_expression "(iVar2 != 0) &&\n     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)" (( "(") (comma_expression "iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24) + -1" (identifier "iVar3") (= "=") (binary_expression "*(int *)(iVar2 + 0x24) + -1" (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (number_literal "-1"))) (, ",") (comma_expression "*(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0" (assignment_expression "*(int *)(iVar2 + 0x24) = iVar3" (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar3")) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));\n    FUN_0006d740(iVar1);\n    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));\n    if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }\n    pcVar7 = *(code **)(puVar6 + 0xed8f0);\n    if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }\n    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));\n    (**(code **)(puVar6 + 0xed788))(iVar2);\n  }" ({ "{") (expression_statement "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed850))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xed850)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xed850)" (* "*") (cast_expression "(code **)(puVar6 + 0xed850)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed850)" (( "(") (binary_expression "puVar6 + 0xed850" (identifier "puVar6") (+ "+") (number_literal "0xed850")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_0006d740(iVar1);" (call_expression "FUN_0006d740(iVar1)" (identifier "FUN_0006d740") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xed854)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xed854)" (* "*") (cast_expression "(code **)(puVar6 + 0xed854)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed854)" (( "(") (binary_expression "puVar6 + 0xed854" (identifier "puVar6") (+ "+") (number_literal "0xed854")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x30) == 0) {\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }\n    else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x30) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x30) == 0" (pointer_expression "*(int *)(iVar2 + 0x30)" (* "*") (cast_expression "(int *)(iVar2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *(int *)(iVar2 + 0x2c);\n      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x2c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x2c)" (* "*") (cast_expression "(int *)(iVar2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;" (assignment_expression "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3" (pointer_expression "*(int *)(*(int *)(puVar6 + 0xed774) + -0x335c)" (* "*") (cast_expression "(int *)(*(int *)(puVar6 + 0xed774) + -0x335c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar6 + 0xed774) + -0x335c)" (( "(") (binary_expression "*(int *)(puVar6 + 0xed774) + -0x335c" (pointer_expression "*(int *)(puVar6 + 0xed774)" (* "*") (cast_expression "(int *)(puVar6 + 0xed774)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xed774)" (( "(") (binary_expression "puVar6 + 0xed774" (identifier "puVar6") (+ "+") (number_literal "0xed774")) () ")")))) (+ "+") (number_literal "-0x335c")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" (else "else") (compound_statement "{\n      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);\n      iVar3 = *(int *)(iVar2 + 0x2c);\n    }" ({ "{") (expression_statement "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);" (assignment_expression "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c)" (pointer_expression "*(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + 0x30) + 0x2c)" (( "(") (binary_expression "*(int *)(iVar2 + 0x30) + 0x2c" (pointer_expression "*(int *)(iVar2 + 0x30)" (* "*") (cast_expression "(int *)(iVar2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + 0x2c);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x2c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x2c)" (* "*") (cast_expression "(int *)(iVar2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}")))) (expression_statement "pcVar7 = *(code **)(puVar6 + 0xed8f0);" (assignment_expression "pcVar7 = *(code **)(puVar6 + 0xed8f0)" (identifier "pcVar7") (= "=") (pointer_expression "*(code **)(puVar6 + 0xed8f0)" (* "*") (cast_expression "(code **)(puVar6 + 0xed8f0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed8f0)" (( "(") (binary_expression "puVar6 + 0xed8f0" (identifier "puVar6") (+ "+") (number_literal "0xed8f0")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30)" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*pcVar7)(*(undefined4 *)(iVar2 + 0x10));" (call_expression "(*pcVar7)(*(undefined4 *)(iVar2 + 0x10))" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(puVar6 + 0xed788))(iVar2);" (call_expression "(**(code **)(puVar6 + 0xed788))(iVar2)" (parenthesized_expression "(**(code **)(puVar6 + 0xed788))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xed788)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xed788)" (* "*") (cast_expression "(code **)(puVar6 + 0xed788)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed788)" (( "(") (binary_expression "puVar6 + 0xed788" (identifier "puVar6") (+ "+") (number_literal "0xed788")) () ")"))))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_0006d468(iVar1);" (assignment_expression "iVar1 = FUN_0006d468(iVar1)" (identifier "iVar1") (= "=") (call_expression "FUN_0006d468(iVar1)" (identifier "FUN_0006d468") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));" (call_expression "(**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358))" (parenthesized_expression "(**(code **)(puVar6 + 0xed854))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xed854)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xed854)" (* "*") (cast_expression "(code **)(puVar6 + 0xed854)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xed854)" (( "(") (binary_expression "puVar6 + 0xed854" (identifier "puVar6") (+ "+") (number_literal "0xed854")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar5 + -0x3358))" (( "(") (pointer_expression "*(undefined4 *)(iVar5 + -0x3358)" (* "*") (cast_expression "(undefined4 *)(iVar5 + -0x3358)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + -0x3358)" (( "(") (binary_expression "iVar5 + -0x3358" (identifier "iVar5") (+ "+") (number_literal "-0x3358")) () ")")))) () ")"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

void function_1(type_1 *pFile)

{
  int var_2;
  type_2 *var_11;
  int var_6;
  type_3 *pUVar4;
  type_1 *pFile_00;
  char *in_a2;
  type_2 *var_9;
  type_4 *var_7;
  type_5 *pcVar7;
  type_6 buf;
  
  var_7 = PTR___stack_chk_guard_0015ca30;
  var_6 = *(int *)PTR___stack_chk_guard_0015ca30;
  pFile_00 = pFile;
  if ((pFile->ctrlFlags & 0x80) == 0) {
    var_2 = (**(type_5 **)(var_1 + -0x3b78))(pFile->h,&buf);
    if (var_2 == 0) {
      if (buf.st_nlink == 0) {
        pFile_00 = (type_1 *)0x1c;
        in_a2 = pFile->zPath;
        var_3(0x1c,var_4 + 0x7bdc);
      }
      else if (buf.st_nlink < 2) {
        pFile_00 = (type_1 *)&pFile->pInode;
        var_2 = (*(type_5 *)(var_5 + 0x19a0))(pFile_00,&pFile->zPath);
        if (var_2 != 0) {
          pFile_00 = (type_1 *)0x1c;
          in_a2 = pFile->zPath;
          var_3(0x1c,var_4 + 0x7c18);
        }
      }
      else {
        pFile_00 = (type_1 *)0x1c;
        in_a2 = pFile->zPath;
        var_3(0x1c,var_4 + 0x7bfc);
      }
    }
    else {
      pFile_00 = (type_1 *)0x1c;
      in_a2 = pFile->zPath;
      var_3(0x1c,var_4 + 0x7bc4);
    }
  }
  if (var_6 == *(int *)var_7) {
    return;
  }
  var_7 = PTR___stack_chk_fail_0015ca14;
  (*(type_5 *)PTR___stack_chk_fail_0015ca14)();
  var_6 = *(int *)(var_7 + 0xed774);
  var_9 = pFile_00->pInode;
  function_1(pFile_00);
  var_8((type_7 *)pFile_00,0,(int)in_a2);
  (**(type_5 **)(var_7 + 0xed850))(*(type_8 *)(var_6 + -0x3358));
  (**(type_5 **)(var_7 + 0xed850))(var_9->pLockMutex);
  if (var_9->nLock != 0) {
    var_11 = pFile_00->pInode;
    pUVar4 = pFile_00->pPreallocatedUnused;
    pUVar4->pNext = var_11->pUnused;
    var_11->pUnused = pUVar4;
    pFile_00->pPreallocatedUnused = (type_3 *)0x0;
    pFile_00->h = -1;
  }
  (**(type_5 **)(var_7 + 0xed854))(var_9->pLockMutex);
  var_9 = pFile_00->pInode;
  if ((var_9 != (type_2 *)0x0) &&
     (var_2 = var_9->nRef + -1, var_9->nRef = var_2, var_2 == 0)) {
    (**(type_5 **)(var_7 + 0xed850))(var_9->pLockMutex);
    var_10(pFile_00);
    (**(type_5 **)(var_7 + 0xed854))(var_9->pLockMutex);
    if (var_9->pPrev == (type_2 *)0x0) {
      var_11 = var_9->pNext;
      *(type_2 **)(*(int *)(var_7 + 0xed774) + -0x335c) = var_11;
    }
    else {
      var_9->pPrev->pNext = var_9->pNext;
      var_11 = var_9->pNext;
    }
    pcVar7 = *(type_5 **)(var_7 + 0xed8f0);
    if (var_11 != (type_2 *)0x0) {
      var_11->pPrev = var_9->pPrev;
    }
    (*pcVar7)(var_9->pLockMutex);
    (**(type_5 **)(var_7 + 0xed788))(var_9);
  }
  var_12((type_7 *)pFile_00);
  (**(type_5 **)(var_7 + 0xed854))(*(type_8 *)(var_6 + -0x3358));
  return;
}


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

int MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined *puVar6;
  code *pcVar7;
  undefined1 auStack_b8 [28];
  uint local_9c;
  int local_14;
  
  puVar6 = PTR___stack_chk_guard_0015ca30;
  local_14 = *(int *)PTR___stack_chk_guard_0015ca30;
  iVar1 = param_1;
  if ((*(ushort *)(param_1 + 0x12) & 0x80) == 0) {
    iVar1 = (**(code **)(PTR_DAT_0015c5d8 + -0x3b78))(*(undefined4 *)(param_1 + 0xc),auStack_b8);
    if (iVar1 == 0) {
      if (local_9c == 0) {
        iVar1 = 0x1c;
        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bdc,*(undefined4 *)(param_1 + 0x20));
      }
      else if (local_9c < 2) {
        iVar1 = param_1 + 8;
        iVar2 = (*(code *)(PTR_LAB_0015c6dc + 0x19a0))(iVar1,param_1 + 0x20);
        if (iVar2 != 0) {
          iVar1 = 0x1c;
          sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7c18,*(undefined4 *)(param_1 + 0x20));
        }
      }
      else {
        iVar1 = 0x1c;
        sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bfc,*(undefined4 *)(param_1 + 0x20));
      }
    }
    else {
      iVar1 = 0x1c;
      sqlite3_log(0x1c,PTR_LAB_0015c5e8 + 0x7bc4,*(undefined4 *)(param_1 + 0x20));
    }
  }
  if (local_14 == *(int *)puVar6) {
    return *(int *)puVar6;
  }
  puVar6 = PTR___stack_chk_fail_0015ca14;
  (*(code *)PTR___stack_chk_fail_0015ca14)();
  iVar5 = *(int *)(puVar6 + 0xed774);
  iVar2 = *(int *)(iVar1 + 8);
  MASKED();
  FUN_0006d7fc(iVar1,0);
  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar5 + -0x3358));
  (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));
  if (*(int *)(iVar2 + 0x18) != 0) {
    iVar3 = *(int *)(iVar1 + 8);
    iVar4 = *(int *)(iVar1 + 0x1c);
    *(undefined4 *)(iVar4 + 8) = *(undefined4 *)(iVar3 + 0x20);
    *(int *)(iVar3 + 0x20) = iVar4;
    *(undefined4 *)(iVar1 + 0x1c) = 0;
    *(undefined4 *)(iVar1 + 0xc) = 0xffffffff;
  }
  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));
  iVar2 = *(int *)(iVar1 + 8);
  if ((iVar2 != 0) &&
     (iVar3 = *(int *)(iVar2 + 0x24) + -1, *(int *)(iVar2 + 0x24) = iVar3, iVar3 == 0)) {
    (**(code **)(puVar6 + 0xed850))(*(undefined4 *)(iVar2 + 0x10));
    FUN_0006d740(iVar1);
    (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar2 + 0x10));
    if (*(int *)(iVar2 + 0x30) == 0) {
      iVar3 = *(int *)(iVar2 + 0x2c);
      *(int *)(*(int *)(puVar6 + 0xed774) + -0x335c) = iVar3;
    }
    else {
      *(undefined4 *)(*(int *)(iVar2 + 0x30) + 0x2c) = *(undefined4 *)(iVar2 + 0x2c);
      iVar3 = *(int *)(iVar2 + 0x2c);
    }
    pcVar7 = *(code **)(puVar6 + 0xed8f0);
    if (iVar3 != 0) {
      *(undefined4 *)(iVar3 + 0x30) = *(undefined4 *)(iVar2 + 0x30);
    }
    (*pcVar7)(*(undefined4 *)(iVar2 + 0x10));
    (**(code **)(puVar6 + 0xed788))(iVar2);
  }
  iVar1 = FUN_0006d468(iVar1);
  (**(code **)(puVar6 + 0xed854))(*(undefined4 *)(iVar5 + -0x3358));
  return iVar1;
}

