
void resolveAlias(Parse *pParse,ExprList *pEList,int iCol,Expr *pExpr,char *zType,int nSubquery)

{
  Parse *pParse_00;
  Expr *pEVar1;
  uint uVar2;
  char *pcVar3;
  Expr *pEVar4;
  Parse *pPVar5;
  int iVar6;
  Expr *pEVar7;
  Expr *pEVar8;
  anon_union_4_2_443a03b8_for_u aVar9;
  undefined4 *puVar10;
  int *piVar11;
  Expr *zType_00;
  int *piVar12;
  int iVar13;
  sqlite3 *db;
  ExprList *pEList_00;
  undefined *puVar14;
  Walker w;
  
  puVar14 = PTR___stack_chk_guard_000f5568;
  piVar11 = (int *)(iCol * 0x10);
  pParse_00 = *(Parse **)PTR___stack_chk_guard_000f5568;
  pEVar8 = ((ExprList_item *)((int)piVar11 + (int)pEList->a))->pExpr;
  zType_00 = pExpr;
  if (pEVar8 != (Expr *)0x0) {
    zType_00 = (Expr *)0x0;
    db = pParse->db;
    piVar11 = (int *)0x0;
    pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0);
    if (pEVar8 != (Expr *)0x0) {
      if ((*zType != 'G') && (nSubquery != 0)) {
        w.pParse = (Parse *)0x0;
        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;
        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;
        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);
        w.walkerDepth = 0;
        w.eCode = 0;
        w._22_2_ = 0;
        w.u.n = nSubquery;
        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);
      }
      if (pExpr->op == 'o') {
        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);
      }
      pExpr->flags = pExpr->flags | 0x8000000;
      sqlite3ExprDeleteNN(db,pExpr);
      pEVar1 = pExpr;
      pEVar4 = pEVar8;
      do {
        zType_00 = *(Expr **)pEVar4;
        piVar11 = (int *)pEVar4->flags;
        aVar9 = pEVar4->u;
        pEVar7 = pEVar4->pLeft;
        pEVar4 = (Expr *)&pEVar4->pRight;
        *(Expr **)pEVar1 = zType_00;
        pEVar1->flags = (u32)piVar11;
        pEVar1->u = aVar9;
        pEVar1->pLeft = pEVar7;
        pEVar1 = (Expr *)&pEVar1->pRight;
      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));
      *(Expr **)pEVar1 = *(Expr **)pEVar4;
      uVar2 = pExpr->flags;
      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {
        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);
        (pExpr->u).zToken = pcVar3;
        uVar2 = pExpr->flags | 0x10000;
        pExpr->flags = uVar2;
      }
      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {
        ((pExpr->y).pWin)->pOwner = pExpr;
      }
      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);
    }
  }
  puVar10 = (undefined4 *)&DAT_00400000;
  pPVar5 = *(Parse **)puVar14;
  pExpr->flags = pExpr->flags | 0x400000;
  if (pParse_00 != pPVar5) {
    puVar14 = PTR___stack_chk_fail_000f5540;
    (*(code *)PTR___stack_chk_fail_000f5540)();
    if (piVar11 == (int *)0x0) {
      return;
    }
    if ((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)) {
      iVar6 = *piVar11;
      if (pParse_00->db->aLimit[2] < iVar6) {
        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();
      }
      else {
        pEList_00 = (ExprList *)*puVar10;
        piVar12 = piVar11 + 1;
        if (0 < iVar6) {
          iVar13 = 0;
          do {
            uVar2 = (uint)*(ushort *)(piVar12 + 3);
            if (uVar2 != 0) {
              iVar6 = pEList_00->nExpr;
              if (iVar6 < (int)uVar2) {
                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))
                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6
                          );
                return;
              }
              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);
              iVar6 = *piVar11;
            }
            iVar13 = iVar13 + 1;
            piVar12 = piVar12 + 4;
          } while (iVar13 < iVar6);
        }
      }
    }
    return;
  }
  return;
}



uint FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,
                 int param_6)

{
  undefined4 *puVar1;
  char *pcVar2;
  uint uVar3;
  undefined4 *puVar4;
  int *piVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int *piVar9;
  char *pcVar10;
  int *piVar11;
  int iVar12;
  undefined4 uVar13;
  int *piVar14;
  undefined *puVar15;
  undefined4 local_40;
  undefined *local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  int local_28;
  int *local_24;
  
  puVar15 = PTR___stack_chk_guard_000f5568;
  piVar9 = (int *)(param_3 * 0x10);
  local_24 = *(int **)PTR___stack_chk_guard_000f5568;
  pcVar10 = param_4;
  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {
    pcVar10 = (char *)0x0;
    uVar13 = *param_1;
    piVar9 = (int *)0x0;
    puVar1 = (undefined4 *)FUN_00068968(uVar13);
    if (puVar1 != (undefined4 *)0x0) {
      if ((*param_5 != 'G') && (param_6 != 0)) {
        local_40 = 0;
        local_38 = 0;
        local_34 = 0;
        local_3c = PTR_LAB_000f52c8 + 0x2b60;
        local_30 = 0;
        local_2c = 0;
        local_28 = param_6;
        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);
      }
      if (*param_4 == 'o') {
        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));
      }
      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;
      FUN_00053940(uVar13,param_4);
      pcVar2 = param_4;
      puVar4 = puVar1;
      do {
        pcVar10 = (char *)*puVar4;
        piVar9 = (int *)puVar4[1];
        uVar8 = puVar4[2];
        uVar7 = puVar4[3];
        puVar4 = puVar4 + 4;
        *(char **)pcVar2 = pcVar10;
        *(int **)(pcVar2 + 4) = piVar9;
        *(undefined4 *)(pcVar2 + 8) = uVar8;
        *(undefined4 *)(pcVar2 + 0xc) = uVar7;
        pcVar2 = pcVar2 + 0x10;
      } while (puVar4 != puVar1 + 0xc);
      *(undefined4 *)pcVar2 = *puVar4;
      uVar3 = *(uint *)(param_4 + 4);
      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {
        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);
        *(undefined4 *)(param_4 + 8) = uVar7;
        uVar3 = *(uint *)(param_4 + 4) | 0x10000;
        *(uint *)(param_4 + 4) = uVar3;
      }
      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {
        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;
      }
      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);
    }
  }
  uVar3 = *(uint *)(param_4 + 4);
  puVar1 = (undefined4 *)&DAT_00400000;
  piVar5 = *(int **)puVar15;
  *(uint *)(param_4 + 4) = uVar3 | 0x400000;
  if (local_24 == piVar5) {
    return uVar3 | 0x400000;
  }
  piVar5 = local_24;
  puVar15 = PTR___stack_chk_fail_000f5540;
  (*(code *)PTR___stack_chk_fail_000f5540)();
  if (piVar9 == (int *)0x0) {
    return 0;
  }
  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {
    iVar6 = *piVar9;
    if (*(int *)(*piVar5 + 0x74) < iVar6) {
      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();
      return 1;
    }
    piVar14 = (int *)*puVar1;
    piVar11 = piVar9 + 1;
    if (0 < iVar6) {
      iVar12 = 0;
      do {
        uVar3 = (uint)*(ushort *)(piVar11 + 3);
        if (uVar3 != 0) {
          iVar6 = *piVar14;
          if (iVar6 < (int)uVar3) {
            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))
                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);
            return 1;
          }
          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);
          iVar6 = *piVar9;
        }
        iVar12 = iVar12 + 1;
        piVar11 = piVar11 + 4;
      } while (iVar12 < iVar6);
      return 0;
    }
  }
  return 0;
}


lui gp,0x9
addiu gp,gp,0x3700
addu gp,gp,t9
addiu sp,sp,-0x58
sll a2,a2,0x4
sw s1,0x40(sp)
addu a1,a1,a2
lw s1,-0x7d38(gp)
sw gp,0x10(sp)
sw s5,0x50(sp)
sw s0,0x3c(sp)
or s0,a3,zero
sw ra,0x54(sp)
sw s4,0x4c(sp)
sw s3,0x48(sp)
sw s2,0x44(sp)
lw v0,0x0(s1)
lw a1,0x4(a1)
lw s5,0x68(sp)
sw v0,0x34(sp)
beq a1,zero,0x00069d8c
_lw t9,-0x7fa4(gp)
or a3,zero,zero
lw s3,0x0(a0)
or a2,zero,zero
or s4,a0,zero
addiu t9,t9,-0x7698
bal 0x00068968
_or a0,s3,zero
lw gp,0x10(sp)
beq v0,zero,0x00069d8c
_or s2,v0,zero
lb v1,0x0(s5)
li v0,0x47
beq v1,v0,0x00069c78
_lw v0,0x6c(sp)
beq v0,zero,0x00069c78
_addiu v0,sp,0x18
lw t9,-0x7fb4(gp)
or a1,s2,zero
sw zero,0x18(sp)
or a0,v0,zero
lw v0,-0x7fd8(gp)
addiu t9,t9,-0xf88
sw zero,0x20(sp)
sw zero,0x24(sp)
addiu v0,v0,0x2b60
sw zero,0x28(sp)
sw zero,0x2c(sp)
sw v0,0x1c(sp)
lw v0,0x6c(sp)
jalr t9
_sw v0,0x30(sp)
lw gp,0x10(sp)
lbu v1,0x0(s0)
li v0,0x6f
beq v1,v0,0x00069dcc
_lw t9,-0x7f94(gp)
lw v0,0x4(s0)
lui v1,0x800
lw t9,-0x7f94(gp)
or a1,s0,zero
or a0,s3,zero
or v0,v0,v1
addiu t9,t9,0x3940
bal 0x00053940
_sw v0,0x4(s0)
addiu t0,s2,0x30
lw gp,0x10(sp)
or v1,s2,zero
or v0,s0,zero
lwl a3,0x0(v1)
lwl a2,0x4(v1)
lwl a1,0x8(v1)
lwl a0,0xc(v1)
lwr a3,0x3(v1)
lwr a2,0x7(v1)
lwr a1,0xb(v1)
lwr a0,0xf(v1)
addiu v1,v1,0x10
swl a3,0x0(v0)
swr a3,0x3(v0)
swl a2,0x4(v0)
swr a2,0x7(v0)
swl a1,0x8(v0)
swr a1,0xb(v0)
swl a0,0xc(v0)
swr a0,0xf(v0)
bne v1,t0,0x00069cbc
_addiu v0,v0,0x10
lwl a0,0x0(v1)
lwr a0,0x3(v1)
swl a0,0x0(v0)
swr a0,0x3(v0)
lw v0,0x4(s0)
andi v1,v0,0x400
bne v1,zero,0x00069d58
_nop
lw a1,0x8(s0)
beq a1,zero,0x00069d58
_lw t9,-0x7fb4(gp)
addiu t9,t9,0x7990
jalr t9
_or a0,s3,zero
lw v1,0x4(s0)
lw gp,0x10(sp)
sw v0,0x8(s0)
lui v0,0x1
or v0,v1,v0
sw v0,0x4(s0)
ext v0,v0,0x18,0x1
beq v0,zero,0x00069d78
_lw t9,-0x7fb4(gp)
lw v0,0x2c(s0)
beq v0,zero,0x00069d7c
_or a1,s2,zero
sw s0,0x48(v0)
lw t9,-0x7fb4(gp)
or a1,s2,zero
addiu t9,t9,-0x7728
jalr t9
_or a0,s3,zero
lw gp,0x10(sp)
lw v0,0x4(s0)
lui a1,0x40
lw a0,0x34(sp)
lw v1,0x0(s1)
or v0,v0,a1
bne a0,v1,0x00069dec
_sw v0,0x4(s0)
lw ra,0x54(sp)
lw s5,0x50(sp)
lw s4,0x4c(sp)
lw s3,0x48(sp)
lw s2,0x44(sp)
lw s1,0x40(sp)
lw s0,0x3c(sp)
jr ra
_addiu sp,sp,0x58
or a1,s2,zero
lw a2,0x8(s0)
addiu t9,t9,0x327c
bal 0x0005327c
_or a0,s4,zero
lw gp,0x10(sp)
b 0x00069c88
_or s2,v0,zero
lw t9,-0x7d60(gp)
jalr t9
_nop
(translation_unit "uint FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "uint FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar15 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "piVar9 = (int *)(param_3 * 0x10);" (assignment_expression "piVar9 = (int *)(param_3 * 0x10)" identifier = (cast_expression "(int *)(param_3 * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 * 0x10)" ( (binary_expression "param_3 * 0x10" identifier * number_literal) )))) ;) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000f5568" * (cast_expression "(int **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar10 = param_4;" (assignment_expression "pcVar10 = param_4" identifier = identifier) ;) (if_statement "if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }" if (parenthesized_expression "(*(int *)((int)piVar9 + param_2 + 4) != 0)" ( (binary_expression "*(int *)((int)piVar9 + param_2 + 4) != 0" (pointer_expression "*(int *)((int)piVar9 + param_2 + 4)" * (cast_expression "(int *)((int)piVar9 + param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + param_2 + 4)" ( (binary_expression "(int)piVar9 + param_2 + 4" (binary_expression "(int)piVar9 + param_2" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }" { (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar13 = *param_1;" (assignment_expression "uVar13 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar9 = (int *)0x0;" (assignment_expression "piVar9 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00068968(uVar13);" (assignment_expression "puVar1 = (undefined4 *)FUN_00068968(uVar13)" identifier = (cast_expression "(undefined4 *)FUN_00068968(uVar13)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00068968(uVar13)" identifier (argument_list "(uVar13)" ( identifier ))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }" { (if_statement "if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }" if (parenthesized_expression "((*param_5 != 'G') && (param_6 != 0))" ( (binary_expression "(*param_5 != 'G') && (param_6 != 0)" (parenthesized_expression "(*param_5 != 'G')" ( (binary_expression "*param_5 != 'G'" (pointer_expression "*param_5" * identifier) != (char_literal "'G'" ' character ')) )) && (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_3c = PTR_LAB_000f52c8 + 0x2b60;" (assignment_expression "local_3c = PTR_LAB_000f52c8 + 0x2b60" identifier = (binary_expression "PTR_LAB_000f52c8 + 0x2b60" identifier + number_literal)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = param_6;" (assignment_expression "local_28 = param_6" identifier = identifier) ;) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0xf88)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0xf88)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0xf88)" ( (binary_expression "PTR_LAB_000f52ec + -0xf88" identifier + number_literal) )))) )) (argument_list "(&local_40,puVar1)" ( (pointer_expression "&local_40" & identifier) , identifier ))) ;) })) (if_statement "if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }" if (parenthesized_expression "(*param_4 == 'o')" ( (binary_expression "*param_4 == 'o'" (pointer_expression "*param_4" * identifier) == (char_literal "'o'" ' character ')) )) (compound_statement "{\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }" { (expression_statement "puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));" (assignment_expression "puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" identifier = (cast_expression "(undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" identifier (argument_list "(param_1,puVar1,*(undefined4 *)(param_4 + 8))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_4 + 8)" * (cast_expression "(undefined4 *)(param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) ))))) ;) })) (expression_statement "*(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;" (assignment_expression "*(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_4 + 4) | 0x8000000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "FUN_00053940(uVar13,param_4);" (call_expression "FUN_00053940(uVar13,param_4)" identifier (argument_list "(uVar13,param_4)" ( identifier , identifier ))) ;) (expression_statement "pcVar2 = param_4;" (assignment_expression "pcVar2 = param_4" identifier = identifier) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (do_statement "do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);" do (compound_statement "{\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      }" { (expression_statement "pcVar10 = (char *)*puVar4;" (assignment_expression "pcVar10 = (char *)*puVar4" identifier = (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "piVar9 = (int *)puVar4[1];" (assignment_expression "piVar9 = (int *)puVar4[1]" identifier = (cast_expression "(int *)puVar4[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar4[3];" (assignment_expression "uVar7 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "*(char **)pcVar2 = pcVar10;" (assignment_expression "*(char **)pcVar2 = pcVar10" (pointer_expression "*(char **)pcVar2" * (cast_expression "(char **)pcVar2" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(int **)(pcVar2 + 4) = piVar9;" (assignment_expression "*(int **)(pcVar2 + 4) = piVar9" (pointer_expression "*(int **)(pcVar2 + 4)" * (cast_expression "(int **)(pcVar2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 4)" ( (binary_expression "pcVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(pcVar2 + 8) = uVar8;" (assignment_expression "*(undefined4 *)(pcVar2 + 8) = uVar8" (pointer_expression "*(undefined4 *)(pcVar2 + 8)" * (cast_expression "(undefined4 *)(pcVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 8)" ( (binary_expression "pcVar2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(pcVar2 + 0xc) = uVar7;" (assignment_expression "*(undefined4 *)(pcVar2 + 0xc) = uVar7" (pointer_expression "*(undefined4 *)(pcVar2 + 0xc)" * (cast_expression "(undefined4 *)(pcVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0xc)" ( (binary_expression "pcVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = pcVar2 + 0x10;" (assignment_expression "pcVar2 = pcVar2 + 0x10" identifier = (binary_expression "pcVar2 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar1 + 0xc)" ( (binary_expression "puVar4 != puVar1 + 0xc" identifier != (binary_expression "puVar1 + 0xc" identifier + number_literal)) )) ;) (expression_statement "*(undefined4 *)pcVar2 = *puVar4;" (assignment_expression "*(undefined4 *)pcVar2 = *puVar4" (pointer_expression "*(undefined4 *)pcVar2" * (cast_expression "(undefined4 *)pcVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar3 = *(uint *)(param_4 + 4);" (assignment_expression "uVar3 = *(uint *)(param_4 + 4)" identifier = (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }" if (parenthesized_expression "(((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0))" ( (binary_expression "((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)" (parenthesized_expression "((uVar3 & 0x400) == 0)" ( (binary_expression "(uVar3 & 0x400) == 0" (parenthesized_expression "(uVar3 & 0x400)" ( (binary_expression "uVar3 & 0x400" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(int *)(param_4 + 8) != 0)" ( (binary_expression "*(int *)(param_4 + 8) != 0" (pointer_expression "*(int *)(param_4 + 8)" * (cast_expression "(int *)(param_4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }" { (expression_statement "uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);" (assignment_expression "uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + 0x7990)" * (cast_expression "(code *)(PTR_LAB_000f52ec + 0x7990)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + 0x7990)" ( (binary_expression "PTR_LAB_000f52ec + 0x7990" identifier + number_literal) )))) )) (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_4 + 8) = uVar7;" (assignment_expression "*(undefined4 *)(param_4 + 8) = uVar7" (pointer_expression "*(undefined4 *)(param_4 + 8)" * (cast_expression "(undefined4 *)(param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = *(uint *)(param_4 + 4) | 0x10000;" (assignment_expression "uVar3 = *(uint *)(param_4 + 4) | 0x10000" identifier = (binary_expression "*(uint *)(param_4 + 4) | 0x10000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(uint *)(param_4 + 4) = uVar3;" (assignment_expression "*(uint *)(param_4 + 4) = uVar3" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }" if (parenthesized_expression "(((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0))" ( (binary_expression "((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)" (parenthesized_expression "((int)(uVar3 << 7) < 0)" ( (binary_expression "(int)(uVar3 << 7) < 0" (cast_expression "(int)(uVar3 << 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar3 << 7)" ( (binary_expression "uVar3 << 7" identifier << number_literal) ))) < number_literal) )) && (parenthesized_expression "(*(int *)(param_4 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_4 + 0x2c) != 0" (pointer_expression "*(int *)(param_4 + 0x2c)" * (cast_expression "(int *)(param_4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x2c)" ( (binary_expression "param_4 + 0x2c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }" { (expression_statement "*(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;" (assignment_expression "*(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4" (pointer_expression "*(char **)(*(int *)(param_4 + 0x2c) + 0x48)" * (cast_expression "(char **)(*(int *)(param_4 + 0x2c) + 0x48)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_4 + 0x2c) + 0x48)" ( (binary_expression "*(int *)(param_4 + 0x2c) + 0x48" (pointer_expression "*(int *)(param_4 + 0x2c)" * (cast_expression "(int *)(param_4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x2c)" ( (binary_expression "param_4 + 0x2c" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(uVar13,puVar1)" ( identifier , identifier ))) ;) })) })) (expression_statement "uVar3 = *(uint *)(param_4 + 4);" (assignment_expression "uVar3 = *(uint *)(param_4 + 4)" identifier = (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = (undefined4 *)&DAT_00400000;" (assignment_expression "puVar1 = (undefined4 *)&DAT_00400000" identifier = (cast_expression "(undefined4 *)&DAT_00400000" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00400000" & identifier))) ;) (expression_statement "piVar5 = *(int **)puVar15;" (assignment_expression "piVar5 = *(int **)puVar15" identifier = (pointer_expression "*(int **)puVar15" * (cast_expression "(int **)puVar15" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(uint *)(param_4 + 4) = uVar3 | 0x400000;" (assignment_expression "*(uint *)(param_4 + 4) = uVar3 | 0x400000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = (binary_expression "uVar3 | 0x400000" identifier | number_literal)) ;) (if_statement "if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }" if (parenthesized_expression "(local_24 == piVar5)" ( (binary_expression "local_24 == piVar5" identifier == identifier) )) (compound_statement "{\n    return uVar3 | 0x400000;\n  }" { (return_statement "return uVar3 | 0x400000;" return (binary_expression "uVar3 | 0x400000" identifier | number_literal) ;) })) (expression_statement "piVar5 = local_24;" (assignment_expression "piVar5 = local_24" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar15 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (piVar9 == (int *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(piVar9 == (int *)0x0)" ( (binary_expression "piVar9 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }" if (parenthesized_expression "((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2))" ( (binary_expression "(*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)" (parenthesized_expression "(*(char *)(*piVar5 + 0x51) == '\0')" ( (binary_expression "*(char *)(*piVar5 + 0x51) == '\0'" (pointer_expression "*(char *)(*piVar5 + 0x51)" * (cast_expression "(char *)(*piVar5 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar5 + 0x51)" ( (binary_expression "*piVar5 + 0x51" (pointer_expression "*piVar5" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(byte *)(piVar5 + 0x33) < 2)" ( (binary_expression "*(byte *)(piVar5 + 0x33) < 2" (pointer_expression "*(byte *)(piVar5 + 0x33)" * (cast_expression "(byte *)(piVar5 + 0x33)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x33)" ( (binary_expression "piVar5 + 0x33" identifier + number_literal) )))) < number_literal) ))) )) (compound_statement "{\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }" { (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (if_statement "if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }" if (parenthesized_expression "(*(int *)(*piVar5 + 0x74) < iVar6)" ( (binary_expression "*(int *)(*piVar5 + 0x74) < iVar6" (pointer_expression "*(int *)(*piVar5 + 0x74)" * (cast_expression "(int *)(*piVar5 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar5 + 0x74)" ( (binary_expression "*piVar5 + 0x74" (pointer_expression "*piVar5" * identifier) + number_literal) )))) < identifier) )) (compound_statement "{\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }" { (expression_statement "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();" (call_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))()" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))" ( (pointer_expression "*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" * (cast_expression "(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (binary_expression "*(int *)(puVar15 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar15 + 0x8b514)" * (cast_expression "(int *)(puVar15 + 0x8b514)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x8b514)" ( (binary_expression "puVar15 + 0x8b514" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar14 = (int *)*puVar1;" (assignment_expression "piVar14 = (int *)*puVar1" identifier = (cast_expression "(int *)*puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "piVar11 = piVar9 + 1;" (assignment_expression "piVar11 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);" do (compound_statement "{\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      }" { (expression_statement "uVar3 = (uint)*(ushort *)(piVar11 + 3);" (assignment_expression "uVar3 = (uint)*(ushort *)(piVar11 + 3)" identifier = (binary_expression "(uint)*(ushort *)(piVar11 + 3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(piVar11 + 3)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar11 + 3)" ( (binary_expression "piVar11 + 3" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }" { (expression_statement "iVar6 = *piVar14;" (assignment_expression "iVar6 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (if_statement "if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }" if (parenthesized_expression "(iVar6 < (int)uVar3)" ( (binary_expression "iVar6 < (int)uVar3" identifier < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }" { (expression_statement "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);" (call_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6)" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))" ( (pointer_expression "*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" * (cast_expression "(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (binary_expression "*(int *)(puVar15 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar15 + 0x8b514)" * (cast_expression "(int *)(puVar15 + 0x8b514)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x8b514)" ( (binary_expression "puVar15 + 0x8b514" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x8b4dc) + -0x7f70" (pointer_expression "*(int *)(puVar15 + 0x8b4dc)" * (cast_expression "(int *)(puVar15 + 0x8b4dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x8b4dc)" ( (binary_expression "puVar15 + 0x8b4dc" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar12 + 1" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);" (call_expression "FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0)" identifier (argument_list "(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0)" ( identifier , identifier , (binary_expression "uVar3 - 1" identifier - number_literal) , (pointer_expression "*piVar11" * identifier) , identifier , number_literal ))) ;) (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) })) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "piVar11 = piVar11 + 4;" (assignment_expression "piVar11 = piVar11 + 4" identifier = (binary_expression "piVar11 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar12 < iVar6)" ( (binary_expression "iVar12 < iVar6" identifier < identifier) )) ;) (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "void resolveAlias(Parse *pParse,ExprList *pEList,int iCol,Expr *pExpr,char *zType,int nSubquery)\n\n{\n  Parse *pParse_00;\n  Expr *pEVar1;\n  uint uVar2;\n  char *pcVar3;\n  Expr *pEVar4;\n  Parse *pPVar5;\n  int iVar6;\n  Expr *pEVar7;\n  Expr *pEVar8;\n  anon_union_4_2_443a03b8_for_u aVar9;\n  undefined4 *puVar10;\n  int *piVar11;\n  Expr *zType_00;\n  int *piVar12;\n  int iVar13;\n  sqlite3 *db;\n  ExprList *pEList_00;\n  undefined *puVar14;\n  Walker w;\n  \n  puVar14 = PTR___stack_chk_guard_000f5568;\n  piVar11 = (int *)(iCol * 0x10);\n  pParse_00 = *(Parse **)PTR___stack_chk_guard_000f5568;\n  pEVar8 = ((ExprList_item *)((int)piVar11 + (int)pEList->a))->pExpr;\n  zType_00 = pExpr;\n  if (pEVar8 != (Expr *)0x0) {\n    zType_00 = (Expr *)0x0;\n    db = pParse->db;\n    piVar11 = (int *)0x0;\n    pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0);\n    if (pEVar8 != (Expr *)0x0) {\n      if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }\n      if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }\n      pExpr->flags = pExpr->flags | 0x8000000;\n      sqlite3ExprDeleteNN(db,pExpr);\n      pEVar1 = pExpr;\n      pEVar4 = pEVar8;\n      do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));\n      *(Expr **)pEVar1 = *(Expr **)pEVar4;\n      uVar2 = pExpr->flags;\n      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }\n      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);\n    }\n  }\n  puVar10 = (undefined4 *)&DAT_00400000;\n  pPVar5 = *(Parse **)puVar14;\n  pExpr->flags = pExpr->flags | 0x400000;\n  if (pParse_00 != pPVar5) {\n    puVar14 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    if (piVar11 == (int *)0x0) {\n      return;\n    }\n    if ((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)) {\n      iVar6 = *piVar11;\n      if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void resolveAlias(Parse *pParse,ExprList *pEList,int iCol,Expr *pExpr,char *zType,int nSubquery)\n\n{\n  Parse *pParse_00;\n  Expr *pEVar1;\n  uint uVar2;\n  char *pcVar3;\n  Expr *pEVar4;\n  Parse *pPVar5;\n  int iVar6;\n  Expr *pEVar7;\n  Expr *pEVar8;\n  anon_union_4_2_443a03b8_for_u aVar9;\n  undefined4 *puVar10;\n  int *piVar11;\n  Expr *zType_00;\n  int *piVar12;\n  int iVar13;\n  sqlite3 *db;\n  ExprList *pEList_00;\n  undefined *puVar14;\n  Walker w;\n  \n  puVar14 = PTR___stack_chk_guard_000f5568;\n  piVar11 = (int *)(iCol * 0x10);\n  pParse_00 = *(Parse **)PTR___stack_chk_guard_000f5568;\n  pEVar8 = ((ExprList_item *)((int)piVar11 + (int)pEList->a))->pExpr;\n  zType_00 = pExpr;\n  if (pEVar8 != (Expr *)0x0) {\n    zType_00 = (Expr *)0x0;\n    db = pParse->db;\n    piVar11 = (int *)0x0;\n    pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0);\n    if (pEVar8 != (Expr *)0x0) {\n      if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }\n      if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }\n      pExpr->flags = pExpr->flags | 0x8000000;\n      sqlite3ExprDeleteNN(db,pExpr);\n      pEVar1 = pExpr;\n      pEVar4 = pEVar8;\n      do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));\n      *(Expr **)pEVar1 = *(Expr **)pEVar4;\n      uVar2 = pExpr->flags;\n      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }\n      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);\n    }\n  }\n  puVar10 = (undefined4 *)&DAT_00400000;\n  pPVar5 = *(Parse **)puVar14;\n  pExpr->flags = pExpr->flags | 0x400000;\n  if (pParse_00 != pPVar5) {\n    puVar14 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    if (piVar11 == (int *)0x0) {\n      return;\n    }\n    if ((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)) {\n      iVar6 = *piVar11;\n      if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "resolveAlias(Parse *pParse,ExprList *pEList,int iCol,Expr *pExpr,char *zType,int nSubquery)" identifier (parameter_list "(Parse *pParse,ExprList *pEList,int iCol,Expr *pExpr,char *zType,int nSubquery)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "ExprList *pEList" type_identifier (pointer_declarator "*pEList" * identifier)) , (parameter_declaration "int iCol" primitive_type identifier) , (parameter_declaration "Expr *pExpr" type_identifier (pointer_declarator "*pExpr" * identifier)) , (parameter_declaration "char *zType" primitive_type (pointer_declarator "*zType" * identifier)) , (parameter_declaration "int nSubquery" primitive_type identifier) ))) (compound_statement "{\n  Parse *pParse_00;\n  Expr *pEVar1;\n  uint uVar2;\n  char *pcVar3;\n  Expr *pEVar4;\n  Parse *pPVar5;\n  int iVar6;\n  Expr *pEVar7;\n  Expr *pEVar8;\n  anon_union_4_2_443a03b8_for_u aVar9;\n  undefined4 *puVar10;\n  int *piVar11;\n  Expr *zType_00;\n  int *piVar12;\n  int iVar13;\n  sqlite3 *db;\n  ExprList *pEList_00;\n  undefined *puVar14;\n  Walker w;\n  \n  puVar14 = PTR___stack_chk_guard_000f5568;\n  piVar11 = (int *)(iCol * 0x10);\n  pParse_00 = *(Parse **)PTR___stack_chk_guard_000f5568;\n  pEVar8 = ((ExprList_item *)((int)piVar11 + (int)pEList->a))->pExpr;\n  zType_00 = pExpr;\n  if (pEVar8 != (Expr *)0x0) {\n    zType_00 = (Expr *)0x0;\n    db = pParse->db;\n    piVar11 = (int *)0x0;\n    pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0);\n    if (pEVar8 != (Expr *)0x0) {\n      if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }\n      if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }\n      pExpr->flags = pExpr->flags | 0x8000000;\n      sqlite3ExprDeleteNN(db,pExpr);\n      pEVar1 = pExpr;\n      pEVar4 = pEVar8;\n      do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));\n      *(Expr **)pEVar1 = *(Expr **)pEVar4;\n      uVar2 = pExpr->flags;\n      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }\n      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);\n    }\n  }\n  puVar10 = (undefined4 *)&DAT_00400000;\n  pPVar5 = *(Parse **)puVar14;\n  pExpr->flags = pExpr->flags | 0x400000;\n  if (pParse_00 != pPVar5) {\n    puVar14 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    if (piVar11 == (int *)0x0) {\n      return;\n    }\n    if ((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)) {\n      iVar6 = *piVar11;\n      if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }\n    }\n    return;\n  }\n  return;\n}" { (declaration "Parse *pParse_00;" type_identifier (pointer_declarator "*pParse_00" * identifier) ;) (declaration "Expr *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "Expr *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (declaration "Parse *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "Expr *pEVar7;" type_identifier (pointer_declarator "*pEVar7" * identifier) ;) (declaration "Expr *pEVar8;" type_identifier (pointer_declarator "*pEVar8" * identifier) ;) (declaration "anon_union_4_2_443a03b8_for_u aVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "Expr *zType_00;" type_identifier (pointer_declarator "*zType_00" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "ExprList *pEList_00;" type_identifier (pointer_declarator "*pEList_00" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "Walker w;" type_identifier identifier ;) (expression_statement "puVar14 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar14 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "piVar11 = (int *)(iCol * 0x10);" (assignment_expression "piVar11 = (int *)(iCol * 0x10)" identifier = (cast_expression "(int *)(iCol * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iCol * 0x10)" ( (binary_expression "iCol * 0x10" identifier * number_literal) )))) ;) (expression_statement "pParse_00 = *(Parse **)PTR___stack_chk_guard_000f5568;" (assignment_expression "pParse_00 = *(Parse **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(Parse **)PTR___stack_chk_guard_000f5568" * (cast_expression "(Parse **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "Parse **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pEVar8 = ((ExprList_item *)((int)piVar11 + (int)pEList->a))->pExpr;" (assignment_expression "pEVar8 = ((ExprList_item *)((int)piVar11 + (int)pEList->a))->pExpr" identifier = (field_expression "((ExprList_item *)((int)piVar11 + (int)pEList->a))->pExpr" (parenthesized_expression "((ExprList_item *)((int)piVar11 + (int)pEList->a))" ( (cast_expression "(ExprList_item *)((int)piVar11 + (int)pEList->a)" ( (type_descriptor "ExprList_item *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar11 + (int)pEList->a)" ( (binary_expression "(int)piVar11 + (int)pEList->a" (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)pEList->a" ( (type_descriptor "int" primitive_type) ) (field_expression "pEList->a" identifier -> field_identifier))) ))) )) -> field_identifier)) ;) (expression_statement "zType_00 = pExpr;" (assignment_expression "zType_00 = pExpr" identifier = identifier) ;) (if_statement "if (pEVar8 != (Expr *)0x0) {\n    zType_00 = (Expr *)0x0;\n    db = pParse->db;\n    piVar11 = (int *)0x0;\n    pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0);\n    if (pEVar8 != (Expr *)0x0) {\n      if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }\n      if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }\n      pExpr->flags = pExpr->flags | 0x8000000;\n      sqlite3ExprDeleteNN(db,pExpr);\n      pEVar1 = pExpr;\n      pEVar4 = pEVar8;\n      do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));\n      *(Expr **)pEVar1 = *(Expr **)pEVar4;\n      uVar2 = pExpr->flags;\n      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }\n      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);\n    }\n  }" if (parenthesized_expression "(pEVar8 != (Expr *)0x0)" ( (binary_expression "pEVar8 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    zType_00 = (Expr *)0x0;\n    db = pParse->db;\n    piVar11 = (int *)0x0;\n    pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0);\n    if (pEVar8 != (Expr *)0x0) {\n      if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }\n      if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }\n      pExpr->flags = pExpr->flags | 0x8000000;\n      sqlite3ExprDeleteNN(db,pExpr);\n      pEVar1 = pExpr;\n      pEVar4 = pEVar8;\n      do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));\n      *(Expr **)pEVar1 = *(Expr **)pEVar4;\n      uVar2 = pExpr->flags;\n      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }\n      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);\n    }\n  }" { (expression_statement "zType_00 = (Expr *)0x0;" (assignment_expression "zType_00 = (Expr *)0x0" identifier = (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0);" (assignment_expression "pEVar8 = exprDup(db,pEVar8,0,(u8 **)0x0)" identifier = (call_expression "exprDup(db,pEVar8,0,(u8 **)0x0)" identifier (argument_list "(db,pEVar8,0,(u8 **)0x0)" ( identifier , identifier , number_literal , (cast_expression "(u8 **)0x0" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (if_statement "if (pEVar8 != (Expr *)0x0) {\n      if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }\n      if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }\n      pExpr->flags = pExpr->flags | 0x8000000;\n      sqlite3ExprDeleteNN(db,pExpr);\n      pEVar1 = pExpr;\n      pEVar4 = pEVar8;\n      do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));\n      *(Expr **)pEVar1 = *(Expr **)pEVar4;\n      uVar2 = pExpr->flags;\n      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }\n      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);\n    }" if (parenthesized_expression "(pEVar8 != (Expr *)0x0)" ( (binary_expression "pEVar8 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }\n      if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }\n      pExpr->flags = pExpr->flags | 0x8000000;\n      sqlite3ExprDeleteNN(db,pExpr);\n      pEVar1 = pExpr;\n      pEVar4 = pEVar8;\n      do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));\n      *(Expr **)pEVar1 = *(Expr **)pEVar4;\n      uVar2 = pExpr->flags;\n      if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }\n      if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);\n    }" { (if_statement "if ((*zType != 'G') && (nSubquery != 0)) {\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }" if (parenthesized_expression "((*zType != 'G') && (nSubquery != 0))" ( (binary_expression "(*zType != 'G') && (nSubquery != 0)" (parenthesized_expression "(*zType != 'G')" ( (binary_expression "*zType != 'G'" (pointer_expression "*zType" * identifier) != (char_literal "'G'" ' character ')) )) && (parenthesized_expression "(nSubquery != 0)" ( (binary_expression "nSubquery != 0" identifier != number_literal) ))) )) (compound_statement "{\n        w.pParse = (Parse *)0x0;\n        w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n        w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n        w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);\n        w.walkerDepth = 0;\n        w.eCode = 0;\n        w._22_2_ = 0;\n        w.u.n = nSubquery;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);\n      }" { (expression_statement "w.pParse = (Parse *)0x0;" (assignment_expression "w.pParse = (Parse *)0x0" (field_expression "w.pParse" identifier . field_identifier) = (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;" (assignment_expression "w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0" (field_expression "w.xSelectCallback" identifier . field_identifier) = (cast_expression "(_func_int_Walker_ptr_Select_ptr *)0x0" ( (type_descriptor "_func_int_Walker_ptr_Select_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;" (assignment_expression "w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0" (field_expression "w.xSelectCallback2" identifier . field_identifier) = (cast_expression "(_func_void_Walker_ptr_Select_ptr *)0x0" ( (type_descriptor "_func_void_Walker_ptr_Select_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60);" (assignment_expression "w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60)" (field_expression "w.xExprCallback" identifier . field_identifier) = (cast_expression "(_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_000f52c8 + 0x2b60)" ( (type_descriptor "_func_int_Walker_ptr_Expr_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52c8 + 0x2b60)" ( (binary_expression "PTR_LAB_000f52c8 + 0x2b60" identifier + number_literal) )))) ;) (expression_statement "w.walkerDepth = 0;" (assignment_expression "w.walkerDepth = 0" (field_expression "w.walkerDepth" identifier . field_identifier) = number_literal) ;) (expression_statement "w.eCode = 0;" (assignment_expression "w.eCode = 0" (field_expression "w.eCode" identifier . field_identifier) = number_literal) ;) (expression_statement "w._22_2_ = 0;" (assignment_expression "w._22_2_ = 0" (field_expression "w._22_2_" identifier . field_identifier) = number_literal) ;) (expression_statement "w.u.n = nSubquery;" (assignment_expression "w.u.n = nSubquery" (field_expression "w.u.n" (field_expression "w.u" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&w,pEVar8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0xf88)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0xf88)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0xf88)" ( (binary_expression "PTR_LAB_000f52ec + -0xf88" identifier + number_literal) )))) )) (argument_list "(&w,pEVar8)" ( (pointer_expression "&w" & identifier) , identifier ))) ;) })) (if_statement "if (pExpr->op == 'o') {\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }" if (parenthesized_expression "(pExpr->op == 'o')" ( (binary_expression "pExpr->op == 'o'" (field_expression "pExpr->op" identifier -> field_identifier) == (char_literal "'o'" ' character ')) )) (compound_statement "{\n        pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);\n      }" { (expression_statement "pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken);" (assignment_expression "pEVar8 = sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken)" identifier = (call_expression "sqlite3ExprAddCollateString(pParse,pEVar8,(pExpr->u).zToken)" identifier (argument_list "(pParse,pEVar8,(pExpr->u).zToken)" ( identifier , identifier , (field_expression "(pExpr->u).zToken" (parenthesized_expression "(pExpr->u)" ( (field_expression "pExpr->u" identifier -> field_identifier) )) . field_identifier) )))) ;) })) (expression_statement "pExpr->flags = pExpr->flags | 0x8000000;" (assignment_expression "pExpr->flags = pExpr->flags | 0x8000000" (field_expression "pExpr->flags" identifier -> field_identifier) = (binary_expression "pExpr->flags | 0x8000000" (field_expression "pExpr->flags" identifier -> field_identifier) | number_literal)) ;) (expression_statement "sqlite3ExprDeleteNN(db,pExpr);" (call_expression "sqlite3ExprDeleteNN(db,pExpr)" identifier (argument_list "(db,pExpr)" ( identifier , identifier ))) ;) (expression_statement "pEVar1 = pExpr;" (assignment_expression "pEVar1 = pExpr" identifier = identifier) ;) (expression_statement "pEVar4 = pEVar8;" (assignment_expression "pEVar4 = pEVar8" identifier = identifier) ;) (do_statement "do {\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      } while (pEVar4 != (Expr *)((int)&pEVar8->y + 4));" do (compound_statement "{\n        zType_00 = *(Expr **)pEVar4;\n        piVar11 = (int *)pEVar4->flags;\n        aVar9 = pEVar4->u;\n        pEVar7 = pEVar4->pLeft;\n        pEVar4 = (Expr *)&pEVar4->pRight;\n        *(Expr **)pEVar1 = zType_00;\n        pEVar1->flags = (u32)piVar11;\n        pEVar1->u = aVar9;\n        pEVar1->pLeft = pEVar7;\n        pEVar1 = (Expr *)&pEVar1->pRight;\n      }" { (expression_statement "zType_00 = *(Expr **)pEVar4;" (assignment_expression "zType_00 = *(Expr **)pEVar4" identifier = (pointer_expression "*(Expr **)pEVar4" * (cast_expression "(Expr **)pEVar4" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar11 = (int *)pEVar4->flags;" (assignment_expression "piVar11 = (int *)pEVar4->flags" identifier = (cast_expression "(int *)pEVar4->flags" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pEVar4->flags" identifier -> field_identifier))) ;) (expression_statement "aVar9 = pEVar4->u;" (assignment_expression "aVar9 = pEVar4->u" identifier = (field_expression "pEVar4->u" identifier -> field_identifier)) ;) (expression_statement "pEVar7 = pEVar4->pLeft;" (assignment_expression "pEVar7 = pEVar4->pLeft" identifier = (field_expression "pEVar4->pLeft" identifier -> field_identifier)) ;) (expression_statement "pEVar4 = (Expr *)&pEVar4->pRight;" (assignment_expression "pEVar4 = (Expr *)&pEVar4->pRight" identifier = (cast_expression "(Expr *)&pEVar4->pRight" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pEVar4->pRight" & (field_expression "pEVar4->pRight" identifier -> field_identifier)))) ;) (expression_statement "*(Expr **)pEVar1 = zType_00;" (assignment_expression "*(Expr **)pEVar1 = zType_00" (pointer_expression "*(Expr **)pEVar1" * (cast_expression "(Expr **)pEVar1" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "pEVar1->flags = (u32)piVar11;" (assignment_expression "pEVar1->flags = (u32)piVar11" (field_expression "pEVar1->flags" identifier -> field_identifier) = (cast_expression "(u32)piVar11" ( (type_descriptor "u32" type_identifier) ) identifier)) ;) (expression_statement "pEVar1->u = aVar9;" (assignment_expression "pEVar1->u = aVar9" (field_expression "pEVar1->u" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar1->pLeft = pEVar7;" (assignment_expression "pEVar1->pLeft = pEVar7" (field_expression "pEVar1->pLeft" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar1 = (Expr *)&pEVar1->pRight;" (assignment_expression "pEVar1 = (Expr *)&pEVar1->pRight" identifier = (cast_expression "(Expr *)&pEVar1->pRight" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pEVar1->pRight" & (field_expression "pEVar1->pRight" identifier -> field_identifier)))) ;) }) while (parenthesized_expression "(pEVar4 != (Expr *)((int)&pEVar8->y + 4))" ( (binary_expression "pEVar4 != (Expr *)((int)&pEVar8->y + 4)" identifier != (cast_expression "(Expr *)((int)&pEVar8->y + 4)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pEVar8->y + 4)" ( (binary_expression "(int)&pEVar8->y + 4" (cast_expression "(int)&pEVar8->y" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pEVar8->y" & (field_expression "pEVar8->y" identifier -> field_identifier))) + number_literal) )))) )) ;) (expression_statement "*(Expr **)pEVar1 = *(Expr **)pEVar4;" (assignment_expression "*(Expr **)pEVar1 = *(Expr **)pEVar4" (pointer_expression "*(Expr **)pEVar1" * (cast_expression "(Expr **)pEVar1" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (pointer_expression "*(Expr **)pEVar4" * (cast_expression "(Expr **)pEVar4" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar2 = pExpr->flags;" (assignment_expression "uVar2 = pExpr->flags" identifier = (field_expression "pExpr->flags" identifier -> field_identifier)) ;) (if_statement "if (((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }" if (parenthesized_expression "(((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0))" ( (binary_expression "((uVar2 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)" (parenthesized_expression "((uVar2 & 0x400) == 0)" ( (binary_expression "(uVar2 & 0x400) == 0" (parenthesized_expression "(uVar2 & 0x400)" ( (binary_expression "uVar2 & 0x400" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((pExpr->u).zToken != (char *)0x0)" ( (binary_expression "(pExpr->u).zToken != (char *)0x0" (field_expression "(pExpr->u).zToken" (parenthesized_expression "(pExpr->u)" ( (field_expression "pExpr->u" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);\n        (pExpr->u).zToken = pcVar3;\n        uVar2 = pExpr->flags | 0x10000;\n        pExpr->flags = uVar2;\n      }" { (expression_statement "pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db);" (assignment_expression "pcVar3 = (char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db)" identifier = (cast_expression "(char *)(*(code *)(PTR_LAB_000f52ec + 0x7990))(db)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))(db)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + 0x7990)" * (cast_expression "(code *)(PTR_LAB_000f52ec + 0x7990)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + 0x7990)" ( (binary_expression "PTR_LAB_000f52ec + 0x7990" identifier + number_literal) )))) )) (argument_list "(db)" ( identifier ))))) ;) (expression_statement "(pExpr->u).zToken = pcVar3;" (assignment_expression "(pExpr->u).zToken = pcVar3" (field_expression "(pExpr->u).zToken" (parenthesized_expression "(pExpr->u)" ( (field_expression "pExpr->u" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "uVar2 = pExpr->flags | 0x10000;" (assignment_expression "uVar2 = pExpr->flags | 0x10000" identifier = (binary_expression "pExpr->flags | 0x10000" (field_expression "pExpr->flags" identifier -> field_identifier) | number_literal)) ;) (expression_statement "pExpr->flags = uVar2;" (assignment_expression "pExpr->flags = uVar2" (field_expression "pExpr->flags" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)) {\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }" if (parenthesized_expression "(((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0))" ( (binary_expression "((int)(uVar2 << 7) < 0) && ((pExpr->y).pWin != (Window *)0x0)" (parenthesized_expression "((int)(uVar2 << 7) < 0)" ( (binary_expression "(int)(uVar2 << 7) < 0" (cast_expression "(int)(uVar2 << 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 7)" ( (binary_expression "uVar2 << 7" identifier << number_literal) ))) < number_literal) )) && (parenthesized_expression "((pExpr->y).pWin != (Window *)0x0)" ( (binary_expression "(pExpr->y).pWin != (Window *)0x0" (field_expression "(pExpr->y).pWin" (parenthesized_expression "(pExpr->y)" ( (field_expression "pExpr->y" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        ((pExpr->y).pWin)->pOwner = pExpr;\n      }" { (expression_statement "((pExpr->y).pWin)->pOwner = pExpr;" (assignment_expression "((pExpr->y).pWin)->pOwner = pExpr" (field_expression "((pExpr->y).pWin)->pOwner" (parenthesized_expression "((pExpr->y).pWin)" ( (field_expression "(pExpr->y).pWin" (parenthesized_expression "(pExpr->y)" ( (field_expression "pExpr->y" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(db,pEVar8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(db,pEVar8)" ( identifier , identifier ))) ;) })) })) (expression_statement "puVar10 = (undefined4 *)&DAT_00400000;" (assignment_expression "puVar10 = (undefined4 *)&DAT_00400000" identifier = (cast_expression "(undefined4 *)&DAT_00400000" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00400000" & identifier))) ;) (expression_statement "pPVar5 = *(Parse **)puVar14;" (assignment_expression "pPVar5 = *(Parse **)puVar14" identifier = (pointer_expression "*(Parse **)puVar14" * (cast_expression "(Parse **)puVar14" ( (type_descriptor "Parse **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pExpr->flags = pExpr->flags | 0x400000;" (assignment_expression "pExpr->flags = pExpr->flags | 0x400000" (field_expression "pExpr->flags" identifier -> field_identifier) = (binary_expression "pExpr->flags | 0x400000" (field_expression "pExpr->flags" identifier -> field_identifier) | number_literal)) ;) (if_statement "if (pParse_00 != pPVar5) {\n    puVar14 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    if (piVar11 == (int *)0x0) {\n      return;\n    }\n    if ((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)) {\n      iVar6 = *piVar11;\n      if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(pParse_00 != pPVar5)" ( (binary_expression "pParse_00 != pPVar5" identifier != identifier) )) (compound_statement "{\n    puVar14 = PTR___stack_chk_fail_000f5540;\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n    if (piVar11 == (int *)0x0) {\n      return;\n    }\n    if ((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)) {\n      iVar6 = *piVar11;\n      if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }\n    }\n    return;\n  }" { (expression_statement "puVar14 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar14 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (piVar11 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(piVar11 == (int *)0x0)" ( (binary_expression "piVar11 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)) {\n      iVar6 = *piVar11;\n      if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }\n    }" if (parenthesized_expression "((pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2))" ( (binary_expression "(pParse_00->db->mallocFailed == '\0') && (pParse_00->eParseMode < 2)" (parenthesized_expression "(pParse_00->db->mallocFailed == '\0')" ( (binary_expression "pParse_00->db->mallocFailed == '\0'" (field_expression "pParse_00->db->mallocFailed" (field_expression "pParse_00->db" identifier -> field_identifier) -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(pParse_00->eParseMode < 2)" ( (binary_expression "pParse_00->eParseMode < 2" (field_expression "pParse_00->eParseMode" identifier -> field_identifier) < number_literal) ))) )) (compound_statement "{\n      iVar6 = *piVar11;\n      if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }\n    }" { (expression_statement "iVar6 = *piVar11;" (assignment_expression "iVar6 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (if_statement "if (pParse_00->db->aLimit[2] < iVar6) {\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }\n      else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }" if (parenthesized_expression "(pParse_00->db->aLimit[2] < iVar6)" ( (binary_expression "pParse_00->db->aLimit[2] < iVar6" (subscript_expression "pParse_00->db->aLimit[2]" (field_expression "pParse_00->db->aLimit" (field_expression "pParse_00->db" identifier -> field_identifier) -> field_identifier) [ number_literal ]) < identifier) )) (compound_statement "{\n        (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();\n      }" { (expression_statement "(*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))();" (call_expression "(*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))()" (parenthesized_expression "(*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))" ( (pointer_expression "*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8)" * (cast_expression "(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0x8b514) + -0x61d8)" ( (binary_expression "*(int *)(puVar14 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar14 + 0x8b514)" * (cast_expression "(int *)(puVar14 + 0x8b514)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x8b514)" ( (binary_expression "puVar14 + 0x8b514" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }" else (compound_statement "{\n        pEList_00 = (ExprList *)*puVar10;\n        piVar12 = piVar11 + 1;\n        if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }\n      }" { (expression_statement "pEList_00 = (ExprList *)*puVar10;" (assignment_expression "pEList_00 = (ExprList *)*puVar10" identifier = (cast_expression "(ExprList *)*puVar10" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "piVar12 = piVar11 + 1;" (assignment_expression "piVar12 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar6) {\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n          iVar13 = 0;\n          do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);\n        }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          } while (iVar13 < iVar6);" do (compound_statement "{\n            uVar2 = (uint)*(ushort *)(piVar12 + 3);\n            if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }\n            iVar13 = iVar13 + 1;\n            piVar12 = piVar12 + 4;\n          }" { (expression_statement "uVar2 = (uint)*(ushort *)(piVar12 + 3);" (assignment_expression "uVar2 = (uint)*(ushort *)(piVar12 + 3)" identifier = (binary_expression "(uint)*(ushort *)(piVar12 + 3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(piVar12 + 3)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12 + 3)" ( (binary_expression "piVar12 + 3" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 != 0) {\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar6 = pEList_00->nExpr;\n              if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }\n              resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);\n              iVar6 = *piVar11;\n            }" { (expression_statement "iVar6 = pEList_00->nExpr;" (assignment_expression "iVar6 = pEList_00->nExpr" identifier = (field_expression "pEList_00->nExpr" identifier -> field_identifier)) ;) (if_statement "if (iVar6 < (int)uVar2) {\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }" if (parenthesized_expression "(iVar6 < (int)uVar2)" ( (binary_expression "iVar6 < (int)uVar2" identifier < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                (*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );\n                return;\n              }" { (expression_statement "(*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          );" (call_expression "(*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))\n                          (pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          )" (parenthesized_expression "(*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8))" ( (pointer_expression "*(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8)" * (cast_expression "(code *)(*(int *)(puVar14 + 0x8b514) + -0x61d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0x8b514) + -0x61d8)" ( (binary_expression "*(int *)(puVar14 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar14 + 0x8b514)" * (cast_expression "(int *)(puVar14 + 0x8b514)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x8b514)" ( (binary_expression "puVar14 + 0x8b514" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(pParse_00,*(int *)(puVar14 + 0x8b4dc) + -0x7f70,iVar13 + 1,zType_00,iVar6\n                          )" ( identifier , (binary_expression "*(int *)(puVar14 + 0x8b4dc) + -0x7f70" (pointer_expression "*(int *)(puVar14 + 0x8b4dc)" * (cast_expression "(int *)(puVar14 + 0x8b4dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x8b4dc)" ( (binary_expression "puVar14 + 0x8b4dc" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar13 + 1" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0);" (call_expression "resolveAlias(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0)" identifier (argument_list "(pParse_00,pEList_00,uVar2 - 1,(Expr *)*piVar12,(char *)zType_00,0)" ( identifier , identifier , (binary_expression "uVar2 - 1" identifier - number_literal) , (cast_expression "(Expr *)*piVar12" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar12" * identifier)) , (cast_expression "(char *)zType_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) (expression_statement "iVar6 = *piVar11;" (assignment_expression "iVar6 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar12 = piVar12 + 4;" (assignment_expression "piVar12 = piVar12 + 4" identifier = (binary_expression "piVar12 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar13 < iVar6)" ( (binary_expression "iVar13 < iVar6" identifier < identifier) )) ;) })) }))) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "uint FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "uint FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar15 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "piVar9 = (int *)(param_3 * 0x10);" (assignment_expression "piVar9 = (int *)(param_3 * 0x10)" identifier = (cast_expression "(int *)(param_3 * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 * 0x10)" ( (binary_expression "param_3 * 0x10" identifier * number_literal) )))) ;) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000f5568" * (cast_expression "(int **)PTR___stack_chk_guard_000f5568" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar10 = param_4;" (assignment_expression "pcVar10 = param_4" identifier = identifier) ;) (if_statement "if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }" if (parenthesized_expression "(*(int *)((int)piVar9 + param_2 + 4) != 0)" ( (binary_expression "*(int *)((int)piVar9 + param_2 + 4) != 0" (pointer_expression "*(int *)((int)piVar9 + param_2 + 4)" * (cast_expression "(int *)((int)piVar9 + param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + param_2 + 4)" ( (binary_expression "(int)piVar9 + param_2 + 4" (binary_expression "(int)piVar9 + param_2" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }" { (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar13 = *param_1;" (assignment_expression "uVar13 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar9 = (int *)0x0;" (assignment_expression "piVar9 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00068968(uVar13);" (assignment_expression "puVar1 = (undefined4 *)FUN_00068968(uVar13)" identifier = (cast_expression "(undefined4 *)FUN_00068968(uVar13)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00068968(uVar13)" identifier (argument_list "(uVar13)" ( identifier ))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }" { (if_statement "if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }" if (parenthesized_expression "((*param_5 != 'G') && (param_6 != 0))" ( (binary_expression "(*param_5 != 'G') && (param_6 != 0)" (parenthesized_expression "(*param_5 != 'G')" ( (binary_expression "*param_5 != 'G'" (pointer_expression "*param_5" * identifier) != (char_literal "'G'" ' character ')) )) && (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_3c = PTR_LAB_000f52c8 + 0x2b60;" (assignment_expression "local_3c = PTR_LAB_000f52c8 + 0x2b60" identifier = (binary_expression "PTR_LAB_000f52c8 + 0x2b60" identifier + number_literal)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = param_6;" (assignment_expression "local_28 = param_6" identifier = identifier) ;) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0xf88)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0xf88)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0xf88)" ( (binary_expression "PTR_LAB_000f52ec + -0xf88" identifier + number_literal) )))) )) (argument_list "(&local_40,puVar1)" ( (pointer_expression "&local_40" & identifier) , identifier ))) ;) })) (if_statement "if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }" if (parenthesized_expression "(*param_4 == 'o')" ( (binary_expression "*param_4 == 'o'" (pointer_expression "*param_4" * identifier) == (char_literal "'o'" ' character ')) )) (compound_statement "{\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }" { (expression_statement "puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));" (assignment_expression "puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" identifier = (cast_expression "(undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" identifier (argument_list "(param_1,puVar1,*(undefined4 *)(param_4 + 8))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_4 + 8)" * (cast_expression "(undefined4 *)(param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) ))))) ;) })) (expression_statement "*(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;" (assignment_expression "*(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_4 + 4) | 0x8000000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "FUN_00053940(uVar13,param_4);" (call_expression "FUN_00053940(uVar13,param_4)" identifier (argument_list "(uVar13,param_4)" ( identifier , identifier ))) ;) (expression_statement "pcVar2 = param_4;" (assignment_expression "pcVar2 = param_4" identifier = identifier) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (do_statement "do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);" do (compound_statement "{\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      }" { (expression_statement "pcVar10 = (char *)*puVar4;" (assignment_expression "pcVar10 = (char *)*puVar4" identifier = (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "piVar9 = (int *)puVar4[1];" (assignment_expression "piVar9 = (int *)puVar4[1]" identifier = (cast_expression "(int *)puVar4[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar4[3];" (assignment_expression "uVar7 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "*(char **)pcVar2 = pcVar10;" (assignment_expression "*(char **)pcVar2 = pcVar10" (pointer_expression "*(char **)pcVar2" * (cast_expression "(char **)pcVar2" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(int **)(pcVar2 + 4) = piVar9;" (assignment_expression "*(int **)(pcVar2 + 4) = piVar9" (pointer_expression "*(int **)(pcVar2 + 4)" * (cast_expression "(int **)(pcVar2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 4)" ( (binary_expression "pcVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(pcVar2 + 8) = uVar8;" (assignment_expression "*(undefined4 *)(pcVar2 + 8) = uVar8" (pointer_expression "*(undefined4 *)(pcVar2 + 8)" * (cast_expression "(undefined4 *)(pcVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 8)" ( (binary_expression "pcVar2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(pcVar2 + 0xc) = uVar7;" (assignment_expression "*(undefined4 *)(pcVar2 + 0xc) = uVar7" (pointer_expression "*(undefined4 *)(pcVar2 + 0xc)" * (cast_expression "(undefined4 *)(pcVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0xc)" ( (binary_expression "pcVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = pcVar2 + 0x10;" (assignment_expression "pcVar2 = pcVar2 + 0x10" identifier = (binary_expression "pcVar2 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar1 + 0xc)" ( (binary_expression "puVar4 != puVar1 + 0xc" identifier != (binary_expression "puVar1 + 0xc" identifier + number_literal)) )) ;) (expression_statement "*(undefined4 *)pcVar2 = *puVar4;" (assignment_expression "*(undefined4 *)pcVar2 = *puVar4" (pointer_expression "*(undefined4 *)pcVar2" * (cast_expression "(undefined4 *)pcVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar3 = *(uint *)(param_4 + 4);" (assignment_expression "uVar3 = *(uint *)(param_4 + 4)" identifier = (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }" if (parenthesized_expression "(((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0))" ( (binary_expression "((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)" (parenthesized_expression "((uVar3 & 0x400) == 0)" ( (binary_expression "(uVar3 & 0x400) == 0" (parenthesized_expression "(uVar3 & 0x400)" ( (binary_expression "uVar3 & 0x400" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(int *)(param_4 + 8) != 0)" ( (binary_expression "*(int *)(param_4 + 8) != 0" (pointer_expression "*(int *)(param_4 + 8)" * (cast_expression "(int *)(param_4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }" { (expression_statement "uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);" (assignment_expression "uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + 0x7990)" * (cast_expression "(code *)(PTR_LAB_000f52ec + 0x7990)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + 0x7990)" ( (binary_expression "PTR_LAB_000f52ec + 0x7990" identifier + number_literal) )))) )) (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_4 + 8) = uVar7;" (assignment_expression "*(undefined4 *)(param_4 + 8) = uVar7" (pointer_expression "*(undefined4 *)(param_4 + 8)" * (cast_expression "(undefined4 *)(param_4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = *(uint *)(param_4 + 4) | 0x10000;" (assignment_expression "uVar3 = *(uint *)(param_4 + 4) | 0x10000" identifier = (binary_expression "*(uint *)(param_4 + 4) | 0x10000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(uint *)(param_4 + 4) = uVar3;" (assignment_expression "*(uint *)(param_4 + 4) = uVar3" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }" if (parenthesized_expression "(((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0))" ( (binary_expression "((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)" (parenthesized_expression "((int)(uVar3 << 7) < 0)" ( (binary_expression "(int)(uVar3 << 7) < 0" (cast_expression "(int)(uVar3 << 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar3 << 7)" ( (binary_expression "uVar3 << 7" identifier << number_literal) ))) < number_literal) )) && (parenthesized_expression "(*(int *)(param_4 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_4 + 0x2c) != 0" (pointer_expression "*(int *)(param_4 + 0x2c)" * (cast_expression "(int *)(param_4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x2c)" ( (binary_expression "param_4 + 0x2c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }" { (expression_statement "*(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;" (assignment_expression "*(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4" (pointer_expression "*(char **)(*(int *)(param_4 + 0x2c) + 0x48)" * (cast_expression "(char **)(*(int *)(param_4 + 0x2c) + 0x48)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_4 + 0x2c) + 0x48)" ( (binary_expression "*(int *)(param_4 + 0x2c) + 0x48" (pointer_expression "*(int *)(param_4 + 0x2c)" * (cast_expression "(int *)(param_4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x2c)" ( (binary_expression "param_4 + 0x2c" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(uVar13,puVar1)" ( identifier , identifier ))) ;) })) })) (expression_statement "uVar3 = *(uint *)(param_4 + 4);" (assignment_expression "uVar3 = *(uint *)(param_4 + 4)" identifier = (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = (undefined4 *)&DAT_00400000;" (assignment_expression "puVar1 = (undefined4 *)&DAT_00400000" identifier = (cast_expression "(undefined4 *)&DAT_00400000" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00400000" & identifier))) ;) (expression_statement "piVar5 = *(int **)puVar15;" (assignment_expression "piVar5 = *(int **)puVar15" identifier = (pointer_expression "*(int **)puVar15" * (cast_expression "(int **)puVar15" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(uint *)(param_4 + 4) = uVar3 | 0x400000;" (assignment_expression "*(uint *)(param_4 + 4) = uVar3 | 0x400000" (pointer_expression "*(uint *)(param_4 + 4)" * (cast_expression "(uint *)(param_4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = (binary_expression "uVar3 | 0x400000" identifier | number_literal)) ;) (if_statement "if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }" if (parenthesized_expression "(local_24 == piVar5)" ( (binary_expression "local_24 == piVar5" identifier == identifier) )) (compound_statement "{\n    return uVar3 | 0x400000;\n  }" { (return_statement "return uVar3 | 0x400000;" return (binary_expression "uVar3 | 0x400000" identifier | number_literal) ;) })) (expression_statement "piVar5 = local_24;" (assignment_expression "piVar5 = local_24" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar15 = PTR___stack_chk_fail_000f5540" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (piVar9 == (int *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(piVar9 == (int *)0x0)" ( (binary_expression "piVar9 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }" if (parenthesized_expression "((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2))" ( (binary_expression "(*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)" (parenthesized_expression "(*(char *)(*piVar5 + 0x51) == '\0')" ( (binary_expression "*(char *)(*piVar5 + 0x51) == '\0'" (pointer_expression "*(char *)(*piVar5 + 0x51)" * (cast_expression "(char *)(*piVar5 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar5 + 0x51)" ( (binary_expression "*piVar5 + 0x51" (pointer_expression "*piVar5" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(byte *)(piVar5 + 0x33) < 2)" ( (binary_expression "*(byte *)(piVar5 + 0x33) < 2" (pointer_expression "*(byte *)(piVar5 + 0x33)" * (cast_expression "(byte *)(piVar5 + 0x33)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x33)" ( (binary_expression "piVar5 + 0x33" identifier + number_literal) )))) < number_literal) ))) )) (compound_statement "{\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }" { (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (if_statement "if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }" if (parenthesized_expression "(*(int *)(*piVar5 + 0x74) < iVar6)" ( (binary_expression "*(int *)(*piVar5 + 0x74) < iVar6" (pointer_expression "*(int *)(*piVar5 + 0x74)" * (cast_expression "(int *)(*piVar5 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar5 + 0x74)" ( (binary_expression "*piVar5 + 0x74" (pointer_expression "*piVar5" * identifier) + number_literal) )))) < identifier) )) (compound_statement "{\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }" { (expression_statement "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();" (call_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))()" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))" ( (pointer_expression "*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" * (cast_expression "(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (binary_expression "*(int *)(puVar15 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar15 + 0x8b514)" * (cast_expression "(int *)(puVar15 + 0x8b514)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x8b514)" ( (binary_expression "puVar15 + 0x8b514" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar14 = (int *)*puVar1;" (assignment_expression "piVar14 = (int *)*puVar1" identifier = (cast_expression "(int *)*puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "piVar11 = piVar9 + 1;" (assignment_expression "piVar11 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);" do (compound_statement "{\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      }" { (expression_statement "uVar3 = (uint)*(ushort *)(piVar11 + 3);" (assignment_expression "uVar3 = (uint)*(ushort *)(piVar11 + 3)" identifier = (binary_expression "(uint)*(ushort *)(piVar11 + 3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(piVar11 + 3)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar11 + 3)" ( (binary_expression "piVar11 + 3" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }" { (expression_statement "iVar6 = *piVar14;" (assignment_expression "iVar6 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (if_statement "if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }" if (parenthesized_expression "(iVar6 < (int)uVar3)" ( (binary_expression "iVar6 < (int)uVar3" identifier < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }" { (expression_statement "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);" (call_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6)" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))" ( (pointer_expression "*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" * (cast_expression "(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x8b514) + -0x61d8)" ( (binary_expression "*(int *)(puVar15 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar15 + 0x8b514)" * (cast_expression "(int *)(puVar15 + 0x8b514)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x8b514)" ( (binary_expression "puVar15 + 0x8b514" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6)" ( identifier , (binary_expression "*(int *)(puVar15 + 0x8b4dc) + -0x7f70" (pointer_expression "*(int *)(puVar15 + 0x8b4dc)" * (cast_expression "(int *)(puVar15 + 0x8b4dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x8b4dc)" ( (binary_expression "puVar15 + 0x8b4dc" identifier + number_literal) )))) + number_literal) , (binary_expression "iVar12 + 1" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);" (call_expression "FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0)" identifier (argument_list "(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0)" ( identifier , identifier , (binary_expression "uVar3 - 1" identifier - number_literal) , (pointer_expression "*piVar11" * identifier) , identifier , number_literal ))) ;) (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) })) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "piVar11 = piVar11 + 4;" (assignment_expression "piVar11 = piVar11 + 4" identifier = (binary_expression "piVar11 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar12 < iVar6)" ( (binary_expression "iVar12 < iVar6" identifier < identifier) )) ;) (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT * LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) })) (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 , IDENT ))) ;) })) })) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return (binary_expression IDENT | LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )) (argument_list ( ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT - LIT) , (pointer_expression * IDENT) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "uint FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}" (type_identifier "uint") (function_declarator "FUN_00069ba0(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)" (identifier "FUN_00069ba0") (parameter_list "(undefined4 *param_1,int param_2,int param_3,char *param_4,char *param_5,\n                 int param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "char *param_4" (primitive_type "char") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "char *param_5" (primitive_type "char") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int *piVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int *piVar14;\n  undefined *puVar15;\n  undefined4 local_40;\n  undefined *local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  int local_28;\n  int *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_000f5568;\n  piVar9 = (int *)(param_3 * 0x10);\n  local_24 = *(int **)PTR___stack_chk_guard_000f5568;\n  pcVar10 = param_4;\n  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }\n  uVar3 = *(uint *)(param_4 + 4);\n  puVar1 = (undefined4 *)&DAT_00400000;\n  piVar5 = *(int **)puVar15;\n  *(uint *)(param_4 + 4) = uVar3 | 0x400000;\n  if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }\n  piVar5 = local_24;\n  puVar15 = PTR___stack_chk_fail_000f5540;\n  (*(code *)PTR___stack_chk_fail_000f5540)();\n  if (piVar9 == (int *)0x0) {\n    return 0;\n  }\n  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "undefined4 uVar13;" (type_identifier "undefined4") (identifier "uVar13") (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "undefined4 local_40;" (type_identifier "undefined4") (identifier "local_40") (; ";")) (declaration "undefined *local_3c;" (type_identifier "undefined") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int *local_24;" (primitive_type "int") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar15 = PTR___stack_chk_guard_000f5568" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_guard_000f5568")) (; ";")) (expression_statement "piVar9 = (int *)(param_3 * 0x10);" (assignment_expression "piVar9 = (int *)(param_3 * 0x10)" (identifier "piVar9") (= "=") (cast_expression "(int *)(param_3 * 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 * 0x10)" (( "(") (binary_expression "param_3 * 0x10" (identifier "param_3") (* "*") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_000f5568" (identifier "local_24") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_000f5568" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_000f5568" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000f5568")))) (; ";")) (expression_statement "pcVar10 = param_4;" (assignment_expression "pcVar10 = param_4" (identifier "pcVar10") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (*(int *)((int)piVar9 + param_2 + 4) != 0) {\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)((int)piVar9 + param_2 + 4) != 0)" (( "(") (binary_expression "*(int *)((int)piVar9 + param_2 + 4) != 0" (pointer_expression "*(int *)((int)piVar9 + param_2 + 4)" (* "*") (cast_expression "(int *)((int)piVar9 + param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar9 + param_2 + 4)" (( "(") (binary_expression "(int)piVar9 + param_2 + 4" (binary_expression "(int)piVar9 + param_2" (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9")) (+ "+") (identifier "param_2")) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar10 = (char *)0x0;\n    uVar13 = *param_1;\n    piVar9 = (int *)0x0;\n    puVar1 = (undefined4 *)FUN_00068968(uVar13);\n    if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }\n  }" ({ "{") (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" (identifier "pcVar10") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar13 = *param_1;" (assignment_expression "uVar13 = *param_1" (identifier "uVar13") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar9 = (int *)0x0;" (assignment_expression "piVar9 = (int *)0x0" (identifier "piVar9") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_00068968(uVar13);" (assignment_expression "puVar1 = (undefined4 *)FUN_00068968(uVar13)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_00068968(uVar13)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00068968(uVar13)" (identifier "FUN_00068968") (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")"))))) (; ";")) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }" (if "if") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }\n      if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }\n      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;\n      FUN_00053940(uVar13,param_4);\n      pcVar2 = param_4;\n      puVar4 = puVar1;\n      do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);\n      *(undefined4 *)pcVar2 = *puVar4;\n      uVar3 = *(uint *)(param_4 + 4);\n      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }\n      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);\n    }" ({ "{") (if_statement "if ((*param_5 != 'G') && (param_6 != 0)) {\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }" (if "if") (parenthesized_expression "((*param_5 != 'G') && (param_6 != 0))" (( "(") (binary_expression "(*param_5 != 'G') && (param_6 != 0)" (parenthesized_expression "(*param_5 != 'G')" (( "(") (binary_expression "*param_5 != 'G'" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (!= "!=") (char_literal "'G'" (' "'") (character "G") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        local_40 = 0;\n        local_38 = 0;\n        local_34 = 0;\n        local_3c = PTR_LAB_000f52c8 + 0x2b60;\n        local_30 = 0;\n        local_2c = 0;\n        local_28 = param_6;\n        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);\n      }" ({ "{") (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = PTR_LAB_000f52c8 + 0x2b60;" (assignment_expression "local_3c = PTR_LAB_000f52c8 + 0x2b60" (identifier "local_3c") (= "=") (binary_expression "PTR_LAB_000f52c8 + 0x2b60" (identifier "PTR_LAB_000f52c8") (+ "+") (number_literal "0x2b60"))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = param_6;" (assignment_expression "local_28 = param_6" (identifier "local_28") (= "=") (identifier "param_6")) (; ";")) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0xf88))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0xf88)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52ec + -0xf88)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52ec + -0xf88)" (( "(") (binary_expression "PTR_LAB_000f52ec + -0xf88" (identifier "PTR_LAB_000f52ec") (+ "+") (number_literal "-0xf88")) () ")")))) () ")")) (argument_list "(&local_40,puVar1)" (( "(") (pointer_expression "&local_40" (& "&") (identifier "local_40")) (, ",") (identifier "puVar1") () ")"))) (; ";")) (} "}"))) (if_statement "if (*param_4 == 'o') {\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }" (if "if") (parenthesized_expression "(*param_4 == 'o')" (( "(") (binary_expression "*param_4 == 'o'" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (== "==") (char_literal "'o'" (' "'") (character "o") (' "'"))) () ")")) (compound_statement "{\n        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));\n      }" ({ "{") (expression_statement "puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));" (assignment_expression "puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8))" (identifier "FUN_0005327c") (argument_list "(param_1,puVar1,*(undefined4 *)(param_4 + 8))" (( "(") (identifier "param_1") (, ",") (identifier "puVar1") (, ",") (pointer_expression "*(undefined4 *)(param_4 + 8)" (* "*") (cast_expression "(undefined4 *)(param_4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")")))) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;" (assignment_expression "*(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000" (pointer_expression "*(uint *)(param_4 + 4)" (* "*") (cast_expression "(uint *)(param_4 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(uint *)(param_4 + 4) | 0x8000000" (pointer_expression "*(uint *)(param_4 + 4)" (* "*") (cast_expression "(uint *)(param_4 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (| "|") (number_literal "0x8000000"))) (; ";")) (expression_statement "FUN_00053940(uVar13,param_4);" (call_expression "FUN_00053940(uVar13,param_4)" (identifier "FUN_00053940") (argument_list "(uVar13,param_4)" (( "(") (identifier "uVar13") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "pcVar2 = param_4;" (assignment_expression "pcVar2 = param_4" (identifier "pcVar2") (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (do_statement "do {\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      } while (puVar4 != puVar1 + 0xc);" (do "do") (compound_statement "{\n        pcVar10 = (char *)*puVar4;\n        piVar9 = (int *)puVar4[1];\n        uVar8 = puVar4[2];\n        uVar7 = puVar4[3];\n        puVar4 = puVar4 + 4;\n        *(char **)pcVar2 = pcVar10;\n        *(int **)(pcVar2 + 4) = piVar9;\n        *(undefined4 *)(pcVar2 + 8) = uVar8;\n        *(undefined4 *)(pcVar2 + 0xc) = uVar7;\n        pcVar2 = pcVar2 + 0x10;\n      }" ({ "{") (expression_statement "pcVar10 = (char *)*puVar4;" (assignment_expression "pcVar10 = (char *)*puVar4" (identifier "pcVar10") (= "=") (cast_expression "(char *)*puVar4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "piVar9 = (int *)puVar4[1];" (assignment_expression "piVar9 = (int *)puVar4[1]" (identifier "piVar9") (= "=") (cast_expression "(int *)puVar4[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar7 = puVar4[3];" (assignment_expression "uVar7 = puVar4[3]" (identifier "uVar7") (= "=") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(char **)pcVar2 = pcVar10;" (assignment_expression "*(char **)pcVar2 = pcVar10" (pointer_expression "*(char **)pcVar2" (* "*") (cast_expression "(char **)pcVar2" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2"))) (= "=") (identifier "pcVar10")) (; ";")) (expression_statement "*(int **)(pcVar2 + 4) = piVar9;" (assignment_expression "*(int **)(pcVar2 + 4) = piVar9" (pointer_expression "*(int **)(pcVar2 + 4)" (* "*") (cast_expression "(int **)(pcVar2 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar2 + 4)" (( "(") (binary_expression "pcVar2 + 4" (identifier "pcVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar9")) (; ";")) (expression_statement "*(undefined4 *)(pcVar2 + 8) = uVar8;" (assignment_expression "*(undefined4 *)(pcVar2 + 8) = uVar8" (pointer_expression "*(undefined4 *)(pcVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(pcVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 8)" (( "(") (binary_expression "pcVar2 + 8" (identifier "pcVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "*(undefined4 *)(pcVar2 + 0xc) = uVar7;" (assignment_expression "*(undefined4 *)(pcVar2 + 0xc) = uVar7" (pointer_expression "*(undefined4 *)(pcVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(pcVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 0xc)" (( "(") (binary_expression "pcVar2 + 0xc" (identifier "pcVar2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "pcVar2 = pcVar2 + 0x10;" (assignment_expression "pcVar2 = pcVar2 + 0x10" (identifier "pcVar2") (= "=") (binary_expression "pcVar2 + 0x10" (identifier "pcVar2") (+ "+") (number_literal "0x10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar1 + 0xc)" (( "(") (binary_expression "puVar4 != puVar1 + 0xc" (identifier "puVar4") (!= "!=") (binary_expression "puVar1 + 0xc" (identifier "puVar1") (+ "+") (number_literal "0xc"))) () ")")) (; ";")) (expression_statement "*(undefined4 *)pcVar2 = *puVar4;" (assignment_expression "*(undefined4 *)pcVar2 = *puVar4" (pointer_expression "*(undefined4 *)pcVar2" (* "*") (cast_expression "(undefined4 *)pcVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar2"))) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "uVar3 = *(uint *)(param_4 + 4);" (assignment_expression "uVar3 = *(uint *)(param_4 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_4 + 4)" (* "*") (cast_expression "(uint *)(param_4 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }" (if "if") (parenthesized_expression "(((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0))" (( "(") (binary_expression "((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)" (parenthesized_expression "((uVar3 & 0x400) == 0)" (( "(") (binary_expression "(uVar3 & 0x400) == 0" (parenthesized_expression "(uVar3 & 0x400)" (( "(") (binary_expression "uVar3 & 0x400" (identifier "uVar3") (& "&") (number_literal "0x400")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_4 + 8) != 0)" (( "(") (binary_expression "*(int *)(param_4 + 8) != 0" (pointer_expression "*(int *)(param_4 + 8)" (* "*") (cast_expression "(int *)(param_4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);\n        *(undefined4 *)(param_4 + 8) = uVar7;\n        uVar3 = *(uint *)(param_4 + 4) | 0x10000;\n        *(uint *)(param_4 + 4) = uVar3;\n      }" ({ "{") (expression_statement "uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);" (assignment_expression "uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13)" (identifier "uVar7") (= "=") (call_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + 0x7990))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52ec + 0x7990)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52ec + 0x7990)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52ec + 0x7990)" (( "(") (binary_expression "PTR_LAB_000f52ec + 0x7990" (identifier "PTR_LAB_000f52ec") (+ "+") (number_literal "0x7990")) () ")")))) () ")")) (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_4 + 8) = uVar7;" (assignment_expression "*(undefined4 *)(param_4 + 8) = uVar7" (pointer_expression "*(undefined4 *)(param_4 + 8)" (* "*") (cast_expression "(undefined4 *)(param_4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "uVar3 = *(uint *)(param_4 + 4) | 0x10000;" (assignment_expression "uVar3 = *(uint *)(param_4 + 4) | 0x10000" (identifier "uVar3") (= "=") (binary_expression "*(uint *)(param_4 + 4) | 0x10000" (pointer_expression "*(uint *)(param_4 + 4)" (* "*") (cast_expression "(uint *)(param_4 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (| "|") (number_literal "0x10000"))) (; ";")) (expression_statement "*(uint *)(param_4 + 4) = uVar3;" (assignment_expression "*(uint *)(param_4 + 4) = uVar3" (pointer_expression "*(uint *)(param_4 + 4)" (* "*") (cast_expression "(uint *)(param_4 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (if_statement "if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }" (if "if") (parenthesized_expression "(((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0))" (( "(") (binary_expression "((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)" (parenthesized_expression "((int)(uVar3 << 7) < 0)" (( "(") (binary_expression "(int)(uVar3 << 7) < 0" (cast_expression "(int)(uVar3 << 7)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar3 << 7)" (( "(") (binary_expression "uVar3 << 7" (identifier "uVar3") (<< "<<") (number_literal "7")) () ")"))) (< "<") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_4 + 0x2c) != 0)" (( "(") (binary_expression "*(int *)(param_4 + 0x2c) != 0" (pointer_expression "*(int *)(param_4 + 0x2c)" (* "*") (cast_expression "(int *)(param_4 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x2c)" (( "(") (binary_expression "param_4 + 0x2c" (identifier "param_4") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;\n      }" ({ "{") (expression_statement "*(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;" (assignment_expression "*(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4" (pointer_expression "*(char **)(*(int *)(param_4 + 0x2c) + 0x48)" (* "*") (cast_expression "(char **)(*(int *)(param_4 + 0x2c) + 0x48)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_4 + 0x2c) + 0x48)" (( "(") (binary_expression "*(int *)(param_4 + 0x2c) + 0x48" (pointer_expression "*(int *)(param_4 + 0x2c)" (* "*") (cast_expression "(int *)(param_4 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x2c)" (( "(") (binary_expression "param_4 + 0x2c" (identifier "param_4") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" (( "(") (binary_expression "PTR_LAB_000f52ec + -0x7728" (identifier "PTR_LAB_000f52ec") (+ "+") (number_literal "-0x7728")) () ")")))) () ")")) (argument_list "(uVar13,puVar1)" (( "(") (identifier "uVar13") (, ",") (identifier "puVar1") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar3 = *(uint *)(param_4 + 4);" (assignment_expression "uVar3 = *(uint *)(param_4 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_4 + 4)" (* "*") (cast_expression "(uint *)(param_4 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "puVar1 = (undefined4 *)&DAT_00400000;" (assignment_expression "puVar1 = (undefined4 *)&DAT_00400000" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)&DAT_00400000" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00400000" (& "&") (identifier "DAT_00400000")))) (; ";")) (expression_statement "piVar5 = *(int **)puVar15;" (assignment_expression "piVar5 = *(int **)puVar15" (identifier "piVar5") (= "=") (pointer_expression "*(int **)puVar15" (* "*") (cast_expression "(int **)puVar15" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar15")))) (; ";")) (expression_statement "*(uint *)(param_4 + 4) = uVar3 | 0x400000;" (assignment_expression "*(uint *)(param_4 + 4) = uVar3 | 0x400000" (pointer_expression "*(uint *)(param_4 + 4)" (* "*") (cast_expression "(uint *)(param_4 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "uVar3 | 0x400000" (identifier "uVar3") (| "|") (number_literal "0x400000"))) (; ";")) (if_statement "if (local_24 == piVar5) {\n    return uVar3 | 0x400000;\n  }" (if "if") (parenthesized_expression "(local_24 == piVar5)" (( "(") (binary_expression "local_24 == piVar5" (identifier "local_24") (== "==") (identifier "piVar5")) () ")")) (compound_statement "{\n    return uVar3 | 0x400000;\n  }" ({ "{") (return_statement "return uVar3 | 0x400000;" (return "return") (binary_expression "uVar3 | 0x400000" (identifier "uVar3") (| "|") (number_literal "0x400000")) (; ";")) (} "}"))) (expression_statement "piVar5 = local_24;" (assignment_expression "piVar5 = local_24" (identifier "piVar5") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_fail_000f5540;" (assignment_expression "puVar15 = PTR___stack_chk_fail_000f5540" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_000f5540")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000f5540" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000f5540"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (piVar9 == (int *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(piVar9 == (int *)0x0)" (( "(") (binary_expression "piVar9 == (int *)0x0" (identifier "piVar9") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2))" (( "(") (binary_expression "(*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)" (parenthesized_expression "(*(char *)(*piVar5 + 0x51) == '\0')" (( "(") (binary_expression "*(char *)(*piVar5 + 0x51) == '\0'" (pointer_expression "*(char *)(*piVar5 + 0x51)" (* "*") (cast_expression "(char *)(*piVar5 + 0x51)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar5 + 0x51)" (( "(") (binary_expression "*piVar5 + 0x51" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "0x51")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(byte *)(piVar5 + 0x33) < 2)" (( "(") (binary_expression "*(byte *)(piVar5 + 0x33) < 2" (pointer_expression "*(byte *)(piVar5 + 0x33)" (* "*") (cast_expression "(byte *)(piVar5 + 0x33)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 0x33)" (( "(") (binary_expression "piVar5 + 0x33" (identifier "piVar5") (+ "+") (number_literal "0x33")) () ")")))) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    iVar6 = *piVar9;\n    if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }\n    piVar14 = (int *)*puVar1;\n    piVar11 = piVar9 + 1;\n    if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }\n  }" ({ "{") (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" (identifier "iVar6") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (if_statement "if (*(int *)(*piVar5 + 0x74) < iVar6) {\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }" (if "if") (parenthesized_expression "(*(int *)(*piVar5 + 0x74) < iVar6)" (( "(") (binary_expression "*(int *)(*piVar5 + 0x74) < iVar6" (pointer_expression "*(int *)(*piVar5 + 0x74)" (* "*") (cast_expression "(int *)(*piVar5 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar5 + 0x74)" (( "(") (binary_expression "*piVar5 + 0x74" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "0x74")) () ")")))) (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();\n      return 1;\n    }" ({ "{") (expression_statement "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();" (call_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))()" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))" (( "(") (pointer_expression "*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" (* "*") (cast_expression "(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x8b514) + -0x61d8)" (( "(") (binary_expression "*(int *)(puVar15 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar15 + 0x8b514)" (* "*") (cast_expression "(int *)(puVar15 + 0x8b514)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x8b514)" (( "(") (binary_expression "puVar15 + 0x8b514" (identifier "puVar15") (+ "+") (number_literal "0x8b514")) () ")")))) (+ "+") (number_literal "-0x61d8")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "piVar14 = (int *)*puVar1;" (assignment_expression "piVar14 = (int *)*puVar1" (identifier "piVar14") (= "=") (cast_expression "(int *)*puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (expression_statement "piVar11 = piVar9 + 1;" (assignment_expression "piVar11 = piVar9 + 1" (identifier "piVar11") (= "=") (binary_expression "piVar9 + 1" (identifier "piVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (0 < iVar6) {\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }" (if "if") (parenthesized_expression "(0 < iVar6)" (( "(") (binary_expression "0 < iVar6" (number_literal "0") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n      iVar12 = 0;\n      do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);\n      return 0;\n    }" ({ "{") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      } while (iVar12 < iVar6);" (do "do") (compound_statement "{\n        uVar3 = (uint)*(ushort *)(piVar11 + 3);\n        if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }\n        iVar12 = iVar12 + 1;\n        piVar11 = piVar11 + 4;\n      }" ({ "{") (expression_statement "uVar3 = (uint)*(ushort *)(piVar11 + 3);" (assignment_expression "uVar3 = (uint)*(ushort *)(piVar11 + 3)" (identifier "uVar3") (= "=") (binary_expression "(uint)*(ushort *)(piVar11 + 3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(piVar11 + 3)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar11 + 3)" (( "(") (binary_expression "piVar11 + 3" (identifier "piVar11") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (if_statement "if (uVar3 != 0) {\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar6 = *piVar14;\n          if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }\n          FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);\n          iVar6 = *piVar9;\n        }" ({ "{") (expression_statement "iVar6 = *piVar14;" (assignment_expression "iVar6 = *piVar14" (identifier "iVar6") (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (if_statement "if (iVar6 < (int)uVar3) {\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }" (if "if") (parenthesized_expression "(iVar6 < (int)uVar3)" (( "(") (binary_expression "iVar6 < (int)uVar3" (identifier "iVar6") (< "<") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3"))) () ")")) (compound_statement "{\n            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);\n            return 1;\n          }" ({ "{") (expression_statement "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);" (call_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))\n                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6)" (parenthesized_expression "(*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))" (( "(") (pointer_expression "*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" (* "*") (cast_expression "(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x8b514) + -0x61d8)" (( "(") (binary_expression "*(int *)(puVar15 + 0x8b514) + -0x61d8" (pointer_expression "*(int *)(puVar15 + 0x8b514)" (* "*") (cast_expression "(int *)(puVar15 + 0x8b514)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x8b514)" (( "(") (binary_expression "puVar15 + 0x8b514" (identifier "puVar15") (+ "+") (number_literal "0x8b514")) () ")")))) (+ "+") (number_literal "-0x61d8")) () ")")))) () ")")) (argument_list "(piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6)" (( "(") (identifier "piVar5") (, ",") (binary_expression "*(int *)(puVar15 + 0x8b4dc) + -0x7f70" (pointer_expression "*(int *)(puVar15 + 0x8b4dc)" (* "*") (cast_expression "(int *)(puVar15 + 0x8b4dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x8b4dc)" (( "(") (binary_expression "puVar15 + 0x8b4dc" (identifier "puVar15") (+ "+") (number_literal "0x8b4dc")) () ")")))) (+ "+") (number_literal "-0x7f70")) (, ",") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1")) (, ",") (identifier "pcVar10") (, ",") (identifier "iVar6") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);" (call_expression "FUN_00069ba0(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0)" (identifier "FUN_00069ba0") (argument_list "(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0)" (( "(") (identifier "piVar5") (, ",") (identifier "piVar14") (, ",") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1")) (, ",") (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (, ",") (identifier "pcVar10") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" (identifier "iVar6") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (} "}"))) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar11 = piVar11 + 4;" (assignment_expression "piVar11 = piVar11 + 4" (identifier "piVar11") (= "=") (binary_expression "piVar11 + 4" (identifier "piVar11") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar12 < iVar6)" (( "(") (binary_expression "iVar12 < iVar6" (identifier "iVar12") (< "<") (identifier "iVar6")) () ")")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

void function_1(type_1 *pParse,type_2 *pEList,int var_1,type_3 *pExpr,char *zType,int var_4)

{
  type_1 *var_11;
  type_3 *pEVar1;
  type_4 var_10;
  char *pcVar3;
  type_3 *var_9;
  type_1 *var_12;
  int var_14;
  type_3 *pEVar7;
  type_3 *var_2;
  type_5 aVar9;
  type_6 *puVar10;
  int *var_13;
  type_3 *zType_00;
  int *var_16;
  int var_17;
  type_7 *db;
  type_2 *pEList_00;
  type_8 *var_15;
  type_9 w;
  
  var_15 = PTR___stack_chk_guard_000f5568;
  var_13 = (int *)(var_1 * 0x10);
  var_11 = *(type_1 **)PTR___stack_chk_guard_000f5568;
  var_2 = ((type_10 *)((int)var_13 + (int)pEList->a))->pExpr;
  zType_00 = pExpr;
  if (var_2 != (type_3 *)0x0) {
    zType_00 = (type_3 *)0x0;
    db = pParse->db;
    var_13 = (int *)0x0;
    var_2 = var_3(db,var_2,0,(type_11 **)0x0);
    if (var_2 != (type_3 *)0x0) {
      if ((*zType != 'G') && (var_4 != 0)) {
        w.pParse = (type_1 *)0x0;
        w.xSelectCallback = (type_12 *)0x0;
        w.xSelectCallback2 = (type_13 *)0x0;
        w.xExprCallback = (type_14 *)(var_5 + 0x2b60);
        w.walkerDepth = 0;
        w.eCode = 0;
        w._22_2_ = 0;
        w.u.n = var_4;
        (*(type_15 *)(var_6 + -0xf88))(&w,var_2);
      }
      if (pExpr->op == 'o') {
        var_2 = var_7(pParse,var_2,(pExpr->u).zToken);
      }
      pExpr->flags = pExpr->flags | 0x8000000;
      var_8(db,pExpr);
      pEVar1 = pExpr;
      var_9 = var_2;
      do {
        zType_00 = *(type_3 **)var_9;
        var_13 = (int *)var_9->flags;
        aVar9 = var_9->u;
        pEVar7 = var_9->pLeft;
        var_9 = (type_3 *)&var_9->pRight;
        *(type_3 **)pEVar1 = zType_00;
        pEVar1->flags = (type_16)var_13;
        pEVar1->u = aVar9;
        pEVar1->pLeft = pEVar7;
        pEVar1 = (type_3 *)&pEVar1->pRight;
      } while (var_9 != (type_3 *)((int)&var_2->y + 4));
      *(type_3 **)pEVar1 = *(type_3 **)var_9;
      var_10 = pExpr->flags;
      if (((var_10 & 0x400) == 0) && ((pExpr->u).zToken != (char *)0x0)) {
        pcVar3 = (char *)(*(type_15 *)(var_6 + 0x7990))(db);
        (pExpr->u).zToken = pcVar3;
        var_10 = pExpr->flags | 0x10000;
        pExpr->flags = var_10;
      }
      if (((int)(var_10 << 7) < 0) && ((pExpr->y).pWin != (type_17 *)0x0)) {
        ((pExpr->y).pWin)->pOwner = pExpr;
      }
      (*(type_15 *)(var_6 + -0x7728))(db,var_2);
    }
  }
  puVar10 = (type_6 *)&DAT_00400000;
  var_12 = *(type_1 **)var_15;
  pExpr->flags = pExpr->flags | 0x400000;
  if (var_11 != var_12) {
    var_15 = PTR___stack_chk_fail_000f5540;
    (*(type_15 *)PTR___stack_chk_fail_000f5540)();
    if (var_13 == (int *)0x0) {
      return;
    }
    if ((var_11->db->mallocFailed == '\0') && (var_11->eParseMode < 2)) {
      var_14 = *var_13;
      if (var_11->db->aLimit[2] < var_14) {
        (*(type_15 *)(*(int *)(var_15 + 0x8b514) + -0x61d8))();
      }
      else {
        pEList_00 = (type_2 *)*puVar10;
        var_16 = var_13 + 1;
        if (0 < var_14) {
          var_17 = 0;
          do {
            var_10 = (type_4)*(type_18 *)(var_16 + 3);
            if (var_10 != 0) {
              var_14 = pEList_00->nExpr;
              if (var_14 < (int)var_10) {
                (*(type_15 *)(*(int *)(var_15 + 0x8b514) + -0x61d8))
                          (var_11,*(int *)(var_15 + 0x8b4dc) + -0x7f70,var_17 + 1,zType_00,var_14
                          );
                return;
              }
              function_1(var_11,pEList_00,var_10 - 1,(type_3 *)*var_16,(char *)zType_00,0);
              var_14 = *var_13;
            }
            var_17 = var_17 + 1;
            var_16 = var_16 + 4;
          } while (var_17 < var_14);
        }
      }
    }
    return;
  }
  return;
}


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

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

{
  undefined4 *puVar1;
  char *pcVar2;
  uint uVar3;
  undefined4 *puVar4;
  int *piVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int *piVar9;
  char *pcVar10;
  int *piVar11;
  int iVar12;
  undefined4 uVar13;
  int *piVar14;
  undefined *puVar15;
  undefined4 local_40;
  undefined *local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  int local_28;
  int *local_24;
  
  puVar15 = PTR___stack_chk_guard_000f5568;
  piVar9 = (int *)(param_3 * 0x10);
  local_24 = *(int **)PTR___stack_chk_guard_000f5568;
  pcVar10 = param_4;
  if (*(int *)((int)piVar9 + param_2 + 4) != 0) {
    pcVar10 = (char *)0x0;
    uVar13 = *param_1;
    piVar9 = (int *)0x0;
    puVar1 = (undefined4 *)FUN_00068968(uVar13);
    if (puVar1 != (undefined4 *)0x0) {
      if ((*param_5 != 'G') && (param_6 != 0)) {
        local_40 = 0;
        local_38 = 0;
        local_34 = 0;
        local_3c = PTR_LAB_000f52c8 + 0x2b60;
        local_30 = 0;
        local_2c = 0;
        local_28 = param_6;
        (*(code *)(PTR_LAB_000f52ec + -0xf88))(&local_40,puVar1);
      }
      if (*param_4 == 'o') {
        puVar1 = (undefined4 *)FUN_0005327c(param_1,puVar1,*(undefined4 *)(param_4 + 8));
      }
      *(uint *)(param_4 + 4) = *(uint *)(param_4 + 4) | 0x8000000;
      FUN_00053940(uVar13,param_4);
      pcVar2 = param_4;
      puVar4 = puVar1;
      do {
        pcVar10 = (char *)*puVar4;
        piVar9 = (int *)puVar4[1];
        uVar8 = puVar4[2];
        uVar7 = puVar4[3];
        puVar4 = puVar4 + 4;
        *(char **)pcVar2 = pcVar10;
        *(int **)(pcVar2 + 4) = piVar9;
        *(undefined4 *)(pcVar2 + 8) = uVar8;
        *(undefined4 *)(pcVar2 + 0xc) = uVar7;
        pcVar2 = pcVar2 + 0x10;
      } while (puVar4 != puVar1 + 0xc);
      *(undefined4 *)pcVar2 = *puVar4;
      uVar3 = *(uint *)(param_4 + 4);
      if (((uVar3 & 0x400) == 0) && (*(int *)(param_4 + 8) != 0)) {
        uVar7 = (*(code *)(PTR_LAB_000f52ec + 0x7990))(uVar13);
        *(undefined4 *)(param_4 + 8) = uVar7;
        uVar3 = *(uint *)(param_4 + 4) | 0x10000;
        *(uint *)(param_4 + 4) = uVar3;
      }
      if (((int)(uVar3 << 7) < 0) && (*(int *)(param_4 + 0x2c) != 0)) {
        *(char **)(*(int *)(param_4 + 0x2c) + 0x48) = param_4;
      }
      (*(code *)(PTR_LAB_000f52ec + -0x7728))(uVar13,puVar1);
    }
  }
  uVar3 = *(uint *)(param_4 + 4);
  puVar1 = (undefined4 *)&DAT_00400000;
  piVar5 = *(int **)puVar15;
  *(uint *)(param_4 + 4) = uVar3 | 0x400000;
  if (local_24 == piVar5) {
    return uVar3 | 0x400000;
  }
  piVar5 = local_24;
  puVar15 = PTR___stack_chk_fail_000f5540;
  (*(code *)PTR___stack_chk_fail_000f5540)();
  if (piVar9 == (int *)0x0) {
    return 0;
  }
  if ((*(char *)(*piVar5 + 0x51) == '\0') && (*(byte *)(piVar5 + 0x33) < 2)) {
    iVar6 = *piVar9;
    if (*(int *)(*piVar5 + 0x74) < iVar6) {
      (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))();
      return 1;
    }
    piVar14 = (int *)*puVar1;
    piVar11 = piVar9 + 1;
    if (0 < iVar6) {
      iVar12 = 0;
      do {
        uVar3 = (uint)*(ushort *)(piVar11 + 3);
        if (uVar3 != 0) {
          iVar6 = *piVar14;
          if (iVar6 < (int)uVar3) {
            (*(code *)(*(int *)(puVar15 + 0x8b514) + -0x61d8))
                      (piVar5,*(int *)(puVar15 + 0x8b4dc) + -0x7f70,iVar12 + 1,pcVar10,iVar6);
            return 1;
          }
          MASKED(piVar5,piVar14,uVar3 - 1,*piVar11,pcVar10,0);
          iVar6 = *piVar9;
        }
        iVar12 = iVar12 + 1;
        piVar11 = piVar11 + 4;
      } while (iVar12 < iVar6);
      return 0;
    }
  }
  return 0;
}

