
int sg_scnpr(char *cp,int cp_max_len,char *fmt,...)

{
  int iVar1;
  code *pcVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  uint *puVar6;
  int iVar7;
  code *pcVar8;
  int iVar9;
  uint in_a3;
  int *piVar10;
  undefined4 *puVar11;
  int iVar12;
  int iVar13;
  code cVar14;
  undefined *puVar15;
  code *pcVar16;
  uint *puVar17;
  uint local_resc;
  int iStack_148;
  int iStack_144;
  code *pcStack_140;
  code *pcStack_13c;
  code *pcStack_128;
  int iStack_11c;
  code *pcStack_118;
  uint uStack_114;
  int iStack_110;
  undefined1 *puStack_10c;
  int *piStack_108;
  code *pcStack_104;
  undefined1 auStack_100 [5];
  undefined1 auStack_fb [55];
  undefined1 auStack_c4 [20];
  undefined1 uStack_b0;
  int iStack_ac;
  code *pcStack_a8;
  undefined4 *puStack_a4;
  uint *puStack_a0;
  char *pcStack_9c;
  undefined1 *puStack_98;
  int iStack_94;
  int iStack_90;
  char *local_28;
  uint *local_24;
  va_list args;
  
  puVar15 = PTR___stack_chk_guard_00054a4c;
  iVar5 = *(int *)PTR___stack_chk_guard_00054a4c;
  iVar3 = cp_max_len;
  local_resc = in_a3;
  if (cp_max_len < 2) {
    iVar1 = 0;
    pcVar8 = (code *)fmt;
  }
  else {
    local_24 = &local_resc;
    in_a3 = 0xffffffff;
    pcVar8 = (code *)0x1;
    iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();
    local_28 = fmt;
    if (cp_max_len <= iVar1) {
      iVar1 = cp_max_len + -1;
    }
  }
  if (iVar5 == *(int *)puVar15) {
    return iVar1;
  }
  puVar15 = PTR___stack_chk_fail_00054a1c;
  (*(code *)PTR___stack_chk_fail_00054a1c)();
  puVar11 = *(undefined4 **)(puVar15 + 0x3e080);
  pcVar2 = (code *)*puVar11;
  if (iVar5 == 0) {
    iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;
  }
  if (in_a3 < 0xb) {
                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar3 = (*(code *)(puVar15 +
                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))();
    return iVar3;
  }
  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;
  puVar6 = local_24;
  iVar1 = (**(code **)(puVar15 + 0x3df38))(&_gp);
  *local_28 = '\0';
  if (pcVar2 == (code *)*puVar11) {
    return iVar1;
  }
  pcVar16 = *(code **)(puVar15 + 0x3e050);
  (*pcVar16)();
  pcStack_128 = pcVar16 + 0x45a88;
  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);
  puStack_98 = &_gp;
  pcStack_9c = local_28;
  puStack_a0 = local_24;
  iStack_ac = *piStack_108;
  uStack_114 = in_a3;
  pcStack_a8 = pcVar8;
  puStack_a4 = puVar11;
  iStack_94 = iVar5;
  iStack_90 = iVar3;
  if (0 < (int)puVar6) {
    if (iVar9 == 0) {
      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);
      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;
    }
    else {
      (**(code **)(pcVar16 + 0x3dbe0))();
      uStack_b0 = 0;
      if (iVar9 < 0) {
        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);
        puVar17 = (uint *)0x0;
        iVar5 = *(int *)(pcStack_128 + -0x7fd4);
        iVar3 = 0;
        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));
        do {
          cVar14 = pcVar2[(int)puVar17];
          if (iVar3 != 0x18) goto FUN_00016e40;
          iVar12 = 0x1b;
          iVar9 = 0x39;
          iVar1 = 0x19;
          while( true ) {
            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);
            auStack_100[iVar12] = 0x20;
            pcVar8 = pcVar2;
            if (puVar17 == (uint *)0x0) break;
            puVar17 = (uint *)((int)puVar17 + 1);
            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;
            (*pcStack_118)(auStack_100);
            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);
            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);
            if (puVar17 == puVar6) goto LAB_00016ef0;
            iVar3 = 0;
            cVar14 = pcVar2[(int)puVar17];
FUN_00016e40:
            iVar9 = 0x52 - iVar3;
            iVar12 = iVar3 + 2;
            iVar1 = iVar3;
          }
          puVar17 = (uint *)0x1;
LAB_00016e88:
          iVar3 = iVar1 + 3;
        } while (puVar6 != puVar17);
        auStack_fb[iVar1] = 0;
        (*pcStack_118)(auStack_100);
        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);
        goto LAB_00016ef0;
      }
      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;
    }
    uStack_b0 = 0;
    iVar1 = *(int *)(pcStack_128 + -0x7fd4);
    puStack_10c = auStack_100 + 1;
    iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0);
    iStack_11c = 0;
    pcStack_118 = pcVar2 + (int)puVar6;
    iVar3 = 5;
    auStack_100[iVar5 + 1] = 0x20;
    pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));
    iVar5 = 0x3c;
    do {
      pcVar8 = pcVar2 + 1;
      cVar14 = *pcVar2;
      iVar12 = iVar3 + 3;
      if (iVar12 == 0x20) {
        iVar13 = 0x23;
        iVar7 = 0x31;
        iVar3 = 0x21;
      }
      else {
        iVar13 = iVar3 + 5;
        iVar7 = 0x52 - iVar12;
        iVar3 = iVar12;
      }
      (**(code **)(pcStack_128 + -0x7f0c))
                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);
      iVar12 = iVar5 + 1;
      auStack_100[iVar13] = 0x20;
      if (iVar9 == 0) {
        if (0x5e < (byte)cVar14 - 0x20) {
          cVar14 = (code)0x2e;
        }
        auStack_100[iVar5] = cVar14;
        if (0x4b < iVar12) goto LAB_0001706c;
      }
      else {
        auStack_100[iVar5] = 0x20;
        if (0x4b < iVar12) {
          (*pcStack_104)(auStack_100);
LAB_0001706c:
          iVar3 = 5;
          iVar12 = 0x3c;
          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);
          iVar5 = iStack_11c + 0x10;
          iStack_11c = iVar5;
          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);
          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);
          auStack_100[iVar5 + 1] = 0x20;
        }
      }
      pcVar2 = pcVar8;
      iVar5 = iVar12;
    } while (pcVar8 != pcStack_118);
    if (iVar12 != 0x3c) {
      auStack_100[iVar12] = 0;
      if (iVar9 != 0) {
        trimTrailingSpaces(auStack_100);
      }
      (**(code **)(pcStack_128 + -0x7f6c))
                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);
    }
  }
LAB_00016ef0:
  if (iStack_ac == *piStack_108) {
    return *piStack_108;
  }
  pcVar2 = *(code **)(pcStack_128 + -0x7df4);
  pcVar16 = sg_get_initial_dsense;
  (*pcVar2)();
  piVar10 = *(int **)(pcVar2 + 0x3d894);
  iStack_144 = *piVar10;
  pcStack_140 = pcVar8;
  pcStack_13c = pcVar16;
  iVar3 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);
  if ((iVar3 == 0) ||
     (iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)
     , iVar3 != 1)) {
    uVar4 = 0;
  }
  else {
    uVar4 = (uint)(iStack_148 != 0);
  }
  if (iStack_144 != *piVar10) {
    pcVar8 = *(code **)(pcVar2 + 0x3d864);
    (*pcVar8)();
    piVar10 = *(int **)(pcVar8 + 0x3d6e8);
    *piVar10 = iStack_144;
    return (int)piVar10;
  }
  return uVar4;
}



int * sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)

{
  int *piVar1;
  code *pcVar2;
  int *piVar3;
  int iVar4;
  uint *puVar5;
  int iVar6;
  int iVar7;
  code *pcVar8;
  int iVar9;
  undefined4 *puVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  code cVar14;
  undefined *puVar15;
  code *pcVar16;
  uint *puVar17;
  uint local_resc;
  int iStack_148;
  int iStack_144;
  code *pcStack_140;
  code *pcStack_13c;
  code *pcStack_128;
  int iStack_11c;
  code *pcStack_118;
  uint uStack_114;
  int iStack_110;
  undefined1 *puStack_10c;
  int *piStack_108;
  code *pcStack_104;
  undefined1 auStack_100 [5];
  undefined1 auStack_fb [55];
  undefined1 auStack_c4 [20];
  undefined1 uStack_b0;
  int *piStack_ac;
  code *pcStack_a8;
  undefined4 *puStack_a4;
  uint *puStack_a0;
  code *pcStack_9c;
  undefined1 *puStack_98;
  int iStack_94;
  int iStack_90;
  code *local_28;
  uint *local_24;
  
  puVar15 = PTR___stack_chk_guard_00054a4c;
  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;
  iVar11 = param_2;
  local_resc = param_4;
  if (param_2 < 2) {
    piVar1 = (int *)0x0;
    pcVar8 = param_3;
  }
  else {
    local_24 = &local_resc;
    param_4 = 0xffffffff;
    pcVar8 = (code *)0x1;
    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();
    local_28 = param_3;
    if (param_2 <= (int)piVar1) {
      piVar1 = (int *)(param_2 + -1);
    }
  }
  if (iVar4 == *(int *)puVar15) {
    return piVar1;
  }
  puVar15 = PTR___stack_chk_fail_00054a1c;
  (*(code *)PTR___stack_chk_fail_00054a1c)();
  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);
  pcVar2 = (code *)*puVar10;
  if (iVar4 == 0) {
    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;
  }
  if (param_4 < 0xb) {
                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    piVar1 = (int *)(*(code *)(puVar15 +
                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44
                              ))();
    return piVar1;
  }
  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;
  puVar5 = local_24;
  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);
  *local_28 = (code)0x0;
  if (pcVar2 == (code *)*puVar10) {
    return piVar1;
  }
  pcVar16 = *(code **)(puVar15 + 0x3e050);
  (*pcVar16)();
  pcStack_128 = pcVar16 + 0x45a88;
  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);
  puStack_98 = &_gp_1;
  pcStack_9c = local_28;
  puStack_a0 = local_24;
  piStack_ac = (int *)*piStack_108;
  uStack_114 = param_4;
  pcStack_a8 = pcVar8;
  puStack_a4 = puVar10;
  iStack_94 = iVar4;
  iStack_90 = iVar11;
  if (0 < (int)puVar5) {
    if (iVar9 == 0) {
      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);
      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;
    }
    else {
      (**(code **)(pcVar16 + 0x3dbe0))();
      uStack_b0 = 0;
      if (iVar9 < 0) {
        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);
        puVar17 = (uint *)0x0;
        iVar4 = *(int *)(pcStack_128 + -0x7fd4);
        iVar11 = 0;
        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);
        do {
          cVar14 = pcVar2[(int)puVar17];
          if (iVar11 != 0x18) goto LAB_00016e40;
          iVar12 = 0x1b;
          iVar6 = 0x39;
          iVar9 = 0x19;
          while( true ) {
            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);
            auStack_100[iVar12] = 0x20;
            pcVar8 = pcVar2;
            if (puVar17 == (uint *)0x0) break;
            puVar17 = (uint *)((int)puVar17 + 1);
            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;
            (*pcStack_118)(auStack_100);
            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);
            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);
            if (puVar17 == puVar5) goto LAB_00016ef0;
            iVar11 = 0;
            cVar14 = pcVar2[(int)puVar17];
LAB_00016e40:
            iVar6 = 0x52 - iVar11;
            iVar12 = iVar11 + 2;
            iVar9 = iVar11;
          }
          puVar17 = (uint *)0x1;
LAB_00016e88:
          iVar11 = iVar9 + 3;
        } while (puVar5 != puVar17);
        auStack_fb[iVar9] = 0;
        (*pcStack_118)(auStack_100);
        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);
        goto LAB_00016ef0;
      }
      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;
    }
    uStack_b0 = 0;
    iVar6 = *(int *)(pcStack_128 + -0x7fd4);
    puStack_10c = auStack_100 + 1;
    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);
    iStack_11c = 0;
    pcStack_118 = pcVar2 + (int)puVar5;
    iVar11 = 5;
    auStack_100[iVar4 + 1] = 0x20;
    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);
    iVar4 = 0x3c;
    do {
      pcVar8 = pcVar2 + 1;
      cVar14 = *pcVar2;
      iVar12 = iVar11 + 3;
      if (iVar12 == 0x20) {
        iVar13 = 0x23;
        iVar7 = 0x31;
        iVar11 = 0x21;
      }
      else {
        iVar13 = iVar11 + 5;
        iVar7 = 0x52 - iVar12;
        iVar11 = iVar12;
      }
      (**(code **)(pcStack_128 + -0x7f0c))
                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);
      iVar12 = iVar4 + 1;
      auStack_100[iVar13] = 0x20;
      if (iVar9 == 0) {
        if (0x5e < (byte)cVar14 - 0x20) {
          cVar14 = (code)0x2e;
        }
        auStack_100[iVar4] = cVar14;
        if (0x4b < iVar12) goto LAB_0001706c;
      }
      else {
        auStack_100[iVar4] = 0x20;
        if (0x4b < iVar12) {
          (*pcStack_104)(auStack_100);
LAB_0001706c:
          iVar11 = 5;
          iVar12 = 0x3c;
          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);
          iVar4 = iStack_11c + 0x10;
          iStack_11c = iVar4;
          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);
          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);
          auStack_100[iVar4 + 1] = 0x20;
        }
      }
      pcVar2 = pcVar8;
      iVar4 = iVar12;
    } while (pcVar8 != pcStack_118);
    if (iVar12 != 0x3c) {
      auStack_100[iVar12] = 0;
      if (iVar9 != 0) {
        FUN_000167ec(auStack_100);
      }
      (**(code **)(pcStack_128 + -0x7f6c))
                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);
    }
  }
LAB_00016ef0:
  if (piStack_ac == (int *)*piStack_108) {
    return (int *)*piStack_108;
  }
  pcVar2 = *(code **)(pcStack_128 + -0x7df4);
  pcVar16 = sg_get_initial_dsense;
  (*pcVar2)();
  piVar1 = *(int **)(pcVar2 + 0x3d894);
  iStack_144 = *piVar1;
  pcStack_140 = pcVar8;
  pcStack_13c = pcVar16;
  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);
  if ((iVar11 == 0) ||
     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))
                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {
    piVar3 = (int *)0x0;
  }
  else {
    piVar3 = (int *)(uint)(iStack_148 != 0);
  }
  if (iStack_144 != *piVar1) {
    pcVar8 = *(code **)(pcVar2 + 0x3d864);
    (*pcVar8)();
    piVar1 = *(int **)(pcVar8 + 0x3d6e8);
    *piVar1 = iStack_144;
    return piVar1;
  }
  return piVar3;
}


lui gp,0x4
addiu gp,gp,0x5ee8
addu gp,gp,t9
addiu sp,sp,-0x38
slti v0,a1,0x2
sw s0,0x2c(sp)
sw a3,0x44(sp)
lw s0,-0x7dc4(gp)
sw gp,0x18(sp)
sw ra,0x34(sp)
sw s1,0x30(sp)
lw v1,0x0(s0)
sw v1,0x24(sp)
bne v0,zero,0x000169b8
_lw t9,-0x7edc(gp)
addiu v0,sp,0x44
sw a2,0x10(sp)
li a3,-0x1
li a2,0x1
sw v0,0x20(sp)
sw v0,0x14(sp)
jalr t9
_or s1,a1,zero
slt v1,v0,s1
beq v1,zero,0x000169b0
_lw gp,0x18(sp)
lw a0,0x24(sp)
lw v1,0x0(s0)
bne a0,v1,0x000169c0
_lw ra,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x38
b 0x00016990
_addiu v0,s1,-0x1
b 0x00016990
_or v0,zero,zero
lw t9,-0x7df4(gp)
jalr t9
_nop
(translation_unit "int * sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}\n\n" (function_definition "int * sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}" primitive_type (pointer_declarator "* sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)" * (function_declarator "sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,code *param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "uint param_4" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code cVar14;" type_identifier identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "uint *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "uint local_resc;" type_identifier identifier ;) (declaration "int iStack_148;" primitive_type identifier ;) (declaration "int iStack_144;" primitive_type identifier ;) (declaration "code *pcStack_140;" type_identifier (pointer_declarator "*pcStack_140" * identifier) ;) (declaration "code *pcStack_13c;" type_identifier (pointer_declarator "*pcStack_13c" * identifier) ;) (declaration "code *pcStack_128;" type_identifier (pointer_declarator "*pcStack_128" * identifier) ;) (declaration "int iStack_11c;" primitive_type identifier ;) (declaration "code *pcStack_118;" type_identifier (pointer_declarator "*pcStack_118" * identifier) ;) (declaration "uint uStack_114;" type_identifier identifier ;) (declaration "int iStack_110;" primitive_type identifier ;) (declaration "undefined1 *puStack_10c;" type_identifier (pointer_declarator "*puStack_10c" * identifier) ;) (declaration "int *piStack_108;" primitive_type (pointer_declarator "*piStack_108" * identifier) ;) (declaration "code *pcStack_104;" type_identifier (pointer_declarator "*pcStack_104" * identifier) ;) (declaration "undefined1 auStack_100 [5];" type_identifier (array_declarator "auStack_100 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_fb [55];" type_identifier (array_declarator "auStack_fb [55]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_c4 [20];" type_identifier (array_declarator "auStack_c4 [20]" identifier [ number_literal ]) ;) (declaration "undefined1 uStack_b0;" type_identifier identifier ;) (declaration "int *piStack_ac;" primitive_type (pointer_declarator "*piStack_ac" * identifier) ;) (declaration "code *pcStack_a8;" type_identifier (pointer_declarator "*pcStack_a8" * identifier) ;) (declaration "undefined4 *puStack_a4;" type_identifier (pointer_declarator "*puStack_a4" * identifier) ;) (declaration "uint *puStack_a0;" type_identifier (pointer_declarator "*puStack_a0" * identifier) ;) (declaration "code *pcStack_9c;" type_identifier (pointer_declarator "*pcStack_9c" * identifier) ;) (declaration "undefined1 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "int iStack_90;" primitive_type identifier ;) (declaration "code *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00054a4c;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00054a4c" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;" (assignment_expression "iVar4 = *(int *)PTR___stack_chk_guard_00054a4c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00054a4c" * (cast_expression "(int *)PTR___stack_chk_guard_00054a4c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" identifier = identifier) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (if_statement "if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }" { (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar8 = param_3;" (assignment_expression "pcVar8 = param_3" identifier = identifier) ;) }) (else_clause "else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" else (compound_statement "{\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" { (expression_statement "local_24 = &local_resc;" (assignment_expression "local_24 = &local_resc" identifier = (pointer_expression "&local_resc" & identifier)) ;) (expression_statement "param_4 = 0xffffffff;" (assignment_expression "param_4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "pcVar8 = (code *)0x1;" (assignment_expression "pcVar8 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)()" identifier = (cast_expression "(int *)(*(code *)PTR___vsnprintf_chk_00054934)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___vsnprintf_chk_00054934)()" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_00054934)" ( (pointer_expression "*(code *)PTR___vsnprintf_chk_00054934" * (cast_expression "(code *)PTR___vsnprintf_chk_00054934" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" identifier = identifier) ;) (if_statement "if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }" if (parenthesized_expression "(param_2 <= (int)piVar1)" ( (binary_expression "param_2 <= (int)piVar1" identifier <= (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      piVar1 = (int *)(param_2 + -1);\n    }" { (expression_statement "piVar1 = (int *)(param_2 + -1);" (assignment_expression "piVar1 = (int *)(param_2 + -1)" identifier = (cast_expression "(int *)(param_2 + -1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + -1)" ( (binary_expression "param_2 + -1" identifier + number_literal) )))) ;) })) }))) (if_statement "if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }" if (parenthesized_expression "(iVar4 == *(int *)puVar15)" ( (binary_expression "iVar4 == *(int *)puVar15" identifier == (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar1;\n  }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "puVar15 = PTR___stack_chk_fail_00054a1c;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00054a1c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00054a1c)();" (call_expression "(*(code *)PTR___stack_chk_fail_00054a1c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00054a1c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00054a1c" * (cast_expression "(code *)PTR___stack_chk_fail_00054a1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar10 = *(undefined4 **)(puVar15 + 0x3e080);" (assignment_expression "puVar10 = *(undefined4 **)(puVar15 + 0x3e080)" identifier = (pointer_expression "*(undefined4 **)(puVar15 + 0x3e080)" * (cast_expression "(undefined4 **)(puVar15 + 0x3e080)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3e080)" ( (binary_expression "puVar15 + 0x3e080" identifier + number_literal) ))))) ;) (expression_statement "pcVar2 = (code *)*puVar10;" (assignment_expression "pcVar2 = (code *)*puVar10" identifier = (cast_expression "(code *)*puVar10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" { (expression_statement "iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;" (assignment_expression "iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c" identifier = (binary_expression "*(int *)(puVar15 + 0x3de74) + -0x1a5c" (pointer_expression "*(int *)(puVar15 + 0x3de74)" * (cast_expression "(int *)(puVar15 + 0x3de74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de74)" ( (binary_expression "puVar15 + 0x3de74" identifier + number_literal) )))) + number_literal)) ;) })) (if_statement "if (param_4 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }" if (parenthesized_expression "(param_4 < 0xb)" ( (binary_expression "param_4 < 0xb" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }" { comment comment (expression_statement "piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();" (assignment_expression "piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" identifier = (cast_expression "(int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" (parenthesized_expression "(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))" ( (pointer_expression "*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" * (cast_expression "(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" ( (binary_expression "puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44" (binary_expression "puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" * (cast_expression "(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" ( (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4" (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0" (pointer_expression "*(int *)(puVar15 + 0x3de70)" * (cast_expression "(int *)(puVar15 + 0x3de70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de70)" ( (binary_expression "puVar15 + 0x3de70" identifier + number_literal) )))) + number_literal) + (binary_expression "param_4 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return piVar1;" return identifier ;) })) (expression_statement "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80" identifier = (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x2f80" (pointer_expression "*(int *)(puVar15 + 0x3de70)" * (cast_expression "(int *)(puVar15 + 0x3de70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de70)" ( (binary_expression "puVar15 + 0x3de70" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar5 = local_24;" (assignment_expression "puVar5 = local_24" identifier = identifier) ;) (expression_statement "piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);" (assignment_expression "piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x3df38))(&_gp_1)" (parenthesized_expression "(**(code **)(puVar15 + 0x3df38))" ( (pointer_expression "**(code **)(puVar15 + 0x3df38)" * (pointer_expression "*(code **)(puVar15 + 0x3df38)" * (cast_expression "(code **)(puVar15 + 0x3df38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3df38)" ( (binary_expression "puVar15 + 0x3df38" identifier + number_literal) ))))) )) (argument_list "(&_gp_1)" ( (pointer_expression "&_gp_1" & identifier) ))))) ;) (expression_statement "*local_28 = (code)0x0;" (assignment_expression "*local_28 = (code)0x0" (pointer_expression "*local_28" * identifier) = (cast_expression "(code)0x0" ( (type_descriptor "code" type_identifier) ) number_literal)) ;) (if_statement "if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }" if (parenthesized_expression "(pcVar2 == (code *)*puVar10)" ( (binary_expression "pcVar2 == (code *)*puVar10" identifier == (cast_expression "(code *)*puVar10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) )) (compound_statement "{\n    return piVar1;\n  }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x3e050);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x3e050)" identifier = (pointer_expression "*(code **)(puVar15 + 0x3e050)" * (cast_expression "(code **)(puVar15 + 0x3e050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3e050)" ( (binary_expression "puVar15 + 0x3e050" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar16)();" (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_128 = pcVar16 + 0x45a88;" (assignment_expression "pcStack_128 = pcVar16 + 0x45a88" identifier = (binary_expression "pcVar16 + 0x45a88" identifier + number_literal)) ;) (expression_statement "piStack_108 = *(int **)(pcVar16 + 0x3dcc4);" (assignment_expression "piStack_108 = *(int **)(pcVar16 + 0x3dcc4)" identifier = (pointer_expression "*(int **)(pcVar16 + 0x3dcc4)" * (cast_expression "(int **)(pcVar16 + 0x3dcc4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dcc4)" ( (binary_expression "pcVar16 + 0x3dcc4" identifier + number_literal) ))))) ;) (expression_statement "puStack_98 = &_gp_1;" (assignment_expression "puStack_98 = &_gp_1" identifier = (pointer_expression "&_gp_1" & identifier)) ;) (expression_statement "pcStack_9c = local_28;" (assignment_expression "pcStack_9c = local_28" identifier = identifier) ;) (expression_statement "puStack_a0 = local_24;" (assignment_expression "puStack_a0 = local_24" identifier = identifier) ;) (expression_statement "piStack_ac = (int *)*piStack_108;" (assignment_expression "piStack_ac = (int *)*piStack_108" identifier = (cast_expression "(int *)*piStack_108" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piStack_108" * identifier))) ;) (expression_statement "uStack_114 = param_4;" (assignment_expression "uStack_114 = param_4" identifier = identifier) ;) (expression_statement "pcStack_a8 = pcVar8;" (assignment_expression "pcStack_a8 = pcVar8" identifier = identifier) ;) (expression_statement "puStack_a4 = puVar10;" (assignment_expression "puStack_a4 = puVar10" identifier = identifier) ;) (expression_statement "iStack_94 = iVar4;" (assignment_expression "iStack_94 = iVar4" identifier = identifier) ;) (expression_statement "iStack_90 = iVar11;" (assignment_expression "iStack_90 = iVar11" identifier = identifier) ;) (if_statement "if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" if (parenthesized_expression "(0 < (int)puVar5)" ( (binary_expression "0 < (int)puVar5" number_literal < (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" { (if_statement "if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }" { (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" ( (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" * (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" * (cast_expression "(code **)(pcVar16 + 0x3dbe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dbe0)" ( (binary_expression "pcVar16 + 0x3dbe0" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" identifier = (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" else (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" { (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))();" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))()" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" ( (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" * (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" * (cast_expression "(code **)(pcVar16 + 0x3dbe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dbe0)" ( (binary_expression "pcVar16 + 0x3dbe0" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (if_statement "if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" { (expression_statement "iStack_11c = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iStack_11c = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "puVar17 = (uint *)0x0;" (assignment_expression "puVar17 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar4 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar4 = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);" (assignment_expression "pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" identifier = (cast_expression "(code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (binary_expression "*(int *)(pcStack_128 + -0x7fd8) + 0x67ec" (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" * (cast_expression "(int *)(pcStack_128 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd8)" ( (binary_expression "pcStack_128 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);" do (compound_statement "{\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        }" { (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" identifier = (subscript_expression "pcVar2[(int)puVar17]" identifier [ (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) ])) ;) (if_statement "if (iVar11 != 0x18) goto LAB_00016e40;" if (parenthesized_expression "(iVar11 != 0x18)" ( (binary_expression "iVar11 != 0x18" identifier != number_literal) )) (goto_statement "goto LAB_00016e40;" goto statement_identifier ;)) (expression_statement "iVar12 = 0x1b;" (assignment_expression "iVar12 = 0x1b" identifier = number_literal) ;) (expression_statement "iVar6 = 0x39;" (assignment_expression "iVar6 = 0x39" identifier = number_literal) ;) (expression_statement "iVar9 = 0x19;" (assignment_expression "iVar9 = 0x19" identifier = number_literal) ;) (while_statement "while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }" { (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14)" ( (binary_expression "auStack_100 + iVar9" identifier + identifier) , identifier , (binary_expression "iVar4 + 0x1d94" identifier + number_literal) , identifier ))) ;) (expression_statement "auStack_100[iVar12] = 0x20;" (assignment_expression "auStack_100[iVar12] = 0x20" (subscript_expression "auStack_100[iVar12]" identifier [ identifier ]) = number_literal) ;) (expression_statement "pcVar8 = pcVar2;" (assignment_expression "pcVar8 = pcVar2" identifier = identifier) ;) (if_statement "if (puVar17 == (uint *)0x0) break;" if (parenthesized_expression "(puVar17 == (uint *)0x0)" ( (binary_expression "puVar17 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "puVar17 = (uint *)((int)puVar17 + 1);" (assignment_expression "puVar17 = (uint *)((int)puVar17 + 1)" identifier = (cast_expression "(uint *)((int)puVar17 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar17 + 1)" ( (binary_expression "(int)puVar17 + 1" (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;" if (parenthesized_expression "(((uint)puVar17 & 0xf) != 0)" ( (binary_expression "((uint)puVar17 & 0xf) != 0" (parenthesized_expression "((uint)puVar17 & 0xf)" ( (binary_expression "(uint)puVar17 & 0xf" (cast_expression "(uint)puVar17" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00016e88;" goto statement_identifier ;)) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" ( (pointer_expression "*pcStack_118" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "iStack_11c + 0x3784" identifier + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" * (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" * (cast_expression "(code **)(pcStack_128 + -0x7ea8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7ea8)" ( (binary_expression "pcStack_128 + -0x7ea8" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if (puVar17 == puVar5) goto LAB_00016ef0;" if (parenthesized_expression "(puVar17 == puVar5)" ( (binary_expression "puVar17 == puVar5" identifier == identifier) )) (goto_statement "goto LAB_00016ef0;" goto statement_identifier ;)) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" identifier = (subscript_expression "pcVar2[(int)puVar17]" identifier [ (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) ])) ;) (labeled_statement "LAB_00016e40:\n            iVar6 = 0x52 - iVar11;" statement_identifier : (expression_statement "iVar6 = 0x52 - iVar11;" (assignment_expression "iVar6 = 0x52 - iVar11" identifier = (binary_expression "0x52 - iVar11" number_literal - identifier)) ;)) (expression_statement "iVar12 = iVar11 + 2;" (assignment_expression "iVar12 = iVar11 + 2" identifier = (binary_expression "iVar11 + 2" identifier + number_literal)) ;) (expression_statement "iVar9 = iVar11;" (assignment_expression "iVar9 = iVar11" identifier = identifier) ;) })) (expression_statement "puVar17 = (uint *)0x1;" (assignment_expression "puVar17 = (uint *)0x1" identifier = (cast_expression "(uint *)0x1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00016e88:\n          iVar11 = iVar9 + 3;" statement_identifier : (expression_statement "iVar11 = iVar9 + 3;" (assignment_expression "iVar11 = iVar9 + 3" identifier = (binary_expression "iVar9 + 3" identifier + number_literal)) ;)) }) while (parenthesized_expression "(puVar5 != puVar17)" ( (binary_expression "puVar5 != puVar17" identifier != identifier) )) ;) (expression_statement "auStack_fb[iVar9] = 0;" (assignment_expression "auStack_fb[iVar9] = 0" (subscript_expression "auStack_fb[iVar9]" identifier [ identifier ]) = number_literal) ;) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" ( (pointer_expression "*pcStack_118" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "iStack_11c + 0x3784" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00016ef0;" goto statement_identifier ;) })) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784" identifier = (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal)) ;) }))) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar6 = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "puStack_10c = auStack_100 + 1;" (assignment_expression "puStack_10c = auStack_100 + 1" identifier = (binary_expression "auStack_100 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);" (assignment_expression "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0)" identifier = (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(puStack_10c,0x51,iVar6 + 0x1d94,0)" ( identifier , number_literal , (binary_expression "iVar6 + 0x1d94" identifier + number_literal) , number_literal )))) ;) (expression_statement "iStack_11c = 0;" (assignment_expression "iStack_11c = 0" identifier = number_literal) ;) (expression_statement "pcStack_118 = pcVar2 + (int)puVar5;" (assignment_expression "pcStack_118 = pcVar2 + (int)puVar5" identifier = (binary_expression "pcVar2 + (int)puVar5" identifier + (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar11 = 5;" (assignment_expression "iVar11 = 5" identifier = number_literal) ;) (expression_statement "auStack_100[iVar4 + 1] = 0x20;" (assignment_expression "auStack_100[iVar4 + 1] = 0x20" (subscript_expression "auStack_100[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);" (assignment_expression "pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" identifier = (cast_expression "(code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (binary_expression "*(int *)(pcStack_128 + -0x7fd8) + 0x67ec" (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" * (cast_expression "(int *)(pcStack_128 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd8)" ( (binary_expression "pcStack_128 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar4 = 0x3c;" (assignment_expression "iVar4 = 0x3c" identifier = number_literal) ;) (do_statement "do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);" do (compound_statement "{\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    }" { (expression_statement "pcVar8 = pcVar2 + 1;" (assignment_expression "pcVar8 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "cVar14 = *pcVar2;" (assignment_expression "cVar14 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "iVar12 = iVar11 + 3;" (assignment_expression "iVar12 = iVar11 + 3" identifier = (binary_expression "iVar11 + 3" identifier + number_literal)) ;) (if_statement "if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" if (parenthesized_expression "(iVar12 == 0x20)" ( (binary_expression "iVar12 == 0x20" identifier == number_literal) )) (compound_statement "{\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }" { (expression_statement "iVar13 = 0x23;" (assignment_expression "iVar13 = 0x23" identifier = number_literal) ;) (expression_statement "iVar7 = 0x31;" (assignment_expression "iVar7 = 0x31" identifier = number_literal) ;) (expression_statement "iVar11 = 0x21;" (assignment_expression "iVar11 = 0x21" identifier = number_literal) ;) }) (else_clause "else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" else (compound_statement "{\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" { (expression_statement "iVar13 = iVar11 + 5;" (assignment_expression "iVar13 = iVar11 + 5" identifier = (binary_expression "iVar11 + 5" identifier + number_literal)) ;) (expression_statement "iVar7 = 0x52 - iVar12;" (assignment_expression "iVar7 = 0x52 - iVar12" identifier = (binary_expression "0x52 - iVar12" number_literal - identifier)) ;) (expression_statement "iVar11 = iVar12;" (assignment_expression "iVar11 = iVar12" identifier = identifier) ;) }))) (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14)" ( (binary_expression "auStack_100 + iVar11" identifier + identifier) , identifier , (binary_expression "iVar6 + 0x1d94" identifier + number_literal) , (cast_expression "(uint)(byte)cVar14" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)cVar14" ( (type_descriptor "byte" type_identifier) ) identifier)) ))) ;) (expression_statement "iVar12 = iVar4 + 1;" (assignment_expression "iVar12 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "auStack_100[iVar13] = 0x20;" (assignment_expression "auStack_100[iVar13] = 0x20" (subscript_expression "auStack_100[iVar13]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }" { (if_statement "if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }" if (parenthesized_expression "(0x5e < (byte)cVar14 - 0x20)" ( (binary_expression "0x5e < (byte)cVar14 - 0x20" number_literal < (binary_expression "(byte)cVar14 - 0x20" (cast_expression "(byte)cVar14" ( (type_descriptor "byte" type_identifier) ) identifier) - number_literal)) )) (compound_statement "{\n          cVar14 = (code)0x2e;\n        }" { (expression_statement "cVar14 = (code)0x2e;" (assignment_expression "cVar14 = (code)0x2e" identifier = (cast_expression "(code)0x2e" ( (type_descriptor "code" type_identifier) ) number_literal)) ;) })) (expression_statement "auStack_100[iVar4] = cVar14;" (assignment_expression "auStack_100[iVar4] = cVar14" (subscript_expression "auStack_100[iVar4]" identifier [ identifier ]) = identifier) ;) (if_statement "if (0x4b < iVar12) goto LAB_0001706c;" if (parenthesized_expression "(0x4b < iVar12)" ( (binary_expression "0x4b < iVar12" number_literal < identifier) )) (goto_statement "goto LAB_0001706c;" goto statement_identifier ;)) }) (else_clause "else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" else (compound_statement "{\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" { (expression_statement "auStack_100[iVar4] = 0x20;" (assignment_expression "auStack_100[iVar4] = 0x20" (subscript_expression "auStack_100[iVar4]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }" if (parenthesized_expression "(0x4b < iVar12)" ( (binary_expression "0x4b < iVar12" number_literal < identifier) )) (compound_statement "{\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }" { (expression_statement "(*pcStack_104)(auStack_100);" (call_expression "(*pcStack_104)(auStack_100)" (parenthesized_expression "(*pcStack_104)" ( (pointer_expression "*pcStack_104" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (labeled_statement "LAB_0001706c:\n          iVar11 = 5;" statement_identifier : (expression_statement "iVar11 = 5;" (assignment_expression "iVar11 = 5" identifier = number_literal) ;)) (expression_statement "iVar12 = 0x3c;" (assignment_expression "iVar12 = 0x3c" identifier = number_literal) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_110,auStack_100)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar4 = iStack_11c + 0x10;" (assignment_expression "iVar4 = iStack_11c + 0x10" identifier = (binary_expression "iStack_11c + 0x10" identifier + number_literal)) ;) (expression_statement "iStack_11c = iVar4;" (assignment_expression "iStack_11c = iVar4" identifier = identifier) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" * (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" * (cast_expression "(code **)(pcStack_128 + -0x7ea8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7ea8)" ( (binary_expression "pcStack_128 + -0x7ea8" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);" (assignment_expression "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" identifier = (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" ( identifier , number_literal , (binary_expression "iVar6 + 0x1d94" identifier + number_literal) , identifier )))) ;) (expression_statement "auStack_100[iVar4 + 1] = 0x20;" (assignment_expression "auStack_100[iVar4 + 1] = 0x20" (subscript_expression "auStack_100[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = number_literal) ;) })) }))) (expression_statement "pcVar2 = pcVar8;" (assignment_expression "pcVar2 = pcVar8" identifier = identifier) ;) (expression_statement "iVar4 = iVar12;" (assignment_expression "iVar4 = iVar12" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar8 != pcStack_118)" ( (binary_expression "pcVar8 != pcStack_118" identifier != identifier) )) ;) (if_statement "if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" if (parenthesized_expression "(iVar12 != 0x3c)" ( (binary_expression "iVar12 != 0x3c" identifier != number_literal) )) (compound_statement "{\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" { (expression_statement "auStack_100[iVar12] = 0;" (assignment_expression "auStack_100[iVar12] = 0" (subscript_expression "auStack_100[iVar12]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_000167ec(auStack_100);\n      }" { (expression_statement "FUN_000167ec(auStack_100);" (call_expression "FUN_000167ec(auStack_100)" identifier (argument_list "(auStack_100)" ( identifier ))) ;) })) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal) , identifier ))) ;) })) })) (labeled_statement "LAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }" statement_identifier : (if_statement "if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }" if (parenthesized_expression "(piStack_ac == (int *)*piStack_108)" ( (binary_expression "piStack_ac == (int *)*piStack_108" identifier == (cast_expression "(int *)*piStack_108" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piStack_108" * identifier))) )) (compound_statement "{\n    return (int *)*piStack_108;\n  }" { (return_statement "return (int *)*piStack_108;" return (cast_expression "(int *)*piStack_108" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piStack_108" * identifier)) ;) }))) (expression_statement "pcVar2 = *(code **)(pcStack_128 + -0x7df4);" (assignment_expression "pcVar2 = *(code **)(pcStack_128 + -0x7df4)" identifier = (pointer_expression "*(code **)(pcStack_128 + -0x7df4)" * (cast_expression "(code **)(pcStack_128 + -0x7df4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7df4)" ( (binary_expression "pcStack_128 + -0x7df4" identifier + number_literal) ))))) ;) (expression_statement "pcVar16 = sg_get_initial_dsense;" (assignment_expression "pcVar16 = sg_get_initial_dsense" identifier = identifier) ;) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar1 = *(int **)(pcVar2 + 0x3d894);" (assignment_expression "piVar1 = *(int **)(pcVar2 + 0x3d894)" identifier = (pointer_expression "*(int **)(pcVar2 + 0x3d894)" * (cast_expression "(int **)(pcVar2 + 0x3d894)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d894)" ( (binary_expression "pcVar2 + 0x3d894" identifier + number_literal) ))))) ;) (expression_statement "iStack_144 = *piVar1;" (assignment_expression "iStack_144 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "pcStack_140 = pcVar8;" (assignment_expression "pcStack_140 = pcVar8" identifier = identifier) ;) (expression_statement "pcStack_13c = pcVar16;" (assignment_expression "pcStack_13c = pcVar16" identifier = identifier) ;) (expression_statement "iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);" (assignment_expression "iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" identifier = (call_expression "(**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d814))" ( (pointer_expression "**(code **)(pcVar2 + 0x3d814)" * (pointer_expression "*(code **)(pcVar2 + 0x3d814)" * (cast_expression "(code **)(pcVar2 + 0x3d814)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d814)" ( (binary_expression "pcVar2 + 0x3d814" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" ( (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x1d9c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" * (cast_expression "(int *)(pcVar2 + 0x3d684)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x3d684)" ( (binary_expression "pcVar2 + 0x3d684" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" if (parenthesized_expression "((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1))" ( (binary_expression "(iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)" (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)" ( (comma_expression "iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1" (assignment_expression "iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" identifier = (call_expression "(**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d7b8))" ( (pointer_expression "**(code **)(pcVar2 + 0x3d7b8)" * (pointer_expression "*(code **)(pcVar2 + 0x3d7b8)" * (cast_expression "(code **)(pcVar2 + 0x3d7b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d7b8)" ( (binary_expression "pcVar2 + 0x3d7b8" identifier + number_literal) ))))) )) (argument_list "(iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" ( identifier , (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x206c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" * (cast_expression "(int *)(pcVar2 + 0x3d684)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x3d684)" ( (binary_expression "pcVar2 + 0x3d684" identifier + number_literal) )))) + number_literal) , (pointer_expression "&iStack_148" & identifier) )))) , (binary_expression "iVar11 != 1" identifier != number_literal)) ))) )) (compound_statement "{\n    piVar3 = (int *)0x0;\n  }" { (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" else (compound_statement "{\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" { (expression_statement "piVar3 = (int *)(uint)(iStack_148 != 0);" (assignment_expression "piVar3 = (int *)(uint)(iStack_148 != 0)" identifier = (cast_expression "(int *)(uint)(iStack_148 != 0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(iStack_148 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iStack_148 != 0)" ( (binary_expression "iStack_148 != 0" identifier != number_literal) ))))) ;) }))) (if_statement "if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }" if (parenthesized_expression "(iStack_144 != *piVar1)" ( (binary_expression "iStack_144 != *piVar1" identifier != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }" { (expression_statement "pcVar8 = *(code **)(pcVar2 + 0x3d864);" (assignment_expression "pcVar8 = *(code **)(pcVar2 + 0x3d864)" identifier = (pointer_expression "*(code **)(pcVar2 + 0x3d864)" * (cast_expression "(code **)(pcVar2 + 0x3d864)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d864)" ( (binary_expression "pcVar2 + 0x3d864" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar1 = *(int **)(pcVar8 + 0x3d6e8);" (assignment_expression "piVar1 = *(int **)(pcVar8 + 0x3d6e8)" identifier = (pointer_expression "*(int **)(pcVar8 + 0x3d6e8)" * (cast_expression "(int **)(pcVar8 + 0x3d6e8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x3d6e8)" ( (binary_expression "pcVar8 + 0x3d6e8" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = iStack_144;" (assignment_expression "*piVar1 = iStack_144" (pointer_expression "*piVar1" * identifier) = identifier) ;) (return_statement "return piVar1;" return identifier ;) })) (return_statement "return piVar3;" return identifier ;) })))
(translation_unit "int sg_scnpr(char *cp,int cp_max_len,char *fmt,...)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  uint in_a3;\n  int *piVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int iStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  char *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  char *local_28;\n  uint *local_24;\n  va_list args;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar5 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar3 = cp_max_len;\n  local_resc = in_a3;\n  if (cp_max_len < 2) {\n    iVar1 = 0;\n    pcVar8 = (code *)fmt;\n  }\n  else {\n    local_24 = &local_resc;\n    in_a3 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = fmt;\n    if (cp_max_len <= iVar1) {\n      iVar1 = cp_max_len + -1;\n    }\n  }\n  if (iVar5 == *(int *)puVar15) {\n    return iVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar11 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar11;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (in_a3 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar3 = (*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))();\n    return iVar3;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar6 = local_24;\n  iVar1 = (**(code **)(puVar15 + 0x3df38))(&_gp);\n  *local_28 = '\0';\n  if (pcVar2 == (code *)*puVar11) {\n    return iVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  iStack_ac = *piStack_108;\n  uStack_114 = in_a3;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar11;\n  iStack_94 = iVar5;\n  iStack_90 = iVar3;\n  if (0 < (int)puVar6) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar1 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar6;\n    iVar3 = 5;\n    auStack_100[iVar5 + 1] = 0x20;\n    pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n    iVar5 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar3 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar5 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar5 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (iStack_ac == *piStack_108) {\n    return *piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar10 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar10;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar3 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar3 == 0) ||\n     (iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1)) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = (uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar10) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar10 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar10 = iStack_144;\n    return (int)piVar10;\n  }\n  return uVar4;\n}\n\n" (function_definition "int sg_scnpr(char *cp,int cp_max_len,char *fmt,...)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  uint in_a3;\n  int *piVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int iStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  char *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  char *local_28;\n  uint *local_24;\n  va_list args;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar5 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar3 = cp_max_len;\n  local_resc = in_a3;\n  if (cp_max_len < 2) {\n    iVar1 = 0;\n    pcVar8 = (code *)fmt;\n  }\n  else {\n    local_24 = &local_resc;\n    in_a3 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = fmt;\n    if (cp_max_len <= iVar1) {\n      iVar1 = cp_max_len + -1;\n    }\n  }\n  if (iVar5 == *(int *)puVar15) {\n    return iVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar11 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar11;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (in_a3 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar3 = (*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))();\n    return iVar3;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar6 = local_24;\n  iVar1 = (**(code **)(puVar15 + 0x3df38))(&_gp);\n  *local_28 = '\0';\n  if (pcVar2 == (code *)*puVar11) {\n    return iVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  iStack_ac = *piStack_108;\n  uStack_114 = in_a3;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar11;\n  iStack_94 = iVar5;\n  iStack_90 = iVar3;\n  if (0 < (int)puVar6) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar1 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar6;\n    iVar3 = 5;\n    auStack_100[iVar5 + 1] = 0x20;\n    pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n    iVar5 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar3 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar5 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar5 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (iStack_ac == *piStack_108) {\n    return *piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar10 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar10;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar3 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar3 == 0) ||\n     (iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1)) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = (uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar10) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar10 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar10 = iStack_144;\n    return (int)piVar10;\n  }\n  return uVar4;\n}" primitive_type (function_declarator "sg_scnpr(char *cp,int cp_max_len,char *fmt,...)" identifier (parameter_list "(char *cp,int cp_max_len,char *fmt,...)" ( (parameter_declaration "char *cp" primitive_type (pointer_declarator "*cp" * identifier)) , (parameter_declaration "int cp_max_len" primitive_type identifier) , (parameter_declaration "char *fmt" primitive_type (pointer_declarator "*fmt" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  uint in_a3;\n  int *piVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int iStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  char *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  char *local_28;\n  uint *local_24;\n  va_list args;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar5 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar3 = cp_max_len;\n  local_resc = in_a3;\n  if (cp_max_len < 2) {\n    iVar1 = 0;\n    pcVar8 = (code *)fmt;\n  }\n  else {\n    local_24 = &local_resc;\n    in_a3 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = fmt;\n    if (cp_max_len <= iVar1) {\n      iVar1 = cp_max_len + -1;\n    }\n  }\n  if (iVar5 == *(int *)puVar15) {\n    return iVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar11 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar11;\n  if (iVar5 == 0) {\n    iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (in_a3 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar3 = (*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))();\n    return iVar3;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar6 = local_24;\n  iVar1 = (**(code **)(puVar15 + 0x3df38))(&_gp);\n  *local_28 = '\0';\n  if (pcVar2 == (code *)*puVar11) {\n    return iVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  iStack_ac = *piStack_108;\n  uStack_114 = in_a3;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar11;\n  iStack_94 = iVar5;\n  iStack_90 = iVar3;\n  if (0 < (int)puVar6) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar1 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar6;\n    iVar3 = 5;\n    auStack_100[iVar5 + 1] = 0x20;\n    pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n    iVar5 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar3 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar5 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar5 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (iStack_ac == *piStack_108) {\n    return *piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar10 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar10;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar3 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar3 == 0) ||\n     (iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1)) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = (uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar10) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar10 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar10 = iStack_144;\n    return (int)piVar10;\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code cVar14;" type_identifier identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "uint *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "uint local_resc;" type_identifier identifier ;) (declaration "int iStack_148;" primitive_type identifier ;) (declaration "int iStack_144;" primitive_type identifier ;) (declaration "code *pcStack_140;" type_identifier (pointer_declarator "*pcStack_140" * identifier) ;) (declaration "code *pcStack_13c;" type_identifier (pointer_declarator "*pcStack_13c" * identifier) ;) (declaration "code *pcStack_128;" type_identifier (pointer_declarator "*pcStack_128" * identifier) ;) (declaration "int iStack_11c;" primitive_type identifier ;) (declaration "code *pcStack_118;" type_identifier (pointer_declarator "*pcStack_118" * identifier) ;) (declaration "uint uStack_114;" type_identifier identifier ;) (declaration "int iStack_110;" primitive_type identifier ;) (declaration "undefined1 *puStack_10c;" type_identifier (pointer_declarator "*puStack_10c" * identifier) ;) (declaration "int *piStack_108;" primitive_type (pointer_declarator "*piStack_108" * identifier) ;) (declaration "code *pcStack_104;" type_identifier (pointer_declarator "*pcStack_104" * identifier) ;) (declaration "undefined1 auStack_100 [5];" type_identifier (array_declarator "auStack_100 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_fb [55];" type_identifier (array_declarator "auStack_fb [55]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_c4 [20];" type_identifier (array_declarator "auStack_c4 [20]" identifier [ number_literal ]) ;) (declaration "undefined1 uStack_b0;" type_identifier identifier ;) (declaration "int iStack_ac;" primitive_type identifier ;) (declaration "code *pcStack_a8;" type_identifier (pointer_declarator "*pcStack_a8" * identifier) ;) (declaration "undefined4 *puStack_a4;" type_identifier (pointer_declarator "*puStack_a4" * identifier) ;) (declaration "uint *puStack_a0;" type_identifier (pointer_declarator "*puStack_a0" * identifier) ;) (declaration "char *pcStack_9c;" primitive_type (pointer_declarator "*pcStack_9c" * identifier) ;) (declaration "undefined1 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "int iStack_90;" primitive_type identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "va_list args;" type_identifier identifier ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00054a4c;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00054a4c" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_00054a4c;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_00054a4c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00054a4c" * (cast_expression "(int *)PTR___stack_chk_guard_00054a4c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar3 = cp_max_len;" (assignment_expression "iVar3 = cp_max_len" identifier = identifier) ;) (expression_statement "local_resc = in_a3;" (assignment_expression "local_resc = in_a3" identifier = identifier) ;) (if_statement "if (cp_max_len < 2) {\n    iVar1 = 0;\n    pcVar8 = (code *)fmt;\n  }\n  else {\n    local_24 = &local_resc;\n    in_a3 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = fmt;\n    if (cp_max_len <= iVar1) {\n      iVar1 = cp_max_len + -1;\n    }\n  }" if (parenthesized_expression "(cp_max_len < 2)" ( (binary_expression "cp_max_len < 2" identifier < number_literal) )) (compound_statement "{\n    iVar1 = 0;\n    pcVar8 = (code *)fmt;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "pcVar8 = (code *)fmt;" (assignment_expression "pcVar8 = (code *)fmt" identifier = (cast_expression "(code *)fmt" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    local_24 = &local_resc;\n    in_a3 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = fmt;\n    if (cp_max_len <= iVar1) {\n      iVar1 = cp_max_len + -1;\n    }\n  }" else (compound_statement "{\n    local_24 = &local_resc;\n    in_a3 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = fmt;\n    if (cp_max_len <= iVar1) {\n      iVar1 = cp_max_len + -1;\n    }\n  }" { (expression_statement "local_24 = &local_resc;" (assignment_expression "local_24 = &local_resc" identifier = (pointer_expression "&local_resc" & identifier)) ;) (expression_statement "in_a3 = 0xffffffff;" (assignment_expression "in_a3 = 0xffffffff" identifier = number_literal) ;) (expression_statement "pcVar8 = (code *)0x1;" (assignment_expression "pcVar8 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)();" (assignment_expression "iVar1 = (*(code *)PTR___vsnprintf_chk_00054934)()" identifier = (call_expression "(*(code *)PTR___vsnprintf_chk_00054934)()" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_00054934)" ( (pointer_expression "*(code *)PTR___vsnprintf_chk_00054934" * (cast_expression "(code *)PTR___vsnprintf_chk_00054934" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "local_28 = fmt;" (assignment_expression "local_28 = fmt" identifier = identifier) ;) (if_statement "if (cp_max_len <= iVar1) {\n      iVar1 = cp_max_len + -1;\n    }" if (parenthesized_expression "(cp_max_len <= iVar1)" ( (binary_expression "cp_max_len <= iVar1" identifier <= identifier) )) (compound_statement "{\n      iVar1 = cp_max_len + -1;\n    }" { (expression_statement "iVar1 = cp_max_len + -1;" (assignment_expression "iVar1 = cp_max_len + -1" identifier = (binary_expression "cp_max_len + -1" identifier + number_literal)) ;) })) }))) (if_statement "if (iVar5 == *(int *)puVar15) {\n    return iVar1;\n  }" if (parenthesized_expression "(iVar5 == *(int *)puVar15)" ( (binary_expression "iVar5 == *(int *)puVar15" identifier == (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "puVar15 = PTR___stack_chk_fail_00054a1c;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00054a1c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00054a1c)();" (call_expression "(*(code *)PTR___stack_chk_fail_00054a1c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00054a1c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00054a1c" * (cast_expression "(code *)PTR___stack_chk_fail_00054a1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar11 = *(undefined4 **)(puVar15 + 0x3e080);" (assignment_expression "puVar11 = *(undefined4 **)(puVar15 + 0x3e080)" identifier = (pointer_expression "*(undefined4 **)(puVar15 + 0x3e080)" * (cast_expression "(undefined4 **)(puVar15 + 0x3e080)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3e080)" ( (binary_expression "puVar15 + 0x3e080" identifier + number_literal) ))))) ;) (expression_statement "pcVar2 = (code *)*puVar11;" (assignment_expression "pcVar2 = (code *)*puVar11" identifier = (cast_expression "(code *)*puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" { (expression_statement "iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;" (assignment_expression "iVar5 = *(int *)(puVar15 + 0x3de74) + -0x1a5c" identifier = (binary_expression "*(int *)(puVar15 + 0x3de74) + -0x1a5c" (pointer_expression "*(int *)(puVar15 + 0x3de74)" * (cast_expression "(int *)(puVar15 + 0x3de74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de74)" ( (binary_expression "puVar15 + 0x3de74" identifier + number_literal) )))) + number_literal)) ;) })) (if_statement "if (in_a3 < 0xb) {\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar3 = (*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))();\n    return iVar3;\n  }" if (parenthesized_expression "(in_a3 < 0xb)" ( (binary_expression "in_a3 < 0xb" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar3 = (*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))();\n    return iVar3;\n  }" { comment comment (expression_statement "iVar3 = (*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))();" (assignment_expression "iVar3 = (*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))()" identifier = (call_expression "(*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))()" (parenthesized_expression "(*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44))" ( (pointer_expression "*(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44)" * (cast_expression "(code *)(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44)" ( (binary_expression "puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4) + 0x45e44" (binary_expression "puVar15 +\n                      *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4)" * (cast_expression "(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4)" ( (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0 + in_a3 * 4" (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0" (pointer_expression "*(int *)(puVar15 + 0x3de70)" * (cast_expression "(int *)(puVar15 + 0x3de70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de70)" ( (binary_expression "puVar15 + 0x3de70" identifier + number_literal) )))) + number_literal) + (binary_expression "in_a3 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80" identifier = (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x2f80" (pointer_expression "*(int *)(puVar15 + 0x3de70)" * (cast_expression "(int *)(puVar15 + 0x3de70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de70)" ( (binary_expression "puVar15 + 0x3de70" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar6 = local_24;" (assignment_expression "puVar6 = local_24" identifier = identifier) ;) (expression_statement "iVar1 = (**(code **)(puVar15 + 0x3df38))(&_gp);" (assignment_expression "iVar1 = (**(code **)(puVar15 + 0x3df38))(&_gp)" identifier = (call_expression "(**(code **)(puVar15 + 0x3df38))(&_gp)" (parenthesized_expression "(**(code **)(puVar15 + 0x3df38))" ( (pointer_expression "**(code **)(puVar15 + 0x3df38)" * (pointer_expression "*(code **)(puVar15 + 0x3df38)" * (cast_expression "(code **)(puVar15 + 0x3df38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3df38)" ( (binary_expression "puVar15 + 0x3df38" identifier + number_literal) ))))) )) (argument_list "(&_gp)" ( (pointer_expression "&_gp" & identifier) )))) ;) (expression_statement "*local_28 = '\0';" (assignment_expression "*local_28 = '\0'" (pointer_expression "*local_28" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (pcVar2 == (code *)*puVar11) {\n    return iVar1;\n  }" if (parenthesized_expression "(pcVar2 == (code *)*puVar11)" ( (binary_expression "pcVar2 == (code *)*puVar11" identifier == (cast_expression "(code *)*puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x3e050);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x3e050)" identifier = (pointer_expression "*(code **)(puVar15 + 0x3e050)" * (cast_expression "(code **)(puVar15 + 0x3e050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3e050)" ( (binary_expression "puVar15 + 0x3e050" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar16)();" (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_128 = pcVar16 + 0x45a88;" (assignment_expression "pcStack_128 = pcVar16 + 0x45a88" identifier = (binary_expression "pcVar16 + 0x45a88" identifier + number_literal)) ;) (expression_statement "piStack_108 = *(int **)(pcVar16 + 0x3dcc4);" (assignment_expression "piStack_108 = *(int **)(pcVar16 + 0x3dcc4)" identifier = (pointer_expression "*(int **)(pcVar16 + 0x3dcc4)" * (cast_expression "(int **)(pcVar16 + 0x3dcc4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dcc4)" ( (binary_expression "pcVar16 + 0x3dcc4" identifier + number_literal) ))))) ;) (expression_statement "puStack_98 = &_gp;" (assignment_expression "puStack_98 = &_gp" identifier = (pointer_expression "&_gp" & identifier)) ;) (expression_statement "pcStack_9c = local_28;" (assignment_expression "pcStack_9c = local_28" identifier = identifier) ;) (expression_statement "puStack_a0 = local_24;" (assignment_expression "puStack_a0 = local_24" identifier = identifier) ;) (expression_statement "iStack_ac = *piStack_108;" (assignment_expression "iStack_ac = *piStack_108" identifier = (pointer_expression "*piStack_108" * identifier)) ;) (expression_statement "uStack_114 = in_a3;" (assignment_expression "uStack_114 = in_a3" identifier = identifier) ;) (expression_statement "pcStack_a8 = pcVar8;" (assignment_expression "pcStack_a8 = pcVar8" identifier = identifier) ;) (expression_statement "puStack_a4 = puVar11;" (assignment_expression "puStack_a4 = puVar11" identifier = identifier) ;) (expression_statement "iStack_94 = iVar5;" (assignment_expression "iStack_94 = iVar5" identifier = identifier) ;) (expression_statement "iStack_90 = iVar3;" (assignment_expression "iStack_90 = iVar3" identifier = identifier) ;) (if_statement "if (0 < (int)puVar6) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar1 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar6;\n    iVar3 = 5;\n    auStack_100[iVar5 + 1] = 0x20;\n    pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n    iVar5 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar3 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar5 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar5 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" if (parenthesized_expression "(0 < (int)puVar6)" ( (binary_expression "0 < (int)puVar6" number_literal < (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar1 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar6;\n    iVar3 = 5;\n    auStack_100[iVar5 + 1] = 0x20;\n    pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n    iVar5 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar3 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar5 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar5 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" { (if_statement "if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }" { (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" ( (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" * (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" * (cast_expression "(code **)(pcVar16 + 0x3dbe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dbe0)" ( (binary_expression "pcVar16 + 0x3dbe0" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" identifier = (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" else (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" { (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))();" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))()" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" ( (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" * (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" * (cast_expression "(code **)(pcVar16 + 0x3dbe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dbe0)" ( (binary_expression "pcVar16 + 0x3dbe0" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (if_statement "if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar5 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar3 = 0;\n        pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);\n        auStack_fb[iVar1] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" { (expression_statement "iStack_11c = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iStack_11c = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "puVar17 = (uint *)0x0;" (assignment_expression "puVar17 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar5 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar5 = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));" (assignment_expression "pcStack_118 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8))" identifier = (cast_expression "(code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8))" ( (binary_expression "&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8)" (pointer_expression "&DAT_000067ec" & identifier) + (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" * (cast_expression "(int *)(pcStack_128 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd8)" ( (binary_expression "pcStack_128 + -0x7fd8" identifier + number_literal) ))))) )))) ;) (do_statement "do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        } while (puVar6 != puVar17);" do (compound_statement "{\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar3 != 0x18) goto FUN_00016e40;\n          iVar12 = 0x1b;\n          iVar9 = 0x39;\n          iVar1 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar3 = iVar1 + 3;\n        }" { (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" identifier = (subscript_expression "pcVar2[(int)puVar17]" identifier [ (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) ])) ;) (if_statement "if (iVar3 != 0x18) goto FUN_00016e40;" if (parenthesized_expression "(iVar3 != 0x18)" ( (binary_expression "iVar3 != 0x18" identifier != number_literal) )) (goto_statement "goto FUN_00016e40;" goto statement_identifier ;)) (expression_statement "iVar12 = 0x1b;" (assignment_expression "iVar12 = 0x1b" identifier = number_literal) ;) (expression_statement "iVar9 = 0x39;" (assignment_expression "iVar9 = 0x39" identifier = number_literal) ;) (expression_statement "iVar1 = 0x19;" (assignment_expression "iVar1 = 0x19" identifier = number_literal) ;) (while_statement "while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar6) goto LAB_00016ef0;\n            iVar3 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nFUN_00016e40:\n            iVar9 = 0x52 - iVar3;\n            iVar12 = iVar3 + 2;\n            iVar1 = iVar3;\n          }" { (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(auStack_100 + iVar1,iVar9,iVar5 + 0x1d94,cVar14)" ( (binary_expression "auStack_100 + iVar1" identifier + identifier) , identifier , (binary_expression "iVar5 + 0x1d94" identifier + number_literal) , identifier ))) ;) (expression_statement "auStack_100[iVar12] = 0x20;" (assignment_expression "auStack_100[iVar12] = 0x20" (subscript_expression "auStack_100[iVar12]" identifier [ identifier ]) = number_literal) ;) (expression_statement "pcVar8 = pcVar2;" (assignment_expression "pcVar8 = pcVar2" identifier = identifier) ;) (if_statement "if (puVar17 == (uint *)0x0) break;" if (parenthesized_expression "(puVar17 == (uint *)0x0)" ( (binary_expression "puVar17 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "puVar17 = (uint *)((int)puVar17 + 1);" (assignment_expression "puVar17 = (uint *)((int)puVar17 + 1)" identifier = (cast_expression "(uint *)((int)puVar17 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar17 + 1)" ( (binary_expression "(int)puVar17 + 1" (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;" if (parenthesized_expression "(((uint)puVar17 & 0xf) != 0)" ( (binary_expression "((uint)puVar17 & 0xf) != 0" (parenthesized_expression "((uint)puVar17 & 0xf)" ( (binary_expression "(uint)puVar17 & 0xf" (cast_expression "(uint)puVar17" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00016e88;" goto statement_identifier ;)) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" ( (pointer_expression "*pcStack_118" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "iStack_11c + 0x3784" identifier + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" * (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" * (cast_expression "(code **)(pcStack_128 + -0x7ea8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7ea8)" ( (binary_expression "pcStack_128 + -0x7ea8" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if (puVar17 == puVar6) goto LAB_00016ef0;" if (parenthesized_expression "(puVar17 == puVar6)" ( (binary_expression "puVar17 == puVar6" identifier == identifier) )) (goto_statement "goto LAB_00016ef0;" goto statement_identifier ;)) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" identifier = (subscript_expression "pcVar2[(int)puVar17]" identifier [ (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) ])) ;) (labeled_statement "FUN_00016e40:\n            iVar9 = 0x52 - iVar3;" statement_identifier : (expression_statement "iVar9 = 0x52 - iVar3;" (assignment_expression "iVar9 = 0x52 - iVar3" identifier = (binary_expression "0x52 - iVar3" number_literal - identifier)) ;)) (expression_statement "iVar12 = iVar3 + 2;" (assignment_expression "iVar12 = iVar3 + 2" identifier = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar3;" (assignment_expression "iVar1 = iVar3" identifier = identifier) ;) })) (expression_statement "puVar17 = (uint *)0x1;" (assignment_expression "puVar17 = (uint *)0x1" identifier = (cast_expression "(uint *)0x1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00016e88:\n          iVar3 = iVar1 + 3;" statement_identifier : (expression_statement "iVar3 = iVar1 + 3;" (assignment_expression "iVar3 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;)) }) while (parenthesized_expression "(puVar6 != puVar17)" ( (binary_expression "puVar6 != puVar17" identifier != identifier) )) ;) (expression_statement "auStack_fb[iVar1] = 0;" (assignment_expression "auStack_fb[iVar1] = 0" (subscript_expression "auStack_fb[iVar1]" identifier [ identifier ]) = number_literal) ;) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" ( (pointer_expression "*pcStack_118" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "iStack_11c + 0x3784" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00016ef0;" goto statement_identifier ;) })) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784" identifier = (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal)) ;) }))) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar1 = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "puStack_10c = auStack_100 + 1;" (assignment_expression "puStack_10c = auStack_100 + 1" identifier = (binary_expression "auStack_100 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0);" (assignment_expression "iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0)" identifier = (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,0)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(puStack_10c,0x51,iVar1 + 0x1d94,0)" ( identifier , number_literal , (binary_expression "iVar1 + 0x1d94" identifier + number_literal) , number_literal )))) ;) (expression_statement "iStack_11c = 0;" (assignment_expression "iStack_11c = 0" identifier = number_literal) ;) (expression_statement "pcStack_118 = pcVar2 + (int)puVar6;" (assignment_expression "pcStack_118 = pcVar2 + (int)puVar6" identifier = (binary_expression "pcVar2 + (int)puVar6" identifier + (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar3 = 5;" (assignment_expression "iVar3 = 5" identifier = number_literal) ;) (expression_statement "auStack_100[iVar5 + 1] = 0x20;" (assignment_expression "auStack_100[iVar5 + 1] = 0x20" (subscript_expression "auStack_100[iVar5 + 1]" identifier [ (binary_expression "iVar5 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8));" (assignment_expression "pcStack_104 = (code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8))" identifier = (cast_expression "(code *)(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8))" ( (binary_expression "&DAT_000067ec + *(int *)(pcStack_128 + -0x7fd8)" (pointer_expression "&DAT_000067ec" & identifier) + (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" * (cast_expression "(int *)(pcStack_128 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd8)" ( (binary_expression "pcStack_128 + -0x7fd8" identifier + number_literal) ))))) )))) ;) (expression_statement "iVar5 = 0x3c;" (assignment_expression "iVar5 = 0x3c" identifier = number_literal) ;) (do_statement "do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar3 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar5 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar5 = iVar12;\n    } while (pcVar8 != pcStack_118);" do (compound_statement "{\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar3 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar5 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar5 = iVar12;\n    }" { (expression_statement "pcVar8 = pcVar2 + 1;" (assignment_expression "pcVar8 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "cVar14 = *pcVar2;" (assignment_expression "cVar14 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "iVar12 = iVar3 + 3;" (assignment_expression "iVar12 = iVar3 + 3" identifier = (binary_expression "iVar3 + 3" identifier + number_literal)) ;) (if_statement "if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }\n      else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }" if (parenthesized_expression "(iVar12 == 0x20)" ( (binary_expression "iVar12 == 0x20" identifier == number_literal) )) (compound_statement "{\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar3 = 0x21;\n      }" { (expression_statement "iVar13 = 0x23;" (assignment_expression "iVar13 = 0x23" identifier = number_literal) ;) (expression_statement "iVar7 = 0x31;" (assignment_expression "iVar7 = 0x31" identifier = number_literal) ;) (expression_statement "iVar3 = 0x21;" (assignment_expression "iVar3 = 0x21" identifier = number_literal) ;) }) (else_clause "else {\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }" else (compound_statement "{\n        iVar13 = iVar3 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar3 = iVar12;\n      }" { (expression_statement "iVar13 = iVar3 + 5;" (assignment_expression "iVar13 = iVar3 + 5" identifier = (binary_expression "iVar3 + 5" identifier + number_literal)) ;) (expression_statement "iVar7 = 0x52 - iVar12;" (assignment_expression "iVar7 = 0x52 - iVar12" identifier = (binary_expression "0x52 - iVar12" number_literal - identifier)) ;) (expression_statement "iVar3 = iVar12;" (assignment_expression "iVar3 = iVar12" identifier = identifier) ;) }))) (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(auStack_100 + iVar3,iVar7,iVar1 + 0x1d94,(uint)(byte)cVar14)" ( (binary_expression "auStack_100 + iVar3" identifier + identifier) , identifier , (binary_expression "iVar1 + 0x1d94" identifier + number_literal) , (cast_expression "(uint)(byte)cVar14" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)cVar14" ( (type_descriptor "byte" type_identifier) ) identifier)) ))) ;) (expression_statement "iVar12 = iVar5 + 1;" (assignment_expression "iVar12 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "auStack_100[iVar13] = 0x20;" (assignment_expression "auStack_100[iVar13] = 0x20" (subscript_expression "auStack_100[iVar13]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar5] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }" { (if_statement "if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }" if (parenthesized_expression "(0x5e < (byte)cVar14 - 0x20)" ( (binary_expression "0x5e < (byte)cVar14 - 0x20" number_literal < (binary_expression "(byte)cVar14 - 0x20" (cast_expression "(byte)cVar14" ( (type_descriptor "byte" type_identifier) ) identifier) - number_literal)) )) (compound_statement "{\n          cVar14 = (code)0x2e;\n        }" { (expression_statement "cVar14 = (code)0x2e;" (assignment_expression "cVar14 = (code)0x2e" identifier = (cast_expression "(code)0x2e" ( (type_descriptor "code" type_identifier) ) number_literal)) ;) })) (expression_statement "auStack_100[iVar5] = cVar14;" (assignment_expression "auStack_100[iVar5] = cVar14" (subscript_expression "auStack_100[iVar5]" identifier [ identifier ]) = identifier) ;) (if_statement "if (0x4b < iVar12) goto LAB_0001706c;" if (parenthesized_expression "(0x4b < iVar12)" ( (binary_expression "0x4b < iVar12" number_literal < identifier) )) (goto_statement "goto LAB_0001706c;" goto statement_identifier ;)) }) (else_clause "else {\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }" else (compound_statement "{\n        auStack_100[iVar5] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }\n      }" { (expression_statement "auStack_100[iVar5] = 0x20;" (assignment_expression "auStack_100[iVar5] = 0x20" (subscript_expression "auStack_100[iVar5]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }" if (parenthesized_expression "(0x4b < iVar12)" ( (binary_expression "0x4b < iVar12" number_literal < identifier) )) (compound_statement "{\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar3 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar5 = iStack_11c + 0x10;\n          iStack_11c = iVar5;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);\n          auStack_100[iVar5 + 1] = 0x20;\n        }" { (expression_statement "(*pcStack_104)(auStack_100);" (call_expression "(*pcStack_104)(auStack_100)" (parenthesized_expression "(*pcStack_104)" ( (pointer_expression "*pcStack_104" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (labeled_statement "LAB_0001706c:\n          iVar3 = 5;" statement_identifier : (expression_statement "iVar3 = 5;" (assignment_expression "iVar3 = 5" identifier = number_literal) ;)) (expression_statement "iVar12 = 0x3c;" (assignment_expression "iVar12 = 0x3c" identifier = number_literal) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_110,auStack_100)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar5 = iStack_11c + 0x10;" (assignment_expression "iVar5 = iStack_11c + 0x10" identifier = (binary_expression "iStack_11c + 0x10" identifier + number_literal)) ;) (expression_statement "iStack_11c = iVar5;" (assignment_expression "iStack_11c = iVar5" identifier = identifier) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" * (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" * (cast_expression "(code **)(pcStack_128 + -0x7ea8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7ea8)" ( (binary_expression "pcStack_128 + -0x7ea8" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5);" (assignment_expression "iVar5 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5)" identifier = (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar1 + 0x1d94,iVar5)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(puStack_10c,0x51,iVar1 + 0x1d94,iVar5)" ( identifier , number_literal , (binary_expression "iVar1 + 0x1d94" identifier + number_literal) , identifier )))) ;) (expression_statement "auStack_100[iVar5 + 1] = 0x20;" (assignment_expression "auStack_100[iVar5 + 1] = 0x20" (subscript_expression "auStack_100[iVar5 + 1]" identifier [ (binary_expression "iVar5 + 1" identifier + number_literal) ]) = number_literal) ;) })) }))) (expression_statement "pcVar2 = pcVar8;" (assignment_expression "pcVar2 = pcVar8" identifier = identifier) ;) (expression_statement "iVar5 = iVar12;" (assignment_expression "iVar5 = iVar12" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar8 != pcStack_118)" ( (binary_expression "pcVar8 != pcStack_118" identifier != identifier) )) ;) (if_statement "if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" if (parenthesized_expression "(iVar12 != 0x3c)" ( (binary_expression "iVar12 != 0x3c" identifier != number_literal) )) (compound_statement "{\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" { (expression_statement "auStack_100[iVar12] = 0;" (assignment_expression "auStack_100[iVar12] = 0" (subscript_expression "auStack_100[iVar12]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar9 != 0) {\n        trimTrailingSpaces(auStack_100);\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        trimTrailingSpaces(auStack_100);\n      }" { (expression_statement "trimTrailingSpaces(auStack_100);" (call_expression "trimTrailingSpaces(auStack_100)" identifier (argument_list "(auStack_100)" ( identifier ))) ;) })) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal) , identifier ))) ;) })) })) (labeled_statement "LAB_00016ef0:\n  if (iStack_ac == *piStack_108) {\n    return *piStack_108;\n  }" statement_identifier : (if_statement "if (iStack_ac == *piStack_108) {\n    return *piStack_108;\n  }" if (parenthesized_expression "(iStack_ac == *piStack_108)" ( (binary_expression "iStack_ac == *piStack_108" identifier == (pointer_expression "*piStack_108" * identifier)) )) (compound_statement "{\n    return *piStack_108;\n  }" { (return_statement "return *piStack_108;" return (pointer_expression "*piStack_108" * identifier) ;) }))) (expression_statement "pcVar2 = *(code **)(pcStack_128 + -0x7df4);" (assignment_expression "pcVar2 = *(code **)(pcStack_128 + -0x7df4)" identifier = (pointer_expression "*(code **)(pcStack_128 + -0x7df4)" * (cast_expression "(code **)(pcStack_128 + -0x7df4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7df4)" ( (binary_expression "pcStack_128 + -0x7df4" identifier + number_literal) ))))) ;) (expression_statement "pcVar16 = sg_get_initial_dsense;" (assignment_expression "pcVar16 = sg_get_initial_dsense" identifier = identifier) ;) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar10 = *(int **)(pcVar2 + 0x3d894);" (assignment_expression "piVar10 = *(int **)(pcVar2 + 0x3d894)" identifier = (pointer_expression "*(int **)(pcVar2 + 0x3d894)" * (cast_expression "(int **)(pcVar2 + 0x3d894)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d894)" ( (binary_expression "pcVar2 + 0x3d894" identifier + number_literal) ))))) ;) (expression_statement "iStack_144 = *piVar10;" (assignment_expression "iStack_144 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "pcStack_140 = pcVar8;" (assignment_expression "pcStack_140 = pcVar8" identifier = identifier) ;) (expression_statement "pcStack_13c = pcVar16;" (assignment_expression "pcStack_13c = pcVar16" identifier = identifier) ;) (expression_statement "iVar3 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);" (assignment_expression "iVar3 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" identifier = (call_expression "(**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d814))" ( (pointer_expression "**(code **)(pcVar2 + 0x3d814)" * (pointer_expression "*(code **)(pcVar2 + 0x3d814)" * (cast_expression "(code **)(pcVar2 + 0x3d814)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d814)" ( (binary_expression "pcVar2 + 0x3d814" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" ( (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x1d9c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" * (cast_expression "(int *)(pcVar2 + 0x3d684)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x3d684)" ( (binary_expression "pcVar2 + 0x3d684" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if ((iVar3 == 0) ||\n     (iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1)) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = (uint)(iStack_148 != 0);\n  }" if (parenthesized_expression "((iVar3 == 0) ||\n     (iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1))" ( (binary_expression "(iVar3 == 0) ||\n     (iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1)" ( (comma_expression "iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)\n     , iVar3 != 1" (assignment_expression "iVar3 = (**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" identifier = (call_expression "(**(code **)(pcVar2 + 0x3d7b8))(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d7b8))" ( (pointer_expression "**(code **)(pcVar2 + 0x3d7b8)" * (pointer_expression "*(code **)(pcVar2 + 0x3d7b8)" * (cast_expression "(code **)(pcVar2 + 0x3d7b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d7b8)" ( (binary_expression "pcVar2 + 0x3d7b8" identifier + number_literal) ))))) )) (argument_list "(iVar3,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" ( identifier , (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x206c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" * (cast_expression "(int *)(pcVar2 + 0x3d684)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x3d684)" ( (binary_expression "pcVar2 + 0x3d684" identifier + number_literal) )))) + number_literal) , (pointer_expression "&iStack_148" & identifier) )))) , (binary_expression "iVar3 != 1" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar4 = (uint)(iStack_148 != 0);\n  }" else (compound_statement "{\n    uVar4 = (uint)(iStack_148 != 0);\n  }" { (expression_statement "uVar4 = (uint)(iStack_148 != 0);" (assignment_expression "uVar4 = (uint)(iStack_148 != 0)" identifier = (call_expression "(uint)(iStack_148 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iStack_148 != 0)" ( (binary_expression "iStack_148 != 0" identifier != number_literal) )))) ;) }))) (if_statement "if (iStack_144 != *piVar10) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar10 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar10 = iStack_144;\n    return (int)piVar10;\n  }" if (parenthesized_expression "(iStack_144 != *piVar10)" ( (binary_expression "iStack_144 != *piVar10" identifier != (pointer_expression "*piVar10" * identifier)) )) (compound_statement "{\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar10 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar10 = iStack_144;\n    return (int)piVar10;\n  }" { (expression_statement "pcVar8 = *(code **)(pcVar2 + 0x3d864);" (assignment_expression "pcVar8 = *(code **)(pcVar2 + 0x3d864)" identifier = (pointer_expression "*(code **)(pcVar2 + 0x3d864)" * (cast_expression "(code **)(pcVar2 + 0x3d864)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d864)" ( (binary_expression "pcVar2 + 0x3d864" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar10 = *(int **)(pcVar8 + 0x3d6e8);" (assignment_expression "piVar10 = *(int **)(pcVar8 + 0x3d6e8)" identifier = (pointer_expression "*(int **)(pcVar8 + 0x3d6e8)" * (cast_expression "(int **)(pcVar8 + 0x3d6e8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x3d6e8)" ( (binary_expression "pcVar8 + 0x3d6e8" identifier + number_literal) ))))) ;) (expression_statement "*piVar10 = iStack_144;" (assignment_expression "*piVar10 = iStack_144" (pointer_expression "*piVar10" * identifier) = identifier) ;) (return_statement "return (int)piVar10;" return (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "int * sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}\n\n" (function_definition "int * sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}" primitive_type (pointer_declarator "* sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)" * (function_declarator "sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,code *param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "uint param_4" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code cVar14;" type_identifier identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "uint *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "uint local_resc;" type_identifier identifier ;) (declaration "int iStack_148;" primitive_type identifier ;) (declaration "int iStack_144;" primitive_type identifier ;) (declaration "code *pcStack_140;" type_identifier (pointer_declarator "*pcStack_140" * identifier) ;) (declaration "code *pcStack_13c;" type_identifier (pointer_declarator "*pcStack_13c" * identifier) ;) (declaration "code *pcStack_128;" type_identifier (pointer_declarator "*pcStack_128" * identifier) ;) (declaration "int iStack_11c;" primitive_type identifier ;) (declaration "code *pcStack_118;" type_identifier (pointer_declarator "*pcStack_118" * identifier) ;) (declaration "uint uStack_114;" type_identifier identifier ;) (declaration "int iStack_110;" primitive_type identifier ;) (declaration "undefined1 *puStack_10c;" type_identifier (pointer_declarator "*puStack_10c" * identifier) ;) (declaration "int *piStack_108;" primitive_type (pointer_declarator "*piStack_108" * identifier) ;) (declaration "code *pcStack_104;" type_identifier (pointer_declarator "*pcStack_104" * identifier) ;) (declaration "undefined1 auStack_100 [5];" type_identifier (array_declarator "auStack_100 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_fb [55];" type_identifier (array_declarator "auStack_fb [55]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_c4 [20];" type_identifier (array_declarator "auStack_c4 [20]" identifier [ number_literal ]) ;) (declaration "undefined1 uStack_b0;" type_identifier identifier ;) (declaration "int *piStack_ac;" primitive_type (pointer_declarator "*piStack_ac" * identifier) ;) (declaration "code *pcStack_a8;" type_identifier (pointer_declarator "*pcStack_a8" * identifier) ;) (declaration "undefined4 *puStack_a4;" type_identifier (pointer_declarator "*puStack_a4" * identifier) ;) (declaration "uint *puStack_a0;" type_identifier (pointer_declarator "*puStack_a0" * identifier) ;) (declaration "code *pcStack_9c;" type_identifier (pointer_declarator "*pcStack_9c" * identifier) ;) (declaration "undefined1 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "int iStack_90;" primitive_type identifier ;) (declaration "code *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00054a4c;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00054a4c" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;" (assignment_expression "iVar4 = *(int *)PTR___stack_chk_guard_00054a4c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00054a4c" * (cast_expression "(int *)PTR___stack_chk_guard_00054a4c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" identifier = identifier) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (if_statement "if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }" { (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar8 = param_3;" (assignment_expression "pcVar8 = param_3" identifier = identifier) ;) }) (else_clause "else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" else (compound_statement "{\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" { (expression_statement "local_24 = &local_resc;" (assignment_expression "local_24 = &local_resc" identifier = (pointer_expression "&local_resc" & identifier)) ;) (expression_statement "param_4 = 0xffffffff;" (assignment_expression "param_4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "pcVar8 = (code *)0x1;" (assignment_expression "pcVar8 = (code *)0x1" identifier = (cast_expression "(code *)0x1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)()" identifier = (cast_expression "(int *)(*(code *)PTR___vsnprintf_chk_00054934)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___vsnprintf_chk_00054934)()" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_00054934)" ( (pointer_expression "*(code *)PTR___vsnprintf_chk_00054934" * (cast_expression "(code *)PTR___vsnprintf_chk_00054934" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" identifier = identifier) ;) (if_statement "if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }" if (parenthesized_expression "(param_2 <= (int)piVar1)" ( (binary_expression "param_2 <= (int)piVar1" identifier <= (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      piVar1 = (int *)(param_2 + -1);\n    }" { (expression_statement "piVar1 = (int *)(param_2 + -1);" (assignment_expression "piVar1 = (int *)(param_2 + -1)" identifier = (cast_expression "(int *)(param_2 + -1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + -1)" ( (binary_expression "param_2 + -1" identifier + number_literal) )))) ;) })) }))) (if_statement "if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }" if (parenthesized_expression "(iVar4 == *(int *)puVar15)" ( (binary_expression "iVar4 == *(int *)puVar15" identifier == (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar1;\n  }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "puVar15 = PTR___stack_chk_fail_00054a1c;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00054a1c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00054a1c)();" (call_expression "(*(code *)PTR___stack_chk_fail_00054a1c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00054a1c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00054a1c" * (cast_expression "(code *)PTR___stack_chk_fail_00054a1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar10 = *(undefined4 **)(puVar15 + 0x3e080);" (assignment_expression "puVar10 = *(undefined4 **)(puVar15 + 0x3e080)" identifier = (pointer_expression "*(undefined4 **)(puVar15 + 0x3e080)" * (cast_expression "(undefined4 **)(puVar15 + 0x3e080)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3e080)" ( (binary_expression "puVar15 + 0x3e080" identifier + number_literal) ))))) ;) (expression_statement "pcVar2 = (code *)*puVar10;" (assignment_expression "pcVar2 = (code *)*puVar10" identifier = (cast_expression "(code *)*puVar10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" { (expression_statement "iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;" (assignment_expression "iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c" identifier = (binary_expression "*(int *)(puVar15 + 0x3de74) + -0x1a5c" (pointer_expression "*(int *)(puVar15 + 0x3de74)" * (cast_expression "(int *)(puVar15 + 0x3de74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de74)" ( (binary_expression "puVar15 + 0x3de74" identifier + number_literal) )))) + number_literal)) ;) })) (if_statement "if (param_4 < 0xb) {\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }" if (parenthesized_expression "(param_4 < 0xb)" ( (binary_expression "param_4 < 0xb" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }" { (expression_statement "piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();" (assignment_expression "piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" identifier = (cast_expression "(int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" (parenthesized_expression "(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))" ( (pointer_expression "*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" * (cast_expression "(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" ( (binary_expression "puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44" (binary_expression "puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" * (cast_expression "(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" ( (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4" (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0" (pointer_expression "*(int *)(puVar15 + 0x3de70)" * (cast_expression "(int *)(puVar15 + 0x3de70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de70)" ( (binary_expression "puVar15 + 0x3de70" identifier + number_literal) )))) + number_literal) + (binary_expression "param_4 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return piVar1;" return identifier ;) })) (expression_statement "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80" identifier = (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x2f80" (pointer_expression "*(int *)(puVar15 + 0x3de70)" * (cast_expression "(int *)(puVar15 + 0x3de70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x3de70)" ( (binary_expression "puVar15 + 0x3de70" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar5 = local_24;" (assignment_expression "puVar5 = local_24" identifier = identifier) ;) (expression_statement "piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);" (assignment_expression "piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x3df38))(&_gp_1)" (parenthesized_expression "(**(code **)(puVar15 + 0x3df38))" ( (pointer_expression "**(code **)(puVar15 + 0x3df38)" * (pointer_expression "*(code **)(puVar15 + 0x3df38)" * (cast_expression "(code **)(puVar15 + 0x3df38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3df38)" ( (binary_expression "puVar15 + 0x3df38" identifier + number_literal) ))))) )) (argument_list "(&_gp_1)" ( (pointer_expression "&_gp_1" & identifier) ))))) ;) (expression_statement "*local_28 = (code)0x0;" (assignment_expression "*local_28 = (code)0x0" (pointer_expression "*local_28" * identifier) = (cast_expression "(code)0x0" ( (type_descriptor "code" type_identifier) ) number_literal)) ;) (if_statement "if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }" if (parenthesized_expression "(pcVar2 == (code *)*puVar10)" ( (binary_expression "pcVar2 == (code *)*puVar10" identifier == (cast_expression "(code *)*puVar10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) )) (compound_statement "{\n    return piVar1;\n  }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x3e050);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x3e050)" identifier = (pointer_expression "*(code **)(puVar15 + 0x3e050)" * (cast_expression "(code **)(puVar15 + 0x3e050)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x3e050)" ( (binary_expression "puVar15 + 0x3e050" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar16)();" (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_128 = pcVar16 + 0x45a88;" (assignment_expression "pcStack_128 = pcVar16 + 0x45a88" identifier = (binary_expression "pcVar16 + 0x45a88" identifier + number_literal)) ;) (expression_statement "piStack_108 = *(int **)(pcVar16 + 0x3dcc4);" (assignment_expression "piStack_108 = *(int **)(pcVar16 + 0x3dcc4)" identifier = (pointer_expression "*(int **)(pcVar16 + 0x3dcc4)" * (cast_expression "(int **)(pcVar16 + 0x3dcc4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dcc4)" ( (binary_expression "pcVar16 + 0x3dcc4" identifier + number_literal) ))))) ;) (expression_statement "puStack_98 = &_gp_1;" (assignment_expression "puStack_98 = &_gp_1" identifier = (pointer_expression "&_gp_1" & identifier)) ;) (expression_statement "pcStack_9c = local_28;" (assignment_expression "pcStack_9c = local_28" identifier = identifier) ;) (expression_statement "puStack_a0 = local_24;" (assignment_expression "puStack_a0 = local_24" identifier = identifier) ;) (expression_statement "piStack_ac = (int *)*piStack_108;" (assignment_expression "piStack_ac = (int *)*piStack_108" identifier = (cast_expression "(int *)*piStack_108" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piStack_108" * identifier))) ;) (expression_statement "uStack_114 = param_4;" (assignment_expression "uStack_114 = param_4" identifier = identifier) ;) (expression_statement "pcStack_a8 = pcVar8;" (assignment_expression "pcStack_a8 = pcVar8" identifier = identifier) ;) (expression_statement "puStack_a4 = puVar10;" (assignment_expression "puStack_a4 = puVar10" identifier = identifier) ;) (expression_statement "iStack_94 = iVar4;" (assignment_expression "iStack_94 = iVar4" identifier = identifier) ;) (expression_statement "iStack_90 = iVar11;" (assignment_expression "iStack_90 = iVar11" identifier = identifier) ;) (if_statement "if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" if (parenthesized_expression "(0 < (int)puVar5)" ( (binary_expression "0 < (int)puVar5" number_literal < (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" { (if_statement "if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }" { (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" ( (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" * (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" * (cast_expression "(code **)(pcVar16 + 0x3dbe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dbe0)" ( (binary_expression "pcVar16 + 0x3dbe0" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" identifier = (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" else (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" { (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))();" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))()" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" ( (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" * (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" * (cast_expression "(code **)(pcVar16 + 0x3dbe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0x3dbe0)" ( (binary_expression "pcVar16 + 0x3dbe0" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (if_statement "if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" { (expression_statement "iStack_11c = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iStack_11c = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "puVar17 = (uint *)0x0;" (assignment_expression "puVar17 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar4 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar4 = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);" (assignment_expression "pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" identifier = (cast_expression "(code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (binary_expression "*(int *)(pcStack_128 + -0x7fd8) + 0x67ec" (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" * (cast_expression "(int *)(pcStack_128 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd8)" ( (binary_expression "pcStack_128 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);" do (compound_statement "{\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        }" { (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" identifier = (subscript_expression "pcVar2[(int)puVar17]" identifier [ (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) ])) ;) (if_statement "if (iVar11 != 0x18) goto LAB_00016e40;" if (parenthesized_expression "(iVar11 != 0x18)" ( (binary_expression "iVar11 != 0x18" identifier != number_literal) )) (goto_statement "goto LAB_00016e40;" goto statement_identifier ;)) (expression_statement "iVar12 = 0x1b;" (assignment_expression "iVar12 = 0x1b" identifier = number_literal) ;) (expression_statement "iVar6 = 0x39;" (assignment_expression "iVar6 = 0x39" identifier = number_literal) ;) (expression_statement "iVar9 = 0x19;" (assignment_expression "iVar9 = 0x19" identifier = number_literal) ;) (while_statement "while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }" { (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14)" ( (binary_expression "auStack_100 + iVar9" identifier + identifier) , identifier , (binary_expression "iVar4 + 0x1d94" identifier + number_literal) , identifier ))) ;) (expression_statement "auStack_100[iVar12] = 0x20;" (assignment_expression "auStack_100[iVar12] = 0x20" (subscript_expression "auStack_100[iVar12]" identifier [ identifier ]) = number_literal) ;) (expression_statement "pcVar8 = pcVar2;" (assignment_expression "pcVar8 = pcVar2" identifier = identifier) ;) (if_statement "if (puVar17 == (uint *)0x0) break;" if (parenthesized_expression "(puVar17 == (uint *)0x0)" ( (binary_expression "puVar17 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "puVar17 = (uint *)((int)puVar17 + 1);" (assignment_expression "puVar17 = (uint *)((int)puVar17 + 1)" identifier = (cast_expression "(uint *)((int)puVar17 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar17 + 1)" ( (binary_expression "(int)puVar17 + 1" (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;" if (parenthesized_expression "(((uint)puVar17 & 0xf) != 0)" ( (binary_expression "((uint)puVar17 & 0xf) != 0" (parenthesized_expression "((uint)puVar17 & 0xf)" ( (binary_expression "(uint)puVar17 & 0xf" (cast_expression "(uint)puVar17" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00016e88;" goto statement_identifier ;)) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" ( (pointer_expression "*pcStack_118" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "iStack_11c + 0x3784" identifier + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" * (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" * (cast_expression "(code **)(pcStack_128 + -0x7ea8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7ea8)" ( (binary_expression "pcStack_128 + -0x7ea8" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if (puVar17 == puVar5) goto LAB_00016ef0;" if (parenthesized_expression "(puVar17 == puVar5)" ( (binary_expression "puVar17 == puVar5" identifier == identifier) )) (goto_statement "goto LAB_00016ef0;" goto statement_identifier ;)) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" identifier = (subscript_expression "pcVar2[(int)puVar17]" identifier [ (cast_expression "(int)puVar17" ( (type_descriptor "int" primitive_type) ) identifier) ])) ;) (labeled_statement "LAB_00016e40:\n            iVar6 = 0x52 - iVar11;" statement_identifier : (expression_statement "iVar6 = 0x52 - iVar11;" (assignment_expression "iVar6 = 0x52 - iVar11" identifier = (binary_expression "0x52 - iVar11" number_literal - identifier)) ;)) (expression_statement "iVar12 = iVar11 + 2;" (assignment_expression "iVar12 = iVar11 + 2" identifier = (binary_expression "iVar11 + 2" identifier + number_literal)) ;) (expression_statement "iVar9 = iVar11;" (assignment_expression "iVar9 = iVar11" identifier = identifier) ;) })) (expression_statement "puVar17 = (uint *)0x1;" (assignment_expression "puVar17 = (uint *)0x1" identifier = (cast_expression "(uint *)0x1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00016e88:\n          iVar11 = iVar9 + 3;" statement_identifier : (expression_statement "iVar11 = iVar9 + 3;" (assignment_expression "iVar11 = iVar9 + 3" identifier = (binary_expression "iVar9 + 3" identifier + number_literal)) ;)) }) while (parenthesized_expression "(puVar5 != puVar17)" ( (binary_expression "puVar5 != puVar17" identifier != identifier) )) ;) (expression_statement "auStack_fb[iVar9] = 0;" (assignment_expression "auStack_fb[iVar9] = 0" (subscript_expression "auStack_fb[iVar9]" identifier [ identifier ]) = number_literal) ;) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" ( (pointer_expression "*pcStack_118" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "iStack_11c + 0x3784" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00016ef0;" goto statement_identifier ;) })) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784" identifier = (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal)) ;) }))) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar6 = *(int *)(pcStack_128 + -0x7fd4)" identifier = (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) ))))) ;) (expression_statement "puStack_10c = auStack_100 + 1;" (assignment_expression "puStack_10c = auStack_100 + 1" identifier = (binary_expression "auStack_100 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);" (assignment_expression "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0)" identifier = (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(puStack_10c,0x51,iVar6 + 0x1d94,0)" ( identifier , number_literal , (binary_expression "iVar6 + 0x1d94" identifier + number_literal) , number_literal )))) ;) (expression_statement "iStack_11c = 0;" (assignment_expression "iStack_11c = 0" identifier = number_literal) ;) (expression_statement "pcStack_118 = pcVar2 + (int)puVar5;" (assignment_expression "pcStack_118 = pcVar2 + (int)puVar5" identifier = (binary_expression "pcVar2 + (int)puVar5" identifier + (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar11 = 5;" (assignment_expression "iVar11 = 5" identifier = number_literal) ;) (expression_statement "auStack_100[iVar4 + 1] = 0x20;" (assignment_expression "auStack_100[iVar4 + 1] = 0x20" (subscript_expression "auStack_100[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);" (assignment_expression "pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" identifier = (cast_expression "(code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" ( (binary_expression "*(int *)(pcStack_128 + -0x7fd8) + 0x67ec" (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" * (cast_expression "(int *)(pcStack_128 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd8)" ( (binary_expression "pcStack_128 + -0x7fd8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar4 = 0x3c;" (assignment_expression "iVar4 = 0x3c" identifier = number_literal) ;) (do_statement "do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);" do (compound_statement "{\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    }" { (expression_statement "pcVar8 = pcVar2 + 1;" (assignment_expression "pcVar8 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "cVar14 = *pcVar2;" (assignment_expression "cVar14 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "iVar12 = iVar11 + 3;" (assignment_expression "iVar12 = iVar11 + 3" identifier = (binary_expression "iVar11 + 3" identifier + number_literal)) ;) (if_statement "if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" if (parenthesized_expression "(iVar12 == 0x20)" ( (binary_expression "iVar12 == 0x20" identifier == number_literal) )) (compound_statement "{\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }" { (expression_statement "iVar13 = 0x23;" (assignment_expression "iVar13 = 0x23" identifier = number_literal) ;) (expression_statement "iVar7 = 0x31;" (assignment_expression "iVar7 = 0x31" identifier = number_literal) ;) (expression_statement "iVar11 = 0x21;" (assignment_expression "iVar11 = 0x21" identifier = number_literal) ;) }) (else_clause "else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" else (compound_statement "{\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" { (expression_statement "iVar13 = iVar11 + 5;" (assignment_expression "iVar13 = iVar11 + 5" identifier = (binary_expression "iVar11 + 5" identifier + number_literal)) ;) (expression_statement "iVar7 = 0x52 - iVar12;" (assignment_expression "iVar7 = 0x52 - iVar12" identifier = (binary_expression "0x52 - iVar12" number_literal - identifier)) ;) (expression_statement "iVar11 = iVar12;" (assignment_expression "iVar11 = iVar12" identifier = identifier) ;) }))) (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14)" ( (binary_expression "auStack_100 + iVar11" identifier + identifier) , identifier , (binary_expression "iVar6 + 0x1d94" identifier + number_literal) , (cast_expression "(uint)(byte)cVar14" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)cVar14" ( (type_descriptor "byte" type_identifier) ) identifier)) ))) ;) (expression_statement "iVar12 = iVar4 + 1;" (assignment_expression "iVar12 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "auStack_100[iVar13] = 0x20;" (assignment_expression "auStack_100[iVar13] = 0x20" (subscript_expression "auStack_100[iVar13]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }" { (if_statement "if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }" if (parenthesized_expression "(0x5e < (byte)cVar14 - 0x20)" ( (binary_expression "0x5e < (byte)cVar14 - 0x20" number_literal < (binary_expression "(byte)cVar14 - 0x20" (cast_expression "(byte)cVar14" ( (type_descriptor "byte" type_identifier) ) identifier) - number_literal)) )) (compound_statement "{\n          cVar14 = (code)0x2e;\n        }" { (expression_statement "cVar14 = (code)0x2e;" (assignment_expression "cVar14 = (code)0x2e" identifier = (cast_expression "(code)0x2e" ( (type_descriptor "code" type_identifier) ) number_literal)) ;) })) (expression_statement "auStack_100[iVar4] = cVar14;" (assignment_expression "auStack_100[iVar4] = cVar14" (subscript_expression "auStack_100[iVar4]" identifier [ identifier ]) = identifier) ;) (if_statement "if (0x4b < iVar12) goto LAB_0001706c;" if (parenthesized_expression "(0x4b < iVar12)" ( (binary_expression "0x4b < iVar12" number_literal < identifier) )) (goto_statement "goto LAB_0001706c;" goto statement_identifier ;)) }) (else_clause "else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" else (compound_statement "{\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" { (expression_statement "auStack_100[iVar4] = 0x20;" (assignment_expression "auStack_100[iVar4] = 0x20" (subscript_expression "auStack_100[iVar4]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }" if (parenthesized_expression "(0x4b < iVar12)" ( (binary_expression "0x4b < iVar12" number_literal < identifier) )) (compound_statement "{\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }" { (expression_statement "(*pcStack_104)(auStack_100);" (call_expression "(*pcStack_104)(auStack_100)" (parenthesized_expression "(*pcStack_104)" ( (pointer_expression "*pcStack_104" * identifier) )) (argument_list "(auStack_100)" ( identifier ))) ;) (labeled_statement "LAB_0001706c:\n          iVar11 = 5;" statement_identifier : (expression_statement "iVar11 = 5;" (assignment_expression "iVar11 = 5" identifier = number_literal) ;)) (expression_statement "iVar12 = 0x3c;" (assignment_expression "iVar12 = 0x3c" identifier = number_literal) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,iStack_110,auStack_100)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar4 = iStack_11c + 0x10;" (assignment_expression "iVar4 = iStack_11c + 0x10" identifier = (binary_expression "iStack_11c + 0x10" identifier + number_literal)) ;) (expression_statement "iStack_11c = iVar4;" (assignment_expression "iStack_11c = iVar4" identifier = identifier) ;) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" * (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" * (cast_expression "(code **)(pcStack_128 + -0x7ea8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7ea8)" ( (binary_expression "pcStack_128 + -0x7ea8" identifier + number_literal) ))))) )) (argument_list "(auStack_100,0x20,0x50)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);" (assignment_expression "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" identifier = (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" * (cast_expression "(code **)(pcStack_128 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f0c)" ( (binary_expression "pcStack_128 + -0x7f0c" identifier + number_literal) ))))) )) (argument_list "(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" ( identifier , number_literal , (binary_expression "iVar6 + 0x1d94" identifier + number_literal) , identifier )))) ;) (expression_statement "auStack_100[iVar4 + 1] = 0x20;" (assignment_expression "auStack_100[iVar4 + 1] = 0x20" (subscript_expression "auStack_100[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = number_literal) ;) })) }))) (expression_statement "pcVar2 = pcVar8;" (assignment_expression "pcVar2 = pcVar8" identifier = identifier) ;) (expression_statement "iVar4 = iVar12;" (assignment_expression "iVar4 = iVar12" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar8 != pcStack_118)" ( (binary_expression "pcVar8 != pcStack_118" identifier != identifier) )) ;) (if_statement "if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" if (parenthesized_expression "(iVar12 != 0x3c)" ( (binary_expression "iVar12 != 0x3c" identifier != number_literal) )) (compound_statement "{\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" { (expression_statement "auStack_100[iVar12] = 0;" (assignment_expression "auStack_100[iVar12] = 0" (subscript_expression "auStack_100[iVar12]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_000167ec(auStack_100);\n      }" { (expression_statement "FUN_000167ec(auStack_100);" (call_expression "FUN_000167ec(auStack_100)" identifier (argument_list "(auStack_100)" ( identifier ))) ;) })) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" ( (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" * (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" * (cast_expression "(code **)(pcStack_128 + -0x7f6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7f6c)" ( (binary_expression "pcStack_128 + -0x7f6c" identifier + number_literal) ))))) )) (argument_list "(uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" ( identifier , number_literal , (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" * (cast_expression "(int *)(pcStack_128 + -0x7fd4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcStack_128 + -0x7fd4)" ( (binary_expression "pcStack_128 + -0x7fd4" identifier + number_literal) )))) + number_literal) , identifier ))) ;) })) })) (labeled_statement "LAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }" statement_identifier : (if_statement "if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }" if (parenthesized_expression "(piStack_ac == (int *)*piStack_108)" ( (binary_expression "piStack_ac == (int *)*piStack_108" identifier == (cast_expression "(int *)*piStack_108" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piStack_108" * identifier))) )) (compound_statement "{\n    return (int *)*piStack_108;\n  }" { (return_statement "return (int *)*piStack_108;" return (cast_expression "(int *)*piStack_108" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piStack_108" * identifier)) ;) }))) (expression_statement "pcVar2 = *(code **)(pcStack_128 + -0x7df4);" (assignment_expression "pcVar2 = *(code **)(pcStack_128 + -0x7df4)" identifier = (pointer_expression "*(code **)(pcStack_128 + -0x7df4)" * (cast_expression "(code **)(pcStack_128 + -0x7df4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_128 + -0x7df4)" ( (binary_expression "pcStack_128 + -0x7df4" identifier + number_literal) ))))) ;) (expression_statement "pcVar16 = sg_get_initial_dsense;" (assignment_expression "pcVar16 = sg_get_initial_dsense" identifier = identifier) ;) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar1 = *(int **)(pcVar2 + 0x3d894);" (assignment_expression "piVar1 = *(int **)(pcVar2 + 0x3d894)" identifier = (pointer_expression "*(int **)(pcVar2 + 0x3d894)" * (cast_expression "(int **)(pcVar2 + 0x3d894)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d894)" ( (binary_expression "pcVar2 + 0x3d894" identifier + number_literal) ))))) ;) (expression_statement "iStack_144 = *piVar1;" (assignment_expression "iStack_144 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "pcStack_140 = pcVar8;" (assignment_expression "pcStack_140 = pcVar8" identifier = identifier) ;) (expression_statement "pcStack_13c = pcVar16;" (assignment_expression "pcStack_13c = pcVar16" identifier = identifier) ;) (expression_statement "iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);" (assignment_expression "iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" identifier = (call_expression "(**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d814))" ( (pointer_expression "**(code **)(pcVar2 + 0x3d814)" * (pointer_expression "*(code **)(pcVar2 + 0x3d814)" * (cast_expression "(code **)(pcVar2 + 0x3d814)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d814)" ( (binary_expression "pcVar2 + 0x3d814" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" ( (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x1d9c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" * (cast_expression "(int *)(pcVar2 + 0x3d684)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x3d684)" ( (binary_expression "pcVar2 + 0x3d684" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" if (parenthesized_expression "((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1))" ( (binary_expression "(iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)" (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)" ( (comma_expression "iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1" (assignment_expression "iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" identifier = (call_expression "(**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d7b8))" ( (pointer_expression "**(code **)(pcVar2 + 0x3d7b8)" * (pointer_expression "*(code **)(pcVar2 + 0x3d7b8)" * (cast_expression "(code **)(pcVar2 + 0x3d7b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d7b8)" ( (binary_expression "pcVar2 + 0x3d7b8" identifier + number_literal) ))))) )) (argument_list "(iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" ( identifier , (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x206c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" * (cast_expression "(int *)(pcVar2 + 0x3d684)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + 0x3d684)" ( (binary_expression "pcVar2 + 0x3d684" identifier + number_literal) )))) + number_literal) , (pointer_expression "&iStack_148" & identifier) )))) , (binary_expression "iVar11 != 1" identifier != number_literal)) ))) )) (compound_statement "{\n    piVar3 = (int *)0x0;\n  }" { (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" else (compound_statement "{\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" { (expression_statement "piVar3 = (int *)(uint)(iStack_148 != 0);" (assignment_expression "piVar3 = (int *)(uint)(iStack_148 != 0)" identifier = (cast_expression "(int *)(uint)(iStack_148 != 0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(iStack_148 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iStack_148 != 0)" ( (binary_expression "iStack_148 != 0" identifier != number_literal) ))))) ;) }))) (if_statement "if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }" if (parenthesized_expression "(iStack_144 != *piVar1)" ( (binary_expression "iStack_144 != *piVar1" identifier != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }" { (expression_statement "pcVar8 = *(code **)(pcVar2 + 0x3d864);" (assignment_expression "pcVar8 = *(code **)(pcVar2 + 0x3d864)" identifier = (pointer_expression "*(code **)(pcVar2 + 0x3d864)" * (cast_expression "(code **)(pcVar2 + 0x3d864)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar2 + 0x3d864)" ( (binary_expression "pcVar2 + 0x3d864" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar1 = *(int **)(pcVar8 + 0x3d6e8);" (assignment_expression "piVar1 = *(int **)(pcVar8 + 0x3d6e8)" identifier = (pointer_expression "*(int **)(pcVar8 + 0x3d6e8)" * (cast_expression "(int **)(pcVar8 + 0x3d6e8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x3d6e8)" ( (binary_expression "pcVar8 + 0x3d6e8" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = iStack_144;" (assignment_expression "*piVar1 = iStack_144" (pointer_expression "*piVar1" * identifier) = identifier) ;) (return_statement "return piVar1;" return identifier ;) })) (return_statement "return piVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) ))))) + LIT) )))) )) (argument_list ( ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (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) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + IDENT) , IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ])) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (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) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + IDENT) , IDENT , (binary_expression IDENT + LIT) , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) })) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "int * sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)\n\n{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}" (primitive_type "int") (pointer_declarator "* sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)" (* "*") (function_declarator "sg_scnpr(undefined4 param_1,int param_2,code *param_3,uint param_4)" (identifier "sg_scnpr") (parameter_list "(undefined4 param_1,int param_2,code *param_3,uint param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "code *param_3" (type_identifier "code") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")")))) (compound_statement "{\n  int *piVar1;\n  code *pcVar2;\n  int *piVar3;\n  int iVar4;\n  uint *puVar5;\n  int iVar6;\n  int iVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  code cVar14;\n  undefined *puVar15;\n  code *pcVar16;\n  uint *puVar17;\n  uint local_resc;\n  int iStack_148;\n  int iStack_144;\n  code *pcStack_140;\n  code *pcStack_13c;\n  code *pcStack_128;\n  int iStack_11c;\n  code *pcStack_118;\n  uint uStack_114;\n  int iStack_110;\n  undefined1 *puStack_10c;\n  int *piStack_108;\n  code *pcStack_104;\n  undefined1 auStack_100 [5];\n  undefined1 auStack_fb [55];\n  undefined1 auStack_c4 [20];\n  undefined1 uStack_b0;\n  int *piStack_ac;\n  code *pcStack_a8;\n  undefined4 *puStack_a4;\n  uint *puStack_a0;\n  code *pcStack_9c;\n  undefined1 *puStack_98;\n  int iStack_94;\n  int iStack_90;\n  code *local_28;\n  uint *local_24;\n  \n  puVar15 = PTR___stack_chk_guard_00054a4c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;\n  iVar11 = param_2;\n  local_resc = param_4;\n  if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }\n  if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }\n  puVar15 = PTR___stack_chk_fail_00054a1c;\n  (*(code *)PTR___stack_chk_fail_00054a1c)();\n  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);\n  pcVar2 = (code *)*puVar10;\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }\n  if (param_4 < 0xb) {\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }\n  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;\n  puVar5 = local_24;\n  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);\n  *local_28 = (code)0x0;\n  if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }\n  pcVar16 = *(code **)(puVar15 + 0x3e050);\n  (*pcVar16)();\n  pcStack_128 = pcVar16 + 0x45a88;\n  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);\n  puStack_98 = &_gp_1;\n  pcStack_9c = local_28;\n  puStack_a0 = local_24;\n  piStack_ac = (int *)*piStack_108;\n  uStack_114 = param_4;\n  pcStack_a8 = pcVar8;\n  puStack_a4 = puVar10;\n  iStack_94 = iVar4;\n  iStack_90 = iVar11;\n  if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }\nLAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }\n  pcVar2 = *(code **)(pcStack_128 + -0x7df4);\n  pcVar16 = sg_get_initial_dsense;\n  (*pcVar2)();\n  piVar1 = *(int **)(pcVar2 + 0x3d894);\n  iStack_144 = *piVar1;\n  pcStack_140 = pcVar8;\n  pcStack_13c = pcVar16;\n  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);\n  if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }\n  if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }\n  return piVar3;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "code *pcVar8;" (type_identifier "code") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "code cVar14;" (type_identifier "code") (identifier "cVar14") (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "code *pcVar16;" (type_identifier "code") (pointer_declarator "*pcVar16" (* "*") (identifier "pcVar16")) (; ";")) (declaration "uint *puVar17;" (type_identifier "uint") (pointer_declarator "*puVar17" (* "*") (identifier "puVar17")) (; ";")) (declaration "uint local_resc;" (type_identifier "uint") (identifier "local_resc") (; ";")) (declaration "int iStack_148;" (primitive_type "int") (identifier "iStack_148") (; ";")) (declaration "int iStack_144;" (primitive_type "int") (identifier "iStack_144") (; ";")) (declaration "code *pcStack_140;" (type_identifier "code") (pointer_declarator "*pcStack_140" (* "*") (identifier "pcStack_140")) (; ";")) (declaration "code *pcStack_13c;" (type_identifier "code") (pointer_declarator "*pcStack_13c" (* "*") (identifier "pcStack_13c")) (; ";")) (declaration "code *pcStack_128;" (type_identifier "code") (pointer_declarator "*pcStack_128" (* "*") (identifier "pcStack_128")) (; ";")) (declaration "int iStack_11c;" (primitive_type "int") (identifier "iStack_11c") (; ";")) (declaration "code *pcStack_118;" (type_identifier "code") (pointer_declarator "*pcStack_118" (* "*") (identifier "pcStack_118")) (; ";")) (declaration "uint uStack_114;" (type_identifier "uint") (identifier "uStack_114") (; ";")) (declaration "int iStack_110;" (primitive_type "int") (identifier "iStack_110") (; ";")) (declaration "undefined1 *puStack_10c;" (type_identifier "undefined1") (pointer_declarator "*puStack_10c" (* "*") (identifier "puStack_10c")) (; ";")) (declaration "int *piStack_108;" (primitive_type "int") (pointer_declarator "*piStack_108" (* "*") (identifier "piStack_108")) (; ";")) (declaration "code *pcStack_104;" (type_identifier "code") (pointer_declarator "*pcStack_104" (* "*") (identifier "pcStack_104")) (; ";")) (declaration "undefined1 auStack_100 [5];" (type_identifier "undefined1") (array_declarator "auStack_100 [5]" (identifier "auStack_100") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "undefined1 auStack_fb [55];" (type_identifier "undefined1") (array_declarator "auStack_fb [55]" (identifier "auStack_fb") ([ "[") (number_literal "55") (] "]")) (; ";")) (declaration "undefined1 auStack_c4 [20];" (type_identifier "undefined1") (array_declarator "auStack_c4 [20]" (identifier "auStack_c4") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "undefined1 uStack_b0;" (type_identifier "undefined1") (identifier "uStack_b0") (; ";")) (declaration "int *piStack_ac;" (primitive_type "int") (pointer_declarator "*piStack_ac" (* "*") (identifier "piStack_ac")) (; ";")) (declaration "code *pcStack_a8;" (type_identifier "code") (pointer_declarator "*pcStack_a8" (* "*") (identifier "pcStack_a8")) (; ";")) (declaration "undefined4 *puStack_a4;" (type_identifier "undefined4") (pointer_declarator "*puStack_a4" (* "*") (identifier "puStack_a4")) (; ";")) (declaration "uint *puStack_a0;" (type_identifier "uint") (pointer_declarator "*puStack_a0" (* "*") (identifier "puStack_a0")) (; ";")) (declaration "code *pcStack_9c;" (type_identifier "code") (pointer_declarator "*pcStack_9c" (* "*") (identifier "pcStack_9c")) (; ";")) (declaration "undefined1 *puStack_98;" (type_identifier "undefined1") (pointer_declarator "*puStack_98" (* "*") (identifier "puStack_98")) (; ";")) (declaration "int iStack_94;" (primitive_type "int") (identifier "iStack_94") (; ";")) (declaration "int iStack_90;" (primitive_type "int") (identifier "iStack_90") (; ";")) (declaration "code *local_28;" (type_identifier "code") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "uint *local_24;" (type_identifier "uint") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_guard_00054a4c;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00054a4c" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_guard_00054a4c")) (; ";")) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;" (assignment_expression "iVar4 = *(int *)PTR___stack_chk_guard_00054a4c" (identifier "iVar4") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00054a4c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00054a4c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00054a4c")))) (; ";")) (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" (identifier "iVar11") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (param_2 < 2) {\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }\n  else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < 2)" (( "(") (binary_expression "param_2 < 2" (identifier "param_2") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    piVar1 = (int *)0x0;\n    pcVar8 = param_3;\n  }" ({ "{") (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" (identifier "piVar1") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar8 = param_3;" (assignment_expression "pcVar8 = param_3" (identifier "pcVar8") (= "=") (identifier "param_3")) (; ";")) (} "}")) (else_clause "else {\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" (else "else") (compound_statement "{\n    local_24 = &local_resc;\n    param_4 = 0xffffffff;\n    pcVar8 = (code *)0x1;\n    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();\n    local_28 = param_3;\n    if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }\n  }" ({ "{") (expression_statement "local_24 = &local_resc;" (assignment_expression "local_24 = &local_resc" (identifier "local_24") (= "=") (pointer_expression "&local_resc" (& "&") (identifier "local_resc"))) (; ";")) (expression_statement "param_4 = 0xffffffff;" (assignment_expression "param_4 = 0xffffffff" (identifier "param_4") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "pcVar8 = (code *)0x1;" (assignment_expression "pcVar8 = (code *)0x1" (identifier "pcVar8") (= "=") (cast_expression "(code *)0x1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();" (assignment_expression "piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR___vsnprintf_chk_00054934)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___vsnprintf_chk_00054934)()" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_00054934)" (( "(") (pointer_expression "*(code *)PTR___vsnprintf_chk_00054934" (* "*") (cast_expression "(code *)PTR___vsnprintf_chk_00054934" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___vsnprintf_chk_00054934"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "local_28 = param_3;" (assignment_expression "local_28 = param_3" (identifier "local_28") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_2 <= (int)piVar1) {\n      piVar1 = (int *)(param_2 + -1);\n    }" (if "if") (parenthesized_expression "(param_2 <= (int)piVar1)" (( "(") (binary_expression "param_2 <= (int)piVar1" (identifier "param_2") (<= "<=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) () ")")) (compound_statement "{\n      piVar1 = (int *)(param_2 + -1);\n    }" ({ "{") (expression_statement "piVar1 = (int *)(param_2 + -1);" (assignment_expression "piVar1 = (int *)(param_2 + -1)" (identifier "piVar1") (= "=") (cast_expression "(int *)(param_2 + -1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + -1)" (( "(") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1")) () ")")))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (iVar4 == *(int *)puVar15) {\n    return piVar1;\n  }" (if "if") (parenthesized_expression "(iVar4 == *(int *)puVar15)" (( "(") (binary_expression "iVar4 == *(int *)puVar15" (identifier "iVar4") (== "==") (pointer_expression "*(int *)puVar15" (* "*") (cast_expression "(int *)puVar15" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar15")))) () ")")) (compound_statement "{\n    return piVar1;\n  }" ({ "{") (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (expression_statement "puVar15 = PTR___stack_chk_fail_00054a1c;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00054a1c" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_00054a1c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00054a1c)();" (call_expression "(*(code *)PTR___stack_chk_fail_00054a1c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00054a1c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00054a1c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00054a1c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00054a1c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar10 = *(undefined4 **)(puVar15 + 0x3e080);" (assignment_expression "puVar10 = *(undefined4 **)(puVar15 + 0x3e080)" (identifier "puVar10") (= "=") (pointer_expression "*(undefined4 **)(puVar15 + 0x3e080)" (* "*") (cast_expression "(undefined4 **)(puVar15 + 0x3e080)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x3e080)" (( "(") (binary_expression "puVar15 + 0x3e080" (identifier "puVar15") (+ "+") (number_literal "0x3e080")) () ")"))))) (; ";")) (expression_statement "pcVar2 = (code *)*puVar10;" (assignment_expression "pcVar2 = (code *)*puVar10" (identifier "pcVar2") (= "=") (cast_expression "(code *)*puVar10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;" (assignment_expression "iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c" (identifier "iVar4") (= "=") (binary_expression "*(int *)(puVar15 + 0x3de74) + -0x1a5c" (pointer_expression "*(int *)(puVar15 + 0x3de74)" (* "*") (cast_expression "(int *)(puVar15 + 0x3de74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x3de74)" (( "(") (binary_expression "puVar15 + 0x3de74" (identifier "puVar15") (+ "+") (number_literal "0x3de74")) () ")")))) (+ "+") (number_literal "-0x1a5c"))) (; ";")) (} "}"))) (if_statement "if (param_4 < 0xb) {\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }" (if "if") (parenthesized_expression "(param_4 < 0xb)" (( "(") (binary_expression "param_4 < 0xb" (identifier "param_4") (< "<") (number_literal "0xb")) () ")")) (compound_statement "{\n                    \n                    \n    piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();\n    return piVar1;\n  }" ({ "{") (expression_statement "piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))();" (assignment_expression "piVar1 = (int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))()" (parenthesized_expression "(*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              ))" (( "(") (pointer_expression "*(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" (* "*") (cast_expression "(code *)(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44\n                              )" (( "(") (binary_expression "puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44" (binary_expression "puVar15 +\n                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" (identifier "puVar15") (+ "+") (pointer_expression "*(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" (* "*") (cast_expression "(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4)" (( "(") (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4" (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x3dc0" (pointer_expression "*(int *)(puVar15 + 0x3de70)" (* "*") (cast_expression "(int *)(puVar15 + 0x3de70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x3de70)" (( "(") (binary_expression "puVar15 + 0x3de70" (identifier "puVar15") (+ "+") (number_literal "0x3de70")) () ")")))) (+ "+") (number_literal "0x3dc0")) (+ "+") (binary_expression "param_4 * 4" (identifier "param_4") (* "*") (number_literal "4"))) () ")"))))) (+ "+") (number_literal "0x45e44")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (expression_statement "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;" (assignment_expression "iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80" (identifier "iVar9") (= "=") (binary_expression "*(int *)(puVar15 + 0x3de70) + 0x2f80" (pointer_expression "*(int *)(puVar15 + 0x3de70)" (* "*") (cast_expression "(int *)(puVar15 + 0x3de70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x3de70)" (( "(") (binary_expression "puVar15 + 0x3de70" (identifier "puVar15") (+ "+") (number_literal "0x3de70")) () ")")))) (+ "+") (number_literal "0x2f80"))) (; ";")) (expression_statement "puVar5 = local_24;" (assignment_expression "puVar5 = local_24" (identifier "puVar5") (= "=") (identifier "local_24")) (; ";")) (expression_statement "piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);" (assignment_expression "piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1)" (identifier "piVar1") (= "=") (cast_expression "(int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar15 + 0x3df38))(&_gp_1)" (parenthesized_expression "(**(code **)(puVar15 + 0x3df38))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x3df38)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x3df38)" (* "*") (cast_expression "(code **)(puVar15 + 0x3df38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x3df38)" (( "(") (binary_expression "puVar15 + 0x3df38" (identifier "puVar15") (+ "+") (number_literal "0x3df38")) () ")"))))) () ")")) (argument_list "(&_gp_1)" (( "(") (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) () ")"))))) (; ";")) (expression_statement "*local_28 = (code)0x0;" (assignment_expression "*local_28 = (code)0x0" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (= "=") (cast_expression "(code)0x0" (( "(") (type_descriptor "code" (type_identifier "code")) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (pcVar2 == (code *)*puVar10) {\n    return piVar1;\n  }" (if "if") (parenthesized_expression "(pcVar2 == (code *)*puVar10)" (( "(") (binary_expression "pcVar2 == (code *)*puVar10" (identifier "pcVar2") (== "==") (cast_expression "(code *)*puVar10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")))) () ")")) (compound_statement "{\n    return piVar1;\n  }" ({ "{") (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (expression_statement "pcVar16 = *(code **)(puVar15 + 0x3e050);" (assignment_expression "pcVar16 = *(code **)(puVar15 + 0x3e050)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar15 + 0x3e050)" (* "*") (cast_expression "(code **)(puVar15 + 0x3e050)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x3e050)" (( "(") (binary_expression "puVar15 + 0x3e050" (identifier "puVar15") (+ "+") (number_literal "0x3e050")) () ")"))))) (; ";")) (expression_statement "(*pcVar16)();" (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcStack_128 = pcVar16 + 0x45a88;" (assignment_expression "pcStack_128 = pcVar16 + 0x45a88" (identifier "pcStack_128") (= "=") (binary_expression "pcVar16 + 0x45a88" (identifier "pcVar16") (+ "+") (number_literal "0x45a88"))) (; ";")) (expression_statement "piStack_108 = *(int **)(pcVar16 + 0x3dcc4);" (assignment_expression "piStack_108 = *(int **)(pcVar16 + 0x3dcc4)" (identifier "piStack_108") (= "=") (pointer_expression "*(int **)(pcVar16 + 0x3dcc4)" (* "*") (cast_expression "(int **)(pcVar16 + 0x3dcc4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0x3dcc4)" (( "(") (binary_expression "pcVar16 + 0x3dcc4" (identifier "pcVar16") (+ "+") (number_literal "0x3dcc4")) () ")"))))) (; ";")) (expression_statement "puStack_98 = &_gp_1;" (assignment_expression "puStack_98 = &_gp_1" (identifier "puStack_98") (= "=") (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1"))) (; ";")) (expression_statement "pcStack_9c = local_28;" (assignment_expression "pcStack_9c = local_28" (identifier "pcStack_9c") (= "=") (identifier "local_28")) (; ";")) (expression_statement "puStack_a0 = local_24;" (assignment_expression "puStack_a0 = local_24" (identifier "puStack_a0") (= "=") (identifier "local_24")) (; ";")) (expression_statement "piStack_ac = (int *)*piStack_108;" (assignment_expression "piStack_ac = (int *)*piStack_108" (identifier "piStack_ac") (= "=") (cast_expression "(int *)*piStack_108" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piStack_108" (* "*") (identifier "piStack_108")))) (; ";")) (expression_statement "uStack_114 = param_4;" (assignment_expression "uStack_114 = param_4" (identifier "uStack_114") (= "=") (identifier "param_4")) (; ";")) (expression_statement "pcStack_a8 = pcVar8;" (assignment_expression "pcStack_a8 = pcVar8" (identifier "pcStack_a8") (= "=") (identifier "pcVar8")) (; ";")) (expression_statement "puStack_a4 = puVar10;" (assignment_expression "puStack_a4 = puVar10" (identifier "puStack_a4") (= "=") (identifier "puVar10")) (; ";")) (expression_statement "iStack_94 = iVar4;" (assignment_expression "iStack_94 = iVar4" (identifier "iStack_94") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iStack_90 = iVar11;" (assignment_expression "iStack_90 = iVar11" (identifier "iStack_90") (= "=") (identifier "iVar11")) (; ";")) (if_statement "if (0 < (int)puVar5) {\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" (if "if") (parenthesized_expression "(0 < (int)puVar5)" (( "(") (binary_expression "0 < (int)puVar5" (number_literal "0") (< "<") (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5"))) () ")")) (compound_statement "{\n    if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }\n    uStack_b0 = 0;\n    iVar6 = *(int *)(pcStack_128 + -0x7fd4);\n    puStack_10c = auStack_100 + 1;\n    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);\n    iStack_11c = 0;\n    pcStack_118 = pcVar2 + (int)puVar5;\n    iVar11 = 5;\n    auStack_100[iVar4 + 1] = 0x20;\n    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n    iVar4 = 0x3c;\n    do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);\n    if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }\n  }" ({ "{") (if_statement "if (iVar9 == 0) {\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }\n    else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;\n    }" ({ "{") (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" (( "(") (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" (* "*") (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" (* "*") (cast_expression "(code **)(pcVar16 + 0x3dbe0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0x3dbe0)" (( "(") (binary_expression "pcVar16 + 0x3dbe0" (identifier "pcVar16") (+ "+") (number_literal "0x3dbe0")) () ")"))))) () ")")) (argument_list "(auStack_100,0x20,0x50)" (( "(") (identifier "auStack_100") (, ",") (number_literal "0x20") (, ",") (number_literal "0x50") () ")"))) (; ";")) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" (identifier "iStack_110") (= "=") (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x1d8c" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd4)" (( "(") (binary_expression "pcStack_128 + -0x7fd4" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd4")) () ")")))) (+ "+") (number_literal "0x1d8c"))) (; ";")) (} "}")) (else_clause "else {\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" (else "else") (compound_statement "{\n      (**(code **)(pcVar16 + 0x3dbe0))();\n      uStack_b0 = 0;\n      if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }\n      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;\n    }" ({ "{") (expression_statement "(**(code **)(pcVar16 + 0x3dbe0))();" (call_expression "(**(code **)(pcVar16 + 0x3dbe0))()" (parenthesized_expression "(**(code **)(pcVar16 + 0x3dbe0))" (( "(") (pointer_expression "**(code **)(pcVar16 + 0x3dbe0)" (* "*") (pointer_expression "*(code **)(pcVar16 + 0x3dbe0)" (* "*") (cast_expression "(code **)(pcVar16 + 0x3dbe0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0x3dbe0)" (( "(") (binary_expression "pcVar16 + 0x3dbe0" (identifier "pcVar16") (+ "+") (number_literal "0x3dbe0")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" (identifier "uStack_b0") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar9 < 0) {\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" (if "if") (parenthesized_expression "(iVar9 < 0)" (( "(") (binary_expression "iVar9 < 0" (identifier "iVar9") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);\n        puVar17 = (uint *)0x0;\n        iVar4 = *(int *)(pcStack_128 + -0x7fd4);\n        iVar11 = 0;\n        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);\n        do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);\n        auStack_fb[iVar9] = 0;\n        (*pcStack_118)(auStack_100);\n        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n        goto LAB_00016ef0;\n      }" ({ "{") (expression_statement "iStack_11c = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iStack_11c = *(int *)(pcStack_128 + -0x7fd4)" (identifier "iStack_11c") (= "=") (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd4)" (( "(") (binary_expression "pcStack_128 + -0x7fd4" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd4")) () ")"))))) (; ";")) (expression_statement "puVar17 = (uint *)0x0;" (assignment_expression "puVar17 = (uint *)0x0" (identifier "puVar17") (= "=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar4 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar4 = *(int *)(pcStack_128 + -0x7fd4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd4)" (( "(") (binary_expression "pcStack_128 + -0x7fd4" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd4")) () ")"))))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);" (assignment_expression "pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" (identifier "pcStack_118") (= "=") (cast_expression "(code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" (( "(") (binary_expression "*(int *)(pcStack_128 + -0x7fd8) + 0x67ec" (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd8)" (( "(") (binary_expression "pcStack_128 + -0x7fd8" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd8")) () ")")))) (+ "+") (number_literal "0x67ec")) () ")")))) (; ";")) (do_statement "do {\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        } while (puVar5 != puVar17);" (do "do") (compound_statement "{\n          cVar14 = pcVar2[(int)puVar17];\n          if (iVar11 != 0x18) goto LAB_00016e40;\n          iVar12 = 0x1b;\n          iVar6 = 0x39;\n          iVar9 = 0x19;\n          while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }\n          puVar17 = (uint *)0x1;\nLAB_00016e88:\n          iVar11 = iVar9 + 3;\n        }" ({ "{") (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" (identifier "cVar14") (= "=") (subscript_expression "pcVar2[(int)puVar17]" (identifier "pcVar2") ([ "[") (cast_expression "(int)puVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar17")) (] "]"))) (; ";")) (if_statement "if (iVar11 != 0x18) goto LAB_00016e40;" (if "if") (parenthesized_expression "(iVar11 != 0x18)" (( "(") (binary_expression "iVar11 != 0x18" (identifier "iVar11") (!= "!=") (number_literal "0x18")) () ")")) (goto_statement "goto LAB_00016e40;" (goto "goto") (statement_identifier "LAB_00016e40") (; ";"))) (expression_statement "iVar12 = 0x1b;" (assignment_expression "iVar12 = 0x1b" (identifier "iVar12") (= "=") (number_literal "0x1b")) (; ";")) (expression_statement "iVar6 = 0x39;" (assignment_expression "iVar6 = 0x39" (identifier "iVar6") (= "=") (number_literal "0x39")) (; ";")) (expression_statement "iVar9 = 0x19;" (assignment_expression "iVar9 = 0x19" (identifier "iVar9") (= "=") (number_literal "0x19")) (; ";")) (while_statement "while( true ) {\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);\n            auStack_100[iVar12] = 0x20;\n            pcVar8 = pcVar2;\n            if (puVar17 == (uint *)0x0) break;\n            puVar17 = (uint *)((int)puVar17 + 1);\n            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;\n            (*pcStack_118)(auStack_100);\n            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);\n            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n            if (puVar17 == puVar5) goto LAB_00016ef0;\n            iVar11 = 0;\n            cVar14 = pcVar2[(int)puVar17];\nLAB_00016e40:\n            iVar6 = 0x52 - iVar11;\n            iVar12 = iVar11 + 2;\n            iVar9 = iVar11;\n          }" ({ "{") (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f0c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f0c)" (( "(") (binary_expression "pcStack_128 + -0x7f0c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f0c")) () ")"))))) () ")")) (argument_list "(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14)" (( "(") (binary_expression "auStack_100 + iVar9" (identifier "auStack_100") (+ "+") (identifier "iVar9")) (, ",") (identifier "iVar6") (, ",") (binary_expression "iVar4 + 0x1d94" (identifier "iVar4") (+ "+") (number_literal "0x1d94")) (, ",") (identifier "cVar14") () ")"))) (; ";")) (expression_statement "auStack_100[iVar12] = 0x20;" (assignment_expression "auStack_100[iVar12] = 0x20" (subscript_expression "auStack_100[iVar12]" (identifier "auStack_100") ([ "[") (identifier "iVar12") (] "]")) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "pcVar8 = pcVar2;" (assignment_expression "pcVar8 = pcVar2" (identifier "pcVar8") (= "=") (identifier "pcVar2")) (; ";")) (if_statement "if (puVar17 == (uint *)0x0) break;" (if "if") (parenthesized_expression "(puVar17 == (uint *)0x0)" (( "(") (binary_expression "puVar17 == (uint *)0x0" (identifier "puVar17") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar17 = (uint *)((int)puVar17 + 1);" (assignment_expression "puVar17 = (uint *)((int)puVar17 + 1)" (identifier "puVar17") (= "=") (cast_expression "(uint *)((int)puVar17 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar17 + 1)" (( "(") (binary_expression "(int)puVar17 + 1" (cast_expression "(int)puVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar17")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;" (if "if") (parenthesized_expression "(((uint)puVar17 & 0xf) != 0)" (( "(") (binary_expression "((uint)puVar17 & 0xf) != 0" (parenthesized_expression "((uint)puVar17 & 0xf)" (( "(") (binary_expression "(uint)puVar17 & 0xf" (cast_expression "(uint)puVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar17")) (& "&") (number_literal "0xf")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00016e88;" (goto "goto") (statement_identifier "LAB_00016e88") (; ";"))) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" (( "(") (pointer_expression "*pcStack_118" (* "*") (identifier "pcStack_118")) () ")")) (argument_list "(auStack_100)" (( "(") (identifier "auStack_100") () ")"))) (; ";")) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f6c)" (( "(") (binary_expression "pcStack_128 + -0x7f6c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f6c")) () ")"))))) () ")")) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (( "(") (identifier "uStack_114") (, ",") (number_literal "1") (, ",") (binary_expression "iStack_11c + 0x3784" (identifier "iStack_11c") (+ "+") (number_literal "0x3784")) (, ",") (identifier "auStack_100") () ")"))) (; ";")) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7ea8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7ea8)" (( "(") (binary_expression "pcStack_128 + -0x7ea8" (identifier "pcStack_128") (+ "+") (number_literal "-0x7ea8")) () ")"))))) () ")")) (argument_list "(auStack_100,0x20,0x50)" (( "(") (identifier "auStack_100") (, ",") (number_literal "0x20") (, ",") (number_literal "0x50") () ")"))) (; ";")) (if_statement "if (puVar17 == puVar5) goto LAB_00016ef0;" (if "if") (parenthesized_expression "(puVar17 == puVar5)" (( "(") (binary_expression "puVar17 == puVar5" (identifier "puVar17") (== "==") (identifier "puVar5")) () ")")) (goto_statement "goto LAB_00016ef0;" (goto "goto") (statement_identifier "LAB_00016ef0") (; ";"))) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar14 = pcVar2[(int)puVar17];" (assignment_expression "cVar14 = pcVar2[(int)puVar17]" (identifier "cVar14") (= "=") (subscript_expression "pcVar2[(int)puVar17]" (identifier "pcVar2") ([ "[") (cast_expression "(int)puVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar17")) (] "]"))) (; ";")) (labeled_statement "LAB_00016e40:\n            iVar6 = 0x52 - iVar11;" (statement_identifier "LAB_00016e40") (: ":") (expression_statement "iVar6 = 0x52 - iVar11;" (assignment_expression "iVar6 = 0x52 - iVar11" (identifier "iVar6") (= "=") (binary_expression "0x52 - iVar11" (number_literal "0x52") (- "-") (identifier "iVar11"))) (; ";"))) (expression_statement "iVar12 = iVar11 + 2;" (assignment_expression "iVar12 = iVar11 + 2" (identifier "iVar12") (= "=") (binary_expression "iVar11 + 2" (identifier "iVar11") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar9 = iVar11;" (assignment_expression "iVar9 = iVar11" (identifier "iVar9") (= "=") (identifier "iVar11")) (; ";")) (} "}"))) (expression_statement "puVar17 = (uint *)0x1;" (assignment_expression "puVar17 = (uint *)0x1" (identifier "puVar17") (= "=") (cast_expression "(uint *)0x1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (labeled_statement "LAB_00016e88:\n          iVar11 = iVar9 + 3;" (statement_identifier "LAB_00016e88") (: ":") (expression_statement "iVar11 = iVar9 + 3;" (assignment_expression "iVar11 = iVar9 + 3" (identifier "iVar11") (= "=") (binary_expression "iVar9 + 3" (identifier "iVar9") (+ "+") (number_literal "3"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(puVar5 != puVar17)" (( "(") (binary_expression "puVar5 != puVar17" (identifier "puVar5") (!= "!=") (identifier "puVar17")) () ")")) (; ";")) (expression_statement "auStack_fb[iVar9] = 0;" (assignment_expression "auStack_fb[iVar9] = 0" (subscript_expression "auStack_fb[iVar9]" (identifier "auStack_fb") ([ "[") (identifier "iVar9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*pcStack_118)(auStack_100);" (call_expression "(*pcStack_118)(auStack_100)" (parenthesized_expression "(*pcStack_118)" (( "(") (pointer_expression "*pcStack_118" (* "*") (identifier "pcStack_118")) () ")")) (argument_list "(auStack_100)" (( "(") (identifier "auStack_100") () ")"))) (; ";")) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f6c)" (( "(") (binary_expression "pcStack_128 + -0x7f6c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f6c")) () ")"))))) () ")")) (argument_list "(uStack_114,1,iStack_11c + 0x3784,auStack_100)" (( "(") (identifier "uStack_114") (, ",") (number_literal "1") (, ",") (binary_expression "iStack_11c + 0x3784" (identifier "iStack_11c") (+ "+") (number_literal "0x3784")) (, ",") (identifier "auStack_100") () ")"))) (; ";")) (goto_statement "goto LAB_00016ef0;" (goto "goto") (statement_identifier "LAB_00016ef0") (; ";")) (} "}"))) (expression_statement "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;" (assignment_expression "iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784" (identifier "iStack_110") (= "=") (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd4)" (( "(") (binary_expression "pcStack_128 + -0x7fd4" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd4")) () ")")))) (+ "+") (number_literal "0x3784"))) (; ";")) (} "}")))) (expression_statement "uStack_b0 = 0;" (assignment_expression "uStack_b0 = 0" (identifier "uStack_b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = *(int *)(pcStack_128 + -0x7fd4);" (assignment_expression "iVar6 = *(int *)(pcStack_128 + -0x7fd4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd4)" (( "(") (binary_expression "pcStack_128 + -0x7fd4" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd4")) () ")"))))) (; ";")) (expression_statement "puStack_10c = auStack_100 + 1;" (assignment_expression "puStack_10c = auStack_100 + 1" (identifier "puStack_10c") (= "=") (binary_expression "auStack_100 + 1" (identifier "auStack_100") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);" (assignment_expression "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f0c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f0c)" (( "(") (binary_expression "pcStack_128 + -0x7f0c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f0c")) () ")"))))) () ")")) (argument_list "(puStack_10c,0x51,iVar6 + 0x1d94,0)" (( "(") (identifier "puStack_10c") (, ",") (number_literal "0x51") (, ",") (binary_expression "iVar6 + 0x1d94" (identifier "iVar6") (+ "+") (number_literal "0x1d94")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iStack_11c = 0;" (assignment_expression "iStack_11c = 0" (identifier "iStack_11c") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcStack_118 = pcVar2 + (int)puVar5;" (assignment_expression "pcStack_118 = pcVar2 + (int)puVar5" (identifier "pcStack_118") (= "=") (binary_expression "pcVar2 + (int)puVar5" (identifier "pcVar2") (+ "+") (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")))) (; ";")) (expression_statement "iVar11 = 5;" (assignment_expression "iVar11 = 5" (identifier "iVar11") (= "=") (number_literal "5")) (; ";")) (expression_statement "auStack_100[iVar4 + 1] = 0x20;" (assignment_expression "auStack_100[iVar4 + 1] = 0x20" (subscript_expression "auStack_100[iVar4 + 1]" (identifier "auStack_100") ([ "[") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);" (assignment_expression "pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" (identifier "pcStack_104") (= "=") (cast_expression "(code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec)" (( "(") (binary_expression "*(int *)(pcStack_128 + -0x7fd8) + 0x67ec" (pointer_expression "*(int *)(pcStack_128 + -0x7fd8)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd8)" (( "(") (binary_expression "pcStack_128 + -0x7fd8" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd8")) () ")")))) (+ "+") (number_literal "0x67ec")) () ")")))) (; ";")) (expression_statement "iVar4 = 0x3c;" (assignment_expression "iVar4 = 0x3c" (identifier "iVar4") (= "=") (number_literal "0x3c")) (; ";")) (do_statement "do {\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    } while (pcVar8 != pcStack_118);" (do "do") (compound_statement "{\n      pcVar8 = pcVar2 + 1;\n      cVar14 = *pcVar2;\n      iVar12 = iVar11 + 3;\n      if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }\n      (**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);\n      iVar12 = iVar4 + 1;\n      auStack_100[iVar13] = 0x20;\n      if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }\n      pcVar2 = pcVar8;\n      iVar4 = iVar12;\n    }" ({ "{") (expression_statement "pcVar8 = pcVar2 + 1;" (assignment_expression "pcVar8 = pcVar2 + 1" (identifier "pcVar8") (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar14 = *pcVar2;" (assignment_expression "cVar14 = *pcVar2" (identifier "cVar14") (= "=") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2"))) (; ";")) (expression_statement "iVar12 = iVar11 + 3;" (assignment_expression "iVar12 = iVar11 + 3" (identifier "iVar12") (= "=") (binary_expression "iVar11 + 3" (identifier "iVar11") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (iVar12 == 0x20) {\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }\n      else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" (if "if") (parenthesized_expression "(iVar12 == 0x20)" (( "(") (binary_expression "iVar12 == 0x20" (identifier "iVar12") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n        iVar13 = 0x23;\n        iVar7 = 0x31;\n        iVar11 = 0x21;\n      }" ({ "{") (expression_statement "iVar13 = 0x23;" (assignment_expression "iVar13 = 0x23" (identifier "iVar13") (= "=") (number_literal "0x23")) (; ";")) (expression_statement "iVar7 = 0x31;" (assignment_expression "iVar7 = 0x31" (identifier "iVar7") (= "=") (number_literal "0x31")) (; ";")) (expression_statement "iVar11 = 0x21;" (assignment_expression "iVar11 = 0x21" (identifier "iVar11") (= "=") (number_literal "0x21")) (; ";")) (} "}")) (else_clause "else {\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" (else "else") (compound_statement "{\n        iVar13 = iVar11 + 5;\n        iVar7 = 0x52 - iVar12;\n        iVar11 = iVar12;\n      }" ({ "{") (expression_statement "iVar13 = iVar11 + 5;" (assignment_expression "iVar13 = iVar11 + 5" (identifier "iVar13") (= "=") (binary_expression "iVar11 + 5" (identifier "iVar11") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "iVar7 = 0x52 - iVar12;" (assignment_expression "iVar7 = 0x52 - iVar12" (identifier "iVar7") (= "=") (binary_expression "0x52 - iVar12" (number_literal "0x52") (- "-") (identifier "iVar12"))) (; ";")) (expression_statement "iVar11 = iVar12;" (assignment_expression "iVar11 = iVar12" (identifier "iVar11") (= "=") (identifier "iVar12")) (; ";")) (} "}")))) (expression_statement "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);" (call_expression "(**(code **)(pcStack_128 + -0x7f0c))\n                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f0c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f0c)" (( "(") (binary_expression "pcStack_128 + -0x7f0c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f0c")) () ")"))))) () ")")) (argument_list "(auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14)" (( "(") (binary_expression "auStack_100 + iVar11" (identifier "auStack_100") (+ "+") (identifier "iVar11")) (, ",") (identifier "iVar7") (, ",") (binary_expression "iVar6 + 0x1d94" (identifier "iVar6") (+ "+") (number_literal "0x1d94")) (, ",") (cast_expression "(uint)(byte)cVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)cVar14" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "cVar14"))) () ")"))) (; ";")) (expression_statement "iVar12 = iVar4 + 1;" (assignment_expression "iVar12 = iVar4 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "auStack_100[iVar13] = 0x20;" (assignment_expression "auStack_100[iVar13] = 0x20" (subscript_expression "auStack_100[iVar13]" (identifier "auStack_100") ([ "[") (identifier "iVar13") (] "]")) (= "=") (number_literal "0x20")) (; ";")) (if_statement "if (iVar9 == 0) {\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }\n      else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }\n        auStack_100[iVar4] = cVar14;\n        if (0x4b < iVar12) goto LAB_0001706c;\n      }" ({ "{") (if_statement "if (0x5e < (byte)cVar14 - 0x20) {\n          cVar14 = (code)0x2e;\n        }" (if "if") (parenthesized_expression "(0x5e < (byte)cVar14 - 0x20)" (( "(") (binary_expression "0x5e < (byte)cVar14 - 0x20" (number_literal "0x5e") (< "<") (binary_expression "(byte)cVar14 - 0x20" (cast_expression "(byte)cVar14" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "cVar14")) (- "-") (number_literal "0x20"))) () ")")) (compound_statement "{\n          cVar14 = (code)0x2e;\n        }" ({ "{") (expression_statement "cVar14 = (code)0x2e;" (assignment_expression "cVar14 = (code)0x2e" (identifier "cVar14") (= "=") (cast_expression "(code)0x2e" (( "(") (type_descriptor "code" (type_identifier "code")) () ")") (number_literal "0x2e"))) (; ";")) (} "}"))) (expression_statement "auStack_100[iVar4] = cVar14;" (assignment_expression "auStack_100[iVar4] = cVar14" (subscript_expression "auStack_100[iVar4]" (identifier "auStack_100") ([ "[") (identifier "iVar4") (] "]")) (= "=") (identifier "cVar14")) (; ";")) (if_statement "if (0x4b < iVar12) goto LAB_0001706c;" (if "if") (parenthesized_expression "(0x4b < iVar12)" (( "(") (binary_expression "0x4b < iVar12" (number_literal "0x4b") (< "<") (identifier "iVar12")) () ")")) (goto_statement "goto LAB_0001706c;" (goto "goto") (statement_identifier "LAB_0001706c") (; ";"))) (} "}")) (else_clause "else {\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" (else "else") (compound_statement "{\n        auStack_100[iVar4] = 0x20;\n        if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }\n      }" ({ "{") (expression_statement "auStack_100[iVar4] = 0x20;" (assignment_expression "auStack_100[iVar4] = 0x20" (subscript_expression "auStack_100[iVar4]" (identifier "auStack_100") ([ "[") (identifier "iVar4") (] "]")) (= "=") (number_literal "0x20")) (; ";")) (if_statement "if (0x4b < iVar12) {\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }" (if "if") (parenthesized_expression "(0x4b < iVar12)" (( "(") (binary_expression "0x4b < iVar12" (number_literal "0x4b") (< "<") (identifier "iVar12")) () ")")) (compound_statement "{\n          (*pcStack_104)(auStack_100);\nLAB_0001706c:\n          iVar11 = 5;\n          iVar12 = 0x3c;\n          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);\n          iVar4 = iStack_11c + 0x10;\n          iStack_11c = iVar4;\n          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);\n          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);\n          auStack_100[iVar4 + 1] = 0x20;\n        }" ({ "{") (expression_statement "(*pcStack_104)(auStack_100);" (call_expression "(*pcStack_104)(auStack_100)" (parenthesized_expression "(*pcStack_104)" (( "(") (pointer_expression "*pcStack_104" (* "*") (identifier "pcStack_104")) () ")")) (argument_list "(auStack_100)" (( "(") (identifier "auStack_100") () ")"))) (; ";")) (labeled_statement "LAB_0001706c:\n          iVar11 = 5;" (statement_identifier "LAB_0001706c") (: ":") (expression_statement "iVar11 = 5;" (assignment_expression "iVar11 = 5" (identifier "iVar11") (= "=") (number_literal "5")) (; ";"))) (expression_statement "iVar12 = 0x3c;" (assignment_expression "iVar12 = 0x3c" (identifier "iVar12") (= "=") (number_literal "0x3c")) (; ";")) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f6c)" (( "(") (binary_expression "pcStack_128 + -0x7f6c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f6c")) () ")"))))) () ")")) (argument_list "(uStack_114,1,iStack_110,auStack_100)" (( "(") (identifier "uStack_114") (, ",") (number_literal "1") (, ",") (identifier "iStack_110") (, ",") (identifier "auStack_100") () ")"))) (; ";")) (expression_statement "iVar4 = iStack_11c + 0x10;" (assignment_expression "iVar4 = iStack_11c + 0x10" (identifier "iVar4") (= "=") (binary_expression "iStack_11c + 0x10" (identifier "iStack_11c") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "iStack_11c = iVar4;" (assignment_expression "iStack_11c = iVar4" (identifier "iStack_11c") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);" (call_expression "(**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7ea8))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7ea8)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7ea8)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7ea8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7ea8)" (( "(") (binary_expression "pcStack_128 + -0x7ea8" (identifier "pcStack_128") (+ "+") (number_literal "-0x7ea8")) () ")"))))) () ")")) (argument_list "(auStack_100,0x20,0x50)" (( "(") (identifier "auStack_100") (, ",") (number_literal "0x20") (, ",") (number_literal "0x50") () ")"))) (; ";")) (expression_statement "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);" (assignment_expression "iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f0c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f0c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f0c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f0c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f0c)" (( "(") (binary_expression "pcStack_128 + -0x7f0c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f0c")) () ")"))))) () ")")) (argument_list "(puStack_10c,0x51,iVar6 + 0x1d94,iVar4)" (( "(") (identifier "puStack_10c") (, ",") (number_literal "0x51") (, ",") (binary_expression "iVar6 + 0x1d94" (identifier "iVar6") (+ "+") (number_literal "0x1d94")) (, ",") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "auStack_100[iVar4 + 1] = 0x20;" (assignment_expression "auStack_100[iVar4 + 1] = 0x20" (subscript_expression "auStack_100[iVar4 + 1]" (identifier "auStack_100") ([ "[") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0x20")) (; ";")) (} "}"))) (} "}")))) (expression_statement "pcVar2 = pcVar8;" (assignment_expression "pcVar2 = pcVar8" (identifier "pcVar2") (= "=") (identifier "pcVar8")) (; ";")) (expression_statement "iVar4 = iVar12;" (assignment_expression "iVar4 = iVar12" (identifier "iVar4") (= "=") (identifier "iVar12")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar8 != pcStack_118)" (( "(") (binary_expression "pcVar8 != pcStack_118" (identifier "pcVar8") (!= "!=") (identifier "pcStack_118")) () ")")) (; ";")) (if_statement "if (iVar12 != 0x3c) {\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" (if "if") (parenthesized_expression "(iVar12 != 0x3c)" (( "(") (binary_expression "iVar12 != 0x3c" (identifier "iVar12") (!= "!=") (number_literal "0x3c")) () ")")) (compound_statement "{\n      auStack_100[iVar12] = 0;\n      if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }\n      (**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);\n    }" ({ "{") (expression_statement "auStack_100[iVar12] = 0;" (assignment_expression "auStack_100[iVar12] = 0" (subscript_expression "auStack_100[iVar12]" (identifier "auStack_100") ([ "[") (identifier "iVar12") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar9 != 0) {\n        FUN_000167ec(auStack_100);\n      }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_000167ec(auStack_100);\n      }" ({ "{") (expression_statement "FUN_000167ec(auStack_100);" (call_expression "FUN_000167ec(auStack_100)" (identifier "FUN_000167ec") (argument_list "(auStack_100)" (( "(") (identifier "auStack_100") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);" (call_expression "(**(code **)(pcStack_128 + -0x7f6c))\n                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" (parenthesized_expression "(**(code **)(pcStack_128 + -0x7f6c))" (( "(") (pointer_expression "**(code **)(pcStack_128 + -0x7f6c)" (* "*") (pointer_expression "*(code **)(pcStack_128 + -0x7f6c)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7f6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7f6c)" (( "(") (binary_expression "pcStack_128 + -0x7f6c" (identifier "pcStack_128") (+ "+") (number_literal "-0x7f6c")) () ")"))))) () ")")) (argument_list "(uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100)" (( "(") (identifier "uStack_114") (, ",") (number_literal "1") (, ",") (binary_expression "*(int *)(pcStack_128 + -0x7fd4) + 0x3784" (pointer_expression "*(int *)(pcStack_128 + -0x7fd4)" (* "*") (cast_expression "(int *)(pcStack_128 + -0x7fd4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcStack_128 + -0x7fd4)" (( "(") (binary_expression "pcStack_128 + -0x7fd4" (identifier "pcStack_128") (+ "+") (number_literal "-0x7fd4")) () ")")))) (+ "+") (number_literal "0x3784")) (, ",") (identifier "auStack_100") () ")"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00016ef0:\n  if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }" (statement_identifier "LAB_00016ef0") (: ":") (if_statement "if (piStack_ac == (int *)*piStack_108) {\n    return (int *)*piStack_108;\n  }" (if "if") (parenthesized_expression "(piStack_ac == (int *)*piStack_108)" (( "(") (binary_expression "piStack_ac == (int *)*piStack_108" (identifier "piStack_ac") (== "==") (cast_expression "(int *)*piStack_108" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piStack_108" (* "*") (identifier "piStack_108")))) () ")")) (compound_statement "{\n    return (int *)*piStack_108;\n  }" ({ "{") (return_statement "return (int *)*piStack_108;" (return "return") (cast_expression "(int *)*piStack_108" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piStack_108" (* "*") (identifier "piStack_108"))) (; ";")) (} "}")))) (expression_statement "pcVar2 = *(code **)(pcStack_128 + -0x7df4);" (assignment_expression "pcVar2 = *(code **)(pcStack_128 + -0x7df4)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(pcStack_128 + -0x7df4)" (* "*") (cast_expression "(code **)(pcStack_128 + -0x7df4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_128 + -0x7df4)" (( "(") (binary_expression "pcStack_128 + -0x7df4" (identifier "pcStack_128") (+ "+") (number_literal "-0x7df4")) () ")"))))) (; ";")) (expression_statement "pcVar16 = sg_get_initial_dsense;" (assignment_expression "pcVar16 = sg_get_initial_dsense" (identifier "pcVar16") (= "=") (identifier "sg_get_initial_dsense")) (; ";")) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = *(int **)(pcVar2 + 0x3d894);" (assignment_expression "piVar1 = *(int **)(pcVar2 + 0x3d894)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(pcVar2 + 0x3d894)" (* "*") (cast_expression "(int **)(pcVar2 + 0x3d894)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar2 + 0x3d894)" (( "(") (binary_expression "pcVar2 + 0x3d894" (identifier "pcVar2") (+ "+") (number_literal "0x3d894")) () ")"))))) (; ";")) (expression_statement "iStack_144 = *piVar1;" (assignment_expression "iStack_144 = *piVar1" (identifier "iStack_144") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "pcStack_140 = pcVar8;" (assignment_expression "pcStack_140 = pcVar8" (identifier "pcStack_140") (= "=") (identifier "pcVar8")) (; ";")) (expression_statement "pcStack_13c = pcVar16;" (assignment_expression "pcStack_13c = pcVar16" (identifier "pcStack_13c") (= "=") (identifier "pcVar16")) (; ";")) (expression_statement "iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);" (assignment_expression "iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" (identifier "iVar11") (= "=") (call_expression "(**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d814))" (( "(") (pointer_expression "**(code **)(pcVar2 + 0x3d814)" (* "*") (pointer_expression "*(code **)(pcVar2 + 0x3d814)" (* "*") (cast_expression "(code **)(pcVar2 + 0x3d814)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar2 + 0x3d814)" (( "(") (binary_expression "pcVar2 + 0x3d814" (identifier "pcVar2") (+ "+") (number_literal "0x3d814")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar2 + 0x3d684) + 0x1d9c)" (( "(") (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x1d9c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" (* "*") (cast_expression "(int *)(pcVar2 + 0x3d684)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 0x3d684)" (( "(") (binary_expression "pcVar2 + 0x3d684" (identifier "pcVar2") (+ "+") (number_literal "0x3d684")) () ")")))) (+ "+") (number_literal "0x1d9c")) () ")")))) (; ";")) (if_statement "if ((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" (if "if") (parenthesized_expression "((iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1))" (( "(") (binary_expression "(iVar11 == 0) ||\n     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)" (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)" (( "(") (comma_expression "iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1" (assignment_expression "iVar11 = (**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" (identifier "iVar11") (= "=") (call_expression "(**(code **)(pcVar2 + 0x3d7b8))\n                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" (parenthesized_expression "(**(code **)(pcVar2 + 0x3d7b8))" (( "(") (pointer_expression "**(code **)(pcVar2 + 0x3d7b8)" (* "*") (pointer_expression "*(code **)(pcVar2 + 0x3d7b8)" (* "*") (cast_expression "(code **)(pcVar2 + 0x3d7b8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar2 + 0x3d7b8)" (( "(") (binary_expression "pcVar2 + 0x3d7b8" (identifier "pcVar2") (+ "+") (number_literal "0x3d7b8")) () ")"))))) () ")")) (argument_list "(iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148)" (( "(") (identifier "iVar11") (, ",") (binary_expression "*(int *)(pcVar2 + 0x3d684) + 0x206c" (pointer_expression "*(int *)(pcVar2 + 0x3d684)" (* "*") (cast_expression "(int *)(pcVar2 + 0x3d684)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar2 + 0x3d684)" (( "(") (binary_expression "pcVar2 + 0x3d684" (identifier "pcVar2") (+ "+") (number_literal "0x3d684")) () ")")))) (+ "+") (number_literal "0x206c")) (, ",") (pointer_expression "&iStack_148" (& "&") (identifier "iStack_148")) () ")")))) (, ",") (binary_expression "iVar11 != 1" (identifier "iVar11") (!= "!=") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n    piVar3 = (int *)0x0;\n  }" ({ "{") (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" (else "else") (compound_statement "{\n    piVar3 = (int *)(uint)(iStack_148 != 0);\n  }" ({ "{") (expression_statement "piVar3 = (int *)(uint)(iStack_148 != 0);" (assignment_expression "piVar3 = (int *)(uint)(iStack_148 != 0)" (identifier "piVar3") (= "=") (cast_expression "(int *)(uint)(iStack_148 != 0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(uint)(iStack_148 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iStack_148 != 0)" (( "(") (binary_expression "iStack_148 != 0" (identifier "iStack_148") (!= "!=") (number_literal "0")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iStack_144 != *piVar1) {\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }" (if "if") (parenthesized_expression "(iStack_144 != *piVar1)" (( "(") (binary_expression "iStack_144 != *piVar1" (identifier "iStack_144") (!= "!=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (compound_statement "{\n    pcVar8 = *(code **)(pcVar2 + 0x3d864);\n    (*pcVar8)();\n    piVar1 = *(int **)(pcVar8 + 0x3d6e8);\n    *piVar1 = iStack_144;\n    return piVar1;\n  }" ({ "{") (expression_statement "pcVar8 = *(code **)(pcVar2 + 0x3d864);" (assignment_expression "pcVar8 = *(code **)(pcVar2 + 0x3d864)" (identifier "pcVar8") (= "=") (pointer_expression "*(code **)(pcVar2 + 0x3d864)" (* "*") (cast_expression "(code **)(pcVar2 + 0x3d864)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar2 + 0x3d864)" (( "(") (binary_expression "pcVar2 + 0x3d864" (identifier "pcVar2") (+ "+") (number_literal "0x3d864")) () ")"))))) (; ";")) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = *(int **)(pcVar8 + 0x3d6e8);" (assignment_expression "piVar1 = *(int **)(pcVar8 + 0x3d6e8)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(pcVar8 + 0x3d6e8)" (* "*") (cast_expression "(int **)(pcVar8 + 0x3d6e8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar8 + 0x3d6e8)" (( "(") (binary_expression "pcVar8 + 0x3d6e8" (identifier "pcVar8") (+ "+") (number_literal "0x3d6e8")) () ")"))))) (; ";")) (expression_statement "*piVar1 = iStack_144;" (assignment_expression "*piVar1 = iStack_144" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iStack_144")) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (return_statement "return piVar3;" (return "return") (identifier "piVar3") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (identifier) right: (number_literal))))))) right: (number_literal)))))) arguments: (argument_list))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (break_statement)) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) 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: (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)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (binary_expression left: (identifier) right: (number_literal)) (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (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)) (identifier)))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))) (return_statement (identifier)))))

int * MASKED(undefined4 param_1,int param_2,code *param_3,uint param_4)

{
  int *piVar1;
  code *pcVar2;
  int *piVar3;
  int iVar4;
  uint *puVar5;
  int iVar6;
  int iVar7;
  code *pcVar8;
  int iVar9;
  undefined4 *puVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  code cVar14;
  undefined *puVar15;
  code *pcVar16;
  uint *puVar17;
  uint local_resc;
  int iStack_148;
  int iStack_144;
  code *pcStack_140;
  code *pcStack_13c;
  code *pcStack_128;
  int iStack_11c;
  code *pcStack_118;
  uint uStack_114;
  int iStack_110;
  undefined1 *puStack_10c;
  int *piStack_108;
  code *pcStack_104;
  undefined1 auStack_100 [5];
  undefined1 auStack_fb [55];
  undefined1 auStack_c4 [20];
  undefined1 uStack_b0;
  int *piStack_ac;
  code *pcStack_a8;
  undefined4 *puStack_a4;
  uint *puStack_a0;
  code *pcStack_9c;
  undefined1 *puStack_98;
  int iStack_94;
  int iStack_90;
  code *local_28;
  uint *local_24;
  
  puVar15 = PTR___stack_chk_guard_00054a4c;
  iVar4 = *(int *)PTR___stack_chk_guard_00054a4c;
  iVar11 = param_2;
  local_resc = param_4;
  if (param_2 < 2) {
    piVar1 = (int *)0x0;
    pcVar8 = param_3;
  }
  else {
    local_24 = &local_resc;
    param_4 = 0xffffffff;
    pcVar8 = (code *)0x1;
    piVar1 = (int *)(*(code *)PTR___vsnprintf_chk_00054934)();
    local_28 = param_3;
    if (param_2 <= (int)piVar1) {
      piVar1 = (int *)(param_2 + -1);
    }
  }
  if (iVar4 == *(int *)puVar15) {
    return piVar1;
  }
  puVar15 = PTR___stack_chk_fail_00054a1c;
  (*(code *)PTR___stack_chk_fail_00054a1c)();
  puVar10 = *(undefined4 **)(puVar15 + 0x3e080);
  pcVar2 = (code *)*puVar10;
  if (iVar4 == 0) {
    iVar4 = *(int *)(puVar15 + 0x3de74) + -0x1a5c;
  }
  if (param_4 < 0xb) {
                    /* WARNING: Could not recover jumptable at 0x00016a4c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    piVar1 = (int *)(*(code *)(puVar15 +
                              *(int *)(*(int *)(puVar15 + 0x3de70) + 0x3dc0 + param_4 * 4) + 0x45e44
                              ))();
    return piVar1;
  }
  iVar9 = *(int *)(puVar15 + 0x3de70) + 0x2f80;
  puVar5 = local_24;
  piVar1 = (int *)(**(code **)(puVar15 + 0x3df38))(&_gp_1);
  *local_28 = (code)0x0;
  if (pcVar2 == (code *)*puVar10) {
    return piVar1;
  }
  pcVar16 = *(code **)(puVar15 + 0x3e050);
  (*pcVar16)();
  pcStack_128 = pcVar16 + 0x45a88;
  piStack_108 = *(int **)(pcVar16 + 0x3dcc4);
  puStack_98 = &_gp_1;
  pcStack_9c = local_28;
  puStack_a0 = local_24;
  piStack_ac = (int *)*piStack_108;
  uStack_114 = param_4;
  pcStack_a8 = pcVar8;
  puStack_a4 = puVar10;
  iStack_94 = iVar4;
  iStack_90 = iVar11;
  if (0 < (int)puVar5) {
    if (iVar9 == 0) {
      (**(code **)(pcVar16 + 0x3dbe0))(auStack_100,0x20,0x50);
      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x1d8c;
    }
    else {
      (**(code **)(pcVar16 + 0x3dbe0))();
      uStack_b0 = 0;
      if (iVar9 < 0) {
        iStack_11c = *(int *)(pcStack_128 + -0x7fd4);
        puVar17 = (uint *)0x0;
        iVar4 = *(int *)(pcStack_128 + -0x7fd4);
        iVar11 = 0;
        pcStack_118 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);
        do {
          cVar14 = pcVar2[(int)puVar17];
          if (iVar11 != 0x18) goto LAB_00016e40;
          iVar12 = 0x1b;
          iVar6 = 0x39;
          iVar9 = 0x19;
          while( true ) {
            (**(code **)(pcStack_128 + -0x7f0c))(auStack_100 + iVar9,iVar6,iVar4 + 0x1d94,cVar14);
            auStack_100[iVar12] = 0x20;
            pcVar8 = pcVar2;
            if (puVar17 == (uint *)0x0) break;
            puVar17 = (uint *)((int)puVar17 + 1);
            if (((uint)puVar17 & 0xf) != 0) goto LAB_00016e88;
            (*pcStack_118)(auStack_100);
            (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);
            (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);
            if (puVar17 == puVar5) goto LAB_00016ef0;
            iVar11 = 0;
            cVar14 = pcVar2[(int)puVar17];
LAB_00016e40:
            iVar6 = 0x52 - iVar11;
            iVar12 = iVar11 + 2;
            iVar9 = iVar11;
          }
          puVar17 = (uint *)0x1;
LAB_00016e88:
          iVar11 = iVar9 + 3;
        } while (puVar5 != puVar17);
        auStack_fb[iVar9] = 0;
        (*pcStack_118)(auStack_100);
        (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_11c + 0x3784,auStack_100);
        goto LAB_00016ef0;
      }
      iStack_110 = *(int *)(pcStack_128 + -0x7fd4) + 0x3784;
    }
    uStack_b0 = 0;
    iVar6 = *(int *)(pcStack_128 + -0x7fd4);
    puStack_10c = auStack_100 + 1;
    iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,0);
    iStack_11c = 0;
    pcStack_118 = pcVar2 + (int)puVar5;
    iVar11 = 5;
    auStack_100[iVar4 + 1] = 0x20;
    pcStack_104 = (code *)(*(int *)(pcStack_128 + -0x7fd8) + 0x67ec);
    iVar4 = 0x3c;
    do {
      pcVar8 = pcVar2 + 1;
      cVar14 = *pcVar2;
      iVar12 = iVar11 + 3;
      if (iVar12 == 0x20) {
        iVar13 = 0x23;
        iVar7 = 0x31;
        iVar11 = 0x21;
      }
      else {
        iVar13 = iVar11 + 5;
        iVar7 = 0x52 - iVar12;
        iVar11 = iVar12;
      }
      (**(code **)(pcStack_128 + -0x7f0c))
                (auStack_100 + iVar11,iVar7,iVar6 + 0x1d94,(uint)(byte)cVar14);
      iVar12 = iVar4 + 1;
      auStack_100[iVar13] = 0x20;
      if (iVar9 == 0) {
        if (0x5e < (byte)cVar14 - 0x20) {
          cVar14 = (code)0x2e;
        }
        auStack_100[iVar4] = cVar14;
        if (0x4b < iVar12) goto LAB_0001706c;
      }
      else {
        auStack_100[iVar4] = 0x20;
        if (0x4b < iVar12) {
          (*pcStack_104)(auStack_100);
LAB_0001706c:
          iVar11 = 5;
          iVar12 = 0x3c;
          (**(code **)(pcStack_128 + -0x7f6c))(uStack_114,1,iStack_110,auStack_100);
          iVar4 = iStack_11c + 0x10;
          iStack_11c = iVar4;
          (**(code **)(pcStack_128 + -0x7ea8))(auStack_100,0x20,0x50);
          iVar4 = (**(code **)(pcStack_128 + -0x7f0c))(puStack_10c,0x51,iVar6 + 0x1d94,iVar4);
          auStack_100[iVar4 + 1] = 0x20;
        }
      }
      pcVar2 = pcVar8;
      iVar4 = iVar12;
    } while (pcVar8 != pcStack_118);
    if (iVar12 != 0x3c) {
      auStack_100[iVar12] = 0;
      if (iVar9 != 0) {
        FUN_000167ec(auStack_100);
      }
      (**(code **)(pcStack_128 + -0x7f6c))
                (uStack_114,1,*(int *)(pcStack_128 + -0x7fd4) + 0x3784,auStack_100);
    }
  }
LAB_00016ef0:
  if (piStack_ac == (int *)*piStack_108) {
    return (int *)*piStack_108;
  }
  pcVar2 = *(code **)(pcStack_128 + -0x7df4);
  pcVar16 = sg_get_initial_dsense;
  (*pcVar2)();
  piVar1 = *(int **)(pcVar2 + 0x3d894);
  iStack_144 = *piVar1;
  pcStack_140 = pcVar8;
  pcStack_13c = pcVar16;
  iVar11 = (**(code **)(pcVar2 + 0x3d814))(*(int *)(pcVar2 + 0x3d684) + 0x1d9c);
  if ((iVar11 == 0) ||
     (iVar11 = (**(code **)(pcVar2 + 0x3d7b8))
                         (iVar11,*(int *)(pcVar2 + 0x3d684) + 0x206c,&iStack_148), iVar11 != 1)) {
    piVar3 = (int *)0x0;
  }
  else {
    piVar3 = (int *)(uint)(iStack_148 != 0);
  }
  if (iStack_144 != *piVar1) {
    pcVar8 = *(code **)(pcVar2 + 0x3d864);
    (*pcVar8)();
    piVar1 = *(int **)(pcVar8 + 0x3d6e8);
    *piVar1 = iStack_144;
    return piVar1;
  }
  return piVar3;
}

