
void updateFromSelect(Parse *pParse,int iEph,Index *pPk,ExprList *pChanges,SrcList *pTabList,
                     Expr *pWhere,ExprList *pOrderBy,Expr *pLimit)

{
  short sVar1;
  undefined *puVar2;
  int iVar3;
  code *pcVar4;
  code *pcVar5;
  int iVar6;
  Expr *pEVar7;
  int iVar8;
  ExprList_item *pEVar9;
  undefined4 uVar10;
  sqlite3 *psVar11;
  Table *pTVar12;
  int iVar13;
  SelectDest dest;
  
  puVar2 = PTR___stack_chk_guard_000f5568;
  psVar11 = pParse->db;
  iVar8 = *(int *)PTR___stack_chk_guard_000f5568;
  pTVar12 = pTabList->a[0].pTab;
  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(psVar11,pTabList,0);
  if (pWhere != (Expr *)0x0) {
    pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0);
  }
  if (iVar3 != 0) {
    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;
    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;
    *(undefined4 *)(iVar3 + 0x18) = 0;
  }
  if (pPk == (Index *)0x0) {
    if (pTVar12->pSelect != (Select *)0x0) {
      iVar3 = 1;
      uVar10 = 0;
      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);
      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
      while( true ) {
        if ((int)pTVar12->nCol <= iVar3 + -1) break;
        iVar8 = (*pcVar4)(pParse,0x4b,0,0);
        if (iVar8 != 0) {
          *(short *)(iVar8 + 0x20) = (short)iVar3;
        }
        iVar3 = iVar3 + 1;
        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);
      }
      FUN_0001c514();
      return;
    }
    uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0);
    (*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10);
    FUN_0001c514();
    return;
  }
  uVar10 = 0;
  pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);
  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
  for (iVar13 = 0; iVar13 < (int)(uint)pPk->nKeyCol; iVar13 = iVar13 + 1) {
    sVar1 = pPk->aiColumn[iVar13];
    iVar6 = (*pcVar4)(pParse,0x4b,0,0);
    if (iVar6 != 0) {
      *(short *)(iVar6 + 0x20) = sVar1 + 1;
    }
    uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6);
  }
  if (pChanges == (ExprList *)0x0) {
    FUN_0001c4c4();
    return;
  }
  pEVar9 = pChanges->a;
  pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);
  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
  for (iVar13 = 0; iVar13 < pChanges->nExpr; iVar13 = iVar13 + 1) {
    pEVar7 = pEVar9->pExpr;
    if (pEVar7 != (Expr *)0x0) {
      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);
    }
    uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7);
    pEVar9 = pEVar9 + 1;
  }
  iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0);
  dest.eDest = '\x0f';
  dest.zAffSdst = (char *)0x0;
  dest.iSdst = 0;
  dest.nSdst = 0;
  if (pPk == (Index *)0x0) {
    dest.iSDParm2 = 0xffffffff;
  }
  else {
    dest.iSDParm2 = (int)pPk->nKeyCol;
  }
  dest.iSDParm = iEph;
  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(pParse,iVar3,&dest);
  if (iVar3 != 0) {
    (*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1);
    FUN_0001c570();
    return;
  }
  if (iVar8 != *(int *)puVar2) {
    (*(code *)PTR___stack_chk_fail_000f5540)();
  }
  return;
}



void FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,
                 int param_6)

{
  short sVar1;
  undefined *puVar2;
  int iVar3;
  code *pcVar4;
  code *pcVar5;
  int iVar6;
  int iVar7;
  int *piVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  int iVar11;
  char cVar12;
  char local_48 [4];
  undefined4 local_44;
  uint local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  int local_2c;
  
  puVar2 = PTR___stack_chk_guard_000f5568;
  uVar10 = *param_1;
  local_2c = *(int *)PTR___stack_chk_guard_000f5568;
  iVar11 = *(int *)(param_5 + 0x18);
  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);
  if (param_6 != 0) {
    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);
  }
  if (iVar3 != 0) {
    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;
    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;
    *(undefined4 *)(iVar3 + 0x18) = 0;
  }
  if (param_3 == 0) {
    if (*(int *)(iVar11 + 0xc) == 0) {
      iVar11 = *(int *)(iVar11 + 0x38);
      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);
      cVar12 = (iVar11 == 0) + '\x0e';
      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);
    }
    else {
      uVar9 = 0;
      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);
      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {
        iVar7 = (*pcVar4)(param_1,0x4b,0,0);
        if (iVar7 != 0) {
          *(short *)(iVar7 + 0x20) = (short)iVar6;
        }
        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);
      }
      cVar12 = '\x0e';
    }
    if (param_4 == (int *)0x0) {
      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);
      local_40 = 0xffffffff;
      local_48[0] = cVar12;
      goto LAB_0001c480;
    }
LAB_0001c38c:
    piVar8 = param_4 + 1;
    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);
    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {
      iVar6 = *piVar8;
      if (iVar6 != 0) {
        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);
      }
      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);
      piVar8 = piVar8 + 4;
    }
    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);
    local_48[0] = cVar12;
    if (param_3 == 0) {
      local_40 = 0xffffffff;
      goto LAB_0001c480;
    }
  }
  else {
    uVar9 = 0;
    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);
    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {
      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);
      iVar6 = (*pcVar4)(param_1,0x4b,0,0);
      if (iVar6 != 0) {
        *(short *)(iVar6 + 0x20) = sVar1 + 1;
      }
      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);
    }
    cVar12 = '\x0f';
    if (param_4 != (int *)0x0) goto LAB_0001c38c;
    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);
    local_48[0] = '\x0f';
  }
  local_40 = (uint)*(ushort *)(param_3 + 0x32);
LAB_0001c480:
  local_34 = 0;
  local_38 = 0;
  local_3c = 0;
  local_44 = param_2;
  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);
  if (iVar3 != 0) {
    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);
  }
  if (local_2c != *(int *)puVar2) {
    (*(code *)PTR___stack_chk_fail_000f5540)();
  }
  return;
}


lui gp,0xe
addiu gp,gp,0x1174
addu gp,gp,t9
addiu sp,sp,-0x90
lw t9,-0x7fa4(gp)
lw v0,0xa0(sp)
addiu t9,t9,-0x683c
sw s4,0x78(sp)
sw s5,0x7c(sp)
lw s4,-0x7d38(gp)
lw s5,0x0(a0)
sw s3,0x74(sp)
or s3,a2,zero
sw s2,0x70(sp)
or a2,zero,zero
sw gp,0x28(sp)
sw s8,0x88(sp)
sw s7,0x84(sp)
or s7,a1,zero
sw s6,0x80(sp)
or a1,v0,zero
sw s1,0x6c(sp)
or s6,a3,zero
sw s0,0x68(sp)
or s0,a0,zero
sw ra,0x8c(sp)
or a0,s5,zero
lw v1,0x0(s4)
lw s2,0xa4(sp)
lw s8,0x18(v0)
sw v1,0x64(sp)
jalr t9
_nop
lw gp,0x28(sp)
or s1,v0,zero
beq s2,zero,0x0001c1e4
_sw s4,0x34(sp)
lw t9,-0x7fa4(gp)
or a3,zero,zero
or a2,zero,zero
or a1,s2,zero
addiu t9,t9,-0x7698
jalr t9
_or a0,s5,zero
lw gp,0x28(sp)
or s2,v0,zero
beq s1,zero,0x0001c204
_li v0,-0x1
lw v1,0x18(s1)
sw v0,0x30(s1)
lw v0,0x20(v1)
addiu v0,v0,-0x1
sw v0,0x20(v1)
sw zero,0x18(s1)
beq s3,zero,0x0001c2a4
_lw v0,-0x7fa0(gp)
or s4,zero,zero
or s8,zero,zero
addiu v0,v0,-0x5d30
sw v0,0x38(sp)
lw v0,-0x7f94(gp)
addiu v0,v0,0x59e4
sw v0,0x3c(sp)
lhu v0,0x32(s3)
slt v0,s8,v0
beq v0,zero,0x0001c294
_sll v0,s8,0x1
lw a0,0x4(s3)
lw t9,0x38(sp)
or a3,zero,zero
or a2,zero,zero
addu v0,a0,v0
li a1,0x4b
or a0,s0,zero
lh t1,0x0(v0)
jalr t9
_sw t1,0x40(sp)
beq v0,zero,0x0001c270
_lw t1,0x40(sp)
addiu t1,t1,0x1
sh t1,0x20(v0)
lw a0,0x0(s0)
or a1,s4,zero
lw t9,0x3c(sp)
or a2,v0,zero
jalr t9
_addiu s8,s8,0x1
lw gp,0x28(sp)
b 0x0001c228
_or s4,v0,zero
bne s6,zero,0x0001c38c
_li s8,0xf
b 0x0001c4c4
_lw t9,-0x7f94(gp)
lw v0,0xc(s8)
beq v0,zero,0x0001c33c
_lw v0,-0x7fa0(gp)
li t0,0x1
or s4,zero,zero
addiu v0,v0,-0x5d30
sw v0,0x38(sp)
lw v0,-0x7f94(gp)
addiu v0,v0,0x59e4
sw v0,0x3c(sp)
lh v0,0x2a(s8)
addiu a0,t0,-0x1
slt v0,a0,v0
beq v0,zero,0x0001c334
_lw t9,0x38(sp)
or a3,zero,zero
or a2,zero,zero
sw t0,0x40(sp)
li a1,0x4b
jalr t9
_or a0,s0,zero
beq v0,zero,0x0001c304
_lw t0,0x40(sp)
sh t0,0x20(v0)
addiu t0,t0,0x1
lw a0,0x0(s0)
lw t9,0x3c(sp)
or a1,s4,zero
sw t0,0x40(sp)
or a2,v0,zero
jalr t9
_sw t0,0x44(sp)
lw gp,0x28(sp)
or s4,v0,zero
b 0x0001c2cc
_lw t0,0x40(sp)
b 0x0001c514
_li s8,0xe
lw t9,-0x7fa0(gp)
or a3,zero,zero
or a2,zero,zero
lw s8,0x38(s8)
li a1,0x4b
addiu t9,t9,-0x5d30
jalr t9
_or a0,s0,zero
or a1,zero,zero
lw gp,0x28(sp)
or a2,v0,zero
lw a0,0x0(s0)
sltiu s8,s8,0x1
lw t9,-0x7f94(gp)
addiu t9,t9,0x59e4
jalr t9
_addiu s8,s8,0xe
lw gp,0x28(sp)
b 0x0001c514
_or s4,v0,zero
lw v0,-0x7fa4(gp)
addiu t1,s6,0x4
or t0,zero,zero
addiu v0,v0,-0x7698
sw v0,0x38(sp)
lw v0,-0x7f94(gp)
addiu v0,v0,0x59e4
sw v0,0x3c(sp)
lw v0,0x0(s6)
slt v0,t0,v0
beq v0,zero,0x0001c424
_lw t9,-0x7f94(gp)
lw v0,0x0(t1)
beq v0,zero,0x0001c3ec
_lw t9,0x38(sp)
or a3,zero,zero
or a2,zero,zero
sw t1,0x44(sp)
sw t0,0x40(sp)
or a1,v0,zero
jalr t9
_or a0,s5,zero
lw t1,0x44(sp)
lw t0,0x40(sp)
addiu t0,t0,0x1
lw a0,0x0(s0)
lw t9,0x3c(sp)
or a1,s4,zero
sw t1,0x44(sp)
or a2,v0,zero
jalr t9
_sw t0,0x40(sp)
lw t1,0x44(sp)
or s4,v0,zero
lw gp,0x28(sp)
lw t0,0x40(sp)
b 0x0001c3ac
_addiu t1,t1,0x10
lui v0,0x82
or a2,s1,zero
sw zero,0x20(sp)
or a3,s2,zero
sw v0,0x1c(sp)
addiu t9,t9,0x6fe8
sw zero,0x18(sp)
sw zero,0x14(sp)
or a1,s4,zero
sw zero,0x10(sp)
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
or s1,v0,zero
sb s8,0x48(sp)
sw s7,0x4c(sp)
sw zero,0x5c(sp)
sw zero,0x54(sp)
beq s3,zero,0x0001c47c
_sw zero,0x58(sp)
b 0x0001c480
_lhu v1,0x32(s3)
li v1,-0x1
lw t9,-0x7f98(gp)
addiu a2,sp,0x48
or a1,s1,zero
sw v1,0x50(sp)
addiu t9,t9,-0x19e0
jalr t9
_or a0,s0,zero
beq s1,zero,0x0001c570
_lw gp,0x28(sp)
lw t9,-0x7f94(gp)
li a2,0x1
or a1,s1,zero
addiu t9,t9,0x37a0
jalr t9
_or a0,s5,zero
b 0x0001c570
_lw gp,0x28(sp)
lui v0,0x82
or a2,s1,zero
sw zero,0x20(sp)
or a3,s2,zero
sw v0,0x1c(sp)
addiu t9,t9,0x6fe8
sw zero,0x18(sp)
sw zero,0x14(sp)
or a1,s4,zero
sw zero,0x10(sp)
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
or s1,v0,zero
sb s8,0x48(sp)
sw s7,0x4c(sp)
sw zero,0x5c(sp)
sw zero,0x54(sp)
b 0x0001c474
_sw zero,0x58(sp)
bne s6,zero,0x0001c38c
_lw t9,-0x7f94(gp)
lui v0,0x82
or a2,s1,zero
sw zero,0x20(sp)
or a3,s2,zero
sw v0,0x1c(sp)
addiu t9,t9,0x6fe8
sw zero,0x18(sp)
sw zero,0x14(sp)
or a1,s4,zero
sw zero,0x10(sp)
jalr t9
_or a0,s0,zero
li v1,-0x1
lw gp,0x28(sp)
or s1,v0,zero
sb s8,0x48(sp)
sw s7,0x4c(sp)
sw zero,0x5c(sp)
sw zero,0x54(sp)
b 0x0001c480
_sw zero,0x58(sp)
lw v0,0x34(sp)
lw v1,0x64(sp)
lw v0,0x0(v0)
beq v1,v0,0x0001c590
_lw ra,0x8c(sp)
lw t9,-0x7d60(gp)
jalr t9
_nop
lw s8,0x88(sp)
lw s7,0x84(sp)
lw s6,0x80(sp)
lw s5,0x7c(sp)
lw s4,0x78(sp)
lw s3,0x74(sp)
lw s2,0x70(sp)
lw s1,0x6c(sp)
lw s0,0x68(sp)
jr ra
_addiu sp,sp,0x90
(translation_unit "void FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)\n\n{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)\n\n{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type 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 *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "char local_48 [4];" primitive_type (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "uVar10 = *param_1;" (assignment_expression "uVar10 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000f5568" * (cast_expression "(int *)PTR___stack_chk_guard_000f5568" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar11 = *(int *)(param_5 + 0x18);" (assignment_expression "iVar11 = *(int *)(param_5 + 0x18)" identifier = (pointer_expression "*(int *)(param_5 + 0x18)" * (cast_expression "(int *)(param_5 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x18)" ( (binary_expression "param_5 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))" ( (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x683c)" * (cast_expression "(code *)(PTR_LAB_000f52fc + -0x683c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x683c)" ( (binary_expression "PTR_LAB_000f52fc + -0x683c" identifier + number_literal) )))) )) (argument_list "(uVar10,param_5,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }" { (expression_statement "param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);" (assignment_expression "param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))" ( (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x7698)" * (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" ( (binary_expression "PTR_LAB_000f52fc + -0x7698" identifier + number_literal) )))) )) (argument_list "(uVar10,param_6,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) })) (if_statement "if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" { (expression_statement "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" * (cast_expression "(undefined4 *)(iVar3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;" (assignment_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" ( (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) + number_literal) )))) = (binary_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" ( (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) + number_literal) )))) + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x18)" * (cast_expression "(undefined4 *)(iVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }" { (if_statement "if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" if (parenthesized_expression "(*(int *)(iVar11 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar11 + 0xc) == 0" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }" { (expression_statement "iVar11 = *(int *)(iVar11 + 0x38);" (assignment_expression "iVar11 = *(int *)(iVar11 + 0x38)" identifier = (pointer_expression "*(int *)(iVar11 + 0x38)" * (cast_expression "(int *)(iVar11 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x38)" ( (binary_expression "iVar11 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);" (assignment_expression "uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0)" identifier = (call_expression "(*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0)" (parenthesized_expression "(*(code *)(PTR_FUN_000f5300 + -0x5d30))" ( (pointer_expression "*(code *)(PTR_FUN_000f5300 + -0x5d30)" * (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" ( (binary_expression "PTR_FUN_000f5300 + -0x5d30" identifier + number_literal) )))) )) (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "cVar12 = (iVar11 == 0) + '\x0e';" (assignment_expression "cVar12 = (iVar11 == 0) + '\x0e'" identifier = (binary_expression "(iVar11 == 0) + '\x0e'" (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) + (char_literal "'\x0e'" ' escape_sequence '))) ;) (expression_statement "uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);" (assignment_expression "uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x59e4)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) )) (argument_list "(*param_1,0,uVar9)" ( (pointer_expression "*param_1" * identifier) , number_literal , identifier )))) ;) }) (else_clause "else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" else (compound_statement "{\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30)" identifier = (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" ( (binary_expression "PTR_FUN_000f5300 + -0x5d30" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }" for ( (assignment_expression "iVar6 = 1" identifier = number_literal) ; (binary_expression "iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a)" (binary_expression "iVar6 + -1" identifier + number_literal) < (cast_expression "(int)*(short *)(iVar11 + 0x2a)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar11 + 0x2a)" * (cast_expression "(short *)(iVar11 + 0x2a)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x2a)" ( (binary_expression "iVar11 + 0x2a" identifier + number_literal) )))))) ; (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ) (compound_statement "{\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }" { (expression_statement "iVar7 = (*pcVar4)(param_1,0x4b,0,0);" (assignment_expression "iVar7 = (*pcVar4)(param_1,0x4b,0,0)" identifier = (call_expression "(*pcVar4)(param_1,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }" { (expression_statement "*(short *)(iVar7 + 0x20) = (short)iVar6;" (assignment_expression "*(short *)(iVar7 + 0x20) = (short)iVar6" (pointer_expression "*(short *)(iVar7 + 0x20)" * (cast_expression "(short *)(iVar7 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) = (cast_expression "(short)iVar6" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar7)" identifier = (call_expression "(*pcVar5)(*param_1,uVar9,iVar7)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*param_1,uVar9,iVar7)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) })) (expression_statement "cVar12 = '\x0e';" (assignment_expression "cVar12 = '\x0e'" identifier = (char_literal "'\x0e'" ' escape_sequence ')) ;) }))) (if_statement "if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }" if (parenthesized_expression "(param_4 == (int *)0x0)" ( (binary_expression "param_4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }" { (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" ( (binary_expression "PTR_LAB_000f530c + 0x6fe8" identifier + number_literal) )))) )) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "local_40 = 0xffffffff;" (assignment_expression "local_40 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_48[0] = cVar12;" (assignment_expression "local_48[0] = cVar12" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001c480;" goto statement_identifier ;) })) (labeled_statement "LAB_0001c38c:\n    piVar8 = param_4 + 1;" statement_identifier : (expression_statement "piVar8 = param_4 + 1;" (assignment_expression "piVar8 = param_4 + 1" identifier = (binary_expression "param_4 + 1" identifier + number_literal)) ;)) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698)" identifier = (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" ( (binary_expression "PTR_LAB_000f52fc + -0x7698" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }" for ( (assignment_expression "iVar11 = 0" identifier = number_literal) ; (binary_expression "iVar11 < *param_4" identifier < (pointer_expression "*param_4" * identifier)) ; (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ) (compound_statement "{\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }" { (expression_statement "iVar6 = *piVar8;" (assignment_expression "iVar6 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }" { (expression_statement "iVar6 = (*pcVar4)(uVar10,iVar6,0,0);" (assignment_expression "iVar6 = (*pcVar4)(uVar10,iVar6,0,0)" identifier = (call_expression "(*pcVar4)(uVar10,iVar6,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(uVar10,iVar6,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) })) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6)" identifier = (call_expression "(*pcVar5)(*param_1,uVar9,iVar6)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*param_1,uVar9,iVar6)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) (expression_statement "piVar8 = piVar8 + 4;" (assignment_expression "piVar8 = piVar8 + 4" identifier = (binary_expression "piVar8 + 4" identifier + number_literal)) ;) })) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" ( (binary_expression "PTR_LAB_000f530c + 0x6fe8" identifier + number_literal) )))) )) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "local_48[0] = cVar12;" (assignment_expression "local_48[0] = cVar12" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }" { (expression_statement "local_40 = 0xffffffff;" (assignment_expression "local_40 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001c480;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" else (compound_statement "{\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30)" identifier = (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" ( (binary_expression "PTR_FUN_000f5300 + -0x5d30" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }" for ( (assignment_expression "iVar11 = 0" identifier = number_literal) ; (binary_expression "iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32)" identifier < (binary_expression "(int)(uint)*(ushort *)(param_3 + 0x32)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(ushort *)(param_3 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x32)" ( (binary_expression "param_3 + 0x32" identifier + number_literal) ))))) ; (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ) (compound_statement "{\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }" { (expression_statement "sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);" (assignment_expression "sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" identifier = (pointer_expression "*(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" * (cast_expression "(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 4) + iVar11 * 2)" ( (binary_expression "*(int *)(param_3 + 4) + iVar11 * 2" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + (binary_expression "iVar11 * 2" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = (*pcVar4)(param_1,0x4b,0,0);" (assignment_expression "iVar6 = (*pcVar4)(param_1,0x4b,0,0)" identifier = (call_expression "(*pcVar4)(param_1,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }" { (expression_statement "*(short *)(iVar6 + 0x20) = sVar1 + 1;" (assignment_expression "*(short *)(iVar6 + 0x20) = sVar1 + 1" (pointer_expression "*(short *)(iVar6 + 0x20)" * (cast_expression "(short *)(iVar6 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) )))) = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6)" identifier = (call_expression "(*pcVar5)(*param_1,uVar9,iVar6)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*param_1,uVar9,iVar6)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) })) (expression_statement "cVar12 = '\x0f';" (assignment_expression "cVar12 = '\x0f'" identifier = (char_literal "'\x0f'" ' escape_sequence ')) ;) (if_statement "if (param_4 != (int *)0x0) goto LAB_0001c38c;" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001c38c;" goto statement_identifier ;)) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" ( (binary_expression "PTR_LAB_000f530c + 0x6fe8" identifier + number_literal) )))) )) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "local_48[0] = '\x0f';" (assignment_expression "local_48[0] = '\x0f'" (subscript_expression "local_48[0]" identifier [ number_literal ]) = (char_literal "'\x0f'" ' escape_sequence ')) ;) }))) (expression_statement "local_40 = (uint)*(ushort *)(param_3 + 0x32);" (assignment_expression "local_40 = (uint)*(ushort *)(param_3 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_3 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x32)" ( (binary_expression "param_3 + 0x32" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001c480:\n  local_34 = 0;" statement_identifier : (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;)) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_44 = param_2;" (assignment_expression "local_44 = param_2" identifier = identifier) ;) (expression_statement "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);" (call_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48)" (parenthesized_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))" ( (pointer_expression "*(code *)(PTR_LAB_000f5308 + -0x19e0)" * (cast_expression "(code *)(PTR_LAB_000f5308 + -0x19e0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f5308 + -0x19e0)" ( (binary_expression "PTR_LAB_000f5308 + -0x19e0" identifier + number_literal) )))) )) (argument_list "(param_1,iVar3,local_48)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);" (call_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x37a0)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x37a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x37a0)" ( (binary_expression "PTR_LAB_000f530c + 0x37a0" identifier + number_literal) )))) )) (argument_list "(uVar10,iVar3,1)" ( identifier , identifier , number_literal ))) ;) })) (if_statement "if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar2)" ( (binary_expression "local_2c != *(int *)puVar2" identifier != (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void updateFromSelect(Parse *pParse,int iEph,Index *pPk,ExprList *pChanges,SrcList *pTabList,\n                     Expr *pWhere,ExprList *pOrderBy,Expr *pLimit)\n\n{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  Expr *pEVar7;\n  int iVar8;\n  ExprList_item *pEVar9;\n  undefined4 uVar10;\n  sqlite3 *psVar11;\n  Table *pTVar12;\n  int iVar13;\n  SelectDest dest;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  psVar11 = pParse->db;\n  iVar8 = *(int *)PTR___stack_chk_guard_000f5568;\n  pTVar12 = pTabList->a[0].pTab;\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(psVar11,pTabList,0);\n  if (pWhere != (Expr *)0x0) {\n    pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (pPk == (Index *)0x0) {\n    if (pTVar12->pSelect != (Select *)0x0) {\n      iVar3 = 1;\n      uVar10 = 0;\n      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }\n      FUN_0001c514();\n      return;\n    }\n    uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0);\n    (*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10);\n    FUN_0001c514();\n    return;\n  }\n  uVar10 = 0;\n  pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n  for (iVar13 = 0; iVar13 < (int)(uint)pPk->nKeyCol; iVar13 = iVar13 + 1) {\n    sVar1 = pPk->aiColumn[iVar13];\n    iVar6 = (*pcVar4)(pParse,0x4b,0,0);\n    if (iVar6 != 0) {\n      *(short *)(iVar6 + 0x20) = sVar1 + 1;\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6);\n  }\n  if (pChanges == (ExprList *)0x0) {\n    FUN_0001c4c4();\n    return;\n  }\n  pEVar9 = pChanges->a;\n  pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n  for (iVar13 = 0; iVar13 < pChanges->nExpr; iVar13 = iVar13 + 1) {\n    pEVar7 = pEVar9->pExpr;\n    if (pEVar7 != (Expr *)0x0) {\n      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7);\n    pEVar9 = pEVar9 + 1;\n  }\n  iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0);\n  dest.eDest = '\x0f';\n  dest.zAffSdst = (char *)0x0;\n  dest.iSdst = 0;\n  dest.nSdst = 0;\n  if (pPk == (Index *)0x0) {\n    dest.iSDParm2 = 0xffffffff;\n  }\n  else {\n    dest.iSDParm2 = (int)pPk->nKeyCol;\n  }\n  dest.iSDParm = iEph;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(pParse,iVar3,&dest);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1);\n    FUN_0001c570();\n    return;\n  }\n  if (iVar8 != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}\n\n" (function_definition "void updateFromSelect(Parse *pParse,int iEph,Index *pPk,ExprList *pChanges,SrcList *pTabList,\n                     Expr *pWhere,ExprList *pOrderBy,Expr *pLimit)\n\n{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  Expr *pEVar7;\n  int iVar8;\n  ExprList_item *pEVar9;\n  undefined4 uVar10;\n  sqlite3 *psVar11;\n  Table *pTVar12;\n  int iVar13;\n  SelectDest dest;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  psVar11 = pParse->db;\n  iVar8 = *(int *)PTR___stack_chk_guard_000f5568;\n  pTVar12 = pTabList->a[0].pTab;\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(psVar11,pTabList,0);\n  if (pWhere != (Expr *)0x0) {\n    pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (pPk == (Index *)0x0) {\n    if (pTVar12->pSelect != (Select *)0x0) {\n      iVar3 = 1;\n      uVar10 = 0;\n      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }\n      FUN_0001c514();\n      return;\n    }\n    uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0);\n    (*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10);\n    FUN_0001c514();\n    return;\n  }\n  uVar10 = 0;\n  pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n  for (iVar13 = 0; iVar13 < (int)(uint)pPk->nKeyCol; iVar13 = iVar13 + 1) {\n    sVar1 = pPk->aiColumn[iVar13];\n    iVar6 = (*pcVar4)(pParse,0x4b,0,0);\n    if (iVar6 != 0) {\n      *(short *)(iVar6 + 0x20) = sVar1 + 1;\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6);\n  }\n  if (pChanges == (ExprList *)0x0) {\n    FUN_0001c4c4();\n    return;\n  }\n  pEVar9 = pChanges->a;\n  pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n  for (iVar13 = 0; iVar13 < pChanges->nExpr; iVar13 = iVar13 + 1) {\n    pEVar7 = pEVar9->pExpr;\n    if (pEVar7 != (Expr *)0x0) {\n      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7);\n    pEVar9 = pEVar9 + 1;\n  }\n  iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0);\n  dest.eDest = '\x0f';\n  dest.zAffSdst = (char *)0x0;\n  dest.iSdst = 0;\n  dest.nSdst = 0;\n  if (pPk == (Index *)0x0) {\n    dest.iSDParm2 = 0xffffffff;\n  }\n  else {\n    dest.iSDParm2 = (int)pPk->nKeyCol;\n  }\n  dest.iSDParm = iEph;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(pParse,iVar3,&dest);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1);\n    FUN_0001c570();\n    return;\n  }\n  if (iVar8 != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" primitive_type (function_declarator "updateFromSelect(Parse *pParse,int iEph,Index *pPk,ExprList *pChanges,SrcList *pTabList,\n                     Expr *pWhere,ExprList *pOrderBy,Expr *pLimit)" identifier (parameter_list "(Parse *pParse,int iEph,Index *pPk,ExprList *pChanges,SrcList *pTabList,\n                     Expr *pWhere,ExprList *pOrderBy,Expr *pLimit)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "int iEph" primitive_type identifier) , (parameter_declaration "Index *pPk" type_identifier (pointer_declarator "*pPk" * identifier)) , (parameter_declaration "ExprList *pChanges" type_identifier (pointer_declarator "*pChanges" * identifier)) , (parameter_declaration "SrcList *pTabList" type_identifier (pointer_declarator "*pTabList" * identifier)) , (parameter_declaration "Expr *pWhere" type_identifier (pointer_declarator "*pWhere" * identifier)) , (parameter_declaration "ExprList *pOrderBy" type_identifier (pointer_declarator "*pOrderBy" * identifier)) , (parameter_declaration "Expr *pLimit" type_identifier (pointer_declarator "*pLimit" * identifier)) ))) (compound_statement "{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  Expr *pEVar7;\n  int iVar8;\n  ExprList_item *pEVar9;\n  undefined4 uVar10;\n  sqlite3 *psVar11;\n  Table *pTVar12;\n  int iVar13;\n  SelectDest dest;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  psVar11 = pParse->db;\n  iVar8 = *(int *)PTR___stack_chk_guard_000f5568;\n  pTVar12 = pTabList->a[0].pTab;\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(psVar11,pTabList,0);\n  if (pWhere != (Expr *)0x0) {\n    pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (pPk == (Index *)0x0) {\n    if (pTVar12->pSelect != (Select *)0x0) {\n      iVar3 = 1;\n      uVar10 = 0;\n      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }\n      FUN_0001c514();\n      return;\n    }\n    uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0);\n    (*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10);\n    FUN_0001c514();\n    return;\n  }\n  uVar10 = 0;\n  pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n  for (iVar13 = 0; iVar13 < (int)(uint)pPk->nKeyCol; iVar13 = iVar13 + 1) {\n    sVar1 = pPk->aiColumn[iVar13];\n    iVar6 = (*pcVar4)(pParse,0x4b,0,0);\n    if (iVar6 != 0) {\n      *(short *)(iVar6 + 0x20) = sVar1 + 1;\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6);\n  }\n  if (pChanges == (ExprList *)0x0) {\n    FUN_0001c4c4();\n    return;\n  }\n  pEVar9 = pChanges->a;\n  pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n  pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n  for (iVar13 = 0; iVar13 < pChanges->nExpr; iVar13 = iVar13 + 1) {\n    pEVar7 = pEVar9->pExpr;\n    if (pEVar7 != (Expr *)0x0) {\n      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7);\n    pEVar9 = pEVar9 + 1;\n  }\n  iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0);\n  dest.eDest = '\x0f';\n  dest.zAffSdst = (char *)0x0;\n  dest.iSdst = 0;\n  dest.nSdst = 0;\n  if (pPk == (Index *)0x0) {\n    dest.iSDParm2 = 0xffffffff;\n  }\n  else {\n    dest.iSDParm2 = (int)pPk->nKeyCol;\n  }\n  dest.iSDParm = iEph;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(pParse,iVar3,&dest);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1);\n    FUN_0001c570();\n    return;\n  }\n  if (iVar8 != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type 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 "Expr *pEVar7;" type_identifier (pointer_declarator "*pEVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ExprList_item *pEVar9;" type_identifier (pointer_declarator "*pEVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "sqlite3 *psVar11;" type_identifier (pointer_declarator "*psVar11" * identifier) ;) (declaration "Table *pTVar12;" type_identifier (pointer_declarator "*pTVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "SelectDest dest;" type_identifier identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "psVar11 = pParse->db;" (assignment_expression "psVar11 = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (expression_statement "iVar8 = *(int *)PTR___stack_chk_guard_000f5568;" (assignment_expression "iVar8 = *(int *)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000f5568" * (cast_expression "(int *)PTR___stack_chk_guard_000f5568" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pTVar12 = pTabList->a[0].pTab;" (assignment_expression "pTVar12 = pTabList->a[0].pTab" identifier = (field_expression "pTabList->a[0].pTab" (subscript_expression "pTabList->a[0]" (field_expression "pTabList->a" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(psVar11,pTabList,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(psVar11,pTabList,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))(psVar11,pTabList,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))" ( (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x683c)" * (cast_expression "(code *)(PTR_LAB_000f52fc + -0x683c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x683c)" ( (binary_expression "PTR_LAB_000f52fc + -0x683c" identifier + number_literal) )))) )) (argument_list "(psVar11,pTabList,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (pWhere != (Expr *)0x0) {\n    pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0);\n  }" if (parenthesized_expression "(pWhere != (Expr *)0x0)" ( (binary_expression "pWhere != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0);\n  }" { (expression_statement "pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0);" (assignment_expression "pWhere = (Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0)" identifier = (cast_expression "(Expr *)(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))(psVar11,pWhere,0,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))" ( (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x7698)" * (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" ( (binary_expression "PTR_LAB_000f52fc + -0x7698" identifier + number_literal) )))) )) (argument_list "(psVar11,pWhere,0,0)" ( identifier , identifier , number_literal , number_literal ))))) ;) })) (if_statement "if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" { (expression_statement "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" * (cast_expression "(undefined4 *)(iVar3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;" (assignment_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" ( (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) + number_literal) )))) = (binary_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" ( (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) + number_literal) )))) + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x18)" * (cast_expression "(undefined4 *)(iVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (pPk == (Index *)0x0) {\n    if (pTVar12->pSelect != (Select *)0x0) {\n      iVar3 = 1;\n      uVar10 = 0;\n      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }\n      FUN_0001c514();\n      return;\n    }\n    uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0);\n    (*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10);\n    FUN_0001c514();\n    return;\n  }" if (parenthesized_expression "(pPk == (Index *)0x0)" ( (binary_expression "pPk == (Index *)0x0" identifier == (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pTVar12->pSelect != (Select *)0x0) {\n      iVar3 = 1;\n      uVar10 = 0;\n      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }\n      FUN_0001c514();\n      return;\n    }\n    uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0);\n    (*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10);\n    FUN_0001c514();\n    return;\n  }" { (if_statement "if (pTVar12->pSelect != (Select *)0x0) {\n      iVar3 = 1;\n      uVar10 = 0;\n      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }\n      FUN_0001c514();\n      return;\n    }" if (parenthesized_expression "(pTVar12->pSelect != (Select *)0x0)" ( (binary_expression "pTVar12->pSelect != (Select *)0x0" (field_expression "pTVar12->pSelect" identifier -> field_identifier) != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar3 = 1;\n      uVar10 = 0;\n      pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }\n      FUN_0001c514();\n      return;\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30)" identifier = (cast_expression "(code *)(PTR_LAB_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f5300 + -0x5d30)" ( (binary_expression "PTR_LAB_000f5300 + -0x5d30" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (while_statement "while( true ) {\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if ((int)pTVar12->nCol <= iVar3 + -1) break;\n        iVar8 = (*pcVar4)(pParse,0x4b,0,0);\n        if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }\n        iVar3 = iVar3 + 1;\n        uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);\n      }" { (if_statement "if ((int)pTVar12->nCol <= iVar3 + -1) break;" if (parenthesized_expression "((int)pTVar12->nCol <= iVar3 + -1)" ( (binary_expression "(int)pTVar12->nCol <= iVar3 + -1" (cast_expression "(int)pTVar12->nCol" ( (type_descriptor "int" primitive_type) ) (field_expression "pTVar12->nCol" identifier -> field_identifier)) <= (binary_expression "iVar3 + -1" identifier + number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = (*pcVar4)(pParse,0x4b,0,0);" (assignment_expression "iVar8 = (*pcVar4)(pParse,0x4b,0,0)" identifier = (call_expression "(*pcVar4)(pParse,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(pParse,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar8 != 0) {\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          *(short *)(iVar8 + 0x20) = (short)iVar3;\n        }" { (expression_statement "*(short *)(iVar8 + 0x20) = (short)iVar3;" (assignment_expression "*(short *)(iVar8 + 0x20) = (short)iVar3" (pointer_expression "*(short *)(iVar8 + 0x20)" * (cast_expression "(short *)(iVar8 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x20)" ( (binary_expression "iVar8 + 0x20" identifier + number_literal) )))) = (cast_expression "(short)iVar3" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8);" (assignment_expression "uVar10 = (*pcVar5)(pParse->db,uVar10,iVar8)" identifier = (call_expression "(*pcVar5)(pParse->db,uVar10,iVar8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(pParse->db,uVar10,iVar8)" ( (field_expression "pParse->db" identifier -> field_identifier) , identifier , identifier )))) ;) })) (expression_statement "FUN_0001c514();" (call_expression "FUN_0001c514()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0);" (assignment_expression "uVar10 = (*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f5300 + -0x5d30))(pParse,0x4b,0,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f5300 + -0x5d30))" ( (pointer_expression "*(code *)(PTR_LAB_000f5300 + -0x5d30)" * (cast_expression "(code *)(PTR_LAB_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f5300 + -0x5d30)" ( (binary_expression "PTR_LAB_000f5300 + -0x5d30" identifier + number_literal) )))) )) (argument_list "(pParse,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "(*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10);" (call_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))(pParse->db,0,uVar10)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x59e4)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) )) (argument_list "(pParse->db,0,uVar10)" ( (field_expression "pParse->db" identifier -> field_identifier) , number_literal , identifier ))) ;) (expression_statement "FUN_0001c514();" (call_expression "FUN_0001c514()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f5300 + -0x5d30)" identifier = (cast_expression "(code *)(PTR_LAB_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f5300 + -0x5d30)" ( (binary_expression "PTR_LAB_000f5300 + -0x5d30" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar13 = 0; iVar13 < (int)(uint)pPk->nKeyCol; iVar13 = iVar13 + 1) {\n    sVar1 = pPk->aiColumn[iVar13];\n    iVar6 = (*pcVar4)(pParse,0x4b,0,0);\n    if (iVar6 != 0) {\n      *(short *)(iVar6 + 0x20) = sVar1 + 1;\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6);\n  }" for ( (assignment_expression "iVar13 = 0" identifier = number_literal) ; (binary_expression "iVar13 < (int)(uint)pPk->nKeyCol" identifier < (cast_expression "(int)(uint)pPk->nKeyCol" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pPk->nKeyCol" ( (type_descriptor "uint" type_identifier) ) (field_expression "pPk->nKeyCol" identifier -> field_identifier)))) ; (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ) (compound_statement "{\n    sVar1 = pPk->aiColumn[iVar13];\n    iVar6 = (*pcVar4)(pParse,0x4b,0,0);\n    if (iVar6 != 0) {\n      *(short *)(iVar6 + 0x20) = sVar1 + 1;\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6);\n  }" { (expression_statement "sVar1 = pPk->aiColumn[iVar13];" (assignment_expression "sVar1 = pPk->aiColumn[iVar13]" identifier = (subscript_expression "pPk->aiColumn[iVar13]" (field_expression "pPk->aiColumn" identifier -> field_identifier) [ identifier ])) ;) (expression_statement "iVar6 = (*pcVar4)(pParse,0x4b,0,0);" (assignment_expression "iVar6 = (*pcVar4)(pParse,0x4b,0,0)" identifier = (call_expression "(*pcVar4)(pParse,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(pParse,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n      *(short *)(iVar6 + 0x20) = sVar1 + 1;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      *(short *)(iVar6 + 0x20) = sVar1 + 1;\n    }" { (expression_statement "*(short *)(iVar6 + 0x20) = sVar1 + 1;" (assignment_expression "*(short *)(iVar6 + 0x20) = sVar1 + 1" (pointer_expression "*(short *)(iVar6 + 0x20)" * (cast_expression "(short *)(iVar6 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) )))) = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6);" (assignment_expression "uVar10 = (*pcVar5)(pParse->db,uVar10,iVar6)" identifier = (call_expression "(*pcVar5)(pParse->db,uVar10,iVar6)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(pParse->db,uVar10,iVar6)" ( (field_expression "pParse->db" identifier -> field_identifier) , identifier , identifier )))) ;) })) (if_statement "if (pChanges == (ExprList *)0x0) {\n    FUN_0001c4c4();\n    return;\n  }" if (parenthesized_expression "(pChanges == (ExprList *)0x0)" ( (binary_expression "pChanges == (ExprList *)0x0" identifier == (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_0001c4c4();\n    return;\n  }" { (expression_statement "FUN_0001c4c4();" (call_expression "FUN_0001c4c4()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "pEVar9 = pChanges->a;" (assignment_expression "pEVar9 = pChanges->a" identifier = (field_expression "pChanges->a" identifier -> field_identifier)) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698)" identifier = (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" ( (binary_expression "PTR_LAB_000f52fc + -0x7698" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar13 = 0; iVar13 < pChanges->nExpr; iVar13 = iVar13 + 1) {\n    pEVar7 = pEVar9->pExpr;\n    if (pEVar7 != (Expr *)0x0) {\n      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7);\n    pEVar9 = pEVar9 + 1;\n  }" for ( (assignment_expression "iVar13 = 0" identifier = number_literal) ; (binary_expression "iVar13 < pChanges->nExpr" identifier < (field_expression "pChanges->nExpr" identifier -> field_identifier)) ; (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ) (compound_statement "{\n    pEVar7 = pEVar9->pExpr;\n    if (pEVar7 != (Expr *)0x0) {\n      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);\n    }\n    uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7);\n    pEVar9 = pEVar9 + 1;\n  }" { (expression_statement "pEVar7 = pEVar9->pExpr;" (assignment_expression "pEVar7 = pEVar9->pExpr" identifier = (field_expression "pEVar9->pExpr" identifier -> field_identifier)) ;) (if_statement "if (pEVar7 != (Expr *)0x0) {\n      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);\n    }" if (parenthesized_expression "(pEVar7 != (Expr *)0x0)" ( (binary_expression "pEVar7 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);\n    }" { (expression_statement "pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0);" (assignment_expression "pEVar7 = (Expr *)(*pcVar4)(psVar11,pEVar7,0,0)" identifier = (cast_expression "(Expr *)(*pcVar4)(psVar11,pEVar7,0,0)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar4)(psVar11,pEVar7,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(psVar11,pEVar7,0,0)" ( identifier , identifier , number_literal , number_literal ))))) ;) })) (expression_statement "uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7);" (assignment_expression "uVar10 = (*pcVar5)(pParse->db,uVar10,pEVar7)" identifier = (call_expression "(*pcVar5)(pParse->db,uVar10,pEVar7)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(pParse->db,uVar10,pEVar7)" ( (field_expression "pParse->db" identifier -> field_identifier) , identifier , identifier )))) ;) (expression_statement "pEVar9 = pEVar9 + 1;" (assignment_expression "pEVar9 = pEVar9 + 1" identifier = (binary_expression "pEVar9 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" ( (binary_expression "PTR_LAB_000f530c + 0x6fe8" identifier + number_literal) )))) )) (argument_list "(pParse,uVar10,iVar3,pWhere,0,0,0,0x820000,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "dest.eDest = '\x0f';" (assignment_expression "dest.eDest = '\x0f'" (field_expression "dest.eDest" identifier . field_identifier) = (char_literal "'\x0f'" ' escape_sequence ')) ;) (expression_statement "dest.zAffSdst = (char *)0x0;" (assignment_expression "dest.zAffSdst = (char *)0x0" (field_expression "dest.zAffSdst" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dest.iSdst = 0;" (assignment_expression "dest.iSdst = 0" (field_expression "dest.iSdst" identifier . field_identifier) = number_literal) ;) (expression_statement "dest.nSdst = 0;" (assignment_expression "dest.nSdst = 0" (field_expression "dest.nSdst" identifier . field_identifier) = number_literal) ;) (if_statement "if (pPk == (Index *)0x0) {\n    dest.iSDParm2 = 0xffffffff;\n  }\n  else {\n    dest.iSDParm2 = (int)pPk->nKeyCol;\n  }" if (parenthesized_expression "(pPk == (Index *)0x0)" ( (binary_expression "pPk == (Index *)0x0" identifier == (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dest.iSDParm2 = 0xffffffff;\n  }" { (expression_statement "dest.iSDParm2 = 0xffffffff;" (assignment_expression "dest.iSDParm2 = 0xffffffff" (field_expression "dest.iSDParm2" identifier . field_identifier) = number_literal) ;) }) (else_clause "else {\n    dest.iSDParm2 = (int)pPk->nKeyCol;\n  }" else (compound_statement "{\n    dest.iSDParm2 = (int)pPk->nKeyCol;\n  }" { (expression_statement "dest.iSDParm2 = (int)pPk->nKeyCol;" (assignment_expression "dest.iSDParm2 = (int)pPk->nKeyCol" (field_expression "dest.iSDParm2" identifier . field_identifier) = (cast_expression "(int)pPk->nKeyCol" ( (type_descriptor "int" primitive_type) ) (field_expression "pPk->nKeyCol" identifier -> field_identifier))) ;) }))) (expression_statement "dest.iSDParm = iEph;" (assignment_expression "dest.iSDParm = iEph" (field_expression "dest.iSDParm" identifier . field_identifier) = identifier) ;) (expression_statement "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(pParse,iVar3,&dest);" (call_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(pParse,iVar3,&dest)" (parenthesized_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))" ( (pointer_expression "*(code *)(PTR_LAB_000f5308 + -0x19e0)" * (cast_expression "(code *)(PTR_LAB_000f5308 + -0x19e0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f5308 + -0x19e0)" ( (binary_expression "PTR_LAB_000f5308 + -0x19e0" identifier + number_literal) )))) )) (argument_list "(pParse,iVar3,&dest)" ( identifier , identifier , (pointer_expression "&dest" & identifier) ))) ;) (if_statement "if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1);\n    FUN_0001c570();\n    return;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1);\n    FUN_0001c570();\n    return;\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1);" (call_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))(psVar11,iVar3,1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x37a0)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x37a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x37a0)" ( (binary_expression "PTR_LAB_000f530c + 0x37a0" identifier + number_literal) )))) )) (argument_list "(psVar11,iVar3,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "FUN_0001c570();" (call_expression "FUN_0001c570()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar8 != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" if (parenthesized_expression "(iVar8 != *(int *)puVar2)" ( (binary_expression "iVar8 != *(int *)puVar2" identifier != (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)\n\n{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)\n\n{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type 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 *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "char local_48 [4];" primitive_type (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000f5568" identifier = identifier) ;) (expression_statement "uVar10 = *param_1;" (assignment_expression "uVar10 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000f5568" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000f5568" * (cast_expression "(int *)PTR___stack_chk_guard_000f5568" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar11 = *(int *)(param_5 + 0x18);" (assignment_expression "iVar11 = *(int *)(param_5 + 0x18)" identifier = (pointer_expression "*(int *)(param_5 + 0x18)" * (cast_expression "(int *)(param_5 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x18)" ( (binary_expression "param_5 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))" ( (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x683c)" * (cast_expression "(code *)(PTR_LAB_000f52fc + -0x683c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x683c)" ( (binary_expression "PTR_LAB_000f52fc + -0x683c" identifier + number_literal) )))) )) (argument_list "(uVar10,param_5,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }" { (expression_statement "param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);" (assignment_expression "param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))" ( (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x7698)" * (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" ( (binary_expression "PTR_LAB_000f52fc + -0x7698" identifier + number_literal) )))) )) (argument_list "(uVar10,param_6,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) })) (if_statement "if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" { (expression_statement "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" * (cast_expression "(undefined4 *)(iVar3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;" (assignment_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" ( (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) + number_literal) )))) = (binary_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" ( (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) + number_literal) )))) + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x18)" * (cast_expression "(undefined4 *)(iVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }" { (if_statement "if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" if (parenthesized_expression "(*(int *)(iVar11 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar11 + 0xc) == 0" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }" { (expression_statement "iVar11 = *(int *)(iVar11 + 0x38);" (assignment_expression "iVar11 = *(int *)(iVar11 + 0x38)" identifier = (pointer_expression "*(int *)(iVar11 + 0x38)" * (cast_expression "(int *)(iVar11 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x38)" ( (binary_expression "iVar11 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);" (assignment_expression "uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0)" identifier = (call_expression "(*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0)" (parenthesized_expression "(*(code *)(PTR_FUN_000f5300 + -0x5d30))" ( (pointer_expression "*(code *)(PTR_FUN_000f5300 + -0x5d30)" * (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" ( (binary_expression "PTR_FUN_000f5300 + -0x5d30" identifier + number_literal) )))) )) (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "cVar12 = (iVar11 == 0) + '\x0e';" (assignment_expression "cVar12 = (iVar11 == 0) + '\x0e'" identifier = (binary_expression "(iVar11 == 0) + '\x0e'" (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) + (char_literal "'\x0e'" ' escape_sequence '))) ;) (expression_statement "uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);" (assignment_expression "uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x59e4)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) )) (argument_list "(*param_1,0,uVar9)" ( (pointer_expression "*param_1" * identifier) , number_literal , identifier )))) ;) }) (else_clause "else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" else (compound_statement "{\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30)" identifier = (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" ( (binary_expression "PTR_FUN_000f5300 + -0x5d30" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }" for ( (assignment_expression "iVar6 = 1" identifier = number_literal) ; (binary_expression "iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a)" (binary_expression "iVar6 + -1" identifier + number_literal) < (cast_expression "(int)*(short *)(iVar11 + 0x2a)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar11 + 0x2a)" * (cast_expression "(short *)(iVar11 + 0x2a)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x2a)" ( (binary_expression "iVar11 + 0x2a" identifier + number_literal) )))))) ; (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ) (compound_statement "{\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }" { (expression_statement "iVar7 = (*pcVar4)(param_1,0x4b,0,0);" (assignment_expression "iVar7 = (*pcVar4)(param_1,0x4b,0,0)" identifier = (call_expression "(*pcVar4)(param_1,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }" { (expression_statement "*(short *)(iVar7 + 0x20) = (short)iVar6;" (assignment_expression "*(short *)(iVar7 + 0x20) = (short)iVar6" (pointer_expression "*(short *)(iVar7 + 0x20)" * (cast_expression "(short *)(iVar7 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) = (cast_expression "(short)iVar6" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar7)" identifier = (call_expression "(*pcVar5)(*param_1,uVar9,iVar7)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*param_1,uVar9,iVar7)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) })) (expression_statement "cVar12 = '\x0e';" (assignment_expression "cVar12 = '\x0e'" identifier = (char_literal "'\x0e'" ' escape_sequence ')) ;) }))) (if_statement "if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }" if (parenthesized_expression "(param_4 == (int *)0x0)" ( (binary_expression "param_4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }" { (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" ( (binary_expression "PTR_LAB_000f530c + 0x6fe8" identifier + number_literal) )))) )) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "local_40 = 0xffffffff;" (assignment_expression "local_40 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_48[0] = cVar12;" (assignment_expression "local_48[0] = cVar12" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001c480;" goto statement_identifier ;) })) (labeled_statement "LAB_0001c38c:\n    piVar8 = param_4 + 1;" statement_identifier : (expression_statement "piVar8 = param_4 + 1;" (assignment_expression "piVar8 = param_4 + 1" identifier = (binary_expression "param_4 + 1" identifier + number_literal)) ;)) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698)" identifier = (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" ( (binary_expression "PTR_LAB_000f52fc + -0x7698" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }" for ( (assignment_expression "iVar11 = 0" identifier = number_literal) ; (binary_expression "iVar11 < *param_4" identifier < (pointer_expression "*param_4" * identifier)) ; (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ) (compound_statement "{\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }" { (expression_statement "iVar6 = *piVar8;" (assignment_expression "iVar6 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }" { (expression_statement "iVar6 = (*pcVar4)(uVar10,iVar6,0,0);" (assignment_expression "iVar6 = (*pcVar4)(uVar10,iVar6,0,0)" identifier = (call_expression "(*pcVar4)(uVar10,iVar6,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(uVar10,iVar6,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) })) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6)" identifier = (call_expression "(*pcVar5)(*param_1,uVar9,iVar6)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*param_1,uVar9,iVar6)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) (expression_statement "piVar8 = piVar8 + 4;" (assignment_expression "piVar8 = piVar8 + 4" identifier = (binary_expression "piVar8 + 4" identifier + number_literal)) ;) })) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" ( (binary_expression "PTR_LAB_000f530c + 0x6fe8" identifier + number_literal) )))) )) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "local_48[0] = cVar12;" (assignment_expression "local_48[0] = cVar12" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }" { (expression_statement "local_40 = 0xffffffff;" (assignment_expression "local_40 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001c480;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" else (compound_statement "{\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30)" identifier = (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" ( (binary_expression "PTR_FUN_000f5300 + -0x5d30" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" identifier = (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" ( (binary_expression "PTR_LAB_000f530c + 0x59e4" identifier + number_literal) )))) ;) (for_statement "for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }" for ( (assignment_expression "iVar11 = 0" identifier = number_literal) ; (binary_expression "iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32)" identifier < (binary_expression "(int)(uint)*(ushort *)(param_3 + 0x32)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(ushort *)(param_3 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x32)" ( (binary_expression "param_3 + 0x32" identifier + number_literal) ))))) ; (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ) (compound_statement "{\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }" { (expression_statement "sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);" (assignment_expression "sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" identifier = (pointer_expression "*(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" * (cast_expression "(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 4) + iVar11 * 2)" ( (binary_expression "*(int *)(param_3 + 4) + iVar11 * 2" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + (binary_expression "iVar11 * 2" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = (*pcVar4)(param_1,0x4b,0,0);" (assignment_expression "iVar6 = (*pcVar4)(param_1,0x4b,0,0)" identifier = (call_expression "(*pcVar4)(param_1,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }" { (expression_statement "*(short *)(iVar6 + 0x20) = sVar1 + 1;" (assignment_expression "*(short *)(iVar6 + 0x20) = sVar1 + 1" (pointer_expression "*(short *)(iVar6 + 0x20)" * (cast_expression "(short *)(iVar6 + 0x20)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) )))) = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6)" identifier = (call_expression "(*pcVar5)(*param_1,uVar9,iVar6)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*param_1,uVar9,iVar6)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) })) (expression_statement "cVar12 = '\x0f';" (assignment_expression "cVar12 = '\x0f'" identifier = (char_literal "'\x0f'" ' escape_sequence ')) ;) (if_statement "if (param_4 != (int *)0x0) goto LAB_0001c38c;" if (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001c38c;" goto statement_identifier ;)) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" ( (binary_expression "PTR_LAB_000f530c + 0x6fe8" identifier + number_literal) )))) )) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "local_48[0] = '\x0f';" (assignment_expression "local_48[0] = '\x0f'" (subscript_expression "local_48[0]" identifier [ number_literal ]) = (char_literal "'\x0f'" ' escape_sequence ')) ;) }))) (expression_statement "local_40 = (uint)*(ushort *)(param_3 + 0x32);" (assignment_expression "local_40 = (uint)*(ushort *)(param_3 + 0x32)" identifier = (binary_expression "(uint)*(ushort *)(param_3 + 0x32)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x32)" ( (binary_expression "param_3 + 0x32" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001c480:\n  local_34 = 0;" statement_identifier : (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;)) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_44 = param_2;" (assignment_expression "local_44 = param_2" identifier = identifier) ;) (expression_statement "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);" (call_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48)" (parenthesized_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))" ( (pointer_expression "*(code *)(PTR_LAB_000f5308 + -0x19e0)" * (cast_expression "(code *)(PTR_LAB_000f5308 + -0x19e0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f5308 + -0x19e0)" ( (binary_expression "PTR_LAB_000f5308 + -0x19e0" identifier + number_literal) )))) )) (argument_list "(param_1,iVar3,local_48)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }" { (expression_statement "(*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);" (call_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))" ( (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x37a0)" * (cast_expression "(code *)(PTR_LAB_000f530c + 0x37a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f530c + 0x37a0)" ( (binary_expression "PTR_LAB_000f530c + 0x37a0" identifier + number_literal) )))) )) (argument_list "(uVar10,iVar3,1)" ( identifier , identifier , number_literal ))) ;) })) (if_statement "if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar2)" ( (binary_expression "local_2c != *(int *)puVar2" identifier != (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" * (cast_expression "(code *)PTR___stack_chk_fail_000f5540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (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 IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , LIT , LIT )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT)) ;) (expression_statement (assignment_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 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) + (char_literal ' escape_sequence '))) ;) (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 ( (pointer_expression * IDENT) , LIT , IDENT )))) ;) }) (else_clause else (compound_statement { (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) )))) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT , LIT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (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 * IDENT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT , LIT )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT , LIT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (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) )))) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * (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 * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (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 , IDENT , LIT , LIT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( 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 , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)\n\n{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001c12c(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)" (identifier "FUN_0001c12c") (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3,int *param_4,int param_5,\n                 int param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  short sVar1;\n  undefined *puVar2;\n  int iVar3;\n  code *pcVar4;\n  code *pcVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  char cVar12;\n  char local_48 [4];\n  undefined4 local_44;\n  uint local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000f5568;\n  uVar10 = *param_1;\n  local_2c = *(int *)PTR___stack_chk_guard_000f5568;\n  iVar11 = *(int *)(param_5 + 0x18);\n  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);\n  if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }\n  if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }\n  if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }\n  local_40 = (uint)*(ushort *)(param_3 + 0x32);\nLAB_0001c480:\n  local_34 = 0;\n  local_38 = 0;\n  local_3c = 0;\n  local_44 = param_2;\n  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);\n  if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }\n  if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }\n  return;\n}" ({ "{") (declaration "short sVar1;" (sized_type_specifier "short" (short "short")) (identifier "sVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (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 *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "char cVar12;" (primitive_type "char") (identifier "cVar12") (; ";")) (declaration "char local_48 [4];" (primitive_type "char") (array_declarator "local_48 [4]" (identifier "local_48") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_44;" (type_identifier "undefined4") (identifier "local_44") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_000f5568;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000f5568" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_000f5568")) (; ";")) (expression_statement "uVar10 = *param_1;" (assignment_expression "uVar10 = *param_1" (identifier "uVar10") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000f5568;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000f5568" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000f5568" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000f5568" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000f5568")))) (; ";")) (expression_statement "iVar11 = *(int *)(param_5 + 0x18);" (assignment_expression "iVar11 = *(int *)(param_5 + 0x18)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(param_5 + 0x18)" (* "*") (cast_expression "(int *)(param_5 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x18)" (( "(") (binary_expression "param_5 + 0x18" (identifier "param_5") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x683c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x683c)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52fc + -0x683c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52fc + -0x683c)" (( "(") (binary_expression "PTR_LAB_000f52fc + -0x683c" (identifier "PTR_LAB_000f52fc") (+ "+") (number_literal "-0x683c")) () ")")))) () ")")) (argument_list "(uVar10,param_5,0)" (( "(") (identifier "uVar10") (, ",") (identifier "param_5") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (param_6 != 0) {\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);\n  }" ({ "{") (expression_statement "param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);" (assignment_expression "param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0)" (identifier "param_6") (= "=") (call_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52fc + -0x7698))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52fc + -0x7698)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" (( "(") (binary_expression "PTR_LAB_000f52fc + -0x7698" (identifier "PTR_LAB_000f52fc") (+ "+") (number_literal "-0x7698")) () ")")))) () ")")) (argument_list "(uVar10,param_6,0,0)" (( "(") (identifier "uVar10") (, ",") (identifier "param_6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (if_statement "if (iVar3 != 0) {\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;\n    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;\n    *(undefined4 *)(iVar3 + 0x18) = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;" (assignment_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" (( "(") (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" (* "*") (cast_expression "(int *)(iVar3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x18) + 0x20)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0x18) + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x18) + 0x20)" (( "(") (binary_expression "*(int *)(iVar3 + 0x18) + 0x20" (pointer_expression "*(int *)(iVar3 + 0x18)" (* "*") (cast_expression "(int *)(iVar3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }\n  else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }\n    if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }\nLAB_0001c38c:\n    piVar8 = param_4 + 1;\n    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = cVar12;\n    if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(iVar11 + 0xc) == 0) {\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }\n    else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar11 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(iVar11 + 0xc) == 0" (pointer_expression "*(int *)(iVar11 + 0xc)" (* "*") (cast_expression "(int *)(iVar11 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar11 = *(int *)(iVar11 + 0x38);\n      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);\n      cVar12 = (iVar11 == 0) + '\x0e';\n      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);\n    }" ({ "{") (expression_statement "iVar11 = *(int *)(iVar11 + 0x38);" (assignment_expression "iVar11 = *(int *)(iVar11 + 0x38)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar11 + 0x38)" (* "*") (cast_expression "(int *)(iVar11 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x38)" (( "(") (binary_expression "iVar11 + 0x38" (identifier "iVar11") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);" (assignment_expression "uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0)" (identifier "uVar9") (= "=") (call_expression "(*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0)" (parenthesized_expression "(*(code *)(PTR_FUN_000f5300 + -0x5d30))" (( "(") (pointer_expression "*(code *)(PTR_FUN_000f5300 + -0x5d30)" (* "*") (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" (( "(") (binary_expression "PTR_FUN_000f5300 + -0x5d30" (identifier "PTR_FUN_000f5300") (+ "+") (number_literal "-0x5d30")) () ")")))) () ")")) (argument_list "(param_1,0x4b,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x4b") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "cVar12 = (iVar11 == 0) + '\x0e';" (assignment_expression "cVar12 = (iVar11 == 0) + '\x0e'" (identifier "cVar12") (= "=") (binary_expression "(iVar11 == 0) + '\x0e'" (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (+ "+") (char_literal "'\x0e'" (' "'") (escape_sequence "\x0e") (' "'")))) (; ";")) (expression_statement "uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);" (assignment_expression "uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9)" (identifier "uVar9") (= "=") (call_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x59e4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x59e4)" (* "*") (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x59e4" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x59e4")) () ")")))) () ")")) (argument_list "(*param_1,0,uVar9)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") (, ",") (identifier "uVar9") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" (else "else") (compound_statement "{\n      uVar9 = 0;\n      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }\n      cVar12 = '\x0e';\n    }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30)" (identifier "pcVar4") (= "=") (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" (( "(") (binary_expression "PTR_FUN_000f5300 + -0x5d30" (identifier "PTR_FUN_000f5300") (+ "+") (number_literal "-0x5d30")) () ")")))) (; ";")) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x59e4" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x59e4")) () ")")))) (; ";")) (for_statement "for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }" (for "for") (( "(") (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";") (binary_expression "iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a)" (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1")) (< "<") (cast_expression "(int)*(short *)(iVar11 + 0x2a)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(iVar11 + 0x2a)" (* "*") (cast_expression "(short *)(iVar11 + 0x2a)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x2a)" (( "(") (binary_expression "iVar11 + 0x2a" (identifier "iVar11") (+ "+") (number_literal "0x2a")) () ")")))))) (; ";") (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n        iVar7 = (*pcVar4)(param_1,0x4b,0,0);\n        if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }\n        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);\n      }" ({ "{") (expression_statement "iVar7 = (*pcVar4)(param_1,0x4b,0,0);" (assignment_expression "iVar7 = (*pcVar4)(param_1,0x4b,0,0)" (identifier "iVar7") (= "=") (call_expression "(*pcVar4)(param_1,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(param_1,0x4b,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x4b") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *(short *)(iVar7 + 0x20) = (short)iVar6;\n        }" ({ "{") (expression_statement "*(short *)(iVar7 + 0x20) = (short)iVar6;" (assignment_expression "*(short *)(iVar7 + 0x20) = (short)iVar6" (pointer_expression "*(short *)(iVar7 + 0x20)" (* "*") (cast_expression "(short *)(iVar7 + 0x20)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x20)" (( "(") (binary_expression "iVar7 + 0x20" (identifier "iVar7") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (cast_expression "(short)iVar6" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar6"))) (; ";")) (} "}"))) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar7)" (identifier "uVar9") (= "=") (call_expression "(*pcVar5)(*param_1,uVar9,iVar7)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(*param_1,uVar9,iVar7)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar9") (, ",") (identifier "iVar7") () ")")))) (; ";")) (} "}"))) (expression_statement "cVar12 = '\x0e';" (assignment_expression "cVar12 = '\x0e'" (identifier "cVar12") (= "=") (char_literal "'\x0e'" (' "'") (escape_sequence "\x0e") (' "'"))) (; ";")) (} "}")))) (if_statement "if (param_4 == (int *)0x0) {\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }" (if "if") (parenthesized_expression "(param_4 == (int *)0x0)" (( "(") (binary_expression "param_4 == (int *)0x0" (identifier "param_4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n      local_40 = 0xffffffff;\n      local_48[0] = cVar12;\n      goto LAB_0001c480;\n    }" ({ "{") (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" (* "*") (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x6fe8" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x6fe8")) () ")")))) () ")")) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (( "(") (identifier "param_1") (, ",") (identifier "uVar9") (, ",") (identifier "iVar3") (, ",") (identifier "param_6") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x820000") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_40 = 0xffffffff;" (assignment_expression "local_40 = 0xffffffff" (identifier "local_40") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_48[0] = cVar12;" (assignment_expression "local_48[0] = cVar12" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "cVar12")) (; ";")) (goto_statement "goto LAB_0001c480;" (goto "goto") (statement_identifier "LAB_0001c480") (; ";")) (} "}"))) (labeled_statement "LAB_0001c38c:\n    piVar8 = param_4 + 1;" (statement_identifier "LAB_0001c38c") (: ":") (expression_statement "piVar8 = param_4 + 1;" (assignment_expression "piVar8 = param_4 + 1" (identifier "piVar8") (= "=") (binary_expression "param_4 + 1" (identifier "param_4") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698)" (identifier "pcVar4") (= "=") (cast_expression "(code *)(PTR_LAB_000f52fc + -0x7698)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52fc + -0x7698)" (( "(") (binary_expression "PTR_LAB_000f52fc + -0x7698" (identifier "PTR_LAB_000f52fc") (+ "+") (number_literal "-0x7698")) () ")")))) (; ";")) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x59e4" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x59e4")) () ")")))) (; ";")) (for_statement "for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }" (for "for") (( "(") (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";") (binary_expression "iVar11 < *param_4" (identifier "iVar11") (< "<") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";") (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n      iVar6 = *piVar8;\n      if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n      piVar8 = piVar8 + 4;\n    }" ({ "{") (expression_statement "iVar6 = *piVar8;" (assignment_expression "iVar6 = *piVar8" (identifier "iVar6") (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (if_statement "if (iVar6 != 0) {\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);\n      }" ({ "{") (expression_statement "iVar6 = (*pcVar4)(uVar10,iVar6,0,0);" (assignment_expression "iVar6 = (*pcVar4)(uVar10,iVar6,0,0)" (identifier "iVar6") (= "=") (call_expression "(*pcVar4)(uVar10,iVar6,0,0)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(uVar10,iVar6,0,0)" (( "(") (identifier "uVar10") (, ",") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6)" (identifier "uVar9") (= "=") (call_expression "(*pcVar5)(*param_1,uVar9,iVar6)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(*param_1,uVar9,iVar6)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar9") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "piVar8 = piVar8 + 4;" (assignment_expression "piVar8 = piVar8 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar8 + 4" (identifier "piVar8") (+ "+") (number_literal "4"))) (; ";")) (} "}"))) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" (* "*") (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x6fe8" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x6fe8")) () ")")))) () ")")) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (( "(") (identifier "param_1") (, ",") (identifier "uVar9") (, ",") (identifier "iVar3") (, ",") (identifier "param_6") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x820000") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_48[0] = cVar12;" (assignment_expression "local_48[0] = cVar12" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "cVar12")) (; ";")) (if_statement "if (param_3 == 0) {\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_40 = 0xffffffff;\n      goto LAB_0001c480;\n    }" ({ "{") (expression_statement "local_40 = 0xffffffff;" (assignment_expression "local_40 = 0xffffffff" (identifier "local_40") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001c480;" (goto "goto") (statement_identifier "LAB_0001c480") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" (else "else") (compound_statement "{\n    uVar9 = 0;\n    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);\n    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);\n    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }\n    cVar12 = '\x0f';\n    if (param_4 != (int *)0x0) goto LAB_0001c38c;\n    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);\n    local_48[0] = '\x0f';\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);" (assignment_expression "pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30)" (identifier "pcVar4") (= "=") (cast_expression "(code *)(PTR_FUN_000f5300 + -0x5d30)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_FUN_000f5300 + -0x5d30)" (( "(") (binary_expression "PTR_FUN_000f5300 + -0x5d30" (identifier "PTR_FUN_000f5300") (+ "+") (number_literal "-0x5d30")) () ")")))) (; ";")) (expression_statement "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_000f530c + 0x59e4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x59e4)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x59e4" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x59e4")) () ")")))) (; ";")) (for_statement "for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }" (for "for") (( "(") (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";") (binary_expression "iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32)" (identifier "iVar11") (< "<") (binary_expression "(int)(uint)*(ushort *)(param_3 + 0x32)" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(ushort *)(param_3 + 0x32)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x32)" (( "(") (binary_expression "param_3 + 0x32" (identifier "param_3") (+ "+") (number_literal "0x32")) () ")"))))) (; ";") (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);\n      iVar6 = (*pcVar4)(param_1,0x4b,0,0);\n      if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }\n      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);\n    }" ({ "{") (expression_statement "sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);" (assignment_expression "sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" (identifier "sVar1") (= "=") (pointer_expression "*(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" (* "*") (cast_expression "(short *)(*(int *)(param_3 + 4) + iVar11 * 2)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_3 + 4) + iVar11 * 2)" (( "(") (binary_expression "*(int *)(param_3 + 4) + iVar11 * 2" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "iVar11 * 2" (identifier "iVar11") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (expression_statement "iVar6 = (*pcVar4)(param_1,0x4b,0,0);" (assignment_expression "iVar6 = (*pcVar4)(param_1,0x4b,0,0)" (identifier "iVar6") (= "=") (call_expression "(*pcVar4)(param_1,0x4b,0,0)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(param_1,0x4b,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x4b") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(short *)(iVar6 + 0x20) = sVar1 + 1;\n      }" ({ "{") (expression_statement "*(short *)(iVar6 + 0x20) = sVar1 + 1;" (assignment_expression "*(short *)(iVar6 + 0x20) = sVar1 + 1" (pointer_expression "*(short *)(iVar6 + 0x20)" (* "*") (cast_expression "(short *)(iVar6 + 0x20)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x20)" (( "(") (binary_expression "iVar6 + 0x20" (identifier "iVar6") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "sVar1 + 1" (identifier "sVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);" (assignment_expression "uVar9 = (*pcVar5)(*param_1,uVar9,iVar6)" (identifier "uVar9") (= "=") (call_expression "(*pcVar5)(*param_1,uVar9,iVar6)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(*param_1,uVar9,iVar6)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar9") (, ",") (identifier "iVar6") () ")")))) (; ";")) (} "}"))) (expression_statement "cVar12 = '\x0f';" (assignment_expression "cVar12 = '\x0f'" (identifier "cVar12") (= "=") (char_literal "'\x0f'" (' "'") (escape_sequence "\x0f") (' "'"))) (; ";")) (if_statement "if (param_4 != (int *)0x0) goto LAB_0001c38c;" (if "if") (parenthesized_expression "(param_4 != (int *)0x0)" (( "(") (binary_expression "param_4 != (int *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0001c38c;" (goto "goto") (statement_identifier "LAB_0001c38c") (; ";"))) (expression_statement "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x6fe8))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x6fe8)" (* "*") (cast_expression "(code *)(PTR_LAB_000f530c + 0x6fe8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x6fe8)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x6fe8" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x6fe8")) () ")")))) () ")")) (argument_list "(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0)" (( "(") (identifier "param_1") (, ",") (identifier "uVar9") (, ",") (identifier "iVar3") (, ",") (identifier "param_6") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x820000") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_48[0] = '\x0f';" (assignment_expression "local_48[0] = '\x0f'" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'\x0f'" (' "'") (escape_sequence "\x0f") (' "'"))) (; ";")) (} "}")))) (expression_statement "local_40 = (uint)*(ushort *)(param_3 + 0x32);" (assignment_expression "local_40 = (uint)*(ushort *)(param_3 + 0x32)" (identifier "local_40") (= "=") (binary_expression "(uint)*(ushort *)(param_3 + 0x32)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_3 + 0x32)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x32)" (( "(") (binary_expression "param_3 + 0x32" (identifier "param_3") (+ "+") (number_literal "0x32")) () ")"))))) (; ";")) (labeled_statement "LAB_0001c480:\n  local_34 = 0;" (statement_identifier "LAB_0001c480") (: ":") (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";"))) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44 = param_2;" (assignment_expression "local_44 = param_2" (identifier "local_44") (= "=") (identifier "param_2")) (; ";")) (expression_statement "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);" (call_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48)" (parenthesized_expression "(*(code *)(PTR_LAB_000f5308 + -0x19e0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f5308 + -0x19e0)" (* "*") (cast_expression "(code *)(PTR_LAB_000f5308 + -0x19e0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f5308 + -0x19e0)" (( "(") (binary_expression "PTR_LAB_000f5308 + -0x19e0" (identifier "PTR_LAB_000f5308") (+ "+") (number_literal "-0x19e0")) () ")")))) () ")")) (argument_list "(param_1,iVar3,local_48)" (( "(") (identifier "param_1") (, ",") (identifier "iVar3") (, ",") (identifier "local_48") () ")"))) (; ";")) (if_statement "if (iVar3 != 0) {\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);\n  }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);" (call_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f530c + 0x37a0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f530c + 0x37a0)" (* "*") (cast_expression "(code *)(PTR_LAB_000f530c + 0x37a0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f530c + 0x37a0)" (( "(") (binary_expression "PTR_LAB_000f530c + 0x37a0" (identifier "PTR_LAB_000f530c") (+ "+") (number_literal "0x37a0")) () ")")))) () ")")) (argument_list "(uVar10,iVar3,1)" (( "(") (identifier "uVar10") (, ",") (identifier "iVar3") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_2c != *(int *)puVar2) {\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" (if "if") (parenthesized_expression "(local_2c != *(int *)puVar2)" (( "(") (binary_expression "local_2c != *(int *)puVar2" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000f5540)();\n  }" ({ "{") (expression_statement "(*(code *)PTR___stack_chk_fail_000f5540)();" (call_expression "(*(code *)PTR___stack_chk_fail_000f5540)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000f5540)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000f5540" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000f5540" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000f5540"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pParse,int iEph,type_2 *var_4,type_3 *var_12,type_4 *pTabList,
                     type_5 *var_2,type_3 *pOrderBy,type_5 *pLimit)

{
  short var_11;
  type_6 *puVar2;
  int var_3;
  type_7 *pcVar4;
  type_7 *pcVar5;
  int var_10;
  type_5 *var_14;
  int var_7;
  type_8 *var_15;
  type_9 uVar10;
  type_10 *psVar11;
  type_11 *pTVar12;
  int var_9;
  type_12 dest;
  
  puVar2 = PTR___stack_chk_guard_000f5568;
  psVar11 = pParse->db;
  var_7 = *(int *)PTR___stack_chk_guard_000f5568;
  pTVar12 = pTabList->a[0].pTab;
  var_3 = (*(type_7 *)(var_1 + -0x683c))(psVar11,pTabList,0);
  if (var_2 != (type_5 *)0x0) {
    var_2 = (type_5 *)(*(type_7 *)(var_1 + -0x7698))(psVar11,var_2,0,0);
  }
  if (var_3 != 0) {
    *(type_9 *)(var_3 + 0x30) = 0xffffffff;
    *(int *)(*(int *)(var_3 + 0x18) + 0x20) = *(int *)(*(int *)(var_3 + 0x18) + 0x20) + -1;
    *(type_9 *)(var_3 + 0x18) = 0;
  }
  if (var_4 == (type_2 *)0x0) {
    if (pTVar12->pSelect != (type_13 *)0x0) {
      var_3 = 1;
      uVar10 = 0;
      pcVar4 = (type_7 *)(var_5 + -0x5d30);
      pcVar5 = (type_7 *)(var_6 + 0x59e4);
      while( true ) {
        if ((int)pTVar12->nCol <= var_3 + -1) break;
        var_7 = (*pcVar4)(pParse,0x4b,0,0);
        if (var_7 != 0) {
          *(short *)(var_7 + 0x20) = (short)var_3;
        }
        var_3 = var_3 + 1;
        uVar10 = (*pcVar5)(pParse->db,uVar10,var_7);
      }
      var_8();
      return;
    }
    uVar10 = (*(type_7 *)(var_5 + -0x5d30))(pParse,0x4b,0,0);
    (*(type_7 *)(var_6 + 0x59e4))(pParse->db,0,uVar10);
    var_8();
    return;
  }
  uVar10 = 0;
  pcVar4 = (type_7 *)(var_5 + -0x5d30);
  pcVar5 = (type_7 *)(var_6 + 0x59e4);
  for (var_9 = 0; var_9 < (int)(type_14)var_4->nKeyCol; var_9 = var_9 + 1) {
    var_11 = var_4->aiColumn[var_9];
    var_10 = (*pcVar4)(pParse,0x4b,0,0);
    if (var_10 != 0) {
      *(short *)(var_10 + 0x20) = var_11 + 1;
    }
    uVar10 = (*pcVar5)(pParse->db,uVar10,var_10);
  }
  if (var_12 == (type_3 *)0x0) {
    var_13();
    return;
  }
  var_15 = var_12->a;
  pcVar4 = (type_7 *)(var_1 + -0x7698);
  pcVar5 = (type_7 *)(var_6 + 0x59e4);
  for (var_9 = 0; var_9 < var_12->nExpr; var_9 = var_9 + 1) {
    var_14 = var_15->pExpr;
    if (var_14 != (type_5 *)0x0) {
      var_14 = (type_5 *)(*pcVar4)(psVar11,var_14,0,0);
    }
    uVar10 = (*pcVar5)(pParse->db,uVar10,var_14);
    var_15 = var_15 + 1;
  }
  var_3 = (*(type_7 *)(var_6 + 0x6fe8))(pParse,uVar10,var_3,var_2,0,0,0,0x820000,0);
  dest.eDest = '\x0f';
  dest.zAffSdst = (char *)0x0;
  dest.iSdst = 0;
  dest.nSdst = 0;
  if (var_4 == (type_2 *)0x0) {
    dest.iSDParm2 = 0xffffffff;
  }
  else {
    dest.iSDParm2 = (int)var_4->nKeyCol;
  }
  dest.iSDParm = iEph;
  (*(type_7 *)(var_16 + -0x19e0))(pParse,var_3,&dest);
  if (var_3 != 0) {
    (*(type_7 *)(var_6 + 0x37a0))(psVar11,var_3,1);
    var_17();
    return;
  }
  if (var_7 != *(int *)puVar2) {
    (*(type_7 *)PTR___stack_chk_fail_000f5540)();
  }
  return;
}


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

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

{
  short sVar1;
  undefined *puVar2;
  int iVar3;
  code *pcVar4;
  code *pcVar5;
  int iVar6;
  int iVar7;
  int *piVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  int iVar11;
  char cVar12;
  char local_48 [4];
  undefined4 local_44;
  uint local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  int local_2c;
  
  puVar2 = PTR___stack_chk_guard_000f5568;
  uVar10 = *param_1;
  local_2c = *(int *)PTR___stack_chk_guard_000f5568;
  iVar11 = *(int *)(param_5 + 0x18);
  iVar3 = (*(code *)(PTR_LAB_000f52fc + -0x683c))(uVar10,param_5,0);
  if (param_6 != 0) {
    param_6 = (*(code *)(PTR_LAB_000f52fc + -0x7698))(uVar10,param_6,0,0);
  }
  if (iVar3 != 0) {
    *(undefined4 *)(iVar3 + 0x30) = 0xffffffff;
    *(int *)(*(int *)(iVar3 + 0x18) + 0x20) = *(int *)(*(int *)(iVar3 + 0x18) + 0x20) + -1;
    *(undefined4 *)(iVar3 + 0x18) = 0;
  }
  if (param_3 == 0) {
    if (*(int *)(iVar11 + 0xc) == 0) {
      iVar11 = *(int *)(iVar11 + 0x38);
      uVar9 = (*(code *)(PTR_FUN_000f5300 + -0x5d30))(param_1,0x4b,0,0);
      cVar12 = (iVar11 == 0) + '\x0e';
      uVar9 = (*(code *)(PTR_LAB_000f530c + 0x59e4))(*param_1,0,uVar9);
    }
    else {
      uVar9 = 0;
      pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);
      pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
      for (iVar6 = 1; iVar6 + -1 < (int)*(short *)(iVar11 + 0x2a); iVar6 = iVar6 + 1) {
        iVar7 = (*pcVar4)(param_1,0x4b,0,0);
        if (iVar7 != 0) {
          *(short *)(iVar7 + 0x20) = (short)iVar6;
        }
        uVar9 = (*pcVar5)(*param_1,uVar9,iVar7);
      }
      cVar12 = '\x0e';
    }
    if (param_4 == (int *)0x0) {
      iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);
      local_40 = 0xffffffff;
      local_48[0] = cVar12;
      goto LAB_0001c480;
    }
LAB_0001c38c:
    piVar8 = param_4 + 1;
    pcVar4 = (code *)(PTR_LAB_000f52fc + -0x7698);
    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
    for (iVar11 = 0; iVar11 < *param_4; iVar11 = iVar11 + 1) {
      iVar6 = *piVar8;
      if (iVar6 != 0) {
        iVar6 = (*pcVar4)(uVar10,iVar6,0,0);
      }
      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);
      piVar8 = piVar8 + 4;
    }
    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);
    local_48[0] = cVar12;
    if (param_3 == 0) {
      local_40 = 0xffffffff;
      goto LAB_0001c480;
    }
  }
  else {
    uVar9 = 0;
    pcVar4 = (code *)(PTR_FUN_000f5300 + -0x5d30);
    pcVar5 = (code *)(PTR_LAB_000f530c + 0x59e4);
    for (iVar11 = 0; iVar11 < (int)(uint)*(ushort *)(param_3 + 0x32); iVar11 = iVar11 + 1) {
      sVar1 = *(short *)(*(int *)(param_3 + 4) + iVar11 * 2);
      iVar6 = (*pcVar4)(param_1,0x4b,0,0);
      if (iVar6 != 0) {
        *(short *)(iVar6 + 0x20) = sVar1 + 1;
      }
      uVar9 = (*pcVar5)(*param_1,uVar9,iVar6);
    }
    cVar12 = '\x0f';
    if (param_4 != (int *)0x0) goto LAB_0001c38c;
    iVar3 = (*(code *)(PTR_LAB_000f530c + 0x6fe8))(param_1,uVar9,iVar3,param_6,0,0,0,0x820000,0);
    local_48[0] = '\x0f';
  }
  local_40 = (uint)*(ushort *)(param_3 + 0x32);
LAB_0001c480:
  local_34 = 0;
  local_38 = 0;
  local_3c = 0;
  local_44 = param_2;
  (*(code *)(PTR_LAB_000f5308 + -0x19e0))(param_1,iVar3,local_48);
  if (iVar3 != 0) {
    (*(code *)(PTR_LAB_000f530c + 0x37a0))(uVar10,iVar3,1);
  }
  if (local_2c != *(int *)puVar2) {
    (*(code *)PTR___stack_chk_fail_000f5540)();
  }
  return;
}

