
int pager_write(PgHdr *pPg)

{
  undefined *puVar1;
  int iVar2;
  ushort uVar4;
  Bitvec *pBVar3;
  uint uVar5;
  Pager *pPager;
  undefined4 uVar6;
  Pgno PVar7;
  sqlite3_file *psVar8;
  undefined4 uVar9;
  sqlite3_vfs *psVar10;
  
  pPager = pPg->pPager;
  if (pPager->eState == '\x02') {
    if (pPager->errCode != 0) {
      return pPager->errCode;
    }
    if ((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')) {
      psVar10 = pPager->pVfs;
      PVar7 = pPager->dbSize;
      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);
      if (pBVar3 == (Bitvec *)0x0) {
        pPager->pInJournal = (Bitvec *)0x0;
        return 7;
      }
      pBVar3->iSize = PVar7;
      pPager->pInJournal = pBVar3;
      psVar8 = pPager->jfd;
      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {
        if (pPager->journalMode == '\x04') {
          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);
          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;
          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;
          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;
          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;
          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;
          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;
          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);
        }
        else {
          uVar9 = 0x806;
          uVar6 = 0;
          if (pPager->tempFile != '\0') {
            uVar9 = 0x100e;
            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);
          }
          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);
          if ((iVar2 != 0) ||
             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))
                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))
          goto LAB_000c2e90;
        }
      }
      pPager->nRec = 0;
      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;
      *(undefined4 *)&pPager->journalOff = 0;
      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;
      *(undefined4 *)&pPager->journalHdr = 0;
      pPager->setMaster = '\0';
      iVar2 = writeJournalHdr(pPager);
      if (iVar2 != 0) {
LAB_000c2e90:
        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);
        pPager->pInJournal = (Bitvec *)0x0;
        return iVar2;
      }
    }
    pPager->eState = '\x03';
  }
  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(pPg);
  if (pPager->pInJournal == (Bitvec *)0x0) {
LAB_000c2db4:
    uVar4 = pPg->flags;
  }
  else {
    uVar5 = pPg->pgno;
    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);
    if (iVar2 != 0) goto LAB_000c2db4;
    if (uVar5 <= pPager->dbOrigSize) {
      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);
      if (iVar2 != 0) {
        return iVar2;
      }
      goto LAB_000c2db4;
    }
    uVar4 = pPg->flags;
    if (pPager->eState != '\x04') {
      pPg->flags = uVar4 | 0xc;
      iVar2 = pPager->nSavepoint;
      goto joined_r0x000c2dc4;
    }
  }
  pPg->flags = uVar4 | 4;
  iVar2 = pPager->nSavepoint;
joined_r0x000c2dc4:
  if (iVar2 < 1) {
    iVar2 = 0;
    if (pPager->dbSize < pPg->pgno) {
      pPager->dbSize = pPg->pgno;
    }
  }
  else {
    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);
    if (pPager->dbSize < pPg->pgno) {
      pPager->dbSize = pPg->pgno;
    }
  }
  return iVar2;
}



int FUN_000c2ca0(int param_1)

{
  undefined *puVar1;
  int iVar2;
  ushort uVar4;
  undefined4 *puVar3;
  uint uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  int *piVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  
  puVar6 = *(undefined4 **)(param_1 + 0x14);
  if (*(char *)(puVar6 + 4) == '\x02') {
    if (puVar6[10] != 0) {
      return puVar6[10];
    }
    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {
      uVar10 = *puVar6;
      uVar7 = puVar6[6];
      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);
      if (puVar3 == (undefined4 *)0x0) {
        puVar6[0xe] = 0;
        return 7;
      }
      *puVar3 = uVar7;
      puVar6[0xe] = puVar3;
      piVar8 = (int *)puVar6[0x10];
      if (*piVar8 == 0) {
        if (*(char *)((int)puVar6 + 5) == '\x04') {
          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);
          piVar8[1] = 0x3fc;
          piVar8[0xe] = 0;
          piVar8[2] = -1;
          puVar1 = PTR_DAT_00190948;
          piVar8[0x10] = 0;
          piVar8[0xf] = 0;
          *piVar8 = (int)(puVar1 + -0x1290);
        }
        else {
          uVar9 = 0x806;
          uVar7 = 0;
          if (*(char *)(puVar6 + 3) != '\0') {
            uVar9 = 0x100e;
            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);
          }
          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);
          if ((iVar2 != 0) ||
             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))
                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))
          goto LAB_000c2e90;
        }
      }
      puVar6[0xb] = 0;
      puVar6[0x13] = 0;
      puVar6[0x12] = 0;
      puVar6[0x15] = 0;
      puVar6[0x14] = 0;
      *(undefined1 *)((int)puVar6 + 0x13) = 0;
      iVar2 = FUN_000c29c0(puVar6);
      if (iVar2 != 0) {
LAB_000c2e90:
        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);
        puVar6[0xe] = 0;
        return iVar2;
      }
    }
    *(undefined1 *)(puVar6 + 4) = 3;
  }
  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);
  if (puVar6[0xe] == 0) {
LAB_000c2db4:
    uVar4 = *(ushort *)(param_1 + 0x1c);
  }
  else {
    uVar5 = *(uint *)(param_1 + 0x18);
    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);
    if (iVar2 != 0) goto LAB_000c2db4;
    if (uVar5 <= (uint)puVar6[7]) {
      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);
      if (iVar2 != 0) {
        return iVar2;
      }
      goto LAB_000c2db4;
    }
    uVar4 = *(ushort *)(param_1 + 0x1c);
    if (*(char *)(puVar6 + 4) != '\x04') {
      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;
      iVar2 = puVar6[0x18];
      goto joined_r0x000c2dc4;
    }
  }
  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;
  iVar2 = puVar6[0x18];
joined_r0x000c2dc4:
  if (iVar2 < 1) {
    iVar2 = 0;
    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {
      puVar6[6] = *(uint *)(param_1 + 0x18);
    }
  }
  else {
    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);
    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {
      puVar6[6] = *(uint *)(param_1 + 0x18);
    }
  }
  return iVar2;
}


lui gp,0xd
addiu gp,gp,0x5c80
addu gp,gp,t9
addiu sp,sp,-0x40
li v1,0x2
sw s1,0x2c(sp)
sw gp,0x18(sp)
sw ra,0x3c(sp)
sw s4,0x38(sp)
sw s3,0x34(sp)
sw s2,0x30(sp)
sw s0,0x28(sp)
lw s0,0x14(a0)
lbu v0,0x10(s0)
beq v0,v1,0x000c2de8
_or s1,a0,zero
lw t9,-0x7de0(gp)
addiu t9,t9,0x7e8
jalr t9
_or a0,s1,zero
lw a0,0x38(s0)
beq a0,zero,0x000c2db4
_lw gp,0x18(sp)
lw t9,-0x7de0(gp)
lw t0,0x18(s1)
addiu t9,t9,0x4d8
jalr t9
_or a1,t0,zero
bne v0,zero,0x000c2db4
_lw gp,0x18(sp)
lw v0,0x1c(s0)
sltu t0,v0,t0
beq t0,zero,0x000c2d98
_li v1,0x4
lbu a0,0x10(s0)
beq a0,v1,0x000c2db8
_lhu v0,0x1c(s1)
ori v0,v0,0x8
ori v0,v0,0x4
sh v0,0x1c(s1)
lw v0,0x60(s0)
blez v0,0x000c2dcc
_lw t9,-0x7d68(gp)
addiu t9,t9,-0x5374
jalr t9
_or a0,s1,zero
or s2,v0,zero
lw v1,0x18(s1)
lw v0,0x18(s0)
sltu v0,v0,v1
beq v0,zero,0x000c2d78
_lw ra,0x3c(sp)
sw v1,0x18(s0)
lw ra,0x3c(sp)
or v0,s2,zero
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7d68(gp)
addiu t9,t9,-0x516c
jalr t9
_or a0,s1,zero
lw gp,0x18(sp)
bne v0,zero,0x000c2d74
_or s2,v0,zero
lhu v0,0x1c(s1)
ori v0,v0,0x4
sh v0,0x1c(s1)
lw v0,0x60(s0)
bgtz v0,0x000c2d4c
_lw t9,-0x7d68(gp)
lw v1,0x18(s1)
lw v0,0x18(s0)
sltu v0,v0,v1
beq v0,zero,0x000c2d74
_or s2,zero,zero
b 0x000c2d74
_sw v1,0x18(s0)
lw s2,0x28(s0)
bne s2,zero,0x000c2d78
_lw ra,0x3c(sp)
lw v1,0xd8(s0)
beq v1,zero,0x000c2e0c
_nop
li v0,0x3
b 0x000c2ce0
_sb v0,0x10(s0)
lbu v1,0x5(s0)
beq v1,v0,0x000c2e04
_li v0,0x3
lw t9,-0x7d78(gp)
li a1,0x200
or a0,zero,zero
lw s4,0x0(s0)
addiu t9,t9,-0x2940
jalr t9
_lw s3,0x18(s0)
beq v0,zero,0x000c2f1c
_lw gp,0x18(sp)
sw s3,0x0(v0)
sw v0,0x38(s0)
lw s3,0x40(s0)
lw v0,0x0(s3)
beq v0,zero,0x000c2eb0
_li v0,0x4
lw t9,-0x7d54(gp)
or v1,zero,zero
or v0,zero,zero
sw zero,0x2c(s0)
sw v1,0x4c(s0)
or a0,s0,zero
addiu t9,t9,0x29c0
sw v0,0x48(s0)
sw v1,0x54(s0)
sw v0,0x50(s0)
bal 0x000c29c0
_sb zero,0x13(s0)
beq v0,zero,0x000c2e00
_lw gp,0x18(sp)
lw t9,-0x7d78(gp)
lw a0,0x38(s0)
addiu t9,t9,-0xf54
jalr t9
_sw v0,0x24(sp)
lw v0,0x24(sp)
sw zero,0x38(s0)
b 0x000c2d74
_or s2,v0,zero
lbu v1,0x5(s0)
beq v1,v0,0x000c2f28
_lw t9,-0x7bc8(gp)
lbu v0,0xc(s0)
beq v0,zero,0x000c2ed4
_li s3,0x806
lw v0,-0x7fd8(gp)
li s3,0x100e
lw s2,-0xb50(v0)
lw t9,-0x7de0(gp)
addiu t9,t9,0xe30
jalr t9
_or a0,s0,zero
bne v0,zero,0x000c2e8c
_lw gp,0x18(sp)
lw t9,-0x7d7c(gp)
or a3,s3,zero
lw a2,0x40(s0)
or a0,s4,zero
lw a1,0xac(s0)
addiu t9,t9,-0x6074
jalr t9
_sw s2,0x10(sp)
beq v0,zero,0x000c2e54
_lw gp,0x18(sp)
b 0x000c2e90
_lw t9,-0x7d78(gp)
li s2,0x7
b 0x000c2d74
_sw zero,0x38(s0)
li a2,0x3c
or a1,zero,zero
jalr t9
_addiu a0,s3,0xc
li v0,0x3fc
lw gp,0x18(sp)
sw v0,0x4(s3)
li v0,-0x1
sw zero,0x38(s3)
sw v0,0x8(s3)
lw v0,-0x7fd8(gp)
sw zero,0x40(s3)
sw zero,0x3c(s3)
addiu v0,v0,-0x1290
b 0x000c2e54
_sw v0,0x0(s3)
(translation_unit "int FUN_000c2ca0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_000c2ca0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_000c2ca0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (expression_statement "puVar6 = *(undefined4 **)(param_1 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }" if (parenthesized_expression "(*(char *)(puVar6 + 4) == '\x02')" ( (binary_expression "*(char *)(puVar6 + 4) == '\x02'" (pointer_expression "*(char *)(puVar6 + 4)" * (cast_expression "(char *)(puVar6 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }" { (if_statement "if (puVar6[10] != 0) {\n      return puVar6[10];\n    }" if (parenthesized_expression "(puVar6[10] != 0)" ( (binary_expression "puVar6[10] != 0" (subscript_expression "puVar6[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return puVar6[10];\n    }" { (return_statement "return puVar6[10];" return (subscript_expression "puVar6[10]" identifier [ number_literal ]) ;) })) (if_statement "if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }" if (parenthesized_expression "((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02'))" ( (binary_expression "(puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')" (parenthesized_expression "(puVar6[0x36] == 0)" ( (binary_expression "puVar6[0x36] == 0" (subscript_expression "puVar6[0x36]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)((int)puVar6 + 5) != '\x02')" ( (binary_expression "*(char *)((int)puVar6 + 5) != '\x02'" (pointer_expression "*(char *)((int)puVar6 + 5)" * (cast_expression "(char *)((int)puVar6 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 5)" ( (binary_expression "(int)puVar6 + 5" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\x02'" ' escape_sequence ')) ))) )) (compound_statement "{\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }" { (expression_statement "uVar10 = *puVar6;" (assignment_expression "uVar10 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar7 = puVar6[6];" (assignment_expression "uVar7 = puVar6[6]" identifier = (subscript_expression "puVar6[6]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);" (assignment_expression "puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" identifier = (cast_expression "(undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2940)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2940)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2940)" ( (binary_expression "PTR_LAB_00190ba8 + -0x2940" identifier + number_literal) )))) )) (argument_list "(0,0x200)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar6[0xe] = 0;\n        return 7;\n      }" { (expression_statement "puVar6[0xe] = 0;" (assignment_expression "puVar6[0xe] = 0" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "*puVar3 = uVar7;" (assignment_expression "*puVar3 = uVar7" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar6[0xe] = puVar3;" (assignment_expression "puVar6[0xe] = puVar3" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = (int *)puVar6[0x10];" (assignment_expression "piVar8 = (int *)puVar6[0x10]" identifier = (cast_expression "(int *)puVar6[0x10]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[0x10]" identifier [ number_literal ]))) ;) (if_statement "if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" if (parenthesized_expression "(*piVar8 == 0)" ( (binary_expression "*piVar8 == 0" (pointer_expression "*piVar8" * identifier) == number_literal) )) (compound_statement "{\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" { (if_statement "if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" if (parenthesized_expression "(*(char *)((int)puVar6 + 5) == '\x04')" ( (binary_expression "*(char *)((int)puVar6 + 5) == '\x04'" (pointer_expression "*(char *)((int)puVar6 + 5)" * (cast_expression "(char *)((int)puVar6 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 5)" ( (binary_expression "(int)puVar6 + 5" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }" { (expression_statement "(*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);" (call_expression "(*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c)" (parenthesized_expression "(*(code *)PTR_memset_00190d58)" ( (pointer_expression "*(code *)PTR_memset_00190d58" * (cast_expression "(code *)PTR_memset_00190d58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar8 + 3,0,0x3c)" ( (binary_expression "piVar8 + 3" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "piVar8[1] = 0x3fc;" (assignment_expression "piVar8[1] = 0x3fc" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[0xe] = 0;" (assignment_expression "piVar8[0xe] = 0" (subscript_expression "piVar8[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[2] = -1;" (assignment_expression "piVar8[2] = -1" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = PTR_DAT_00190948;" (assignment_expression "puVar1 = PTR_DAT_00190948" identifier = identifier) ;) (expression_statement "piVar8[0x10] = 0;" (assignment_expression "piVar8[0x10] = 0" (subscript_expression "piVar8[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[0xf] = 0;" (assignment_expression "piVar8[0xf] = 0" (subscript_expression "piVar8[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar8 = (int)(puVar1 + -0x1290);" (assignment_expression "*piVar8 = (int)(puVar1 + -0x1290)" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)(puVar1 + -0x1290)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar1 + -0x1290)" ( (binary_expression "puVar1 + -0x1290" identifier + number_literal) )))) ;) }) (else_clause "else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" else (compound_statement "{\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" { (expression_statement "uVar9 = 0x806;" (assignment_expression "uVar9 = 0x806" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }" if (parenthesized_expression "(*(char *)(puVar6 + 3) != '\0')" ( (binary_expression "*(char *)(puVar6 + 3) != '\0'" (pointer_expression "*(char *)(puVar6 + 3)" * (cast_expression "(char *)(puVar6 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 3)" ( (binary_expression "puVar6 + 3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }" { (expression_statement "uVar9 = 0x100e;" (assignment_expression "uVar9 = 0x100e" identifier = number_literal) ;) (expression_statement "uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);" (assignment_expression "uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190948 + -0xb50)" * (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0xb50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb50)" ( (binary_expression "PTR_DAT_00190948 + -0xb50" identifier + number_literal) ))))) ;) })) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0xe30)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0xe30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0xe30)" ( (binary_expression "PTR_LAB_00190b40 + 0xe30" identifier + number_literal) )))) )) (argument_list "(puVar6)" ( identifier )))) ;) (if_statement "if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;" if (parenthesized_expression "((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba4 + -0x6074)" * (cast_expression "(code *)(PTR_LAB_00190ba4 + -0x6074)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba4 + -0x6074)" ( (binary_expression "PTR_LAB_00190ba4 + -0x6074" identifier + number_literal) )))) )) (argument_list "(uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" ( identifier , (subscript_expression "puVar6[0x2b]" identifier [ number_literal ]) , (subscript_expression "puVar6[0x10]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000c2e90;" goto statement_identifier ;)) }))) })) (expression_statement "puVar6[0xb] = 0;" (assignment_expression "puVar6[0xb] = 0" (subscript_expression "puVar6[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x13] = 0;" (assignment_expression "puVar6[0x13] = 0" (subscript_expression "puVar6[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x12] = 0;" (assignment_expression "puVar6[0x12] = 0" (subscript_expression "puVar6[0x12]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x15] = 0;" (assignment_expression "puVar6[0x15] = 0" (subscript_expression "puVar6[0x15]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x14] = 0;" (assignment_expression "puVar6[0x14] = 0" (subscript_expression "puVar6[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar6 + 0x13) = 0;" (assignment_expression "*(undefined1 *)((int)puVar6 + 0x13) = 0" (pointer_expression "*(undefined1 *)((int)puVar6 + 0x13)" * (cast_expression "(undefined1 *)((int)puVar6 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x13)" ( (binary_expression "(int)puVar6 + 0x13" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = FUN_000c29c0(puVar6);" (assignment_expression "iVar2 = FUN_000c29c0(puVar6)" identifier = (call_expression "FUN_000c29c0(puVar6)" identifier (argument_list "(puVar6)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }" { (labeled_statement "LAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);" statement_identifier : (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe])" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0xf54)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0xf54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0xf54)" ( (binary_expression "PTR_LAB_00190ba8 + -0xf54" identifier + number_literal) )))) )) (argument_list "(puVar6[0xe])" ( (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) ))) ;)) (expression_statement "puVar6[0xe] = 0;" (assignment_expression "puVar6[0xe] = 0" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar2;" return identifier ;) })) })) (expression_statement "*(undefined1 *)(puVar6 + 4) = 3;" (assignment_expression "*(undefined1 *)(puVar6 + 4) = 3" (pointer_expression "*(undefined1 *)(puVar6 + 4)" * (cast_expression "(undefined1 *)(puVar6 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x7e8)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x7e8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x7e8)" ( (binary_expression "PTR_LAB_00190b40 + 0x7e8" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" if (parenthesized_expression "(puVar6[0xe] == 0)" ( (binary_expression "puVar6[0xe] == 0" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }" { (labeled_statement "LAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);" statement_identifier : (expression_statement "uVar4 = *(ushort *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(ushort *)(param_1 + 0x1c)" identifier = (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" else (compound_statement "{\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" { (expression_statement "uVar5 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x4d8)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x4d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x4d8)" ( (binary_expression "PTR_LAB_00190b40 + 0x4d8" identifier + number_literal) )))) )) (argument_list "(puVar6[0xe],uVar5)" ( (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_000c2db4;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000c2db4;" goto statement_identifier ;)) (if_statement "if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" if (parenthesized_expression "(uVar5 <= (uint)puVar6[7])" ( (binary_expression "uVar5 <= (uint)puVar6[7]" identifier <= (cast_expression "(uint)puVar6[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar6[7]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x516c)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x516c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x516c)" ( (binary_expression "PTR_LAB_00190bb8 + -0x516c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (goto_statement "goto LAB_000c2db4;" goto statement_identifier ;) })) (expression_statement "uVar4 = *(ushort *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(ushort *)(param_1 + 0x1c)" identifier = (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }" if (parenthesized_expression "(*(char *)(puVar6 + 4) != '\x04')" ( (binary_expression "*(char *)(puVar6 + 4) != '\x04'" (pointer_expression "*(char *)(puVar6 + 4)" * (cast_expression "(char *)(puVar6 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }" { (expression_statement "*(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;" (assignment_expression "*(ushort *)(param_1 + 0x1c) = uVar4 | 0xc" (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "uVar4 | 0xc" identifier | number_literal)) ;) (expression_statement "iVar2 = puVar6[0x18];" (assignment_expression "iVar2 = puVar6[0x18]" identifier = (subscript_expression "puVar6[0x18]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x000c2dc4;" goto statement_identifier ;) })) }))) (expression_statement "*(ushort *)(param_1 + 0x1c) = uVar4 | 4;" (assignment_expression "*(ushort *)(param_1 + 0x1c) = uVar4 | 4" (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "uVar4 | 4" identifier | number_literal)) ;) (expression_statement "iVar2 = puVar6[0x18];" (assignment_expression "iVar2 = puVar6[0x18]" identifier = (subscript_expression "puVar6[0x18]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" statement_identifier : (if_statement "if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" if (parenthesized_expression "((uint)puVar6[6] < *(uint *)(param_1 + 0x18))" ( (binary_expression "(uint)puVar6[6] < *(uint *)(param_1 + 0x18)" (cast_expression "(uint)puVar6[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar6[6]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" { (expression_statement "puVar6[6] = *(uint *)(param_1 + 0x18);" (assignment_expression "puVar6[6] = *(uint *)(param_1 + 0x18)" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x5374)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x5374)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x5374)" ( (binary_expression "PTR_LAB_00190bb8 + -0x5374" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" if (parenthesized_expression "((uint)puVar6[6] < *(uint *)(param_1 + 0x18))" ( (binary_expression "(uint)puVar6[6] < *(uint *)(param_1 + 0x18)" (cast_expression "(uint)puVar6[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar6[6]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" { (expression_statement "puVar6[6] = *(uint *)(param_1 + 0x18);" (assignment_expression "puVar6[6] = *(uint *)(param_1 + 0x18)" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) })))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int pager_write(PgHdr *pPg)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  Bitvec *pBVar3;\n  uint uVar5;\n  Pager *pPager;\n  undefined4 uVar6;\n  Pgno PVar7;\n  sqlite3_file *psVar8;\n  undefined4 uVar9;\n  sqlite3_vfs *psVar10;\n  \n  pPager = pPg->pPager;\n  if (pPager->eState == '\x02') {\n    if (pPager->errCode != 0) {\n      return pPager->errCode;\n    }\n    if ((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')) {\n      psVar10 = pPager->pVfs;\n      PVar7 = pPager->dbSize;\n      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }\n      pBVar3->iSize = PVar7;\n      pPager->pInJournal = pBVar3;\n      psVar8 = pPager->jfd;\n      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      pPager->nRec = 0;\n      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;\n      *(undefined4 *)&pPager->journalOff = 0;\n      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;\n      *(undefined4 *)&pPager->journalHdr = 0;\n      pPager->setMaster = '\0';\n      iVar2 = writeJournalHdr(pPager);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }\n    }\n    pPager->eState = '\x03';\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(pPg);\n  if (pPager->pInJournal == (Bitvec *)0x0) {\nLAB_000c2db4:\n    uVar4 = pPg->flags;\n  }\n  else {\n    uVar5 = pPg->pgno;\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= pPager->dbOrigSize) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = pPg->flags;\n    if (pPager->eState != '\x04') {\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }\n  }\n  pPg->flags = uVar4 | 4;\n  iVar2 = pPager->nSavepoint;\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int pager_write(PgHdr *pPg)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  Bitvec *pBVar3;\n  uint uVar5;\n  Pager *pPager;\n  undefined4 uVar6;\n  Pgno PVar7;\n  sqlite3_file *psVar8;\n  undefined4 uVar9;\n  sqlite3_vfs *psVar10;\n  \n  pPager = pPg->pPager;\n  if (pPager->eState == '\x02') {\n    if (pPager->errCode != 0) {\n      return pPager->errCode;\n    }\n    if ((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')) {\n      psVar10 = pPager->pVfs;\n      PVar7 = pPager->dbSize;\n      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }\n      pBVar3->iSize = PVar7;\n      pPager->pInJournal = pBVar3;\n      psVar8 = pPager->jfd;\n      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      pPager->nRec = 0;\n      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;\n      *(undefined4 *)&pPager->journalOff = 0;\n      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;\n      *(undefined4 *)&pPager->journalHdr = 0;\n      pPager->setMaster = '\0';\n      iVar2 = writeJournalHdr(pPager);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }\n    }\n    pPager->eState = '\x03';\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(pPg);\n  if (pPager->pInJournal == (Bitvec *)0x0) {\nLAB_000c2db4:\n    uVar4 = pPg->flags;\n  }\n  else {\n    uVar5 = pPg->pgno;\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= pPager->dbOrigSize) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = pPg->flags;\n    if (pPager->eState != '\x04') {\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }\n  }\n  pPg->flags = uVar4 | 4;\n  iVar2 = pPager->nSavepoint;\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "pager_write(PgHdr *pPg)" identifier (parameter_list "(PgHdr *pPg)" ( (parameter_declaration "PgHdr *pPg" type_identifier (pointer_declarator "*pPg" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  Bitvec *pBVar3;\n  uint uVar5;\n  Pager *pPager;\n  undefined4 uVar6;\n  Pgno PVar7;\n  sqlite3_file *psVar8;\n  undefined4 uVar9;\n  sqlite3_vfs *psVar10;\n  \n  pPager = pPg->pPager;\n  if (pPager->eState == '\x02') {\n    if (pPager->errCode != 0) {\n      return pPager->errCode;\n    }\n    if ((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')) {\n      psVar10 = pPager->pVfs;\n      PVar7 = pPager->dbSize;\n      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }\n      pBVar3->iSize = PVar7;\n      pPager->pInJournal = pBVar3;\n      psVar8 = pPager->jfd;\n      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      pPager->nRec = 0;\n      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;\n      *(undefined4 *)&pPager->journalOff = 0;\n      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;\n      *(undefined4 *)&pPager->journalHdr = 0;\n      pPager->setMaster = '\0';\n      iVar2 = writeJournalHdr(pPager);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }\n    }\n    pPager->eState = '\x03';\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(pPg);\n  if (pPager->pInJournal == (Bitvec *)0x0) {\nLAB_000c2db4:\n    uVar4 = pPg->flags;\n  }\n  else {\n    uVar5 = pPg->pgno;\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= pPager->dbOrigSize) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = pPg->flags;\n    if (pPager->eState != '\x04') {\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }\n  }\n  pPg->flags = uVar4 | 4;\n  iVar2 = pPager->nSavepoint;\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "Bitvec *pBVar3;" type_identifier (pointer_declarator "*pBVar3" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "Pager *pPager;" type_identifier (pointer_declarator "*pPager" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "Pgno PVar7;" type_identifier identifier ;) (declaration "sqlite3_file *psVar8;" type_identifier (pointer_declarator "*psVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "sqlite3_vfs *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (expression_statement "pPager = pPg->pPager;" (assignment_expression "pPager = pPg->pPager" identifier = (field_expression "pPg->pPager" identifier -> field_identifier)) ;) (if_statement "if (pPager->eState == '\x02') {\n    if (pPager->errCode != 0) {\n      return pPager->errCode;\n    }\n    if ((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')) {\n      psVar10 = pPager->pVfs;\n      PVar7 = pPager->dbSize;\n      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }\n      pBVar3->iSize = PVar7;\n      pPager->pInJournal = pBVar3;\n      psVar8 = pPager->jfd;\n      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      pPager->nRec = 0;\n      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;\n      *(undefined4 *)&pPager->journalOff = 0;\n      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;\n      *(undefined4 *)&pPager->journalHdr = 0;\n      pPager->setMaster = '\0';\n      iVar2 = writeJournalHdr(pPager);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }\n    }\n    pPager->eState = '\x03';\n  }" if (parenthesized_expression "(pPager->eState == '\x02')" ( (binary_expression "pPager->eState == '\x02'" (field_expression "pPager->eState" identifier -> field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if (pPager->errCode != 0) {\n      return pPager->errCode;\n    }\n    if ((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')) {\n      psVar10 = pPager->pVfs;\n      PVar7 = pPager->dbSize;\n      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }\n      pBVar3->iSize = PVar7;\n      pPager->pInJournal = pBVar3;\n      psVar8 = pPager->jfd;\n      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      pPager->nRec = 0;\n      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;\n      *(undefined4 *)&pPager->journalOff = 0;\n      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;\n      *(undefined4 *)&pPager->journalHdr = 0;\n      pPager->setMaster = '\0';\n      iVar2 = writeJournalHdr(pPager);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }\n    }\n    pPager->eState = '\x03';\n  }" { (if_statement "if (pPager->errCode != 0) {\n      return pPager->errCode;\n    }" if (parenthesized_expression "(pPager->errCode != 0)" ( (binary_expression "pPager->errCode != 0" (field_expression "pPager->errCode" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      return pPager->errCode;\n    }" { (return_statement "return pPager->errCode;" return (field_expression "pPager->errCode" identifier -> field_identifier) ;) })) (if_statement "if ((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')) {\n      psVar10 = pPager->pVfs;\n      PVar7 = pPager->dbSize;\n      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }\n      pBVar3->iSize = PVar7;\n      pPager->pInJournal = pBVar3;\n      psVar8 = pPager->jfd;\n      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      pPager->nRec = 0;\n      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;\n      *(undefined4 *)&pPager->journalOff = 0;\n      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;\n      *(undefined4 *)&pPager->journalHdr = 0;\n      pPager->setMaster = '\0';\n      iVar2 = writeJournalHdr(pPager);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }\n    }" if (parenthesized_expression "((pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02'))" ( (binary_expression "(pPager->pWal == (Wal *)0x0) && (pPager->journalMode != '\x02')" (parenthesized_expression "(pPager->pWal == (Wal *)0x0)" ( (binary_expression "pPager->pWal == (Wal *)0x0" (field_expression "pPager->pWal" identifier -> field_identifier) == (cast_expression "(Wal *)0x0" ( (type_descriptor "Wal *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pPager->journalMode != '\x02')" ( (binary_expression "pPager->journalMode != '\x02'" (field_expression "pPager->journalMode" identifier -> field_identifier) != (char_literal "'\x02'" ' escape_sequence ')) ))) )) (compound_statement "{\n      psVar10 = pPager->pVfs;\n      PVar7 = pPager->dbSize;\n      pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }\n      pBVar3->iSize = PVar7;\n      pPager->pInJournal = pBVar3;\n      psVar8 = pPager->jfd;\n      if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      pPager->nRec = 0;\n      *(undefined4 *)((int)&pPager->journalOff + 4) = 0;\n      *(undefined4 *)&pPager->journalOff = 0;\n      *(undefined4 *)((int)&pPager->journalHdr + 4) = 0;\n      *(undefined4 *)&pPager->journalHdr = 0;\n      pPager->setMaster = '\0';\n      iVar2 = writeJournalHdr(pPager);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }\n    }" { (expression_statement "psVar10 = pPager->pVfs;" (assignment_expression "psVar10 = pPager->pVfs" identifier = (field_expression "pPager->pVfs" identifier -> field_identifier)) ;) (expression_statement "PVar7 = pPager->dbSize;" (assignment_expression "PVar7 = pPager->dbSize" identifier = (field_expression "pPager->dbSize" identifier -> field_identifier)) ;) (expression_statement "pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);" (assignment_expression "pBVar3 = (Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" identifier = (cast_expression "(Bitvec *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2940)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2940)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2940)" ( (binary_expression "PTR_LAB_00190ba8 + -0x2940" identifier + number_literal) )))) )) (argument_list "(0,0x200)" ( number_literal , number_literal ))))) ;) (if_statement "if (pBVar3 == (Bitvec *)0x0) {\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }" if (parenthesized_expression "(pBVar3 == (Bitvec *)0x0)" ( (binary_expression "pBVar3 == (Bitvec *)0x0" identifier == (cast_expression "(Bitvec *)0x0" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pPager->pInJournal = (Bitvec *)0x0;\n        return 7;\n      }" { (expression_statement "pPager->pInJournal = (Bitvec *)0x0;" (assignment_expression "pPager->pInJournal = (Bitvec *)0x0" (field_expression "pPager->pInJournal" identifier -> field_identifier) = (cast_expression "(Bitvec *)0x0" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "pBVar3->iSize = PVar7;" (assignment_expression "pBVar3->iSize = PVar7" (field_expression "pBVar3->iSize" identifier -> field_identifier) = identifier) ;) (expression_statement "pPager->pInJournal = pBVar3;" (assignment_expression "pPager->pInJournal = pBVar3" (field_expression "pPager->pInJournal" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar8 = pPager->jfd;" (assignment_expression "psVar8 = pPager->jfd" identifier = (field_expression "pPager->jfd" identifier -> field_identifier)) ;) (if_statement "if (psVar8->pMethods == (sqlite3_io_methods *)0x0) {\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" if (parenthesized_expression "(psVar8->pMethods == (sqlite3_io_methods *)0x0)" ( (binary_expression "psVar8->pMethods == (sqlite3_io_methods *)0x0" (field_expression "psVar8->pMethods" identifier -> field_identifier) == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" { (if_statement "if (pPager->journalMode == '\x04') {\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" if (parenthesized_expression "(pPager->journalMode == '\x04')" ( (binary_expression "pPager->journalMode == '\x04'" (field_expression "pPager->journalMode" identifier -> field_identifier) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);\n          psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;\n          psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;\n          puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;\n          psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;\n          psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);\n        }" { (expression_statement "(*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c);" (call_expression "(*(code *)PTR_memset_00190d58)(psVar8 + 3,0,0x3c)" (parenthesized_expression "(*(code *)PTR_memset_00190d58)" ( (pointer_expression "*(code *)PTR_memset_00190d58" * (cast_expression "(code *)PTR_memset_00190d58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(psVar8 + 3,0,0x3c)" ( (binary_expression "psVar8 + 3" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc;" (assignment_expression "psVar8[1].pMethods = (sqlite3_io_methods *)0x3fc" (field_expression "psVar8[1].pMethods" (subscript_expression "psVar8[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_io_methods *)0x3fc" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0;" (assignment_expression "psVar8[0xe].pMethods = (sqlite3_io_methods *)0x0" (field_expression "psVar8[0xe].pMethods" (subscript_expression "psVar8[0xe]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff;" (assignment_expression "psVar8[2].pMethods = (sqlite3_io_methods *)0xffffffff" (field_expression "psVar8[2].pMethods" (subscript_expression "psVar8[2]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_io_methods *)0xffffffff" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar1 = PTR_aBuiltinFunc_29540_1408__00190948;" (assignment_expression "puVar1 = PTR_aBuiltinFunc_29540_1408__00190948" identifier = identifier) ;) (expression_statement "psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0;" (assignment_expression "psVar8[0x10].pMethods = (sqlite3_io_methods *)0x0" (field_expression "psVar8[0x10].pMethods" (subscript_expression "psVar8[0x10]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0;" (assignment_expression "psVar8[0xf].pMethods = (sqlite3_io_methods *)0x0" (field_expression "psVar8[0xf].pMethods" (subscript_expression "psVar8[0xf]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290);" (assignment_expression "psVar8->pMethods = (sqlite3_io_methods *)(puVar1 + -0x1290)" (field_expression "psVar8->pMethods" identifier -> field_identifier) = (cast_expression "(sqlite3_io_methods *)(puVar1 + -0x1290)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1290)" ( (binary_expression "puVar1 + -0x1290" identifier + number_literal) )))) ;) }) (else_clause "else {\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" else (compound_statement "{\n          uVar9 = 0x806;\n          uVar6 = 0;\n          if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" { (expression_statement "uVar9 = 0x806;" (assignment_expression "uVar9 = 0x806" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (if_statement "if (pPager->tempFile != '\0') {\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }" if (parenthesized_expression "(pPager->tempFile != '\0')" ( (binary_expression "pPager->tempFile != '\0'" (field_expression "pPager->tempFile" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar9 = 0x100e;\n            uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);\n          }" { (expression_statement "uVar9 = 0x100e;" (assignment_expression "uVar9 = 0x100e" identifier = number_literal) ;) (expression_statement "uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50)" identifier = (pointer_expression "*(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50)" * (cast_expression "(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -0xb50" identifier + number_literal) ))))) ;) })) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))(pPager)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0xe30)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0xe30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0xe30)" ( (binary_expression "PTR_LAB_00190b40 + 0xe30" identifier + number_literal) )))) )) (argument_list "(pPager)" ( identifier )))) ;) (if_statement "if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))\n          goto LAB_000c2e90;" if (parenthesized_expression "((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba4 + -0x6074)" * (cast_expression "(code *)(PTR_LAB_00190ba4 + -0x6074)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba4 + -0x6074)" ( (binary_expression "PTR_LAB_00190ba4 + -0x6074" identifier + number_literal) )))) )) (argument_list "(psVar10,pPager->zJournal,pPager->jfd,uVar9,uVar6)" ( identifier , (field_expression "pPager->zJournal" identifier -> field_identifier) , (field_expression "pPager->jfd" identifier -> field_identifier) , identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000c2e90;" goto statement_identifier ;)) }))) })) (expression_statement "pPager->nRec = 0;" (assignment_expression "pPager->nRec = 0" (field_expression "pPager->nRec" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&pPager->journalOff + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&pPager->journalOff + 4) = 0" (pointer_expression "*(undefined4 *)((int)&pPager->journalOff + 4)" * (cast_expression "(undefined4 *)((int)&pPager->journalOff + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPager->journalOff + 4)" ( (binary_expression "(int)&pPager->journalOff + 4" (cast_expression "(int)&pPager->journalOff" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPager->journalOff" & (field_expression "pPager->journalOff" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&pPager->journalOff = 0;" (assignment_expression "*(undefined4 *)&pPager->journalOff = 0" (pointer_expression "*(undefined4 *)&pPager->journalOff" * (cast_expression "(undefined4 *)&pPager->journalOff" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPager->journalOff" & (field_expression "pPager->journalOff" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&pPager->journalHdr + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&pPager->journalHdr + 4) = 0" (pointer_expression "*(undefined4 *)((int)&pPager->journalHdr + 4)" * (cast_expression "(undefined4 *)((int)&pPager->journalHdr + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPager->journalHdr + 4)" ( (binary_expression "(int)&pPager->journalHdr + 4" (cast_expression "(int)&pPager->journalHdr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPager->journalHdr" & (field_expression "pPager->journalHdr" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)&pPager->journalHdr = 0;" (assignment_expression "*(undefined4 *)&pPager->journalHdr = 0" (pointer_expression "*(undefined4 *)&pPager->journalHdr" * (cast_expression "(undefined4 *)&pPager->journalHdr" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPager->journalHdr" & (field_expression "pPager->journalHdr" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "pPager->setMaster = '\0';" (assignment_expression "pPager->setMaster = '\0'" (field_expression "pPager->setMaster" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar2 = writeJournalHdr(pPager);" (assignment_expression "iVar2 = writeJournalHdr(pPager)" identifier = (call_expression "writeJournalHdr(pPager)" identifier (argument_list "(pPager)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);\n        pPager->pInJournal = (Bitvec *)0x0;\n        return iVar2;\n      }" { (labeled_statement "LAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);" statement_identifier : (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(pPager->pInJournal)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0xf54)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0xf54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0xf54)" ( (binary_expression "PTR_LAB_00190ba8 + -0xf54" identifier + number_literal) )))) )) (argument_list "(pPager->pInJournal)" ( (field_expression "pPager->pInJournal" identifier -> field_identifier) ))) ;)) (expression_statement "pPager->pInJournal = (Bitvec *)0x0;" (assignment_expression "pPager->pInJournal = (Bitvec *)0x0" (field_expression "pPager->pInJournal" identifier -> field_identifier) = (cast_expression "(Bitvec *)0x0" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return iVar2;" return identifier ;) })) })) (expression_statement "pPager->eState = '\x03';" (assignment_expression "pPager->eState = '\x03'" (field_expression "pPager->eState" identifier -> field_identifier) = (char_literal "'\x03'" ' escape_sequence ')) ;) })) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(pPg);" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(pPg)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x7e8)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x7e8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x7e8)" ( (binary_expression "PTR_LAB_00190b40 + 0x7e8" identifier + number_literal) )))) )) (argument_list "(pPg)" ( identifier ))) ;) (if_statement "if (pPager->pInJournal == (Bitvec *)0x0) {\nLAB_000c2db4:\n    uVar4 = pPg->flags;\n  }\n  else {\n    uVar5 = pPg->pgno;\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= pPager->dbOrigSize) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = pPg->flags;\n    if (pPager->eState != '\x04') {\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }\n  }" if (parenthesized_expression "(pPager->pInJournal == (Bitvec *)0x0)" ( (binary_expression "pPager->pInJournal == (Bitvec *)0x0" (field_expression "pPager->pInJournal" identifier -> field_identifier) == (cast_expression "(Bitvec *)0x0" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000c2db4:\n    uVar4 = pPg->flags;\n  }" { (labeled_statement "LAB_000c2db4:\n    uVar4 = pPg->flags;" statement_identifier : (expression_statement "uVar4 = pPg->flags;" (assignment_expression "uVar4 = pPg->flags" identifier = (field_expression "pPg->flags" identifier -> field_identifier)) ;)) }) (else_clause "else {\n    uVar5 = pPg->pgno;\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= pPager->dbOrigSize) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = pPg->flags;\n    if (pPager->eState != '\x04') {\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }\n  }" else (compound_statement "{\n    uVar5 = pPg->pgno;\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= pPager->dbOrigSize) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = pPg->flags;\n    if (pPager->eState != '\x04') {\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }\n  }" { (expression_statement "uVar5 = pPg->pgno;" (assignment_expression "uVar5 = pPg->pgno" identifier = (field_expression "pPg->pgno" identifier -> field_identifier)) ;) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))(pPager->pInJournal,uVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x4d8)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x4d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x4d8)" ( (binary_expression "PTR_LAB_00190b40 + 0x4d8" identifier + number_literal) )))) )) (argument_list "(pPager->pInJournal,uVar5)" ( (field_expression "pPager->pInJournal" identifier -> field_identifier) , identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_000c2db4;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000c2db4;" goto statement_identifier ;)) (if_statement "if (uVar5 <= pPager->dbOrigSize) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" if (parenthesized_expression "(uVar5 <= pPager->dbOrigSize)" ( (binary_expression "uVar5 <= pPager->dbOrigSize" identifier <= (field_expression "pPager->dbOrigSize" identifier -> field_identifier)) )) (compound_statement "{\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))(pPg)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x516c)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x516c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x516c)" ( (binary_expression "PTR_LAB_00190bb8 + -0x516c" identifier + number_literal) )))) )) (argument_list "(pPg)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (goto_statement "goto LAB_000c2db4;" goto statement_identifier ;) })) (expression_statement "uVar4 = pPg->flags;" (assignment_expression "uVar4 = pPg->flags" identifier = (field_expression "pPg->flags" identifier -> field_identifier)) ;) (if_statement "if (pPager->eState != '\x04') {\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }" if (parenthesized_expression "(pPager->eState != '\x04')" ( (binary_expression "pPager->eState != '\x04'" (field_expression "pPager->eState" identifier -> field_identifier) != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      pPg->flags = uVar4 | 0xc;\n      iVar2 = pPager->nSavepoint;\n      goto joined_r0x000c2dc4;\n    }" { (expression_statement "pPg->flags = uVar4 | 0xc;" (assignment_expression "pPg->flags = uVar4 | 0xc" (field_expression "pPg->flags" identifier -> field_identifier) = (binary_expression "uVar4 | 0xc" identifier | number_literal)) ;) (expression_statement "iVar2 = pPager->nSavepoint;" (assignment_expression "iVar2 = pPager->nSavepoint" identifier = (field_expression "pPager->nSavepoint" identifier -> field_identifier)) ;) (goto_statement "goto joined_r0x000c2dc4;" goto statement_identifier ;) })) }))) (expression_statement "pPg->flags = uVar4 | 4;" (assignment_expression "pPg->flags = uVar4 | 4" (field_expression "pPg->flags" identifier -> field_identifier) = (binary_expression "uVar4 | 4" identifier | number_literal)) ;) (expression_statement "iVar2 = pPager->nSavepoint;" (assignment_expression "iVar2 = pPager->nSavepoint" identifier = (field_expression "pPager->nSavepoint" identifier -> field_identifier)) ;) (labeled_statement "joined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }" statement_identifier : (if_statement "if (iVar2 < 1) {\n    iVar2 = 0;\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar2 = 0;\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }" if (parenthesized_expression "(pPager->dbSize < pPg->pgno)" ( (binary_expression "pPager->dbSize < pPg->pgno" (field_expression "pPager->dbSize" identifier -> field_identifier) < (field_expression "pPg->pgno" identifier -> field_identifier)) )) (compound_statement "{\n      pPager->dbSize = pPg->pgno;\n    }" { (expression_statement "pPager->dbSize = pPg->pgno;" (assignment_expression "pPager->dbSize = pPg->pgno" (field_expression "pPager->dbSize" identifier -> field_identifier) = (field_expression "pPg->pgno" identifier -> field_identifier)) ;) })) }) (else_clause "else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);\n    if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))(pPg)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x5374)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x5374)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x5374)" ( (binary_expression "PTR_LAB_00190bb8 + -0x5374" identifier + number_literal) )))) )) (argument_list "(pPg)" ( identifier )))) ;) (if_statement "if (pPager->dbSize < pPg->pgno) {\n      pPager->dbSize = pPg->pgno;\n    }" if (parenthesized_expression "(pPager->dbSize < pPg->pgno)" ( (binary_expression "pPager->dbSize < pPg->pgno" (field_expression "pPager->dbSize" identifier -> field_identifier) < (field_expression "pPg->pgno" identifier -> field_identifier)) )) (compound_statement "{\n      pPager->dbSize = pPg->pgno;\n    }" { (expression_statement "pPager->dbSize = pPg->pgno;" (assignment_expression "pPager->dbSize = pPg->pgno" (field_expression "pPager->dbSize" identifier -> field_identifier) = (field_expression "pPg->pgno" identifier -> field_identifier)) ;) })) })))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int FUN_000c2ca0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_000c2ca0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_000c2ca0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (expression_statement "puVar6 = *(undefined4 **)(param_1 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }" if (parenthesized_expression "(*(char *)(puVar6 + 4) == '\x02')" ( (binary_expression "*(char *)(puVar6 + 4) == '\x02'" (pointer_expression "*(char *)(puVar6 + 4)" * (cast_expression "(char *)(puVar6 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }" { (if_statement "if (puVar6[10] != 0) {\n      return puVar6[10];\n    }" if (parenthesized_expression "(puVar6[10] != 0)" ( (binary_expression "puVar6[10] != 0" (subscript_expression "puVar6[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return puVar6[10];\n    }" { (return_statement "return puVar6[10];" return (subscript_expression "puVar6[10]" identifier [ number_literal ]) ;) })) (if_statement "if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }" if (parenthesized_expression "((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02'))" ( (binary_expression "(puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')" (parenthesized_expression "(puVar6[0x36] == 0)" ( (binary_expression "puVar6[0x36] == 0" (subscript_expression "puVar6[0x36]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)((int)puVar6 + 5) != '\x02')" ( (binary_expression "*(char *)((int)puVar6 + 5) != '\x02'" (pointer_expression "*(char *)((int)puVar6 + 5)" * (cast_expression "(char *)((int)puVar6 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 5)" ( (binary_expression "(int)puVar6 + 5" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\x02'" ' escape_sequence ')) ))) )) (compound_statement "{\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }" { (expression_statement "uVar10 = *puVar6;" (assignment_expression "uVar10 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar7 = puVar6[6];" (assignment_expression "uVar7 = puVar6[6]" identifier = (subscript_expression "puVar6[6]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);" (assignment_expression "puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" identifier = (cast_expression "(undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2940)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2940)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2940)" ( (binary_expression "PTR_LAB_00190ba8 + -0x2940" identifier + number_literal) )))) )) (argument_list "(0,0x200)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar6[0xe] = 0;\n        return 7;\n      }" { (expression_statement "puVar6[0xe] = 0;" (assignment_expression "puVar6[0xe] = 0" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 7;" return number_literal ;) })) (expression_statement "*puVar3 = uVar7;" (assignment_expression "*puVar3 = uVar7" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar6[0xe] = puVar3;" (assignment_expression "puVar6[0xe] = puVar3" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8 = (int *)puVar6[0x10];" (assignment_expression "piVar8 = (int *)puVar6[0x10]" identifier = (cast_expression "(int *)puVar6[0x10]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[0x10]" identifier [ number_literal ]))) ;) (if_statement "if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" if (parenthesized_expression "(*piVar8 == 0)" ( (binary_expression "*piVar8 == 0" (pointer_expression "*piVar8" * identifier) == number_literal) )) (compound_statement "{\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" { (if_statement "if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" if (parenthesized_expression "(*(char *)((int)puVar6 + 5) == '\x04')" ( (binary_expression "*(char *)((int)puVar6 + 5) == '\x04'" (pointer_expression "*(char *)((int)puVar6 + 5)" * (cast_expression "(char *)((int)puVar6 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 5)" ( (binary_expression "(int)puVar6 + 5" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }" { (expression_statement "(*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);" (call_expression "(*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c)" (parenthesized_expression "(*(code *)PTR_memset_00190d58)" ( (pointer_expression "*(code *)PTR_memset_00190d58" * (cast_expression "(code *)PTR_memset_00190d58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar8 + 3,0,0x3c)" ( (binary_expression "piVar8 + 3" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "piVar8[1] = 0x3fc;" (assignment_expression "piVar8[1] = 0x3fc" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[0xe] = 0;" (assignment_expression "piVar8[0xe] = 0" (subscript_expression "piVar8[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[2] = -1;" (assignment_expression "piVar8[2] = -1" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = PTR_DAT_00190948;" (assignment_expression "puVar1 = PTR_DAT_00190948" identifier = identifier) ;) (expression_statement "piVar8[0x10] = 0;" (assignment_expression "piVar8[0x10] = 0" (subscript_expression "piVar8[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[0xf] = 0;" (assignment_expression "piVar8[0xf] = 0" (subscript_expression "piVar8[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar8 = (int)(puVar1 + -0x1290);" (assignment_expression "*piVar8 = (int)(puVar1 + -0x1290)" (pointer_expression "*piVar8" * identifier) = (cast_expression "(int)(puVar1 + -0x1290)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar1 + -0x1290)" ( (binary_expression "puVar1 + -0x1290" identifier + number_literal) )))) ;) }) (else_clause "else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" else (compound_statement "{\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" { (expression_statement "uVar9 = 0x806;" (assignment_expression "uVar9 = 0x806" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }" if (parenthesized_expression "(*(char *)(puVar6 + 3) != '\0')" ( (binary_expression "*(char *)(puVar6 + 3) != '\0'" (pointer_expression "*(char *)(puVar6 + 3)" * (cast_expression "(char *)(puVar6 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 3)" ( (binary_expression "puVar6 + 3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }" { (expression_statement "uVar9 = 0x100e;" (assignment_expression "uVar9 = 0x100e" identifier = number_literal) ;) (expression_statement "uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);" (assignment_expression "uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190948 + -0xb50)" * (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0xb50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb50)" ( (binary_expression "PTR_DAT_00190948 + -0xb50" identifier + number_literal) ))))) ;) })) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0xe30)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0xe30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0xe30)" ( (binary_expression "PTR_LAB_00190b40 + 0xe30" identifier + number_literal) )))) )) (argument_list "(puVar6)" ( identifier )))) ;) (if_statement "if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;" if (parenthesized_expression "((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba4 + -0x6074)" * (cast_expression "(code *)(PTR_LAB_00190ba4 + -0x6074)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba4 + -0x6074)" ( (binary_expression "PTR_LAB_00190ba4 + -0x6074" identifier + number_literal) )))) )) (argument_list "(uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" ( identifier , (subscript_expression "puVar6[0x2b]" identifier [ number_literal ]) , (subscript_expression "puVar6[0x10]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000c2e90;" goto statement_identifier ;)) }))) })) (expression_statement "puVar6[0xb] = 0;" (assignment_expression "puVar6[0xb] = 0" (subscript_expression "puVar6[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x13] = 0;" (assignment_expression "puVar6[0x13] = 0" (subscript_expression "puVar6[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x12] = 0;" (assignment_expression "puVar6[0x12] = 0" (subscript_expression "puVar6[0x12]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x15] = 0;" (assignment_expression "puVar6[0x15] = 0" (subscript_expression "puVar6[0x15]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6[0x14] = 0;" (assignment_expression "puVar6[0x14] = 0" (subscript_expression "puVar6[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar6 + 0x13) = 0;" (assignment_expression "*(undefined1 *)((int)puVar6 + 0x13) = 0" (pointer_expression "*(undefined1 *)((int)puVar6 + 0x13)" * (cast_expression "(undefined1 *)((int)puVar6 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0x13)" ( (binary_expression "(int)puVar6 + 0x13" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = FUN_000c29c0(puVar6);" (assignment_expression "iVar2 = FUN_000c29c0(puVar6)" identifier = (call_expression "FUN_000c29c0(puVar6)" identifier (argument_list "(puVar6)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }" { (labeled_statement "LAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);" statement_identifier : (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe])" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0xf54)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + -0xf54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + -0xf54)" ( (binary_expression "PTR_LAB_00190ba8 + -0xf54" identifier + number_literal) )))) )) (argument_list "(puVar6[0xe])" ( (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) ))) ;)) (expression_statement "puVar6[0xe] = 0;" (assignment_expression "puVar6[0xe] = 0" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar2;" return identifier ;) })) })) (expression_statement "*(undefined1 *)(puVar6 + 4) = 3;" (assignment_expression "*(undefined1 *)(puVar6 + 4) = 3" (pointer_expression "*(undefined1 *)(puVar6 + 4)" * (cast_expression "(undefined1 *)(puVar6 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x7e8)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x7e8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x7e8)" ( (binary_expression "PTR_LAB_00190b40 + 0x7e8" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" if (parenthesized_expression "(puVar6[0xe] == 0)" ( (binary_expression "puVar6[0xe] == 0" (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }" { (labeled_statement "LAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);" statement_identifier : (expression_statement "uVar4 = *(ushort *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(ushort *)(param_1 + 0x1c)" identifier = (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" else (compound_statement "{\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" { (expression_statement "uVar5 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x4d8)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x4d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x4d8)" ( (binary_expression "PTR_LAB_00190b40 + 0x4d8" identifier + number_literal) )))) )) (argument_list "(puVar6[0xe],uVar5)" ( (subscript_expression "puVar6[0xe]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_000c2db4;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000c2db4;" goto statement_identifier ;)) (if_statement "if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" if (parenthesized_expression "(uVar5 <= (uint)puVar6[7])" ( (binary_expression "uVar5 <= (uint)puVar6[7]" identifier <= (cast_expression "(uint)puVar6[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar6[7]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x516c)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x516c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x516c)" ( (binary_expression "PTR_LAB_00190bb8 + -0x516c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (goto_statement "goto LAB_000c2db4;" goto statement_identifier ;) })) (expression_statement "uVar4 = *(ushort *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(ushort *)(param_1 + 0x1c)" identifier = (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }" if (parenthesized_expression "(*(char *)(puVar6 + 4) != '\x04')" ( (binary_expression "*(char *)(puVar6 + 4) != '\x04'" (pointer_expression "*(char *)(puVar6 + 4)" * (cast_expression "(char *)(puVar6 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }" { (expression_statement "*(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;" (assignment_expression "*(ushort *)(param_1 + 0x1c) = uVar4 | 0xc" (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "uVar4 | 0xc" identifier | number_literal)) ;) (expression_statement "iVar2 = puVar6[0x18];" (assignment_expression "iVar2 = puVar6[0x18]" identifier = (subscript_expression "puVar6[0x18]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x000c2dc4;" goto statement_identifier ;) })) }))) (expression_statement "*(ushort *)(param_1 + 0x1c) = uVar4 | 4;" (assignment_expression "*(ushort *)(param_1 + 0x1c) = uVar4 | 4" (pointer_expression "*(ushort *)(param_1 + 0x1c)" * (cast_expression "(ushort *)(param_1 + 0x1c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "uVar4 | 4" identifier | number_literal)) ;) (expression_statement "iVar2 = puVar6[0x18];" (assignment_expression "iVar2 = puVar6[0x18]" identifier = (subscript_expression "puVar6[0x18]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" statement_identifier : (if_statement "if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" if (parenthesized_expression "((uint)puVar6[6] < *(uint *)(param_1 + 0x18))" ( (binary_expression "(uint)puVar6[6] < *(uint *)(param_1 + 0x18)" (cast_expression "(uint)puVar6[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar6[6]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" { (expression_statement "puVar6[6] = *(uint *)(param_1 + 0x18);" (assignment_expression "puVar6[6] = *(uint *)(param_1 + 0x18)" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))" ( (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x5374)" * (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x5374)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bb8 + -0x5374)" ( (binary_expression "PTR_LAB_00190bb8 + -0x5374" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" if (parenthesized_expression "((uint)puVar6[6] < *(uint *)(param_1 + 0x18))" ( (binary_expression "(uint)puVar6[6] < *(uint *)(param_1 + 0x18)" (cast_expression "(uint)puVar6[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar6[6]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" { (expression_statement "puVar6[6] = *(uint *)(param_1 + 0x18);" (assignment_expression "puVar6[6] = *(uint *)(param_1 + 0x18)" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) })))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( LIT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_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) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (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 , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) }))) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) })) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 ( (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (goto_statement goto statement_identifier ;) })) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (subscript_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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) })))) (return_statement return IDENT ;) })))
(function_definition "int FUN_000c2ca0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_000c2ca0(int param_1)" (identifier "FUN_000c2ca0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  ushort uVar4;\n  undefined4 *puVar3;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar6 = *(undefined4 **)(param_1 + 0x14);\n  if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }\n  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);\n  if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }\n  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;\n  iVar2 = puVar6[0x18];\njoined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  return iVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "ushort uVar4;" (type_identifier "ushort") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (expression_statement "puVar6 = *(undefined4 **)(param_1 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(param_1 + 0x14)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (*(char *)(puVar6 + 4) == '\x02') {\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }" (if "if") (parenthesized_expression "(*(char *)(puVar6 + 4) == '\x02')" (( "(") (binary_expression "*(char *)(puVar6 + 4) == '\x02'" (pointer_expression "*(char *)(puVar6 + 4)" (* "*") (cast_expression "(char *)(puVar6 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    if (puVar6[10] != 0) {\n      return puVar6[10];\n    }\n    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }\n    *(undefined1 *)(puVar6 + 4) = 3;\n  }" ({ "{") (if_statement "if (puVar6[10] != 0) {\n      return puVar6[10];\n    }" (if "if") (parenthesized_expression "(puVar6[10] != 0)" (( "(") (binary_expression "puVar6[10] != 0" (subscript_expression "puVar6[10]" (identifier "puVar6") ([ "[") (number_literal "10") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return puVar6[10];\n    }" ({ "{") (return_statement "return puVar6[10];" (return "return") (subscript_expression "puVar6[10]" (identifier "puVar6") ([ "[") (number_literal "10") (] "]")) (; ";")) (} "}"))) (if_statement "if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }" (if "if") (parenthesized_expression "((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02'))" (( "(") (binary_expression "(puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')" (parenthesized_expression "(puVar6[0x36] == 0)" (( "(") (binary_expression "puVar6[0x36] == 0" (subscript_expression "puVar6[0x36]" (identifier "puVar6") ([ "[") (number_literal "0x36") (] "]")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((int)puVar6 + 5) != '\x02')" (( "(") (binary_expression "*(char *)((int)puVar6 + 5) != '\x02'" (pointer_expression "*(char *)((int)puVar6 + 5)" (* "*") (cast_expression "(char *)((int)puVar6 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 5)" (( "(") (binary_expression "(int)puVar6 + 5" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "5")) () ")")))) (!= "!=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      uVar10 = *puVar6;\n      uVar7 = puVar6[6];\n      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);\n      if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }\n      *puVar3 = uVar7;\n      puVar6[0xe] = puVar3;\n      piVar8 = (int *)puVar6[0x10];\n      if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }\n      puVar6[0xb] = 0;\n      puVar6[0x13] = 0;\n      puVar6[0x12] = 0;\n      puVar6[0x15] = 0;\n      puVar6[0x14] = 0;\n      *(undefined1 *)((int)puVar6 + 0x13) = 0;\n      iVar2 = FUN_000c29c0(puVar6);\n      if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }\n    }" ({ "{") (expression_statement "uVar10 = *puVar6;" (assignment_expression "uVar10 = *puVar6" (identifier "uVar10") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "uVar7 = puVar6[6];" (assignment_expression "uVar7 = puVar6[6]" (identifier "uVar7") (= "=") (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);" (assignment_expression "puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0x2940))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0x2940)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + -0x2940)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + -0x2940)" (( "(") (binary_expression "PTR_LAB_00190ba8 + -0x2940" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "-0x2940")) () ")")))) () ")")) (argument_list "(0,0x200)" (( "(") (number_literal "0") (, ",") (number_literal "0x200") () ")"))))) (; ";")) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n        puVar6[0xe] = 0;\n        return 7;\n      }" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined4 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        puVar6[0xe] = 0;\n        return 7;\n      }" ({ "{") (expression_statement "puVar6[0xe] = 0;" (assignment_expression "puVar6[0xe] = 0" (subscript_expression "puVar6[0xe]" (identifier "puVar6") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (expression_statement "*puVar3 = uVar7;" (assignment_expression "*puVar3 = uVar7" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "puVar6[0xe] = puVar3;" (assignment_expression "puVar6[0xe] = puVar3" (subscript_expression "puVar6[0xe]" (identifier "puVar6") ([ "[") (number_literal "0xe") (] "]")) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "piVar8 = (int *)puVar6[0x10];" (assignment_expression "piVar8 = (int *)puVar6[0x10]" (identifier "piVar8") (= "=") (cast_expression "(int *)puVar6[0x10]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar6[0x10]" (identifier "puVar6") ([ "[") (number_literal "0x10") (] "]")))) (; ";")) (if_statement "if (*piVar8 == 0) {\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" (if "if") (parenthesized_expression "(*piVar8 == 0)" (( "(") (binary_expression "*piVar8 == 0" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }\n      }" ({ "{") (if_statement "if (*(char *)((int)puVar6 + 5) == '\x04') {\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }\n        else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" (if "if") (parenthesized_expression "(*(char *)((int)puVar6 + 5) == '\x04')" (( "(") (binary_expression "*(char *)((int)puVar6 + 5) == '\x04'" (pointer_expression "*(char *)((int)puVar6 + 5)" (* "*") (cast_expression "(char *)((int)puVar6 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 5)" (( "(") (binary_expression "(int)puVar6 + 5" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "5")) () ")")))) (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);\n          piVar8[1] = 0x3fc;\n          piVar8[0xe] = 0;\n          piVar8[2] = -1;\n          puVar1 = PTR_DAT_00190948;\n          piVar8[0x10] = 0;\n          piVar8[0xf] = 0;\n          *piVar8 = (int)(puVar1 + -0x1290);\n        }" ({ "{") (expression_statement "(*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);" (call_expression "(*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c)" (parenthesized_expression "(*(code *)PTR_memset_00190d58)" (( "(") (pointer_expression "*(code *)PTR_memset_00190d58" (* "*") (cast_expression "(code *)PTR_memset_00190d58" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_00190d58"))) () ")")) (argument_list "(piVar8 + 3,0,0x3c)" (( "(") (binary_expression "piVar8 + 3" (identifier "piVar8") (+ "+") (number_literal "3")) (, ",") (number_literal "0") (, ",") (number_literal "0x3c") () ")"))) (; ";")) (expression_statement "piVar8[1] = 0x3fc;" (assignment_expression "piVar8[1] = 0x3fc" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x3fc")) (; ";")) (expression_statement "piVar8[0xe] = 0;" (assignment_expression "piVar8[0xe] = 0" (subscript_expression "piVar8[0xe]" (identifier "piVar8") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8[2] = -1;" (assignment_expression "piVar8[2] = -1" (subscript_expression "piVar8[2]" (identifier "piVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "puVar1 = PTR_DAT_00190948;" (assignment_expression "puVar1 = PTR_DAT_00190948" (identifier "puVar1") (= "=") (identifier "PTR_DAT_00190948")) (; ";")) (expression_statement "piVar8[0x10] = 0;" (assignment_expression "piVar8[0x10] = 0" (subscript_expression "piVar8[0x10]" (identifier "piVar8") ([ "[") (number_literal "0x10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8[0xf] = 0;" (assignment_expression "piVar8[0xf] = 0" (subscript_expression "piVar8[0xf]" (identifier "piVar8") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar8 = (int)(puVar1 + -0x1290);" (assignment_expression "*piVar8 = (int)(puVar1 + -0x1290)" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (cast_expression "(int)(puVar1 + -0x1290)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar1 + -0x1290)" (( "(") (binary_expression "puVar1 + -0x1290" (identifier "puVar1") (+ "+") (number_literal "-0x1290")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" (else "else") (compound_statement "{\n          uVar9 = 0x806;\n          uVar7 = 0;\n          if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }\n          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);\n          if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;\n        }" ({ "{") (expression_statement "uVar9 = 0x806;" (assignment_expression "uVar9 = 0x806" (identifier "uVar9") (= "=") (number_literal "0x806")) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(char *)(puVar6 + 3) != '\0') {\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }" (if "if") (parenthesized_expression "(*(char *)(puVar6 + 3) != '\0')" (( "(") (binary_expression "*(char *)(puVar6 + 3) != '\0'" (pointer_expression "*(char *)(puVar6 + 3)" (* "*") (cast_expression "(char *)(puVar6 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 3)" (( "(") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            uVar9 = 0x100e;\n            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);\n          }" ({ "{") (expression_statement "uVar9 = 0x100e;" (assignment_expression "uVar9 = 0x100e" (identifier "uVar9") (= "=") (number_literal "0x100e")) (; ";")) (expression_statement "uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);" (assignment_expression "uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_00190948 + -0xb50)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0xb50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -0xb50)" (( "(") (binary_expression "PTR_DAT_00190948 + -0xb50" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-0xb50")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0xe30))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0xe30)" (* "*") (cast_expression "(code *)(PTR_LAB_00190b40 + 0xe30)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190b40 + 0xe30)" (( "(") (binary_expression "PTR_LAB_00190b40 + 0xe30" (identifier "PTR_LAB_00190b40") (+ "+") (number_literal "0xe30")) () ")")))) () ")")) (argument_list "(puVar6)" (( "(") (identifier "puVar6") () ")")))) (; ";")) (if_statement "if ((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))\n          goto LAB_000c2e90;" (if "if") (parenthesized_expression "((iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))" (( "(") (binary_expression "(iVar2 != 0) ||\n             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0)" (( "(") (comma_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))\n                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba4 + -0x6074))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba4 + -0x6074)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba4 + -0x6074)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba4 + -0x6074)" (( "(") (binary_expression "PTR_LAB_00190ba4 + -0x6074" (identifier "PTR_LAB_00190ba4") (+ "+") (number_literal "-0x6074")) () ")")))) () ")")) (argument_list "(uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7)" (( "(") (identifier "uVar10") (, ",") (subscript_expression "puVar6[0x2b]" (identifier "puVar6") ([ "[") (number_literal "0x2b") (] "]")) (, ",") (subscript_expression "puVar6[0x10]" (identifier "puVar6") ([ "[") (number_literal "0x10") (] "]")) (, ",") (identifier "uVar9") (, ",") (identifier "uVar7") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_000c2e90;" (goto "goto") (statement_identifier "LAB_000c2e90") (; ";"))) (} "}")))) (} "}"))) (expression_statement "puVar6[0xb] = 0;" (assignment_expression "puVar6[0xb] = 0" (subscript_expression "puVar6[0xb]" (identifier "puVar6") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[0x13] = 0;" (assignment_expression "puVar6[0x13] = 0" (subscript_expression "puVar6[0x13]" (identifier "puVar6") ([ "[") (number_literal "0x13") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[0x12] = 0;" (assignment_expression "puVar6[0x12] = 0" (subscript_expression "puVar6[0x12]" (identifier "puVar6") ([ "[") (number_literal "0x12") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[0x15] = 0;" (assignment_expression "puVar6[0x15] = 0" (subscript_expression "puVar6[0x15]" (identifier "puVar6") ([ "[") (number_literal "0x15") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[0x14] = 0;" (assignment_expression "puVar6[0x14] = 0" (subscript_expression "puVar6[0x14]" (identifier "puVar6") ([ "[") (number_literal "0x14") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar6 + 0x13) = 0;" (assignment_expression "*(undefined1 *)((int)puVar6 + 0x13) = 0" (pointer_expression "*(undefined1 *)((int)puVar6 + 0x13)" (* "*") (cast_expression "(undefined1 *)((int)puVar6 + 0x13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0x13)" (( "(") (binary_expression "(int)puVar6 + 0x13" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x13")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = FUN_000c29c0(puVar6);" (assignment_expression "iVar2 = FUN_000c29c0(puVar6)" (identifier "iVar2") (= "=") (call_expression "FUN_000c29c0(puVar6)" (identifier "FUN_000c29c0") (argument_list "(puVar6)" (( "(") (identifier "puVar6") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);\n        puVar6[0xe] = 0;\n        return iVar2;\n      }" ({ "{") (labeled_statement "LAB_000c2e90:\n        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);" (statement_identifier "LAB_000c2e90") (: ":") (expression_statement "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe])" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + -0xf54))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + -0xf54)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + -0xf54)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + -0xf54)" (( "(") (binary_expression "PTR_LAB_00190ba8 + -0xf54" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "-0xf54")) () ")")))) () ")")) (argument_list "(puVar6[0xe])" (( "(") (subscript_expression "puVar6[0xe]" (identifier "puVar6") ([ "[") (number_literal "0xe") (] "]")) () ")"))) (; ";"))) (expression_statement "puVar6[0xe] = 0;" (assignment_expression "puVar6[0xe] = 0" (subscript_expression "puVar6[0xe]" (identifier "puVar6") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (} "}"))) (expression_statement "*(undefined1 *)(puVar6 + 4) = 3;" (assignment_expression "*(undefined1 *)(puVar6 + 4) = 3" (pointer_expression "*(undefined1 *)(puVar6 + 4)" (* "*") (cast_expression "(undefined1 *)(puVar6 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "3")) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x7e8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x7e8)" (* "*") (cast_expression "(code *)(PTR_LAB_00190b40 + 0x7e8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190b40 + 0x7e8)" (( "(") (binary_expression "PTR_LAB_00190b40 + 0x7e8" (identifier "PTR_LAB_00190b40") (+ "+") (number_literal "0x7e8")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (puVar6[0xe] == 0) {\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }\n  else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" (if "if") (parenthesized_expression "(puVar6[0xe] == 0)" (( "(") (binary_expression "puVar6[0xe] == 0" (subscript_expression "puVar6[0xe]" (identifier "puVar6") ([ "[") (number_literal "0xe") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n  }" ({ "{") (labeled_statement "LAB_000c2db4:\n    uVar4 = *(ushort *)(param_1 + 0x1c);" (statement_identifier "LAB_000c2db4") (: ":") (expression_statement "uVar4 = *(ushort *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(ushort *)(param_1 + 0x1c)" (identifier "uVar4") (= "=") (pointer_expression "*(ushort *)(param_1 + 0x1c)" (* "*") (cast_expression "(ushort *)(param_1 + 0x1c)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" (else "else") (compound_statement "{\n    uVar5 = *(uint *)(param_1 + 0x18);\n    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);\n    if (iVar2 != 0) goto LAB_000c2db4;\n    if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }\n    uVar4 = *(ushort *)(param_1 + 0x1c);\n    if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }\n  }" ({ "{") (expression_statement "uVar5 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x18)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x4d8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x4d8)" (* "*") (cast_expression "(code *)(PTR_LAB_00190b40 + 0x4d8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190b40 + 0x4d8)" (( "(") (binary_expression "PTR_LAB_00190b40 + 0x4d8" (identifier "PTR_LAB_00190b40") (+ "+") (number_literal "0x4d8")) () ")")))) () ")")) (argument_list "(puVar6[0xe],uVar5)" (( "(") (subscript_expression "puVar6[0xe]" (identifier "puVar6") ([ "[") (number_literal "0xe") (] "]")) (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_000c2db4;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000c2db4;" (goto "goto") (statement_identifier "LAB_000c2db4") (; ";"))) (if_statement "if (uVar5 <= (uint)puVar6[7]) {\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" (if "if") (parenthesized_expression "(uVar5 <= (uint)puVar6[7])" (( "(") (binary_expression "uVar5 <= (uint)puVar6[7]" (identifier "uVar5") (<= "<=") (cast_expression "(uint)puVar6[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar6[7]" (identifier "puVar6") ([ "[") (number_literal "7") (] "]")))) () ")")) (compound_statement "{\n      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      goto LAB_000c2db4;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x516c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x516c)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x516c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bb8 + -0x516c)" (( "(") (binary_expression "PTR_LAB_00190bb8 + -0x516c" (identifier "PTR_LAB_00190bb8") (+ "+") (number_literal "-0x516c")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar2;\n      }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (goto_statement "goto LAB_000c2db4;" (goto "goto") (statement_identifier "LAB_000c2db4") (; ";")) (} "}"))) (expression_statement "uVar4 = *(ushort *)(param_1 + 0x1c);" (assignment_expression "uVar4 = *(ushort *)(param_1 + 0x1c)" (identifier "uVar4") (= "=") (pointer_expression "*(ushort *)(param_1 + 0x1c)" (* "*") (cast_expression "(ushort *)(param_1 + 0x1c)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (*(char *)(puVar6 + 4) != '\x04') {\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }" (if "if") (parenthesized_expression "(*(char *)(puVar6 + 4) != '\x04')" (( "(") (binary_expression "*(char *)(puVar6 + 4) != '\x04'" (pointer_expression "*(char *)(puVar6 + 4)" (* "*") (cast_expression "(char *)(puVar6 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;\n      iVar2 = puVar6[0x18];\n      goto joined_r0x000c2dc4;\n    }" ({ "{") (expression_statement "*(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;" (assignment_expression "*(ushort *)(param_1 + 0x1c) = uVar4 | 0xc" (pointer_expression "*(ushort *)(param_1 + 0x1c)" (* "*") (cast_expression "(ushort *)(param_1 + 0x1c)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "uVar4 | 0xc" (identifier "uVar4") (| "|") (number_literal "0xc"))) (; ";")) (expression_statement "iVar2 = puVar6[0x18];" (assignment_expression "iVar2 = puVar6[0x18]" (identifier "iVar2") (= "=") (subscript_expression "puVar6[0x18]" (identifier "puVar6") ([ "[") (number_literal "0x18") (] "]"))) (; ";")) (goto_statement "goto joined_r0x000c2dc4;" (goto "goto") (statement_identifier "joined_r0x000c2dc4") (; ";")) (} "}"))) (} "}")))) (expression_statement "*(ushort *)(param_1 + 0x1c) = uVar4 | 4;" (assignment_expression "*(ushort *)(param_1 + 0x1c) = uVar4 | 4" (pointer_expression "*(ushort *)(param_1 + 0x1c)" (* "*") (cast_expression "(ushort *)(param_1 + 0x1c)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "uVar4 | 4" (identifier "uVar4") (| "|") (number_literal "4"))) (; ";")) (expression_statement "iVar2 = puVar6[0x18];" (assignment_expression "iVar2 = puVar6[0x18]" (identifier "iVar2") (= "=") (subscript_expression "puVar6[0x18]" (identifier "puVar6") ([ "[") (number_literal "0x18") (] "]"))) (; ";")) (labeled_statement "joined_r0x000c2dc4:\n  if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" (statement_identifier "joined_r0x000c2dc4") (: ":") (if_statement "if (iVar2 < 1) {\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 < 1)" (( "(") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    iVar2 = 0;\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" (if "if") (parenthesized_expression "((uint)puVar6[6] < *(uint *)(param_1 + 0x18))" (( "(") (binary_expression "(uint)puVar6[6] < *(uint *)(param_1 + 0x18)" (cast_expression "(uint)puVar6[6]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]"))) (< "<") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" ({ "{") (expression_statement "puVar6[6] = *(uint *)(param_1 + 0x18);" (assignment_expression "puVar6[6] = *(uint *)(param_1 + 0x18)" (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);\n    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bb8 + -0x5374))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bb8 + -0x5374)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bb8 + -0x5374)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bb8 + -0x5374)" (( "(") (binary_expression "PTR_LAB_00190bb8 + -0x5374" (identifier "PTR_LAB_00190bb8") (+ "+") (number_literal "-0x5374")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" (if "if") (parenthesized_expression "((uint)puVar6[6] < *(uint *)(param_1 + 0x18))" (( "(") (binary_expression "(uint)puVar6[6] < *(uint *)(param_1 + 0x18)" (cast_expression "(uint)puVar6[6]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]"))) (< "<") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n      puVar6[6] = *(uint *)(param_1 + 0x18);\n    }" ({ "{") (expression_statement "puVar6[6] = *(uint *)(param_1 + 0x18);" (assignment_expression "puVar6[6] = *(uint *)(param_1 + 0x18)" (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (} "}"))))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))
(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (number_literal) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) 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 (assignment_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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))) (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: (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) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (goto_statement label: (statement_identifier)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (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 (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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 (subscript_expression argument: (identifier) index: (number_literal)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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))))))))))))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  ushort uVar4;
  undefined4 *puVar3;
  uint uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  int *piVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  
  puVar6 = *(undefined4 **)(param_1 + 0x14);
  if (*(char *)(puVar6 + 4) == '\x02') {
    if (puVar6[10] != 0) {
      return puVar6[10];
    }
    if ((puVar6[0x36] == 0) && (*(char *)((int)puVar6 + 5) != '\x02')) {
      uVar10 = *puVar6;
      uVar7 = puVar6[6];
      puVar3 = (undefined4 *)(*(code *)(PTR_LAB_00190ba8 + -0x2940))(0,0x200);
      if (puVar3 == (undefined4 *)0x0) {
        puVar6[0xe] = 0;
        return 7;
      }
      *puVar3 = uVar7;
      puVar6[0xe] = puVar3;
      piVar8 = (int *)puVar6[0x10];
      if (*piVar8 == 0) {
        if (*(char *)((int)puVar6 + 5) == '\x04') {
          (*(code *)PTR_memset_00190d58)(piVar8 + 3,0,0x3c);
          piVar8[1] = 0x3fc;
          piVar8[0xe] = 0;
          piVar8[2] = -1;
          puVar1 = PTR_DAT_00190948;
          piVar8[0x10] = 0;
          piVar8[0xf] = 0;
          *piVar8 = (int)(puVar1 + -0x1290);
        }
        else {
          uVar9 = 0x806;
          uVar7 = 0;
          if (*(char *)(puVar6 + 3) != '\0') {
            uVar9 = 0x100e;
            uVar7 = *(undefined4 *)(PTR_DAT_00190948 + -0xb50);
          }
          iVar2 = (*(code *)(PTR_LAB_00190b40 + 0xe30))(puVar6);
          if ((iVar2 != 0) ||
             (iVar2 = (*(code *)(PTR_LAB_00190ba4 + -0x6074))
                                (uVar10,puVar6[0x2b],puVar6[0x10],uVar9,uVar7), iVar2 != 0))
          goto LAB_000c2e90;
        }
      }
      puVar6[0xb] = 0;
      puVar6[0x13] = 0;
      puVar6[0x12] = 0;
      puVar6[0x15] = 0;
      puVar6[0x14] = 0;
      *(undefined1 *)((int)puVar6 + 0x13) = 0;
      iVar2 = FUN_000c29c0(puVar6);
      if (iVar2 != 0) {
LAB_000c2e90:
        (*(code *)(PTR_LAB_00190ba8 + -0xf54))(puVar6[0xe]);
        puVar6[0xe] = 0;
        return iVar2;
      }
    }
    *(undefined1 *)(puVar6 + 4) = 3;
  }
  (*(code *)(PTR_LAB_00190b40 + 0x7e8))(param_1);
  if (puVar6[0xe] == 0) {
LAB_000c2db4:
    uVar4 = *(ushort *)(param_1 + 0x1c);
  }
  else {
    uVar5 = *(uint *)(param_1 + 0x18);
    iVar2 = (*(code *)(PTR_LAB_00190b40 + 0x4d8))(puVar6[0xe],uVar5);
    if (iVar2 != 0) goto LAB_000c2db4;
    if (uVar5 <= (uint)puVar6[7]) {
      iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x516c))(param_1);
      if (iVar2 != 0) {
        return iVar2;
      }
      goto LAB_000c2db4;
    }
    uVar4 = *(ushort *)(param_1 + 0x1c);
    if (*(char *)(puVar6 + 4) != '\x04') {
      *(ushort *)(param_1 + 0x1c) = uVar4 | 0xc;
      iVar2 = puVar6[0x18];
      goto joined_r0x000c2dc4;
    }
  }
  *(ushort *)(param_1 + 0x1c) = uVar4 | 4;
  iVar2 = puVar6[0x18];
joined_r0x000c2dc4:
  if (iVar2 < 1) {
    iVar2 = 0;
    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {
      puVar6[6] = *(uint *)(param_1 + 0x18);
    }
  }
  else {
    iVar2 = (*(code *)(PTR_LAB_00190bb8 + -0x5374))(param_1);
    if ((uint)puVar6[6] < *(uint *)(param_1 + 0x18)) {
      puVar6[6] = *(uint *)(param_1 + 0x18);
    }
  }
  return iVar2;
}

