
void updateAccumulator(Parse *pParse,int regAcc,AggInfo *pAggInfo)

{
  undefined *puVar1;
  Vdbe *pVVar2;
  code *pcVar3;
  code *pcVar4;
  code *pcVar5;
  Expr *pEVar6;
  CollSeq *pCVar7;
  int iVar8;
  AggInfo_col *pAVar9;
  int iVar10;
  AggInfo_func *pAVar11;
  int iVar12;
  ExprList *pList;
  ExprList_item *pEVar13;
  int iVar14;
  uint local_40;
  int local_3c;
  
  pVVar2 = pParse->pVdbe;
  pAggInfo->directMode = '\x01';
  puVar1 = PTR_LAB_000f62d8;
  pAVar11 = pAggInfo->aFunc;
  iVar8 = 0;
  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);
  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);
  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);
  for (iVar12 = 0; iVar12 < pAggInfo->nFunc; iVar12 = iVar12 + 1) {
    pEVar6 = pAVar11->pFExpr;
    pList = (pEVar6->x).pList;
    if ((int)(pEVar6->flags << 7) < 0) {
      pEVar6 = ((pEVar6->y).pWin)->pFilter;
      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&
         (regAcc != 0)) {
        if (iVar8 == 0) {
          iVar8 = pParse->nMem + 1;
          pParse->nMem = iVar8;
        }
        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);
      }
      iVar10 = pParse->nLabel + -1;
      pParse->nLabel = iVar10;
      (*pcVar3)(pParse,pEVar6,iVar10,0x10);
    }
    else {
      iVar10 = 0;
    }
    if (pList == (ExprList *)0x0) {
      local_3c = 0;
      local_40 = 0;
    }
    else {
      local_40 = pList->nExpr;
      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);
      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');
    }
    if (-1 < pAVar11->iDistinct) {
      if (iVar10 == 0) {
        iVar10 = pParse->nLabel + -1;
        pParse->nLabel = iVar10;
      }
      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);
    }
    if ((pAVar11->pFunc->funcFlags & 0x20) != 0) {
      pEVar13 = pList->a;
      iVar14 = 0;
      do {
        if ((int)local_40 <= iVar14) {
          pCVar7 = pParse->db->pDfltColl;
          break;
        }
        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);
        iVar14 = iVar14 + 1;
        pEVar13 = pEVar13 + 1;
      } while (pCVar7 == (CollSeq *)0x0);
      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {
        iVar8 = pParse->nMem + 1;
        pParse->nMem = iVar8;
      }
      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);
    }
    (*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem);
    (*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8);
    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff);
    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40);
    if (iVar10 != 0) {
      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);
    }
    pAVar11 = pAVar11 + 1;
  }
  if (iVar8 == 0) {
    if (pAggInfo->nAccumulator == 0) {
      regAcc = 0;
      goto LAB_0009c318;
    }
    iVar8 = regAcc;
    if (regAcc == 0) goto LAB_0009c318;
  }
  regAcc = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(pVVar2,0x12,iVar8);
LAB_0009c318:
  pAVar9 = pAggInfo->aCol;
  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);
  for (iVar8 = 0; iVar8 < pAggInfo->nAccumulator; iVar8 = iVar8 + 1) {
    (*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem);
    pAVar9 = pAVar9 + 1;
  }
  pAggInfo->directMode = '\0';
  if (regAcc != 0) {
    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc);
  }
  return;
}



void FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)

{
  undefined *puVar1;
  int iVar2;
  code *pcVar3;
  code *pcVar4;
  code *pcVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int *piVar9;
  int iVar10;
  uint *puVar11;
  undefined4 uVar12;
  int iVar13;
  uint local_40;
  undefined4 local_3c;
  
  iVar2 = param_1[2];
  *param_3 = 1;
  puVar1 = PTR_LAB_000f62d8;
  piVar9 = *(int **)(param_3 + 0x28);
  iVar8 = 0;
  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);
  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);
  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);
  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {
    iVar6 = *piVar9;
    puVar11 = *(uint **)(iVar6 + 0x14);
    if (*(int *)(iVar6 + 4) << 7 < 0) {
      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);
      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&
         (param_2 != 0)) {
        if (iVar8 == 0) {
          iVar8 = param_1[0xb] + 1;
          param_1[0xb] = iVar8;
        }
        (*pcVar4)(iVar2,0x4d,param_2,iVar8);
      }
      iVar6 = param_1[0xe] + -1;
      param_1[0xe] = iVar6;
      (*pcVar3)(param_1,uVar12,iVar6,0x10);
    }
    else {
      iVar6 = 0;
    }
    if (puVar11 == (uint *)0x0) {
      local_3c = 0;
      local_40 = 0;
    }
    else {
      local_40 = *puVar11;
      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);
      FUN_00094a5c(param_1,puVar11,local_3c,0,1);
    }
    if (-1 < piVar9[3]) {
      if (iVar6 == 0) {
        iVar6 = param_1[0xe] + -1;
        param_1[0xe] = iVar6;
      }
      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);
    }
    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {
      puVar11 = puVar11 + 1;
      iVar13 = 0;
      do {
        if ((int)local_40 <= iVar13) {
          iVar7 = *(int *)(*param_1 + 8);
          break;
        }
        iVar7 = (*pcVar5)(param_1,*puVar11);
        iVar13 = iVar13 + 1;
        puVar11 = puVar11 + 4;
      } while (iVar7 == 0);
      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {
        iVar8 = param_1[0xb] + 1;
        param_1[0xb] = iVar8;
      }
      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);
    }
    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);
    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);
    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);
    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);
    if (iVar6 != 0) {
      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);
    }
    piVar9 = piVar9 + 4;
  }
  if (iVar8 == 0) {
    if (*(int *)(param_3 + 0x24) == 0) {
      param_2 = 0;
      goto LAB_0009c318;
    }
    iVar8 = param_2;
    if (param_2 == 0) goto LAB_0009c318;
  }
  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);
LAB_0009c318:
  iVar8 = *(int *)(param_3 + 0x1c);
  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);
  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {
    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));
    iVar8 = iVar8 + 0x14;
  }
  *param_3 = 0;
  if (param_2 != 0) {
    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);
  }
  return;
}


lui gp,0x6
addiu gp,gp,0x2068
addu gp,gp,t9
addiu sp,sp,-0x70
sw ra,0x6c(sp)
sw s8,0x68(sp)
sw s7,0x64(sp)
sw s6,0x60(sp)
sw s5,0x5c(sp)
sw s4,0x58(sp)
sw s3,0x54(sp)
sw s2,0x50(sp)
sw s1,0x4c(sp)
sw s0,0x48(sp)
sw gp,0x20(sp)
or s0,a0,zero
or s3,a1,zero
or s4,a2,zero
lw v0,0x8(a0)
sw v0,0x2c(sp)
li v0,0x1
sb v0,0x0(a2)
lw s5,0x28(a2)
or s1,zero,zero
or s6,zero,zero
lw v0,-0x7fac(gp)
addiu v0,v0,0x1218
sw v0,0x38(sp)
lw v0,-0x7f90(gp)
addiu v0,v0,-0x5fc0
sw v0,0x3c(sp)
lw v0,-0x7fc8(gp)
sw v0,0x40(sp)
lw v0,-0x7fb8(gp)
addiu v0,v0,-0xdac
sw v0,0x44(sp)
lw v0,0x2c(s4)
slt v0,s6,v0
bne v0,zero,0x0009c38c
_nop
bne s1,zero,0x0009c644
_nop
lw v0,0x24(s4)
beq v0,zero,0x0009c64c
_nop
beq s3,zero,0x0009c318
_nop
or a2,s3,zero
li a1,0x12
lw a0,0x2c(sp)
lw t9,-0x7f90(gp)
addiu t9,t9,-0x5ddc
jalr t9
_nop
lw gp,0x20(sp)
or s3,v0,zero
lw s1,0x1c(s4)
or s5,zero,zero
lw s2,-0x7fac(gp)
addiu s2,s2,0x3470
lw v0,0x24(s4)
slt v0,s5,v0
bne v0,zero,0x0009c654
_or a0,s0,zero
beq s3,zero,0x0009c35c
_sb zero,0x0(s4)
or a1,s3,zero
lw a0,0x2c(sp)
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x49cc
jalr t9
_nop
lw gp,0x20(sp)
lw ra,0x6c(sp)
lw s8,0x68(sp)
lw s7,0x64(sp)
lw s6,0x60(sp)
lw s5,0x5c(sp)
lw s4,0x58(sp)
lw s3,0x54(sp)
lw s2,0x50(sp)
lw s1,0x4c(sp)
lw s0,0x48(sp)
jr ra
_addiu sp,sp,0x70
lw v0,0x0(s5)
lw v1,0x4(v0)
ext v1,v1,0x18,0x1
beq v1,zero,0x0009c50c
_lw s7,0x14(v0)
lw v0,0x2c(v0)
lw s8,0x28(v0)
lw v0,0x24(s4)
beq v0,zero,0x0009c404
_nop
lw v0,0x4(s5)
lw v0,0x4(v0)
andi v0,v0,0x20
beq v0,zero,0x0009c404
_nop
beq s3,zero,0x0009c404
_nop
bne s1,zero,0x0009c3e8
_or a3,s1,zero
lw s1,0x2c(s0)
addiu s1,s1,0x1
sw s1,0x2c(s0)
or a3,s1,zero
or a2,s3,zero
li a1,0x4d
lw a0,0x2c(sp)
lw t9,0x3c(sp)
jalr t9
_nop
lw gp,0x20(sp)
lw s2,0x38(s0)
addiu s2,s2,-0x1
sw s2,0x38(s0)
li a3,0x10
or a2,s2,zero
or a1,s8,zero
or a0,s0,zero
lw t9,0x38(sp)
jalr t9
_nop
lw gp,0x20(sp)
beq s7,zero,0x0009c514
_or a0,s0,zero
lw v0,0x0(s7)
sw v0,0x30(sp)
or a1,v0,zero
lw v0,0x40(sp)
addiu t9,v0,-0x1f54
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x34(sp)
li v0,0x1
sw v0,0x10(sp)
or a3,zero,zero
lw a2,0x34(sp)
or a1,s7,zero
or a0,s0,zero
lw t9,-0x7fac(gp)
addiu t9,t9,0x4a5c
bal 0x00094a5c
_nop
lw gp,0x20(sp)
lw v0,0xc(s5)
bltz v0,0x0009c4d4
_nop
bne s2,zero,0x0009c4a8
_nop
lw s2,0x38(s0)
addiu s2,s2,-0x1
sw s2,0x38(s0)
lw a1,0xc(s5)
lw v0,0x34(sp)
sw v0,0x10(sp)
li a3,0x1
or a2,s2,zero
or a0,s0,zero
lw t9,-0x7f90(gp)
addiu t9,t9,-0x5b3c
jalr t9
_nop
lw gp,0x20(sp)
lw v0,0x4(s5)
lw v0,0x4(v0)
andi v0,v0,0x20
beq v0,zero,0x0009c590
_nop
addiu s7,s7,0x4
or s8,zero,zero
lw v0,0x30(sp)
slt v0,s8,v0
bne v0,zero,0x0009c520
_or a0,s0,zero
lw v0,0x0(s0)
b 0x0009c540
_lw v0,0x8(v0)
b 0x0009c430
_or s2,zero,zero
sw zero,0x34(sp)
b 0x0009c488
_sw zero,0x30(sp)
lw a1,0x0(s7)
lw t9,0x44(sp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s8,s8,0x1
beq v0,zero,0x0009c4f0
_addiu s7,s7,0x10
bne s1,zero,0x0009c560
_li v1,-0x2
lw s1,0x24(s4)
beq s1,zero,0x0009c560
_nop
lw s1,0x2c(s0)
addiu s1,s1,0x1
sw s1,0x2c(s0)
sw v1,0x18(sp)
sw v0,0x14(sp)
sw zero,0x10(sp)
or a3,zero,zero
or a2,s1,zero
li a1,0x51
lw a0,0x2c(sp)
lw t9,-0x7f90(gp)
addiu t9,t9,-0x4fa8
jalr t9
_nop
lw gp,0x20(sp)
lw v0,0x8(s5)
sw v0,0x10(sp)
lw a3,0x34(sp)
or a2,zero,zero
li a1,0x9a
lw a0,0x2c(sp)
lw t9,-0x7f90(gp)
addiu t9,t9,-0x6054
jalr t9
_nop
lw gp,0x20(sp)
li a2,-0x8
lw a1,0x4(s5)
lw a0,0x2c(sp)
lw t9,-0x7f9c(gp)
addiu t9,t9,-0x85c
jalr t9
_nop
lw gp,0x20(sp)
lbu a1,0x33(sp)
lw a0,0x2c(sp)
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x4ad0
jalr t9
_nop
lw gp,0x20(sp)
lw a2,0x30(sp)
lw a1,0x34(sp)
or a0,s0,zero
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x1ed4
jalr t9
_nop
lw gp,0x20(sp)
beq s2,zero,0x0009c638
_or a1,s2,zero
lw a0,0x2c(sp)
lw t9,-0x7f90(gp)
addiu t9,t9,-0x6630
jalr t9
_nop
lw gp,0x20(sp)
addiu s6,s6,0x1
b 0x0009c2c8
_addiu s5,s5,0x10
b 0x0009c2f4
_or s3,s1,zero
b 0x0009c318
_or s3,v0,zero
lw a2,0xc(s1)
lw a1,0x4(s1)
or t9,s2,zero
jalr t9
_nop
lw gp,0x20(sp)
addiu s5,s5,0x1
b 0x0009c328
_addiu s1,s1,0x14
(translation_unit "void FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)" identifier (parameter_list "(int *param_1,int param_2,undefined1 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "puVar1 = PTR_LAB_000f62d8;" (assignment_expression "puVar1 = PTR_LAB_000f62d8" identifier = identifier) ;) (expression_statement "piVar9 = *(int **)(param_3 + 0x28);" (assignment_expression "piVar9 = *(int **)(param_3 + 0x28)" identifier = (pointer_expression "*(int **)(param_3 + 0x28)" * (cast_expression "(int **)(param_3 + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218)" identifier = (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x1218)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62f4 + 0x1218)" ( (binary_expression "PTR_LAB_000f62f4 + 0x1218" identifier + number_literal) )))) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0)" identifier = (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5fc0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5fc0)" ( (binary_expression "PTR_LAB_000f6310 + -0x5fc0" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac)" identifier = (cast_expression "(code *)(PTR_LAB_000f62e8 + -0xdac)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62e8 + -0xdac)" ( (binary_expression "PTR_LAB_000f62e8 + -0xdac" identifier + number_literal) )))) ;) (for_statement "for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }" for ( (assignment_expression "iVar10 = 0" identifier = number_literal) ; (binary_expression "iVar10 < *(int *)(param_3 + 0x2c)" identifier < (pointer_expression "*(int *)(param_3 + 0x2c)" * (cast_expression "(int *)(param_3 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) ))))) ; (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ) (compound_statement "{\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }" { (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "puVar11 = *(uint **)(iVar6 + 0x14);" (assignment_expression "puVar11 = *(uint **)(iVar6 + 0x14)" identifier = (pointer_expression "*(uint **)(iVar6 + 0x14)" * (cast_expression "(uint **)(iVar6 + 0x14)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }" if (parenthesized_expression "(*(int *)(iVar6 + 4) << 7 < 0)" ( (binary_expression "*(int *)(iVar6 + 4) << 7 < 0" (binary_expression "*(int *)(iVar6 + 4) << 7" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) << number_literal) < number_literal) )) (compound_statement "{\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }" { (expression_statement "uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);" (assignment_expression "uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" * (cast_expression "(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar6 + 0x2c) + 0x28)" ( (binary_expression "*(int *)(iVar6 + 0x2c) + 0x28" (pointer_expression "*(int *)(iVar6 + 0x2c)" * (cast_expression "(int *)(iVar6 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2c)" ( (binary_expression "iVar6 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }" if (parenthesized_expression "(((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0))" ( (binary_expression "((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)" (parenthesized_expression "((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0))" ( (binary_expression "(*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" (parenthesized_expression "(*(int *)(param_3 + 0x24) != 0)" ( (binary_expression "*(int *)(param_3 + 0x24) != 0" (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" ( (binary_expression "(*(uint *)(piVar9[1] + 4) & 0x20) != 0" (parenthesized_expression "(*(uint *)(piVar9[1] + 4) & 0x20)" ( (binary_expression "*(uint *)(piVar9[1] + 4) & 0x20" (pointer_expression "*(uint *)(piVar9[1] + 4)" * (cast_expression "(uint *)(piVar9[1] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9[1] + 4)" ( (binary_expression "piVar9[1] + 4" (subscript_expression "piVar9[1]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }" { (if_statement "if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }" { (expression_statement "iVar8 = param_1[0xb] + 1;" (assignment_expression "iVar8 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar8;" (assignment_expression "param_1[0xb] = iVar8" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(*pcVar4)(iVar2,0x4d,param_2,iVar8);" (call_expression "(*pcVar4)(iVar2,0x4d,param_2,iVar8)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(iVar2,0x4d,param_2,iVar8)" ( identifier , number_literal , identifier , identifier ))) ;) })) (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" identifier = (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*pcVar3)(param_1,uVar12,iVar6,0x10);" (call_expression "(*pcVar3)(param_1,uVar12,iVar6,0x10)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_1,uVar12,iVar6,0x10)" ( identifier , identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n      iVar6 = 0;\n    }" else (compound_statement "{\n      iVar6 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (if_statement "if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" if (parenthesized_expression "(puVar11 == (uint *)0x0)" ( (binary_expression "puVar11 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_3c = 0;\n      local_40 = 0;\n    }" { (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" else (compound_statement "{\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" { (expression_statement "local_40 = *puVar11;" (assignment_expression "local_40 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);" (assignment_expression "local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40)" identifier = (call_expression "(*(code *)(puVar1 + -0x1f54))(param_1,local_40)" (parenthesized_expression "(*(code *)(puVar1 + -0x1f54))" ( (pointer_expression "*(code *)(puVar1 + -0x1f54)" * (cast_expression "(code *)(puVar1 + -0x1f54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1f54)" ( (binary_expression "puVar1 + -0x1f54" identifier + number_literal) )))) )) (argument_list "(param_1,local_40)" ( identifier , identifier )))) ;) (expression_statement "FUN_00094a5c(param_1,puVar11,local_3c,0,1);" (call_expression "FUN_00094a5c(param_1,puVar11,local_3c,0,1)" identifier (argument_list "(param_1,puVar11,local_3c,0,1)" ( identifier , identifier , identifier , number_literal , number_literal ))) ;) }))) (if_statement "if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }" if (parenthesized_expression "(-1 < piVar9[3])" ( (binary_expression "-1 < piVar9[3]" number_literal < (subscript_expression "piVar9[3]" identifier [ number_literal ])) )) (compound_statement "{\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }" { (if_statement "if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }" { (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" identifier = (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5b3c)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5b3c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5b3c)" ( (binary_expression "PTR_LAB_000f6310 + -0x5b3c" identifier + number_literal) )))) )) (argument_list "(param_1,piVar9[3],iVar6,1,local_3c)" ( identifier , (subscript_expression "piVar9[3]" identifier [ number_literal ]) , identifier , number_literal , identifier ))) ;) })) (if_statement "if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }" if (parenthesized_expression "((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" ( (binary_expression "(*(uint *)(piVar9[1] + 4) & 0x20) != 0" (parenthesized_expression "(*(uint *)(piVar9[1] + 4) & 0x20)" ( (binary_expression "*(uint *)(piVar9[1] + 4) & 0x20" (pointer_expression "*(uint *)(piVar9[1] + 4)" * (cast_expression "(uint *)(piVar9[1] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9[1] + 4)" ( (binary_expression "piVar9[1] + 4" (subscript_expression "piVar9[1]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }" { (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);" do (compound_statement "{\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      }" { (if_statement "if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }" if (parenthesized_expression "((int)local_40 <= iVar13)" ( (binary_expression "(int)local_40 <= iVar13" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }" { (expression_statement "iVar7 = *(int *)(*param_1 + 8);" (assignment_expression "iVar7 = *(int *)(*param_1 + 8)" identifier = (pointer_expression "*(int *)(*param_1 + 8)" * (cast_expression "(int *)(*param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (break_statement "break;" break ;) })) (expression_statement "iVar7 = (*pcVar5)(param_1,*puVar11);" (assignment_expression "iVar7 = (*pcVar5)(param_1,*puVar11)" identifier = (call_expression "(*pcVar5)(param_1,*puVar11)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,*puVar11)" ( identifier , (pointer_expression "*puVar11" * identifier) )))) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 4;" (assignment_expression "puVar11 = puVar11 + 4" identifier = (binary_expression "puVar11 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) ;) (if_statement "if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }" if (parenthesized_expression "((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0))" ( (binary_expression "(iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)" ( (comma_expression "iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0" (assignment_expression "iVar8 = *(int *)(param_3 + 0x24)" identifier = (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) ))))) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }" { (expression_statement "iVar8 = param_1[0xb] + 1;" (assignment_expression "iVar8 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar8;" (assignment_expression "param_1[0xb] = iVar8" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x4fa8)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x4fa8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x4fa8)" ( (binary_expression "PTR_LAB_000f6310 + -0x4fa8" identifier + number_literal) )))) )) (argument_list "(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe)" ( identifier , number_literal , identifier , number_literal , number_literal , identifier , number_literal ))) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2])" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6054)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6054)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x6054)" ( (binary_expression "PTR_LAB_000f6310 + -0x6054" identifier + number_literal) )))) )) (argument_list "(iVar2,0x9a,0,local_3c,piVar9[2])" ( identifier , number_literal , number_literal , identifier , (subscript_expression "piVar9[2]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);" (call_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))" ( (pointer_expression "*(code *)(PTR_LAB_000f6304 + -0x85c)" * (cast_expression "(code *)(PTR_LAB_000f6304 + -0x85c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6304 + -0x85c)" ( (binary_expression "PTR_LAB_000f6304 + -0x85c" identifier + number_literal) )))) )) (argument_list "(iVar2,piVar9[1],0xfffffff8)" ( identifier , (subscript_expression "piVar9[1]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x4ad0)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x4ad0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x4ad0)" ( (binary_expression "PTR_LAB_000f62d8 + -0x4ad0" identifier + number_literal) )))) )) (argument_list "(iVar2,local_40 & 0xff)" ( identifier , (binary_expression "local_40 & 0xff" identifier & number_literal) ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x1ed4)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x1ed4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x1ed4)" ( (binary_expression "PTR_LAB_000f62d8 + -0x1ed4" identifier + number_literal) )))) )) (argument_list "(param_1,local_3c,local_40)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6630)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6630)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x6630)" ( (binary_expression "PTR_LAB_000f6310 + -0x6630" identifier + number_literal) )))) )) (argument_list "(iVar2,iVar6)" ( identifier , identifier ))) ;) })) (expression_statement "piVar9 = piVar9 + 4;" (assignment_expression "piVar9 = piVar9 + 4" identifier = (binary_expression "piVar9 + 4" identifier + number_literal)) ;) })) (if_statement "if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }" { (if_statement "if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }" if (parenthesized_expression "(*(int *)(param_3 + 0x24) == 0)" ( (binary_expression "*(int *)(param_3 + 0x24) == 0" (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      param_2 = 0;\n      goto LAB_0009c318;\n    }" { (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0009c318;" goto statement_identifier ;) })) (expression_statement "iVar8 = param_2;" (assignment_expression "iVar8 = param_2" identifier = identifier) ;) (if_statement "if (param_2 == 0) goto LAB_0009c318;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0009c318;" goto statement_identifier ;)) })) (expression_statement "param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);" (assignment_expression "param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8)" identifier = (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5ddc)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5ddc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5ddc)" ( (binary_expression "PTR_LAB_000f6310 + -0x5ddc" identifier + number_literal) )))) )) (argument_list "(iVar2,0x12,iVar8)" ( identifier , number_literal , identifier )))) ;) (labeled_statement "LAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);" statement_identifier : (expression_statement "iVar8 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;)) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470)" identifier = (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x3470)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62f4 + 0x3470)" ( (binary_expression "PTR_LAB_000f62f4 + 0x3470" identifier + number_literal) )))) ;) (for_statement "for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }" for ( (assignment_expression "iVar10 = 0" identifier = number_literal) ; (binary_expression "iVar10 < *(int *)(param_3 + 0x24)" identifier < (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) ))))) ; (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ) (compound_statement "{\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }" { (expression_statement "(*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));" (call_expression "(*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc))" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar8 + 4)" * (cast_expression "(undefined4 *)(iVar8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 4)" ( (binary_expression "iVar8 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar8 + 0xc)" * (cast_expression "(undefined4 *)(iVar8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "iVar8 = iVar8 + 0x14;" (assignment_expression "iVar8 = iVar8 + 0x14" identifier = (binary_expression "iVar8 + 0x14" identifier + number_literal)) ;) })) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (if_statement "if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x49cc)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x49cc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x49cc)" ( (binary_expression "PTR_LAB_000f62d8 + -0x49cc" identifier + number_literal) )))) )) (argument_list "(iVar2,param_2)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void updateAccumulator(Parse *pParse,int regAcc,AggInfo *pAggInfo)\n\n{\n  undefined *puVar1;\n  Vdbe *pVVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  Expr *pEVar6;\n  CollSeq *pCVar7;\n  int iVar8;\n  AggInfo_col *pAVar9;\n  int iVar10;\n  AggInfo_func *pAVar11;\n  int iVar12;\n  ExprList *pList;\n  ExprList_item *pEVar13;\n  int iVar14;\n  uint local_40;\n  int local_3c;\n  \n  pVVar2 = pParse->pVdbe;\n  pAggInfo->directMode = '\x01';\n  puVar1 = PTR_LAB_000f62d8;\n  pAVar11 = pAggInfo->aFunc;\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar12 = 0; iVar12 < pAggInfo->nFunc; iVar12 = iVar12 + 1) {\n    pEVar6 = pAVar11->pFExpr;\n    pList = (pEVar6->x).pList;\n    if ((int)(pEVar6->flags << 7) < 0) {\n      pEVar6 = ((pEVar6->y).pWin)->pFilter;\n      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }\n      iVar10 = pParse->nLabel + -1;\n      pParse->nLabel = iVar10;\n      (*pcVar3)(pParse,pEVar6,iVar10,0x10);\n    }\n    else {\n      iVar10 = 0;\n    }\n    if (pList == (ExprList *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }\n    if (-1 < pAVar11->iDistinct) {\n      if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);\n    }\n    if ((pAVar11->pFunc->funcFlags & 0x20) != 0) {\n      pEVar13 = pList->a;\n      iVar14 = 0;\n      do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);\n      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40);\n    if (iVar10 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);\n    }\n    pAVar11 = pAVar11 + 1;\n  }\n  if (iVar8 == 0) {\n    if (pAggInfo->nAccumulator == 0) {\n      regAcc = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = regAcc;\n    if (regAcc == 0) goto LAB_0009c318;\n  }\n  regAcc = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(pVVar2,0x12,iVar8);\nLAB_0009c318:\n  pAVar9 = pAggInfo->aCol;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar8 = 0; iVar8 < pAggInfo->nAccumulator; iVar8 = iVar8 + 1) {\n    (*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem);\n    pAVar9 = pAVar9 + 1;\n  }\n  pAggInfo->directMode = '\0';\n  if (regAcc != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc);\n  }\n  return;\n}\n\n" (function_definition "void updateAccumulator(Parse *pParse,int regAcc,AggInfo *pAggInfo)\n\n{\n  undefined *puVar1;\n  Vdbe *pVVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  Expr *pEVar6;\n  CollSeq *pCVar7;\n  int iVar8;\n  AggInfo_col *pAVar9;\n  int iVar10;\n  AggInfo_func *pAVar11;\n  int iVar12;\n  ExprList *pList;\n  ExprList_item *pEVar13;\n  int iVar14;\n  uint local_40;\n  int local_3c;\n  \n  pVVar2 = pParse->pVdbe;\n  pAggInfo->directMode = '\x01';\n  puVar1 = PTR_LAB_000f62d8;\n  pAVar11 = pAggInfo->aFunc;\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar12 = 0; iVar12 < pAggInfo->nFunc; iVar12 = iVar12 + 1) {\n    pEVar6 = pAVar11->pFExpr;\n    pList = (pEVar6->x).pList;\n    if ((int)(pEVar6->flags << 7) < 0) {\n      pEVar6 = ((pEVar6->y).pWin)->pFilter;\n      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }\n      iVar10 = pParse->nLabel + -1;\n      pParse->nLabel = iVar10;\n      (*pcVar3)(pParse,pEVar6,iVar10,0x10);\n    }\n    else {\n      iVar10 = 0;\n    }\n    if (pList == (ExprList *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }\n    if (-1 < pAVar11->iDistinct) {\n      if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);\n    }\n    if ((pAVar11->pFunc->funcFlags & 0x20) != 0) {\n      pEVar13 = pList->a;\n      iVar14 = 0;\n      do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);\n      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40);\n    if (iVar10 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);\n    }\n    pAVar11 = pAVar11 + 1;\n  }\n  if (iVar8 == 0) {\n    if (pAggInfo->nAccumulator == 0) {\n      regAcc = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = regAcc;\n    if (regAcc == 0) goto LAB_0009c318;\n  }\n  regAcc = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(pVVar2,0x12,iVar8);\nLAB_0009c318:\n  pAVar9 = pAggInfo->aCol;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar8 = 0; iVar8 < pAggInfo->nAccumulator; iVar8 = iVar8 + 1) {\n    (*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem);\n    pAVar9 = pAVar9 + 1;\n  }\n  pAggInfo->directMode = '\0';\n  if (regAcc != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc);\n  }\n  return;\n}" primitive_type (function_declarator "updateAccumulator(Parse *pParse,int regAcc,AggInfo *pAggInfo)" identifier (parameter_list "(Parse *pParse,int regAcc,AggInfo *pAggInfo)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "int regAcc" primitive_type identifier) , (parameter_declaration "AggInfo *pAggInfo" type_identifier (pointer_declarator "*pAggInfo" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  Vdbe *pVVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  Expr *pEVar6;\n  CollSeq *pCVar7;\n  int iVar8;\n  AggInfo_col *pAVar9;\n  int iVar10;\n  AggInfo_func *pAVar11;\n  int iVar12;\n  ExprList *pList;\n  ExprList_item *pEVar13;\n  int iVar14;\n  uint local_40;\n  int local_3c;\n  \n  pVVar2 = pParse->pVdbe;\n  pAggInfo->directMode = '\x01';\n  puVar1 = PTR_LAB_000f62d8;\n  pAVar11 = pAggInfo->aFunc;\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar12 = 0; iVar12 < pAggInfo->nFunc; iVar12 = iVar12 + 1) {\n    pEVar6 = pAVar11->pFExpr;\n    pList = (pEVar6->x).pList;\n    if ((int)(pEVar6->flags << 7) < 0) {\n      pEVar6 = ((pEVar6->y).pWin)->pFilter;\n      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }\n      iVar10 = pParse->nLabel + -1;\n      pParse->nLabel = iVar10;\n      (*pcVar3)(pParse,pEVar6,iVar10,0x10);\n    }\n    else {\n      iVar10 = 0;\n    }\n    if (pList == (ExprList *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }\n    if (-1 < pAVar11->iDistinct) {\n      if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);\n    }\n    if ((pAVar11->pFunc->funcFlags & 0x20) != 0) {\n      pEVar13 = pList->a;\n      iVar14 = 0;\n      do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);\n      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40);\n    if (iVar10 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);\n    }\n    pAVar11 = pAVar11 + 1;\n  }\n  if (iVar8 == 0) {\n    if (pAggInfo->nAccumulator == 0) {\n      regAcc = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = regAcc;\n    if (regAcc == 0) goto LAB_0009c318;\n  }\n  regAcc = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(pVVar2,0x12,iVar8);\nLAB_0009c318:\n  pAVar9 = pAggInfo->aCol;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar8 = 0; iVar8 < pAggInfo->nAccumulator; iVar8 = iVar8 + 1) {\n    (*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem);\n    pAVar9 = pAVar9 + 1;\n  }\n  pAggInfo->directMode = '\0';\n  if (regAcc != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "Vdbe *pVVar2;" type_identifier (pointer_declarator "*pVVar2" * identifier) ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "Expr *pEVar6;" type_identifier (pointer_declarator "*pEVar6" * identifier) ;) (declaration "CollSeq *pCVar7;" type_identifier (pointer_declarator "*pCVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "AggInfo_col *pAVar9;" type_identifier (pointer_declarator "*pAVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "AggInfo_func *pAVar11;" type_identifier (pointer_declarator "*pAVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "ExprList *pList;" type_identifier (pointer_declarator "*pList" * identifier) ;) (declaration "ExprList_item *pEVar13;" type_identifier (pointer_declarator "*pEVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (expression_statement "pVVar2 = pParse->pVdbe;" (assignment_expression "pVVar2 = pParse->pVdbe" identifier = (field_expression "pParse->pVdbe" identifier -> field_identifier)) ;) (expression_statement "pAggInfo->directMode = '\x01';" (assignment_expression "pAggInfo->directMode = '\x01'" (field_expression "pAggInfo->directMode" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "puVar1 = PTR_LAB_000f62d8;" (assignment_expression "puVar1 = PTR_LAB_000f62d8" identifier = identifier) ;) (expression_statement "pAVar11 = pAggInfo->aFunc;" (assignment_expression "pAVar11 = pAggInfo->aFunc" identifier = (field_expression "pAggInfo->aFunc" identifier -> field_identifier)) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218)" identifier = (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x1218)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62f4 + 0x1218)" ( (binary_expression "PTR_LAB_000f62f4 + 0x1218" identifier + number_literal) )))) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0)" identifier = (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5fc0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5fc0)" ( (binary_expression "PTR_LAB_000f6310 + -0x5fc0" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac)" identifier = (cast_expression "(code *)(PTR_LAB_000f62e8 + -0xdac)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62e8 + -0xdac)" ( (binary_expression "PTR_LAB_000f62e8 + -0xdac" identifier + number_literal) )))) ;) (for_statement "for (iVar12 = 0; iVar12 < pAggInfo->nFunc; iVar12 = iVar12 + 1) {\n    pEVar6 = pAVar11->pFExpr;\n    pList = (pEVar6->x).pList;\n    if ((int)(pEVar6->flags << 7) < 0) {\n      pEVar6 = ((pEVar6->y).pWin)->pFilter;\n      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }\n      iVar10 = pParse->nLabel + -1;\n      pParse->nLabel = iVar10;\n      (*pcVar3)(pParse,pEVar6,iVar10,0x10);\n    }\n    else {\n      iVar10 = 0;\n    }\n    if (pList == (ExprList *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }\n    if (-1 < pAVar11->iDistinct) {\n      if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);\n    }\n    if ((pAVar11->pFunc->funcFlags & 0x20) != 0) {\n      pEVar13 = pList->a;\n      iVar14 = 0;\n      do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);\n      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40);\n    if (iVar10 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);\n    }\n    pAVar11 = pAVar11 + 1;\n  }" for ( (assignment_expression "iVar12 = 0" identifier = number_literal) ; (binary_expression "iVar12 < pAggInfo->nFunc" identifier < (field_expression "pAggInfo->nFunc" identifier -> field_identifier)) ; (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ) (compound_statement "{\n    pEVar6 = pAVar11->pFExpr;\n    pList = (pEVar6->x).pList;\n    if ((int)(pEVar6->flags << 7) < 0) {\n      pEVar6 = ((pEVar6->y).pWin)->pFilter;\n      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }\n      iVar10 = pParse->nLabel + -1;\n      pParse->nLabel = iVar10;\n      (*pcVar3)(pParse,pEVar6,iVar10,0x10);\n    }\n    else {\n      iVar10 = 0;\n    }\n    if (pList == (ExprList *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }\n    if (-1 < pAVar11->iDistinct) {\n      if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);\n    }\n    if ((pAVar11->pFunc->funcFlags & 0x20) != 0) {\n      pEVar13 = pList->a;\n      iVar14 = 0;\n      do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);\n      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40);\n    if (iVar10 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);\n    }\n    pAVar11 = pAVar11 + 1;\n  }" { (expression_statement "pEVar6 = pAVar11->pFExpr;" (assignment_expression "pEVar6 = pAVar11->pFExpr" identifier = (field_expression "pAVar11->pFExpr" identifier -> field_identifier)) ;) (expression_statement "pList = (pEVar6->x).pList;" (assignment_expression "pList = (pEVar6->x).pList" identifier = (field_expression "(pEVar6->x).pList" (parenthesized_expression "(pEVar6->x)" ( (field_expression "pEVar6->x" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((int)(pEVar6->flags << 7) < 0) {\n      pEVar6 = ((pEVar6->y).pWin)->pFilter;\n      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }\n      iVar10 = pParse->nLabel + -1;\n      pParse->nLabel = iVar10;\n      (*pcVar3)(pParse,pEVar6,iVar10,0x10);\n    }\n    else {\n      iVar10 = 0;\n    }" if (parenthesized_expression "((int)(pEVar6->flags << 7) < 0)" ( (binary_expression "(int)(pEVar6->flags << 7) < 0" (cast_expression "(int)(pEVar6->flags << 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pEVar6->flags << 7)" ( (binary_expression "pEVar6->flags << 7" (field_expression "pEVar6->flags" identifier -> field_identifier) << number_literal) ))) < number_literal) )) (compound_statement "{\n      pEVar6 = ((pEVar6->y).pWin)->pFilter;\n      if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }\n      iVar10 = pParse->nLabel + -1;\n      pParse->nLabel = iVar10;\n      (*pcVar3)(pParse,pEVar6,iVar10,0x10);\n    }" { (expression_statement "pEVar6 = ((pEVar6->y).pWin)->pFilter;" (assignment_expression "pEVar6 = ((pEVar6->y).pWin)->pFilter" identifier = (field_expression "((pEVar6->y).pWin)->pFilter" (parenthesized_expression "((pEVar6->y).pWin)" ( (field_expression "(pEVar6->y).pWin" (parenthesized_expression "(pEVar6->y)" ( (field_expression "pEVar6->y" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) (if_statement "if (((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }" if (parenthesized_expression "(((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0))" ( (binary_expression "((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)) &&\n         (regAcc != 0)" (parenthesized_expression "((pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0))" ( (binary_expression "(pAggInfo->nAccumulator != 0) && ((pAVar11->pFunc->funcFlags & 0x20) != 0)" (parenthesized_expression "(pAggInfo->nAccumulator != 0)" ( (binary_expression "pAggInfo->nAccumulator != 0" (field_expression "pAggInfo->nAccumulator" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "((pAVar11->pFunc->funcFlags & 0x20) != 0)" ( (binary_expression "(pAVar11->pFunc->funcFlags & 0x20) != 0" (parenthesized_expression "(pAVar11->pFunc->funcFlags & 0x20)" ( (binary_expression "pAVar11->pFunc->funcFlags & 0x20" (field_expression "pAVar11->pFunc->funcFlags" (field_expression "pAVar11->pFunc" identifier -> field_identifier) -> field_identifier) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(regAcc != 0)" ( (binary_expression "regAcc != 0" identifier != number_literal) ))) )) (compound_statement "{\n        if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }\n        (*pcVar4)(pVVar2,0x4d,regAcc,iVar8);\n      }" { (if_statement "if (iVar8 == 0) {\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar8 = pParse->nMem + 1;\n          pParse->nMem = iVar8;\n        }" { (expression_statement "iVar8 = pParse->nMem + 1;" (assignment_expression "iVar8 = pParse->nMem + 1" identifier = (binary_expression "pParse->nMem + 1" (field_expression "pParse->nMem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nMem = iVar8;" (assignment_expression "pParse->nMem = iVar8" (field_expression "pParse->nMem" identifier -> field_identifier) = identifier) ;) })) (expression_statement "(*pcVar4)(pVVar2,0x4d,regAcc,iVar8);" (call_expression "(*pcVar4)(pVVar2,0x4d,regAcc,iVar8)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(pVVar2,0x4d,regAcc,iVar8)" ( identifier , number_literal , identifier , identifier ))) ;) })) (expression_statement "iVar10 = pParse->nLabel + -1;" (assignment_expression "iVar10 = pParse->nLabel + -1" identifier = (binary_expression "pParse->nLabel + -1" (field_expression "pParse->nLabel" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nLabel = iVar10;" (assignment_expression "pParse->nLabel = iVar10" (field_expression "pParse->nLabel" identifier -> field_identifier) = identifier) ;) (expression_statement "(*pcVar3)(pParse,pEVar6,iVar10,0x10);" (call_expression "(*pcVar3)(pParse,pEVar6,iVar10,0x10)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(pParse,pEVar6,iVar10,0x10)" ( identifier , identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n      iVar10 = 0;\n    }" else (compound_statement "{\n      iVar10 = 0;\n    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }))) (if_statement "if (pList == (ExprList *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }" if (parenthesized_expression "(pList == (ExprList *)0x0)" ( (binary_expression "pList == (ExprList *)0x0" identifier == (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_3c = 0;\n      local_40 = 0;\n    }" { (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }" else (compound_statement "{\n      local_40 = pList->nExpr;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);\n      sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');\n    }" { (expression_statement "local_40 = pList->nExpr;" (assignment_expression "local_40 = pList->nExpr" identifier = (field_expression "pList->nExpr" identifier -> field_identifier)) ;) (expression_statement "local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40);" (assignment_expression "local_3c = (*(code *)(puVar1 + -0x1f54))(pParse,local_40)" identifier = (call_expression "(*(code *)(puVar1 + -0x1f54))(pParse,local_40)" (parenthesized_expression "(*(code *)(puVar1 + -0x1f54))" ( (pointer_expression "*(code *)(puVar1 + -0x1f54)" * (cast_expression "(code *)(puVar1 + -0x1f54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1f54)" ( (binary_expression "puVar1 + -0x1f54" identifier + number_literal) )))) )) (argument_list "(pParse,local_40)" ( identifier , identifier )))) ;) (expression_statement "sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01');" (call_expression "sqlite3ExprCodeExprList(pParse,pList,local_3c,0,'\x01')" identifier (argument_list "(pParse,pList,local_3c,0,'\x01')" ( identifier , identifier , identifier , number_literal , (char_literal "'\x01'" ' escape_sequence ') ))) ;) }))) (if_statement "if (-1 < pAVar11->iDistinct) {\n      if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);\n    }" if (parenthesized_expression "(-1 < pAVar11->iDistinct)" ( (binary_expression "-1 < pAVar11->iDistinct" number_literal < (field_expression "pAVar11->iDistinct" identifier -> field_identifier)) )) (compound_statement "{\n      if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);\n    }" { (if_statement "if (iVar10 == 0) {\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar10 = pParse->nLabel + -1;\n        pParse->nLabel = iVar10;\n      }" { (expression_statement "iVar10 = pParse->nLabel + -1;" (assignment_expression "iVar10 = pParse->nLabel + -1" identifier = (binary_expression "pParse->nLabel + -1" (field_expression "pParse->nLabel" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nLabel = iVar10;" (assignment_expression "pParse->nLabel = iVar10" (field_expression "pParse->nLabel" identifier -> field_identifier) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(pParse,pAVar11->iDistinct,iVar10,1,local_3c)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5b3c)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5b3c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5b3c)" ( (binary_expression "PTR_LAB_000f6310 + -0x5b3c" identifier + number_literal) )))) )) (argument_list "(pParse,pAVar11->iDistinct,iVar10,1,local_3c)" ( identifier , (field_expression "pAVar11->iDistinct" identifier -> field_identifier) , identifier , number_literal , identifier ))) ;) })) (if_statement "if ((pAVar11->pFunc->funcFlags & 0x20) != 0) {\n      pEVar13 = pList->a;\n      iVar14 = 0;\n      do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);\n      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);\n    }" if (parenthesized_expression "((pAVar11->pFunc->funcFlags & 0x20) != 0)" ( (binary_expression "(pAVar11->pFunc->funcFlags & 0x20) != 0" (parenthesized_expression "(pAVar11->pFunc->funcFlags & 0x20)" ( (binary_expression "pAVar11->pFunc->funcFlags & 0x20" (field_expression "pAVar11->pFunc->funcFlags" (field_expression "pAVar11->pFunc" identifier -> field_identifier) -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      pEVar13 = pList->a;\n      iVar14 = 0;\n      do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);\n      if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);\n    }" { (expression_statement "pEVar13 = pList->a;" (assignment_expression "pEVar13 = pList->a" identifier = (field_expression "pList->a" identifier -> field_identifier)) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (do_statement "do {\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      } while (pCVar7 == (CollSeq *)0x0);" do (compound_statement "{\n        if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }\n        pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);\n        iVar14 = iVar14 + 1;\n        pEVar13 = pEVar13 + 1;\n      }" { (if_statement "if ((int)local_40 <= iVar14) {\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }" if (parenthesized_expression "((int)local_40 <= iVar14)" ( (binary_expression "(int)local_40 <= iVar14" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n          pCVar7 = pParse->db->pDfltColl;\n          break;\n        }" { (expression_statement "pCVar7 = pParse->db->pDfltColl;" (assignment_expression "pCVar7 = pParse->db->pDfltColl" identifier = (field_expression "pParse->db->pDfltColl" (field_expression "pParse->db" identifier -> field_identifier) -> field_identifier)) ;) (break_statement "break;" break ;) })) (expression_statement "pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr);" (assignment_expression "pCVar7 = (CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr)" identifier = (cast_expression "(CollSeq *)(*pcVar5)(pParse,pEVar13->pExpr)" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar5)(pParse,pEVar13->pExpr)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(pParse,pEVar13->pExpr)" ( identifier , (field_expression "pEVar13->pExpr" identifier -> field_identifier) ))))) ;) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "pEVar13 = pEVar13 + 1;" (assignment_expression "pEVar13 = pEVar13 + 1" identifier = (binary_expression "pEVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pCVar7 == (CollSeq *)0x0)" ( (binary_expression "pCVar7 == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if ((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)) {\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }" if (parenthesized_expression "((iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0))" ( (binary_expression "(iVar8 == 0) && (iVar8 = pAggInfo->nAccumulator, iVar8 != 0)" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar8 = pAggInfo->nAccumulator, iVar8 != 0)" ( (comma_expression "iVar8 = pAggInfo->nAccumulator, iVar8 != 0" (assignment_expression "iVar8 = pAggInfo->nAccumulator" identifier = (field_expression "pAggInfo->nAccumulator" identifier -> field_identifier)) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar8 = pParse->nMem + 1;\n        pParse->nMem = iVar8;\n      }" { (expression_statement "iVar8 = pParse->nMem + 1;" (assignment_expression "iVar8 = pParse->nMem + 1" identifier = (binary_expression "pParse->nMem + 1" (field_expression "pParse->nMem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nMem = iVar8;" (assignment_expression "pParse->nMem = iVar8" (field_expression "pParse->nMem" identifier -> field_identifier) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x4fa8)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x4fa8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x4fa8)" ( (binary_expression "PTR_LAB_000f6310 + -0x4fa8" identifier + number_literal) )))) )) (argument_list "(pVVar2,0x51,iVar8,0,0,pCVar7,0xfffffffe)" ( identifier , number_literal , identifier , number_literal , number_literal , identifier , number_literal ))) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))(pVVar2,0x9a,0,local_3c,pAVar11->iMem)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6054)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6054)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x6054)" ( (binary_expression "PTR_LAB_000f6310 + -0x6054" identifier + number_literal) )))) )) (argument_list "(pVVar2,0x9a,0,local_3c,pAVar11->iMem)" ( identifier , number_literal , number_literal , identifier , (field_expression "pAVar11->iMem" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8);" (call_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))(pVVar2,pAVar11->pFunc,0xfffffff8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))" ( (pointer_expression "*(code *)(PTR_LAB_000f6304 + -0x85c)" * (cast_expression "(code *)(PTR_LAB_000f6304 + -0x85c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6304 + -0x85c)" ( (binary_expression "PTR_LAB_000f6304 + -0x85c" identifier + number_literal) )))) )) (argument_list "(pVVar2,pAVar11->pFunc,0xfffffff8)" ( identifier , (field_expression "pAVar11->pFunc" identifier -> field_identifier) , number_literal ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(pVVar2,local_40 & 0xff)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x4ad0)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x4ad0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x4ad0)" ( (binary_expression "PTR_LAB_000f62d8 + -0x4ad0" identifier + number_literal) )))) )) (argument_list "(pVVar2,local_40 & 0xff)" ( identifier , (binary_expression "local_40 & 0xff" identifier & number_literal) ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(pParse,local_3c,local_40)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x1ed4)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x1ed4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x1ed4)" ( (binary_expression "PTR_LAB_000f62d8 + -0x1ed4" identifier + number_literal) )))) )) (argument_list "(pParse,local_3c,local_40)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar10 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);\n    }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))(pVVar2,iVar10)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6630)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6630)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x6630)" ( (binary_expression "PTR_LAB_000f6310 + -0x6630" identifier + number_literal) )))) )) (argument_list "(pVVar2,iVar10)" ( identifier , identifier ))) ;) })) (expression_statement "pAVar11 = pAVar11 + 1;" (assignment_expression "pAVar11 = pAVar11 + 1" identifier = (binary_expression "pAVar11 + 1" identifier + number_literal)) ;) })) (if_statement "if (iVar8 == 0) {\n    if (pAggInfo->nAccumulator == 0) {\n      regAcc = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = regAcc;\n    if (regAcc == 0) goto LAB_0009c318;\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (pAggInfo->nAccumulator == 0) {\n      regAcc = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = regAcc;\n    if (regAcc == 0) goto LAB_0009c318;\n  }" { (if_statement "if (pAggInfo->nAccumulator == 0) {\n      regAcc = 0;\n      goto LAB_0009c318;\n    }" if (parenthesized_expression "(pAggInfo->nAccumulator == 0)" ( (binary_expression "pAggInfo->nAccumulator == 0" (field_expression "pAggInfo->nAccumulator" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      regAcc = 0;\n      goto LAB_0009c318;\n    }" { (expression_statement "regAcc = 0;" (assignment_expression "regAcc = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0009c318;" goto statement_identifier ;) })) (expression_statement "iVar8 = regAcc;" (assignment_expression "iVar8 = regAcc" identifier = identifier) ;) (if_statement "if (regAcc == 0) goto LAB_0009c318;" if (parenthesized_expression "(regAcc == 0)" ( (binary_expression "regAcc == 0" identifier == number_literal) )) (goto_statement "goto LAB_0009c318;" goto statement_identifier ;)) })) (expression_statement "regAcc = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(pVVar2,0x12,iVar8);" (assignment_expression "regAcc = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(pVVar2,0x12,iVar8)" identifier = (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))(pVVar2,0x12,iVar8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5ddc)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5ddc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5ddc)" ( (binary_expression "PTR_LAB_000f6310 + -0x5ddc" identifier + number_literal) )))) )) (argument_list "(pVVar2,0x12,iVar8)" ( identifier , number_literal , identifier )))) ;) (labeled_statement "LAB_0009c318:\n  pAVar9 = pAggInfo->aCol;" statement_identifier : (expression_statement "pAVar9 = pAggInfo->aCol;" (assignment_expression "pAVar9 = pAggInfo->aCol" identifier = (field_expression "pAggInfo->aCol" identifier -> field_identifier)) ;)) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470)" identifier = (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x3470)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62f4 + 0x3470)" ( (binary_expression "PTR_LAB_000f62f4 + 0x3470" identifier + number_literal) )))) ;) (for_statement "for (iVar8 = 0; iVar8 < pAggInfo->nAccumulator; iVar8 = iVar8 + 1) {\n    (*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem);\n    pAVar9 = pAVar9 + 1;\n  }" for ( (assignment_expression "iVar8 = 0" identifier = number_literal) ; (binary_expression "iVar8 < pAggInfo->nAccumulator" identifier < (field_expression "pAggInfo->nAccumulator" identifier -> field_identifier)) ; (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ) (compound_statement "{\n    (*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem);\n    pAVar9 = pAVar9 + 1;\n  }" { (expression_statement "(*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem);" (call_expression "(*pcVar3)(pParse,pAVar9->pCExpr,pAVar9->iMem)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(pParse,pAVar9->pCExpr,pAVar9->iMem)" ( identifier , (field_expression "pAVar9->pCExpr" identifier -> field_identifier) , (field_expression "pAVar9->iMem" identifier -> field_identifier) ))) ;) (expression_statement "pAVar9 = pAVar9 + 1;" (assignment_expression "pAVar9 = pAVar9 + 1" identifier = (binary_expression "pAVar9 + 1" identifier + number_literal)) ;) })) (expression_statement "pAggInfo->directMode = '\0';" (assignment_expression "pAggInfo->directMode = '\0'" (field_expression "pAggInfo->directMode" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (regAcc != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc);\n  }" if (parenthesized_expression "(regAcc != 0)" ( (binary_expression "regAcc != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc);\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(pVVar2,regAcc)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x49cc)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x49cc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x49cc)" ( (binary_expression "PTR_LAB_000f62d8 + -0x49cc" identifier + number_literal) )))) )) (argument_list "(pVVar2,regAcc)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)" identifier (parameter_list "(int *param_1,int param_2,undefined1 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "puVar1 = PTR_LAB_000f62d8;" (assignment_expression "puVar1 = PTR_LAB_000f62d8" identifier = identifier) ;) (expression_statement "piVar9 = *(int **)(param_3 + 0x28);" (assignment_expression "piVar9 = *(int **)(param_3 + 0x28)" identifier = (pointer_expression "*(int **)(param_3 + 0x28)" * (cast_expression "(int **)(param_3 + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218)" identifier = (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x1218)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62f4 + 0x1218)" ( (binary_expression "PTR_LAB_000f62f4 + 0x1218" identifier + number_literal) )))) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0)" identifier = (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5fc0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5fc0)" ( (binary_expression "PTR_LAB_000f6310 + -0x5fc0" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac)" identifier = (cast_expression "(code *)(PTR_LAB_000f62e8 + -0xdac)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62e8 + -0xdac)" ( (binary_expression "PTR_LAB_000f62e8 + -0xdac" identifier + number_literal) )))) ;) (for_statement "for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }" for ( (assignment_expression "iVar10 = 0" identifier = number_literal) ; (binary_expression "iVar10 < *(int *)(param_3 + 0x2c)" identifier < (pointer_expression "*(int *)(param_3 + 0x2c)" * (cast_expression "(int *)(param_3 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) ))))) ; (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ) (compound_statement "{\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }" { (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "puVar11 = *(uint **)(iVar6 + 0x14);" (assignment_expression "puVar11 = *(uint **)(iVar6 + 0x14)" identifier = (pointer_expression "*(uint **)(iVar6 + 0x14)" * (cast_expression "(uint **)(iVar6 + 0x14)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }" if (parenthesized_expression "(*(int *)(iVar6 + 4) << 7 < 0)" ( (binary_expression "*(int *)(iVar6 + 4) << 7 < 0" (binary_expression "*(int *)(iVar6 + 4) << 7" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) << number_literal) < number_literal) )) (compound_statement "{\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }" { (expression_statement "uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);" (assignment_expression "uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" * (cast_expression "(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar6 + 0x2c) + 0x28)" ( (binary_expression "*(int *)(iVar6 + 0x2c) + 0x28" (pointer_expression "*(int *)(iVar6 + 0x2c)" * (cast_expression "(int *)(iVar6 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2c)" ( (binary_expression "iVar6 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }" if (parenthesized_expression "(((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0))" ( (binary_expression "((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)" (parenthesized_expression "((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0))" ( (binary_expression "(*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" (parenthesized_expression "(*(int *)(param_3 + 0x24) != 0)" ( (binary_expression "*(int *)(param_3 + 0x24) != 0" (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" ( (binary_expression "(*(uint *)(piVar9[1] + 4) & 0x20) != 0" (parenthesized_expression "(*(uint *)(piVar9[1] + 4) & 0x20)" ( (binary_expression "*(uint *)(piVar9[1] + 4) & 0x20" (pointer_expression "*(uint *)(piVar9[1] + 4)" * (cast_expression "(uint *)(piVar9[1] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9[1] + 4)" ( (binary_expression "piVar9[1] + 4" (subscript_expression "piVar9[1]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }" { (if_statement "if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }" { (expression_statement "iVar8 = param_1[0xb] + 1;" (assignment_expression "iVar8 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar8;" (assignment_expression "param_1[0xb] = iVar8" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(*pcVar4)(iVar2,0x4d,param_2,iVar8);" (call_expression "(*pcVar4)(iVar2,0x4d,param_2,iVar8)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(iVar2,0x4d,param_2,iVar8)" ( identifier , number_literal , identifier , identifier ))) ;) })) (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" identifier = (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*pcVar3)(param_1,uVar12,iVar6,0x10);" (call_expression "(*pcVar3)(param_1,uVar12,iVar6,0x10)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_1,uVar12,iVar6,0x10)" ( identifier , identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n      iVar6 = 0;\n    }" else (compound_statement "{\n      iVar6 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (if_statement "if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" if (parenthesized_expression "(puVar11 == (uint *)0x0)" ( (binary_expression "puVar11 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_3c = 0;\n      local_40 = 0;\n    }" { (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" else (compound_statement "{\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" { (expression_statement "local_40 = *puVar11;" (assignment_expression "local_40 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);" (assignment_expression "local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40)" identifier = (call_expression "(*(code *)(puVar1 + -0x1f54))(param_1,local_40)" (parenthesized_expression "(*(code *)(puVar1 + -0x1f54))" ( (pointer_expression "*(code *)(puVar1 + -0x1f54)" * (cast_expression "(code *)(puVar1 + -0x1f54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1f54)" ( (binary_expression "puVar1 + -0x1f54" identifier + number_literal) )))) )) (argument_list "(param_1,local_40)" ( identifier , identifier )))) ;) (expression_statement "FUN_00094a5c(param_1,puVar11,local_3c,0,1);" (call_expression "FUN_00094a5c(param_1,puVar11,local_3c,0,1)" identifier (argument_list "(param_1,puVar11,local_3c,0,1)" ( identifier , identifier , identifier , number_literal , number_literal ))) ;) }))) (if_statement "if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }" if (parenthesized_expression "(-1 < piVar9[3])" ( (binary_expression "-1 < piVar9[3]" number_literal < (subscript_expression "piVar9[3]" identifier [ number_literal ])) )) (compound_statement "{\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }" { (if_statement "if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }" { (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" identifier = (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5b3c)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5b3c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5b3c)" ( (binary_expression "PTR_LAB_000f6310 + -0x5b3c" identifier + number_literal) )))) )) (argument_list "(param_1,piVar9[3],iVar6,1,local_3c)" ( identifier , (subscript_expression "piVar9[3]" identifier [ number_literal ]) , identifier , number_literal , identifier ))) ;) })) (if_statement "if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }" if (parenthesized_expression "((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" ( (binary_expression "(*(uint *)(piVar9[1] + 4) & 0x20) != 0" (parenthesized_expression "(*(uint *)(piVar9[1] + 4) & 0x20)" ( (binary_expression "*(uint *)(piVar9[1] + 4) & 0x20" (pointer_expression "*(uint *)(piVar9[1] + 4)" * (cast_expression "(uint *)(piVar9[1] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9[1] + 4)" ( (binary_expression "piVar9[1] + 4" (subscript_expression "piVar9[1]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }" { (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);" do (compound_statement "{\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      }" { (if_statement "if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }" if (parenthesized_expression "((int)local_40 <= iVar13)" ( (binary_expression "(int)local_40 <= iVar13" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }" { (expression_statement "iVar7 = *(int *)(*param_1 + 8);" (assignment_expression "iVar7 = *(int *)(*param_1 + 8)" identifier = (pointer_expression "*(int *)(*param_1 + 8)" * (cast_expression "(int *)(*param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (break_statement "break;" break ;) })) (expression_statement "iVar7 = (*pcVar5)(param_1,*puVar11);" (assignment_expression "iVar7 = (*pcVar5)(param_1,*puVar11)" identifier = (call_expression "(*pcVar5)(param_1,*puVar11)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,*puVar11)" ( identifier , (pointer_expression "*puVar11" * identifier) )))) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 4;" (assignment_expression "puVar11 = puVar11 + 4" identifier = (binary_expression "puVar11 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) ;) (if_statement "if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }" if (parenthesized_expression "((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0))" ( (binary_expression "(iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)" ( (comma_expression "iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0" (assignment_expression "iVar8 = *(int *)(param_3 + 0x24)" identifier = (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) ))))) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }" { (expression_statement "iVar8 = param_1[0xb] + 1;" (assignment_expression "iVar8 = param_1[0xb] + 1" identifier = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0xb] = iVar8;" (assignment_expression "param_1[0xb] = iVar8" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x4fa8)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x4fa8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x4fa8)" ( (binary_expression "PTR_LAB_000f6310 + -0x4fa8" identifier + number_literal) )))) )) (argument_list "(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe)" ( identifier , number_literal , identifier , number_literal , number_literal , identifier , number_literal ))) ;) })) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2])" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6054)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6054)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x6054)" ( (binary_expression "PTR_LAB_000f6310 + -0x6054" identifier + number_literal) )))) )) (argument_list "(iVar2,0x9a,0,local_3c,piVar9[2])" ( identifier , number_literal , number_literal , identifier , (subscript_expression "piVar9[2]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);" (call_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))" ( (pointer_expression "*(code *)(PTR_LAB_000f6304 + -0x85c)" * (cast_expression "(code *)(PTR_LAB_000f6304 + -0x85c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6304 + -0x85c)" ( (binary_expression "PTR_LAB_000f6304 + -0x85c" identifier + number_literal) )))) )) (argument_list "(iVar2,piVar9[1],0xfffffff8)" ( identifier , (subscript_expression "piVar9[1]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x4ad0)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x4ad0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x4ad0)" ( (binary_expression "PTR_LAB_000f62d8 + -0x4ad0" identifier + number_literal) )))) )) (argument_list "(iVar2,local_40 & 0xff)" ( identifier , (binary_expression "local_40 & 0xff" identifier & number_literal) ))) ;) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x1ed4)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x1ed4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x1ed4)" ( (binary_expression "PTR_LAB_000f62d8 + -0x1ed4" identifier + number_literal) )))) )) (argument_list "(param_1,local_3c,local_40)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6630)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6630)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x6630)" ( (binary_expression "PTR_LAB_000f6310 + -0x6630" identifier + number_literal) )))) )) (argument_list "(iVar2,iVar6)" ( identifier , identifier ))) ;) })) (expression_statement "piVar9 = piVar9 + 4;" (assignment_expression "piVar9 = piVar9 + 4" identifier = (binary_expression "piVar9 + 4" identifier + number_literal)) ;) })) (if_statement "if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }" { (if_statement "if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }" if (parenthesized_expression "(*(int *)(param_3 + 0x24) == 0)" ( (binary_expression "*(int *)(param_3 + 0x24) == 0" (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      param_2 = 0;\n      goto LAB_0009c318;\n    }" { (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0009c318;" goto statement_identifier ;) })) (expression_statement "iVar8 = param_2;" (assignment_expression "iVar8 = param_2" identifier = identifier) ;) (if_statement "if (param_2 == 0) goto LAB_0009c318;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0009c318;" goto statement_identifier ;)) })) (expression_statement "param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);" (assignment_expression "param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8)" identifier = (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))" ( (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5ddc)" * (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5ddc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f6310 + -0x5ddc)" ( (binary_expression "PTR_LAB_000f6310 + -0x5ddc" identifier + number_literal) )))) )) (argument_list "(iVar2,0x12,iVar8)" ( identifier , number_literal , identifier )))) ;) (labeled_statement "LAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);" statement_identifier : (expression_statement "iVar8 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;)) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470)" identifier = (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x3470)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62f4 + 0x3470)" ( (binary_expression "PTR_LAB_000f62f4 + 0x3470" identifier + number_literal) )))) ;) (for_statement "for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }" for ( (assignment_expression "iVar10 = 0" identifier = number_literal) ; (binary_expression "iVar10 < *(int *)(param_3 + 0x24)" identifier < (pointer_expression "*(int *)(param_3 + 0x24)" * (cast_expression "(int *)(param_3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x24)" ( (binary_expression "param_3 + 0x24" identifier + number_literal) ))))) ; (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ) (compound_statement "{\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }" { (expression_statement "(*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));" (call_expression "(*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc))" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar8 + 4)" * (cast_expression "(undefined4 *)(iVar8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 4)" ( (binary_expression "iVar8 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar8 + 0xc)" * (cast_expression "(undefined4 *)(iVar8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "iVar8 = iVar8 + 0x14;" (assignment_expression "iVar8 = iVar8 + 0x14" identifier = (binary_expression "iVar8 + 0x14" identifier + number_literal)) ;) })) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (if_statement "if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))" ( (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x49cc)" * (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x49cc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f62d8 + -0x49cc)" ( (binary_expression "PTR_LAB_000f62d8 + -0x49cc" identifier + number_literal) )))) )) (argument_list "(iVar2,param_2)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 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 ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) & LIT) )) != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT , LIT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ 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 , (subscript_expression IDENT [ LIT ]) , IDENT , LIT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( 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 == LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ 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 , LIT , IDENT , LIT , LIT , IDENT , LIT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , LIT , LIT , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , (binary_expression IDENT & LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (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 , LIT , IDENT )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0009c238(int *param_1,int param_2,undefined1 *param_3)" (identifier "FUN_0009c238") (parameter_list "(int *param_1,int param_2,undefined1 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 *param_3" (type_identifier "undefined1") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  code *pcVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  uint *puVar11;\n  undefined4 uVar12;\n  int iVar13;\n  uint local_40;\n  undefined4 local_3c;\n  \n  iVar2 = param_1[2];\n  *param_3 = 1;\n  puVar1 = PTR_LAB_000f62d8;\n  piVar9 = *(int **)(param_3 + 0x28);\n  iVar8 = 0;\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);\n  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);\n  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }\n  if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }\n  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);\nLAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);\n  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);\n  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }\n  *param_3 = 0;\n  if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "code *pcVar4;" (type_identifier "code") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "uint *puVar11;" (type_identifier "uint") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" (identifier "iVar2") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar1 = PTR_LAB_000f62d8;" (assignment_expression "puVar1 = PTR_LAB_000f62d8" (identifier "puVar1") (= "=") (identifier "PTR_LAB_000f62d8")) (; ";")) (expression_statement "piVar9 = *(int **)(param_3 + 0x28);" (assignment_expression "piVar9 = *(int **)(param_3 + 0x28)" (identifier "piVar9") (= "=") (pointer_expression "*(int **)(param_3 + 0x28)" (* "*") (cast_expression "(int **)(param_3 + 0x28)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218)" (identifier "pcVar3") (= "=") (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x1218)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f62f4 + 0x1218)" (( "(") (binary_expression "PTR_LAB_000f62f4 + 0x1218" (identifier "PTR_LAB_000f62f4") (+ "+") (number_literal "0x1218")) () ")")))) (; ";")) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0)" (identifier "pcVar4") (= "=") (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5fc0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6310 + -0x5fc0)" (( "(") (binary_expression "PTR_LAB_000f6310 + -0x5fc0" (identifier "PTR_LAB_000f6310") (+ "+") (number_literal "-0x5fc0")) () ")")))) (; ";")) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_000f62e8 + -0xdac)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f62e8 + -0xdac)" (( "(") (binary_expression "PTR_LAB_000f62e8 + -0xdac" (identifier "PTR_LAB_000f62e8") (+ "+") (number_literal "-0xdac")) () ")")))) (; ";")) (for_statement "for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }" (for "for") (( "(") (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";") (binary_expression "iVar10 < *(int *)(param_3 + 0x2c)" (identifier "iVar10") (< "<") (pointer_expression "*(int *)(param_3 + 0x2c)" (* "*") (cast_expression "(int *)(param_3 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x2c)" (( "(") (binary_expression "param_3 + 0x2c" (identifier "param_3") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";") (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n    iVar6 = *piVar9;\n    puVar11 = *(uint **)(iVar6 + 0x14);\n    if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }\n    if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }\n    if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }\n    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }\n    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);\n    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);\n    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);\n    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);\n    if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }\n    piVar9 = piVar9 + 4;\n  }" ({ "{") (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" (identifier "iVar6") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (expression_statement "puVar11 = *(uint **)(iVar6 + 0x14);" (assignment_expression "puVar11 = *(uint **)(iVar6 + 0x14)" (identifier "puVar11") (= "=") (pointer_expression "*(uint **)(iVar6 + 0x14)" (* "*") (cast_expression "(uint **)(iVar6 + 0x14)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar6 + 4) << 7 < 0) {\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }\n    else {\n      iVar6 = 0;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 4) << 7 < 0)" (( "(") (binary_expression "*(int *)(iVar6 + 4) << 7 < 0" (binary_expression "*(int *)(iVar6 + 4) << 7" (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (<< "<<") (number_literal "7")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);\n      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }\n      iVar6 = param_1[0xe] + -1;\n      param_1[0xe] = iVar6;\n      (*pcVar3)(param_1,uVar12,iVar6,0x10);\n    }" ({ "{") (expression_statement "uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);" (assignment_expression "uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" (identifier "uVar12") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar6 + 0x2c) + 0x28)" (( "(") (binary_expression "*(int *)(iVar6 + 0x2c) + 0x28" (pointer_expression "*(int *)(iVar6 + 0x2c)" (* "*") (cast_expression "(int *)(iVar6 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x2c)" (( "(") (binary_expression "iVar6 + 0x2c" (identifier "iVar6") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)) {\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }" (if "if") (parenthesized_expression "(((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0))" (( "(") (binary_expression "((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&\n         (param_2 != 0)" (parenthesized_expression "((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0))" (( "(") (binary_expression "(*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" (parenthesized_expression "(*(int *)(param_3 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x24) != 0" (pointer_expression "*(int *)(param_3 + 0x24)" (* "*") (cast_expression "(int *)(param_3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x24)" (( "(") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" (( "(") (binary_expression "(*(uint *)(piVar9[1] + 4) & 0x20) != 0" (parenthesized_expression "(*(uint *)(piVar9[1] + 4) & 0x20)" (( "(") (binary_expression "*(uint *)(piVar9[1] + 4) & 0x20" (pointer_expression "*(uint *)(piVar9[1] + 4)" (* "*") (cast_expression "(uint *)(piVar9[1] + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar9[1] + 4)" (( "(") (binary_expression "piVar9[1] + 4" (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }\n        (*pcVar4)(iVar2,0x4d,param_2,iVar8);\n      }" ({ "{") (if_statement "if (iVar8 == 0) {\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar8 = param_1[0xb] + 1;\n          param_1[0xb] = iVar8;\n        }" ({ "{") (expression_statement "iVar8 = param_1[0xb] + 1;" (assignment_expression "iVar8 = param_1[0xb] + 1" (identifier "iVar8") (= "=") (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1[0xb] = iVar8;" (assignment_expression "param_1[0xb] = iVar8" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (expression_statement "(*pcVar4)(iVar2,0x4d,param_2,iVar8);" (call_expression "(*pcVar4)(iVar2,0x4d,param_2,iVar8)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(iVar2,0x4d,param_2,iVar8)" (( "(") (identifier "iVar2") (, ",") (number_literal "0x4d") (, ",") (identifier "param_2") (, ",") (identifier "iVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" (identifier "iVar6") (= "=") (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "(*pcVar3)(param_1,uVar12,iVar6,0x10);" (call_expression "(*pcVar3)(param_1,uVar12,iVar6,0x10)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_1,uVar12,iVar6,0x10)" (( "(") (identifier "param_1") (, ",") (identifier "uVar12") (, ",") (identifier "iVar6") (, ",") (number_literal "0x10") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      iVar6 = 0;\n    }" (else "else") (compound_statement "{\n      iVar6 = 0;\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (puVar11 == (uint *)0x0) {\n      local_3c = 0;\n      local_40 = 0;\n    }\n    else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" (if "if") (parenthesized_expression "(puVar11 == (uint *)0x0)" (( "(") (binary_expression "puVar11 == (uint *)0x0" (identifier "puVar11") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_3c = 0;\n      local_40 = 0;\n    }" ({ "{") (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" (else "else") (compound_statement "{\n      local_40 = *puVar11;\n      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);\n      FUN_00094a5c(param_1,puVar11,local_3c,0,1);\n    }" ({ "{") (expression_statement "local_40 = *puVar11;" (assignment_expression "local_40 = *puVar11" (identifier "local_40") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);" (assignment_expression "local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40)" (identifier "local_3c") (= "=") (call_expression "(*(code *)(puVar1 + -0x1f54))(param_1,local_40)" (parenthesized_expression "(*(code *)(puVar1 + -0x1f54))" (( "(") (pointer_expression "*(code *)(puVar1 + -0x1f54)" (* "*") (cast_expression "(code *)(puVar1 + -0x1f54)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x1f54)" (( "(") (binary_expression "puVar1 + -0x1f54" (identifier "puVar1") (+ "+") (number_literal "-0x1f54")) () ")")))) () ")")) (argument_list "(param_1,local_40)" (( "(") (identifier "param_1") (, ",") (identifier "local_40") () ")")))) (; ";")) (expression_statement "FUN_00094a5c(param_1,puVar11,local_3c,0,1);" (call_expression "FUN_00094a5c(param_1,puVar11,local_3c,0,1)" (identifier "FUN_00094a5c") (argument_list "(param_1,puVar11,local_3c,0,1)" (( "(") (identifier "param_1") (, ",") (identifier "puVar11") (, ",") (identifier "local_3c") (, ",") (number_literal "0") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}")))) (if_statement "if (-1 < piVar9[3]) {\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }" (if "if") (parenthesized_expression "(-1 < piVar9[3])" (( "(") (binary_expression "-1 < piVar9[3]" (number_literal "-1") (< "<") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]"))) () ")")) (compound_statement "{\n      if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);\n    }" ({ "{") (if_statement "if (iVar6 == 0) {\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar6 = param_1[0xe] + -1;\n        param_1[0xe] = iVar6;\n      }" ({ "{") (expression_statement "iVar6 = param_1[0xe] + -1;" (assignment_expression "iVar6 = param_1[0xe] + -1" (identifier "iVar6") (= "=") (binary_expression "param_1[0xe] + -1" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_1[0xe] = iVar6;" (assignment_expression "param_1[0xe] = iVar6" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5b3c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5b3c)" (* "*") (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5b3c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6310 + -0x5b3c)" (( "(") (binary_expression "PTR_LAB_000f6310 + -0x5b3c" (identifier "PTR_LAB_000f6310") (+ "+") (number_literal "-0x5b3c")) () ")")))) () ")")) (argument_list "(param_1,piVar9[3],iVar6,1,local_3c)" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "iVar6") (, ",") (number_literal "1") (, ",") (identifier "local_3c") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }" (if "if") (parenthesized_expression "((*(uint *)(piVar9[1] + 4) & 0x20) != 0)" (( "(") (binary_expression "(*(uint *)(piVar9[1] + 4) & 0x20) != 0" (parenthesized_expression "(*(uint *)(piVar9[1] + 4) & 0x20)" (( "(") (binary_expression "*(uint *)(piVar9[1] + 4) & 0x20" (pointer_expression "*(uint *)(piVar9[1] + 4)" (* "*") (cast_expression "(uint *)(piVar9[1] + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar9[1] + 4)" (( "(") (binary_expression "piVar9[1] + 4" (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar11 = puVar11 + 1;\n      iVar13 = 0;\n      do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);\n      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }\n      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);\n    }" ({ "{") (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      } while (iVar7 == 0);" (do "do") (compound_statement "{\n        if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }\n        iVar7 = (*pcVar5)(param_1,*puVar11);\n        iVar13 = iVar13 + 1;\n        puVar11 = puVar11 + 4;\n      }" ({ "{") (if_statement "if ((int)local_40 <= iVar13) {\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }" (if "if") (parenthesized_expression "((int)local_40 <= iVar13)" (( "(") (binary_expression "(int)local_40 <= iVar13" (cast_expression "(int)local_40" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_40")) (<= "<=") (identifier "iVar13")) () ")")) (compound_statement "{\n          iVar7 = *(int *)(*param_1 + 8);\n          break;\n        }" ({ "{") (expression_statement "iVar7 = *(int *)(*param_1 + 8);" (assignment_expression "iVar7 = *(int *)(*param_1 + 8)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(*param_1 + 8)" (* "*") (cast_expression "(int *)(*param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar7 = (*pcVar5)(param_1,*puVar11);" (assignment_expression "iVar7 = (*pcVar5)(param_1,*puVar11)" (identifier "iVar7") (= "=") (call_expression "(*pcVar5)(param_1,*puVar11)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,*puVar11)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) () ")")))) (; ";")) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar11 = puVar11 + 4;" (assignment_expression "puVar11 = puVar11 + 4" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 4" (identifier "puVar11") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (; ";")) (if_statement "if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }" (if "if") (parenthesized_expression "((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0))" (( "(") (binary_expression "(iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)" (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)" (( "(") (comma_expression "iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0" (assignment_expression "iVar8 = *(int *)(param_3 + 0x24)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_3 + 0x24)" (* "*") (cast_expression "(int *)(param_3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x24)" (( "(") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")"))))) (, ",") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        iVar8 = param_1[0xb] + 1;\n        param_1[0xb] = iVar8;\n      }" ({ "{") (expression_statement "iVar8 = param_1[0xb] + 1;" (assignment_expression "iVar8 = param_1[0xb] + 1" (identifier "iVar8") (= "=") (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1[0xb] = iVar8;" (assignment_expression "param_1[0xb] = iVar8" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x4fa8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x4fa8)" (* "*") (cast_expression "(code *)(PTR_LAB_000f6310 + -0x4fa8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6310 + -0x4fa8)" (( "(") (binary_expression "PTR_LAB_000f6310 + -0x4fa8" (identifier "PTR_LAB_000f6310") (+ "+") (number_literal "-0x4fa8")) () ")")))) () ")")) (argument_list "(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe)" (( "(") (identifier "iVar2") (, ",") (number_literal "0x51") (, ",") (identifier "iVar8") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "iVar7") (, ",") (number_literal "0xfffffffe") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2])" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6054))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6054)" (* "*") (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6054)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6310 + -0x6054)" (( "(") (binary_expression "PTR_LAB_000f6310 + -0x6054" (identifier "PTR_LAB_000f6310") (+ "+") (number_literal "-0x6054")) () ")")))) () ")")) (argument_list "(iVar2,0x9a,0,local_3c,piVar9[2])" (( "(") (identifier "iVar2") (, ",") (number_literal "0x9a") (, ",") (number_literal "0") (, ",") (identifier "local_3c") (, ",") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);" (call_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6304 + -0x85c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f6304 + -0x85c)" (* "*") (cast_expression "(code *)(PTR_LAB_000f6304 + -0x85c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6304 + -0x85c)" (( "(") (binary_expression "PTR_LAB_000f6304 + -0x85c" (identifier "PTR_LAB_000f6304") (+ "+") (number_literal "-0x85c")) () ")")))) () ")")) (argument_list "(iVar2,piVar9[1],0xfffffff8)" (( "(") (identifier "iVar2") (, ",") (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (, ",") (number_literal "0xfffffff8") () ")"))) (; ";")) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x4ad0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x4ad0)" (* "*") (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x4ad0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f62d8 + -0x4ad0)" (( "(") (binary_expression "PTR_LAB_000f62d8 + -0x4ad0" (identifier "PTR_LAB_000f62d8") (+ "+") (number_literal "-0x4ad0")) () ")")))) () ")")) (argument_list "(iVar2,local_40 & 0xff)" (( "(") (identifier "iVar2") (, ",") (binary_expression "local_40 & 0xff" (identifier "local_40") (& "&") (number_literal "0xff")) () ")"))) (; ";")) (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x1ed4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x1ed4)" (* "*") (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x1ed4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f62d8 + -0x1ed4)" (( "(") (binary_expression "PTR_LAB_000f62d8 + -0x1ed4" (identifier "PTR_LAB_000f62d8") (+ "+") (number_literal "-0x1ed4")) () ")")))) () ")")) (argument_list "(param_1,local_3c,local_40)" (( "(") (identifier "param_1") (, ",") (identifier "local_3c") (, ",") (identifier "local_40") () ")"))) (; ";")) (if_statement "if (iVar6 != 0) {\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);\n    }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);" (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x6630))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x6630)" (* "*") (cast_expression "(code *)(PTR_LAB_000f6310 + -0x6630)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6310 + -0x6630)" (( "(") (binary_expression "PTR_LAB_000f6310 + -0x6630" (identifier "PTR_LAB_000f6310") (+ "+") (number_literal "-0x6630")) () ")")))) () ")")) (argument_list "(iVar2,iVar6)" (( "(") (identifier "iVar2") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar9 = piVar9 + 4;" (assignment_expression "piVar9 = piVar9 + 4" (identifier "piVar9") (= "=") (binary_expression "piVar9 + 4" (identifier "piVar9") (+ "+") (number_literal "4"))) (; ";")) (} "}"))) (if_statement "if (iVar8 == 0) {\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }\n    iVar8 = param_2;\n    if (param_2 == 0) goto LAB_0009c318;\n  }" ({ "{") (if_statement "if (*(int *)(param_3 + 0x24) == 0) {\n      param_2 = 0;\n      goto LAB_0009c318;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 0x24) == 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x24) == 0" (pointer_expression "*(int *)(param_3 + 0x24)" (* "*") (cast_expression "(int *)(param_3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x24)" (( "(") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_2 = 0;\n      goto LAB_0009c318;\n    }" ({ "{") (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" (identifier "param_2") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0009c318;" (goto "goto") (statement_identifier "LAB_0009c318") (; ";")) (} "}"))) (expression_statement "iVar8 = param_2;" (assignment_expression "iVar8 = param_2" (identifier "iVar8") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 == 0) goto LAB_0009c318;" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0009c318;" (goto "goto") (statement_identifier "LAB_0009c318") (; ";"))) (} "}"))) (expression_statement "param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);" (assignment_expression "param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8)" (identifier "param_2") (= "=") (call_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8)" (parenthesized_expression "(*(code *)(PTR_LAB_000f6310 + -0x5ddc))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f6310 + -0x5ddc)" (* "*") (cast_expression "(code *)(PTR_LAB_000f6310 + -0x5ddc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f6310 + -0x5ddc)" (( "(") (binary_expression "PTR_LAB_000f6310 + -0x5ddc" (identifier "PTR_LAB_000f6310") (+ "+") (number_literal "-0x5ddc")) () ")")))) () ")")) (argument_list "(iVar2,0x12,iVar8)" (( "(") (identifier "iVar2") (, ",") (number_literal "0x12") (, ",") (identifier "iVar8") () ")")))) (; ";")) (labeled_statement "LAB_0009c318:\n  iVar8 = *(int *)(param_3 + 0x1c);" (statement_identifier "LAB_0009c318") (: ":") (expression_statement "iVar8 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar8 = *(int *)(param_3 + 0x1c)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";"))) (expression_statement "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470)" (identifier "pcVar3") (= "=") (cast_expression "(code *)(PTR_LAB_000f62f4 + 0x3470)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f62f4 + 0x3470)" (( "(") (binary_expression "PTR_LAB_000f62f4 + 0x3470" (identifier "PTR_LAB_000f62f4") (+ "+") (number_literal "0x3470")) () ")")))) (; ";")) (for_statement "for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }" (for "for") (( "(") (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";") (binary_expression "iVar10 < *(int *)(param_3 + 0x24)" (identifier "iVar10") (< "<") (pointer_expression "*(int *)(param_3 + 0x24)" (* "*") (cast_expression "(int *)(param_3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x24)" (( "(") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")"))))) (; ";") (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));\n    iVar8 = iVar8 + 0x14;\n  }" ({ "{") (expression_statement "(*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));" (call_expression "(*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc))" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(iVar8 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar8 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 4)" (( "(") (binary_expression "iVar8 + 4" (identifier "iVar8") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar8 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar8 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0xc)" (( "(") (binary_expression "iVar8 + 0xc" (identifier "iVar8") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar8 = iVar8 + 0x14;" (assignment_expression "iVar8 = iVar8 + 0x14" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 0x14" (identifier "iVar8") (+ "+") (number_literal "0x14"))) (; ";")) (} "}"))) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_2 != 0) {\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);" (call_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f62d8 + -0x49cc))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f62d8 + -0x49cc)" (* "*") (cast_expression "(code *)(PTR_LAB_000f62d8 + -0x49cc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f62d8 + -0x49cc)" (( "(") (binary_expression "PTR_LAB_000f62d8 + -0x49cc" (identifier "PTR_LAB_000f62d8") (+ "+") (number_literal "-0x49cc")) () ")")))) () ")")) (argument_list "(iVar2,param_2)" (( "(") (identifier "iVar2") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pParse,int var_5,type_2 *pAggInfo)

{
  type_3 *var_8;
  type_4 *pVVar2;
  type_5 *pcVar3;
  type_5 *pcVar4;
  type_5 *pcVar5;
  type_6 *pEVar6;
  type_7 *var_13;
  int var_6;
  type_8 *var_18;
  int var_10;
  type_9 *var_17;
  int var_4;
  type_10 *var_7;
  type_11 *var_12;
  int var_11;
  type_12 var_16;
  int local_3c;
  
  pVVar2 = pParse->pVdbe;
  pAggInfo->directMode = '\x01';
  var_8 = var_15;
  var_17 = pAggInfo->aFunc;
  var_6 = 0;
  pcVar3 = (type_5 *)(var_1 + 0x1218);
  pcVar4 = (type_5 *)(var_2 + -0x5fc0);
  pcVar5 = (type_5 *)(var_3 + -0xdac);
  for (var_4 = 0; var_4 < pAggInfo->nFunc; var_4 = var_4 + 1) {
    pEVar6 = var_17->pFExpr;
    var_7 = (pEVar6->x).var_7;
    if ((int)(pEVar6->flags << 7) < 0) {
      pEVar6 = ((pEVar6->y).pWin)->pFilter;
      if (((pAggInfo->nAccumulator != 0) && ((var_17->pFunc->funcFlags & 0x20) != 0)) &&
         (var_5 != 0)) {
        if (var_6 == 0) {
          var_6 = pParse->nMem + 1;
          pParse->nMem = var_6;
        }
        (*pcVar4)(pVVar2,0x4d,var_5,var_6);
      }
      var_10 = pParse->nLabel + -1;
      pParse->nLabel = var_10;
      (*pcVar3)(pParse,pEVar6,var_10,0x10);
    }
    else {
      var_10 = 0;
    }
    if (var_7 == (type_10 *)0x0) {
      local_3c = 0;
      var_16 = 0;
    }
    else {
      var_16 = var_7->nExpr;
      local_3c = (*(type_5 *)(var_8 + -0x1f54))(pParse,var_16);
      var_9(pParse,var_7,local_3c,0,'\x01');
    }
    if (-1 < var_17->iDistinct) {
      if (var_10 == 0) {
        var_10 = pParse->nLabel + -1;
        pParse->nLabel = var_10;
      }
      (*(type_5 *)(var_2 + -0x5b3c))(pParse,var_17->iDistinct,var_10,1,local_3c);
    }
    if ((var_17->pFunc->funcFlags & 0x20) != 0) {
      var_12 = var_7->a;
      var_11 = 0;
      do {
        if ((int)var_16 <= var_11) {
          var_13 = pParse->db->pDfltColl;
          break;
        }
        var_13 = (type_7 *)(*pcVar5)(pParse,var_12->pExpr);
        var_11 = var_11 + 1;
        var_12 = var_12 + 1;
      } while (var_13 == (type_7 *)0x0);
      if ((var_6 == 0) && (var_6 = pAggInfo->nAccumulator, var_6 != 0)) {
        var_6 = pParse->nMem + 1;
        pParse->nMem = var_6;
      }
      (*(type_5 *)(var_2 + -0x4fa8))(pVVar2,0x51,var_6,0,0,var_13,0xfffffffe);
    }
    (*(type_5 *)(var_2 + -0x6054))(pVVar2,0x9a,0,local_3c,var_17->iMem);
    (*(type_5 *)(var_14 + -0x85c))(pVVar2,var_17->pFunc,0xfffffff8);
    (*(type_5 *)(var_15 + -0x4ad0))(pVVar2,var_16 & 0xff);
    (*(type_5 *)(var_15 + -0x1ed4))(pParse,local_3c,var_16);
    if (var_10 != 0) {
      (*(type_5 *)(var_2 + -0x6630))(pVVar2,var_10);
    }
    var_17 = var_17 + 1;
  }
  if (var_6 == 0) {
    if (pAggInfo->nAccumulator == 0) {
      var_5 = 0;
      goto LAB_0009c318;
    }
    var_6 = var_5;
    if (var_5 == 0) goto LAB_0009c318;
  }
  var_5 = (*(type_5 *)(var_2 + -0x5ddc))(pVVar2,0x12,var_6);
LAB_0009c318:
  var_18 = pAggInfo->aCol;
  pcVar3 = (type_5 *)(var_1 + 0x3470);
  for (var_6 = 0; var_6 < pAggInfo->nAccumulator; var_6 = var_6 + 1) {
    (*pcVar3)(pParse,var_18->pCExpr,var_18->iMem);
    var_18 = var_18 + 1;
  }
  pAggInfo->directMode = '\0';
  if (var_5 != 0) {
    (*(type_5 *)(var_15 + -0x49cc))(pVVar2,var_5);
  }
  return;
}


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

void MASKED(int *param_1,int param_2,undefined1 *param_3)

{
  undefined *puVar1;
  int iVar2;
  code *pcVar3;
  code *pcVar4;
  code *pcVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int *piVar9;
  int iVar10;
  uint *puVar11;
  undefined4 uVar12;
  int iVar13;
  uint local_40;
  undefined4 local_3c;
  
  iVar2 = param_1[2];
  *param_3 = 1;
  puVar1 = PTR_LAB_000f62d8;
  piVar9 = *(int **)(param_3 + 0x28);
  iVar8 = 0;
  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x1218);
  pcVar4 = (code *)(PTR_LAB_000f6310 + -0x5fc0);
  pcVar5 = (code *)(PTR_LAB_000f62e8 + -0xdac);
  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x2c); iVar10 = iVar10 + 1) {
    iVar6 = *piVar9;
    puVar11 = *(uint **)(iVar6 + 0x14);
    if (*(int *)(iVar6 + 4) << 7 < 0) {
      uVar12 = *(undefined4 *)(*(int *)(iVar6 + 0x2c) + 0x28);
      if (((*(int *)(param_3 + 0x24) != 0) && ((*(uint *)(piVar9[1] + 4) & 0x20) != 0)) &&
         (param_2 != 0)) {
        if (iVar8 == 0) {
          iVar8 = param_1[0xb] + 1;
          param_1[0xb] = iVar8;
        }
        (*pcVar4)(iVar2,0x4d,param_2,iVar8);
      }
      iVar6 = param_1[0xe] + -1;
      param_1[0xe] = iVar6;
      (*pcVar3)(param_1,uVar12,iVar6,0x10);
    }
    else {
      iVar6 = 0;
    }
    if (puVar11 == (uint *)0x0) {
      local_3c = 0;
      local_40 = 0;
    }
    else {
      local_40 = *puVar11;
      local_3c = (*(code *)(puVar1 + -0x1f54))(param_1,local_40);
      FUN_00094a5c(param_1,puVar11,local_3c,0,1);
    }
    if (-1 < piVar9[3]) {
      if (iVar6 == 0) {
        iVar6 = param_1[0xe] + -1;
        param_1[0xe] = iVar6;
      }
      (*(code *)(PTR_LAB_000f6310 + -0x5b3c))(param_1,piVar9[3],iVar6,1,local_3c);
    }
    if ((*(uint *)(piVar9[1] + 4) & 0x20) != 0) {
      puVar11 = puVar11 + 1;
      iVar13 = 0;
      do {
        if ((int)local_40 <= iVar13) {
          iVar7 = *(int *)(*param_1 + 8);
          break;
        }
        iVar7 = (*pcVar5)(param_1,*puVar11);
        iVar13 = iVar13 + 1;
        puVar11 = puVar11 + 4;
      } while (iVar7 == 0);
      if ((iVar8 == 0) && (iVar8 = *(int *)(param_3 + 0x24), iVar8 != 0)) {
        iVar8 = param_1[0xb] + 1;
        param_1[0xb] = iVar8;
      }
      (*(code *)(PTR_LAB_000f6310 + -0x4fa8))(iVar2,0x51,iVar8,0,0,iVar7,0xfffffffe);
    }
    (*(code *)(PTR_LAB_000f6310 + -0x6054))(iVar2,0x9a,0,local_3c,piVar9[2]);
    (*(code *)(PTR_LAB_000f6304 + -0x85c))(iVar2,piVar9[1],0xfffffff8);
    (*(code *)(PTR_LAB_000f62d8 + -0x4ad0))(iVar2,local_40 & 0xff);
    (*(code *)(PTR_LAB_000f62d8 + -0x1ed4))(param_1,local_3c,local_40);
    if (iVar6 != 0) {
      (*(code *)(PTR_LAB_000f6310 + -0x6630))(iVar2,iVar6);
    }
    piVar9 = piVar9 + 4;
  }
  if (iVar8 == 0) {
    if (*(int *)(param_3 + 0x24) == 0) {
      param_2 = 0;
      goto LAB_0009c318;
    }
    iVar8 = param_2;
    if (param_2 == 0) goto LAB_0009c318;
  }
  param_2 = (*(code *)(PTR_LAB_000f6310 + -0x5ddc))(iVar2,0x12,iVar8);
LAB_0009c318:
  iVar8 = *(int *)(param_3 + 0x1c);
  pcVar3 = (code *)(PTR_LAB_000f62f4 + 0x3470);
  for (iVar10 = 0; iVar10 < *(int *)(param_3 + 0x24); iVar10 = iVar10 + 1) {
    (*pcVar3)(param_1,*(undefined4 *)(iVar8 + 4),*(undefined4 *)(iVar8 + 0xc));
    iVar8 = iVar8 + 0x14;
  }
  *param_3 = 0;
  if (param_2 != 0) {
    (*(code *)(PTR_LAB_000f62d8 + -0x49cc))(iVar2,param_2);
  }
  return;
}

