
void dump(uhd_iface *iface,char *entity,uint8_t *ptr,size_t len)

{
  undefined1 uVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 *puVar5;
  size_t len_00;
  uint uVar6;
  uhd_iface *iface_00;
  undefined4 uVar7;
  undefined4 uVar8;
  ushort uVar9;
  undefined4 unaff_s5;
  undefined *unaff_s6;
  int *piVar10;
  byte *pbVar11;
  undefined *puVar12;
  code *pcVar13;
  uint8_t auStack_1094 [4096];
  int iStack_94;
  undefined *puStack_90;
  byte *pbStack_8c;
  uint8_t *puStack_88;
  char *pcStack_84;
  uhd_iface *puStack_80;
  undefined4 uStack_7c;
  undefined *puStack_78;
  code *pcStack_74;
  char *local_60;
  int local_58;
  __time_t local_54;
  __suseconds_t local_50;
  timeval tv;
  
  puVar3 = PTR___stack_chk_guard_00026178;
  puVar2 = PTR_stdout_0002610c;
  iVar4 = *(int *)PTR___stack_chk_guard_00026178;
  (*(code *)PTR_gettimeofday_00026170)(&tv,0);
  local_58 = tv.tv_sec >> 0x1f;
  local_50 = tv.tv_usec;
  local_54 = tv.tv_sec;
  local_60 = entity;
  (*(code *)PTR___fprintf_chk_000260dc)
            (*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,iface->addr_str);
  puVar12 = PTR_DAT_00026048;
  if (len != 0) {
    len = (size_t)(ptr + len);
    uVar7 = 3;
    unaff_s6 = PTR_00026054 + 0x509c;
    entity = PTR_DAT_00026048 + 0x6010;
    unaff_s5 = 3;
    uVar1 = unaff_s6[*ptr & 0xf];
    iface = (uhd_iface *)0x4;
    PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4];
    puVar12[0x6012] = uVar1;
    pbVar11 = ptr + 1;
    while( true ) {
      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);
      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;
      if ((byte *)len == pbVar11) break;
      uVar7 = 4;
      if (uVar6 != 0) {
        uVar7 = 3;
      }
      uVar1 = unaff_s6[*pbVar11 & 0xf];
      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];
      puVar12[0x6012] = uVar1;
      pbVar11 = pbVar11 + 1;
    }
    uVar7 = *(undefined4 *)puVar2;
    if (uVar6 == 1) goto LAB_00012c58;
    (*(code *)PTR_fputc_000260ec)(10,uVar7);
  }
  uVar7 = *(undefined4 *)puVar2;
LAB_00012c58:
  (*(code *)PTR_fputc_000260ec)(10,uVar7);
  iface_00 = *(uhd_iface **)puVar2;
  (*(code *)PTR_fflush_00026184)();
  if (iVar4 == *(int *)puVar3) {
    return;
  }
  pcVar13 = dump_iface_list_descriptor;
  puVar12 = PTR___stack_chk_fail_00026164;
  (*(code *)PTR___stack_chk_fail_00026164)();
  piVar10 = *(int **)(puVar12 + 0x134b4);
  puStack_90 = puVar2;
  iStack_94 = *piVar10;
  pbStack_8c = (byte *)len;
  puStack_88 = ptr;
  pcStack_84 = entity;
  puStack_80 = iface;
  uStack_7c = unaff_s5;
  puStack_78 = unaff_s6;
  pcStack_74 = pcVar13;
  if (iface_00 != (uhd_iface *)0x0) {
    uVar9 = iface_00->rd_len;
    if (uVar9 < 0x1001) {
      iVar4 = *(int *)(puVar12 + 0x13390);
      do {
        len_00 = (**(code **)(puVar12 + 0x13420))
                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,
                            1000);
        if ((int)len_00 < 0) {
          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);
          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);
          (**(code **)(puVar12 + 0x13418))
                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);
          goto LAB_00012de4;
        }
        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);
        iface_00 = iface_00->next;
        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;
        uVar9 = iface_00->rd_len;
        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);
      } while (uVar9 < 0x1001);
    }
    else {
      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);
    }
    uVar8 = *puVar5;
    uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5);
    (**(code **)(puVar12 + 0x13418))
              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7);
  }
LAB_00012de4:
  if (iStack_94 == *piVar10) {
    return;
  }
  pcVar13 = *(code **)(puVar12 + 0x134a0);
  iVar4 = iStack_94;
  (*pcVar13)();
  uVar6 = *(uint *)(iVar4 + 0xc);
  *(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c) = 0;
  if (6 < uVar6) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();
  return;
}



uint FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)

{
  undefined1 uVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  int iVar5;
  uint uVar6;
  int *piVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  ushort uVar10;
  int iVar11;
  undefined4 unaff_s5;
  undefined *unaff_s6;
  int *piVar12;
  byte *pbVar13;
  undefined *puVar14;
  code *pcVar15;
  undefined1 auStack_1094 [4096];
  int iStack_94;
  undefined *puStack_90;
  byte *pbStack_8c;
  byte *pbStack_88;
  undefined *puStack_84;
  int iStack_80;
  undefined4 uStack_7c;
  undefined *puStack_78;
  code *pcStack_74;
  undefined *local_60;
  int local_58;
  int local_54;
  undefined4 local_50;
  int local_34;
  undefined4 local_30;
  uint local_2c;
  
  puVar3 = PTR___stack_chk_guard_00026178;
  puVar2 = PTR_stdout_0002610c;
  local_2c = *(uint *)PTR___stack_chk_guard_00026178;
  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);
  local_58 = local_34 >> 0x1f;
  local_50 = local_30;
  local_54 = local_34;
  local_60 = param_2;
  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);
  puVar14 = PTR_DAT_00026048;
  if (param_4 != (byte *)0x0) {
    param_4 = param_3 + (int)param_4;
    uVar8 = 3;
    unaff_s6 = PTR_00026054 + 0x509c;
    param_2 = PTR_DAT_00026048 + 0x6010;
    unaff_s5 = 3;
    uVar1 = unaff_s6[*param_3 & 0xf];
    param_1 = 4;
    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];
    puVar14[0x6012] = uVar1;
    pbVar13 = param_3 + 1;
    while( true ) {
      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);
      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;
      if (param_4 == pbVar13) break;
      uVar8 = 4;
      if (uVar6 != 0) {
        uVar8 = 3;
      }
      uVar1 = unaff_s6[*pbVar13 & 0xf];
      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];
      puVar14[0x6012] = uVar1;
      pbVar13 = pbVar13 + 1;
    }
    uVar8 = *(undefined4 *)puVar2;
    if (uVar6 == 1) goto LAB_00012c58;
    (*(code *)PTR_fputc_000260ec)(10,uVar8);
  }
  uVar8 = *(undefined4 *)puVar2;
LAB_00012c58:
  (*(code *)PTR_fputc_000260ec)(10,uVar8);
  piVar7 = *(int **)puVar2;
  (*(code *)PTR_fflush_00026184)();
  if (local_2c == *(uint *)puVar3) {
    return *(uint *)puVar3;
  }
  pcVar15 = FUN_00012cc4;
  puVar14 = PTR___stack_chk_fail_00026164;
  (*(code *)PTR___stack_chk_fail_00026164)();
  piVar12 = *(int **)(puVar14 + 0x134b4);
  puStack_90 = puVar2;
  iStack_94 = *piVar12;
  uVar6 = 1;
  pbStack_8c = param_4;
  pbStack_88 = param_3;
  puStack_84 = param_2;
  iStack_80 = param_1;
  uStack_7c = unaff_s5;
  puStack_78 = unaff_s6;
  pcStack_74 = pcVar15;
  if (piVar7 != (int *)0x0) {
    uVar10 = *(ushort *)(piVar7 + 6);
    if (uVar10 < 0x1001) {
      iVar11 = *(int *)(puVar14 + 0x13390);
      do {
        iVar5 = (**(code **)(puVar14 + 0x13420))
                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),
                           auStack_1094,uVar10,1000);
        if (iVar5 < 0) {
          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);
          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);
          (**(code **)(puVar14 + 0x13418))
                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);
          uVar6 = 0;
          goto LAB_00012de4;
        }
        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);
        piVar7 = (int *)*piVar7;
        if (piVar7 == (int *)0x0) {
          uVar6 = 1;
          goto LAB_00012de4;
        }
        uVar10 = *(ushort *)(piVar7 + 6);
        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);
      } while (uVar10 < 0x1001);
    }
    else {
      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);
    }
    uVar9 = *puVar4;
    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);
    (**(code **)(puVar14 + 0x13418))
              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);
    uVar6 = 0;
  }
LAB_00012de4:
  if (iStack_94 == *piVar12) {
    return uVar6;
  }
  pcVar15 = *(code **)(puVar14 + 0x134a0);
  iVar11 = iStack_94;
  (*pcVar15)();
  uVar6 = *(uint *)(iVar11 + 0xc);
  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;
  if (uVar6 < 7) {
                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();
    return uVar6;
  }
  return uVar6;
}


lui gp,0x2
addiu gp,gp,-0x4ab8
addu gp,gp,t9
lw v0,-0x7ea8(gp)
addiu sp,sp,-0x70
lw t9,-0x7eb0(gp)
sw v0,0x34(sp)
sw s4,0x58(sp)
or s4,a0,zero
sw s3,0x54(sp)
addiu a0,sp,0x3c
sw gp,0x28(sp)
or s3,a1,zero
sw ra,0x6c(sp)
or a1,zero,zero
sw s2,0x50(sp)
or s2,a2,zero
sw s1,0x4c(sp)
or s1,a3,zero
sw s0,0x48(sp)
sw s8,0x68(sp)
sw s7,0x64(sp)
sw s6,0x60(sp)
sw s5,0x5c(sp)
lw v0,0x0(v0)
lw s0,-0x7f14(gp)
sw v0,0x44(sp)
jalr t9
_nop
addiu a3,s4,0x9
lw gp,0x28(sp)
li a1,0x1
lw v0,0x3c(sp)
lw t0,0x40(sp)
lw a0,0x0(s0)
lw a2,-0x7fcc(gp)
sra v1,v0,0x1f
lw t9,-0x7f44(gp)
sw t0,0x20(sp)
addiu a2,a2,0x4274
sw v0,0x1c(sp)
sw v1,0x18(sp)
jalr t9
_sw s3,0x10(sp)
beq s1,zero,0x00012c54
_lw gp,0x28(sp)
lbu v0,0x0(s2)
addu s1,s2,s1
lw t0,-0x7fcc(gp)
li a1,0x3
lw s8,-0x7fd8(gp)
addiu s7,s2,0x1
srl v1,v0,0x4
addiu s6,t0,0x509c
andi v0,v0,0xf
addu v1,s6,v1
addu v0,s6,v0
addiu s8,s8,0x6010
lbu v1,0x0(v1)
li s5,0x3
lbu v0,0x0(v0)
or s3,s8,zero
li s4,0x4
sb v1,0x1(s8)
b 0x00012c0c
_sb v0,0x2(s8)
lbu v0,0x0(v0)
or a1,s4,zero
movn a1,s5,v1
srl v1,v0,0x4
andi v0,v0,0xf
addu v1,s6,v1
addu v0,s6,v0
lbu v1,0x0(v1)
lbu v0,0x0(v0)
sb v1,0x1(s8)
sb v0,0x2(s8)
lw t9,-0x7ed8(gp)
li a2,0x1
lw a3,0x0(s0)
jalr t9
_or a0,s3,zero
or v0,s7,zero
addiu s7,s7,0x1
lw gp,0x28(sp)
subu a1,s7,s2
bne s1,v0,0x00012be0
_andi v1,a1,0xf
li v0,0x1
beq v1,v0,0x00012c58
_lw a1,0x0(s0)
lw t9,-0x7f34(gp)
jalr t9
_li a0,0xa
lw gp,0x28(sp)
lw a1,0x0(s0)
lw t9,-0x7f34(gp)
jalr t9
_li a0,0xa
lw gp,0x28(sp)
lw t9,-0x7e9c(gp)
jalr t9
_lw a0,0x0(s0)
lw v0,0x34(sp)
lw v1,0x44(sp)
lw gp,0x28(sp)
lw v0,0x0(v0)
bne v1,v0,0x00012cb8
_lw ra,0x6c(sp)
lw s8,0x68(sp)
lw s7,0x64(sp)
lw s6,0x60(sp)
lw s5,0x5c(sp)
lw s4,0x58(sp)
lw s3,0x54(sp)
lw s2,0x50(sp)
lw s1,0x4c(sp)
lw s0,0x48(sp)
jr ra
_addiu sp,sp,0x70
lw t9,-0x7ebc(gp)
jalr t9
_nop
(translation_unit "uint FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}\n\n" (function_definition "uint FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}" type_identifier (function_declarator "FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)" identifier (parameter_list "(int param_1,undefined *param_2,byte *param_3,byte *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "ushort uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "undefined *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "undefined1 auStack_1094 [4096];" type_identifier (array_declarator "auStack_1094 [4096]" identifier [ number_literal ]) ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "undefined *puStack_90;" type_identifier (pointer_declarator "*puStack_90" * identifier) ;) (declaration "byte *pbStack_8c;" type_identifier (pointer_declarator "*pbStack_8c" * identifier) ;) (declaration "byte *pbStack_88;" type_identifier (pointer_declarator "*pbStack_88" * identifier) ;) (declaration "undefined *puStack_84;" type_identifier (pointer_declarator "*puStack_84" * identifier) ;) (declaration "int iStack_80;" primitive_type identifier ;) (declaration "undefined4 uStack_7c;" type_identifier identifier ;) (declaration "undefined *puStack_78;" type_identifier (pointer_declarator "*puStack_78" * identifier) ;) (declaration "code *pcStack_74;" type_identifier (pointer_declarator "*pcStack_74" * identifier) ;) (declaration "undefined *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00026178;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00026178" identifier = identifier) ;) (expression_statement "puVar2 = PTR_stdout_0002610c;" (assignment_expression "puVar2 = PTR_stdout_0002610c" identifier = identifier) ;) (expression_statement "local_2c = *(uint *)PTR___stack_chk_guard_00026178;" (assignment_expression "local_2c = *(uint *)PTR___stack_chk_guard_00026178" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_00026178" * (cast_expression "(uint *)PTR___stack_chk_guard_00026178" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_gettimeofday_00026170)(&local_34,0);" (call_expression "(*(code *)PTR_gettimeofday_00026170)(&local_34,0)" (parenthesized_expression "(*(code *)PTR_gettimeofday_00026170)" ( (pointer_expression "*(code *)PTR_gettimeofday_00026170" * (cast_expression "(code *)PTR_gettimeofday_00026170" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_34,0)" ( (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "local_58 = local_34 >> 0x1f;" (assignment_expression "local_58 = local_34 >> 0x1f" identifier = (binary_expression "local_34 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "local_50 = local_30;" (assignment_expression "local_50 = local_30" identifier = identifier) ;) (expression_statement "local_54 = local_34;" (assignment_expression "local_54 = local_34" identifier = identifier) ;) (expression_statement "local_60 = param_2;" (assignment_expression "local_60 = param_2" identifier = identifier) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);" (call_expression "(*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000260dc)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000260dc" * (cast_expression "(code *)PTR___fprintf_chk_000260dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_00026054 + 0x4274" identifier + number_literal) , (binary_expression "param_1 + 9" identifier + number_literal) ))) ;) (expression_statement "puVar14 = PTR_DAT_00026048;" (assignment_expression "puVar14 = PTR_DAT_00026048" identifier = identifier) ;) (if_statement "if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }" if (parenthesized_expression "(param_4 != (byte *)0x0)" ( (binary_expression "param_4 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }" { (expression_statement "param_4 = param_3 + (int)param_4;" (assignment_expression "param_4 = param_3 + (int)param_4" identifier = (binary_expression "param_3 + (int)param_4" identifier + (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" identifier = number_literal) ;) (expression_statement "unaff_s6 = PTR_00026054 + 0x509c;" (assignment_expression "unaff_s6 = PTR_00026054 + 0x509c" identifier = (binary_expression "PTR_00026054 + 0x509c" identifier + number_literal)) ;) (expression_statement "param_2 = PTR_DAT_00026048 + 0x6010;" (assignment_expression "param_2 = PTR_DAT_00026048 + 0x6010" identifier = (binary_expression "PTR_DAT_00026048 + 0x6010" identifier + number_literal)) ;) (expression_statement "unaff_s5 = 3;" (assignment_expression "unaff_s5 = 3" identifier = number_literal) ;) (expression_statement "uVar1 = unaff_s6[*param_3 & 0xf];" (assignment_expression "uVar1 = unaff_s6[*param_3 & 0xf]" identifier = (subscript_expression "unaff_s6[*param_3 & 0xf]" identifier [ (binary_expression "*param_3 & 0xf" (pointer_expression "*param_3" * identifier) & number_literal) ])) ;) (expression_statement "param_1 = 4;" (assignment_expression "param_1 = 4" identifier = number_literal) ;) (expression_statement "PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];" (assignment_expression "PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4]" (subscript_expression "PTR_DAT_00026048[0x6011]" identifier [ number_literal ]) = (subscript_expression "unaff_s6[*param_3 >> 4]" identifier [ (binary_expression "*param_3 >> 4" (pointer_expression "*param_3" * identifier) >> number_literal) ])) ;) (expression_statement "puVar14[0x6012] = uVar1;" (assignment_expression "puVar14[0x6012] = uVar1" (subscript_expression "puVar14[0x6012]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar13 = param_3 + 1;" (assignment_expression "pbVar13 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }" { (expression_statement "(*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fwrite_00026148)" ( (pointer_expression "*(code *)PTR_fwrite_00026148" * (cast_expression "(code *)PTR_fwrite_00026148" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,uVar8,1,*(undefined4 *)puVar2)" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;" (assignment_expression "uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf" identifier = (binary_expression "(int)(pbVar13 + 1) - (int)param_3 & 0xf" (binary_expression "(int)(pbVar13 + 1) - (int)param_3" (cast_expression "(int)(pbVar13 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar13 + 1)" ( (binary_expression "pbVar13 + 1" identifier + number_literal) ))) - (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (param_4 == pbVar13) break;" if (parenthesized_expression "(param_4 == pbVar13)" ( (binary_expression "param_4 == pbVar13" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = 4;" (assignment_expression "uVar8 = 4" identifier = number_literal) ;) (if_statement "if (uVar6 != 0) {\n        uVar8 = 3;\n      }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar8 = 3;\n      }" { (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" identifier = number_literal) ;) })) (expression_statement "uVar1 = unaff_s6[*pbVar13 & 0xf];" (assignment_expression "uVar1 = unaff_s6[*pbVar13 & 0xf]" identifier = (subscript_expression "unaff_s6[*pbVar13 & 0xf]" identifier [ (binary_expression "*pbVar13 & 0xf" (pointer_expression "*pbVar13" * identifier) & number_literal) ])) ;) (expression_statement "puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];" (assignment_expression "puVar14[0x6011] = unaff_s6[*pbVar13 >> 4]" (subscript_expression "puVar14[0x6011]" identifier [ number_literal ]) = (subscript_expression "unaff_s6[*pbVar13 >> 4]" identifier [ (binary_expression "*pbVar13 >> 4" (pointer_expression "*pbVar13" * identifier) >> number_literal) ])) ;) (expression_statement "puVar14[0x6012] = uVar1;" (assignment_expression "puVar14[0x6012] = uVar1" (subscript_expression "puVar14[0x6012]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" identifier = (binary_expression "pbVar13 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar8 = *(undefined4 *)puVar2;" (assignment_expression "uVar8 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar6 == 1) goto LAB_00012c58;" if (parenthesized_expression "(uVar6 == 1)" ( (binary_expression "uVar6 == 1" identifier == number_literal) )) (goto_statement "goto LAB_00012c58;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar8);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar8)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" ( (pointer_expression "*(code *)PTR_fputc_000260ec" * (cast_expression "(code *)PTR_fputc_000260ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,uVar8)" ( number_literal , identifier ))) ;) })) (expression_statement "uVar8 = *(undefined4 *)puVar2;" (assignment_expression "uVar8 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (labeled_statement "LAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);" statement_identifier : (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar8);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar8)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" ( (pointer_expression "*(code *)PTR_fputc_000260ec" * (cast_expression "(code *)PTR_fputc_000260ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,uVar8)" ( number_literal , identifier ))) ;)) (expression_statement "piVar7 = *(int **)puVar2;" (assignment_expression "piVar7 = *(int **)puVar2" identifier = (pointer_expression "*(int **)puVar2" * (cast_expression "(int **)puVar2" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_fflush_00026184)();" (call_expression "(*(code *)PTR_fflush_00026184)()" (parenthesized_expression "(*(code *)PTR_fflush_00026184)" ( (pointer_expression "*(code *)PTR_fflush_00026184" * (cast_expression "(code *)PTR_fflush_00026184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }" if (parenthesized_expression "(local_2c == *(uint *)puVar3)" ( (binary_expression "local_2c == *(uint *)puVar3" identifier == (pointer_expression "*(uint *)puVar3" * (cast_expression "(uint *)puVar3" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(uint *)puVar3;\n  }" { (return_statement "return *(uint *)puVar3;" return (pointer_expression "*(uint *)puVar3" * (cast_expression "(uint *)puVar3" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "pcVar15 = FUN_00012cc4;" (assignment_expression "pcVar15 = FUN_00012cc4" identifier = identifier) ;) (expression_statement "puVar14 = PTR___stack_chk_fail_00026164;" (assignment_expression "puVar14 = PTR___stack_chk_fail_00026164" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00026164)();" (call_expression "(*(code *)PTR___stack_chk_fail_00026164)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00026164)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00026164" * (cast_expression "(code *)PTR___stack_chk_fail_00026164" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar12 = *(int **)(puVar14 + 0x134b4);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0x134b4)" identifier = (pointer_expression "*(int **)(puVar14 + 0x134b4)" * (cast_expression "(int **)(puVar14 + 0x134b4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134b4)" ( (binary_expression "puVar14 + 0x134b4" identifier + number_literal) ))))) ;) (expression_statement "puStack_90 = puVar2;" (assignment_expression "puStack_90 = puVar2" identifier = identifier) ;) (expression_statement "iStack_94 = *piVar12;" (assignment_expression "iStack_94 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;) (expression_statement "pbStack_8c = param_4;" (assignment_expression "pbStack_8c = param_4" identifier = identifier) ;) (expression_statement "pbStack_88 = param_3;" (assignment_expression "pbStack_88 = param_3" identifier = identifier) ;) (expression_statement "puStack_84 = param_2;" (assignment_expression "puStack_84 = param_2" identifier = identifier) ;) (expression_statement "iStack_80 = param_1;" (assignment_expression "iStack_80 = param_1" identifier = identifier) ;) (expression_statement "uStack_7c = unaff_s5;" (assignment_expression "uStack_7c = unaff_s5" identifier = identifier) ;) (expression_statement "puStack_78 = unaff_s6;" (assignment_expression "puStack_78 = unaff_s6" identifier = identifier) ;) (expression_statement "pcStack_74 = pcVar15;" (assignment_expression "pcStack_74 = pcVar15" identifier = identifier) ;) (if_statement "if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }" { (expression_statement "uVar10 = *(ushort *)(piVar7 + 6);" (assignment_expression "uVar10 = *(ushort *)(piVar7 + 6)" identifier = (pointer_expression "*(ushort *)(piVar7 + 6)" * (cast_expression "(ushort *)(piVar7 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 6)" ( (binary_expression "piVar7 + 6" identifier + number_literal) ))))) ;) (if_statement "if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" if (parenthesized_expression "(uVar10 < 0x1001)" ( (binary_expression "uVar10 < 0x1001" identifier < number_literal) )) (compound_statement "{\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }" { (expression_statement "iVar11 = *(int *)(puVar14 + 0x13390);" (assignment_expression "iVar11 = *(int *)(puVar14 + 0x13390)" identifier = (pointer_expression "*(int *)(puVar14 + 0x13390)" * (cast_expression "(int *)(puVar14 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x13390)" ( (binary_expression "puVar14 + 0x13390" identifier + number_literal) ))))) ;) (do_statement "do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);" do (compound_statement "{\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      }" { (expression_statement "iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);" (assignment_expression "iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" identifier = (call_expression "(**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" (parenthesized_expression "(**(code **)(puVar14 + 0x13420))" ( (pointer_expression "**(code **)(puVar14 + 0x13420)" * (pointer_expression "*(code **)(puVar14 + 0x13420)" * (cast_expression "(code **)(puVar14 + 0x13420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x13420)" ( (binary_expression "puVar14 + 0x13420" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" ( (pointer_expression "*(undefined4 *)(piVar7[1] + 4)" * (cast_expression "(undefined4 *)(piVar7[1] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[1] + 4)" ( (binary_expression "piVar7[1] + 4" (subscript_expression "piVar7[1]" identifier [ number_literal ]) + number_literal) )))) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined1 *)(piVar7 + 2)" * (cast_expression "(undefined1 *)(piVar7 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }" { (expression_statement "uVar9 = **(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "uVar9 = **(undefined4 **)(puVar14 + 0x134bc)" identifier = (pointer_expression "**(undefined4 **)(puVar14 + 0x134bc)" * (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134bc)" ( (binary_expression "puVar14 + 0x134bc" identifier + number_literal) )))))) ;) (expression_statement "uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);" (assignment_expression "uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5)" identifier = (call_expression "(**(code **)(puVar14 + 0x1344c))(iVar5)" (parenthesized_expression "(**(code **)(puVar14 + 0x1344c))" ( (pointer_expression "**(code **)(puVar14 + 0x1344c)" * (pointer_expression "*(code **)(puVar14 + 0x1344c)" * (cast_expression "(code **)(puVar14 + 0x1344c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x1344c)" ( (binary_expression "puVar14 + 0x1344c" identifier + number_literal) ))))) )) (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);" (call_expression "(**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8)" (parenthesized_expression "(**(code **)(puVar14 + 0x13418))" ( (pointer_expression "**(code **)(puVar14 + 0x13418)" * (pointer_expression "*(code **)(puVar14 + 0x13418)" * (cast_expression "(code **)(puVar14 + 0x13418)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x13418)" ( (binary_expression "puVar14 + 0x13418" identifier + number_literal) ))))) )) (argument_list "(uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8)" ( identifier , number_literal , (binary_expression "*(int *)(puVar14 + 0x13390) + 0x42c0" (pointer_expression "*(int *)(puVar14 + 0x13390)" * (cast_expression "(int *)(puVar14 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x13390)" ( (binary_expression "puVar14 + 0x13390" identifier + number_literal) )))) + number_literal) , (binary_expression "(int)piVar7 + 9" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00012de4;" goto statement_identifier ;) })) (expression_statement "FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);" (call_expression "FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5)" identifier (argument_list "(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5)" ( identifier , (binary_expression "iVar11 + 0x42f0" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }" { (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00012de4;" goto statement_identifier ;) })) (expression_statement "uVar10 = *(ushort *)(piVar7 + 6);" (assignment_expression "uVar10 = *(ushort *)(piVar7 + 6)" identifier = (pointer_expression "*(ushort *)(piVar7 + 6)" * (cast_expression "(ushort *)(piVar7 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 6)" ( (binary_expression "piVar7 + 6" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = *(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "puVar4 = *(undefined4 **)(puVar14 + 0x134bc)" identifier = (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134bc)" ( (binary_expression "puVar14 + 0x134bc" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(uVar10 < 0x1001)" ( (binary_expression "uVar10 < 0x1001" identifier < number_literal) )) ;) }) (else_clause "else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" else (compound_statement "{\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" { (expression_statement "puVar4 = *(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "puVar4 = *(undefined4 **)(puVar14 + 0x134bc)" identifier = (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134bc)" ( (binary_expression "puVar14 + 0x134bc" identifier + number_literal) ))))) ;) }))) (expression_statement "uVar9 = *puVar4;" (assignment_expression "uVar9 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);" (assignment_expression "uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5)" identifier = (call_expression "(**(code **)(puVar14 + 0x1344c))(0xfffffff5)" (parenthesized_expression "(**(code **)(puVar14 + 0x1344c))" ( (pointer_expression "**(code **)(puVar14 + 0x1344c)" * (pointer_expression "*(code **)(puVar14 + 0x1344c)" * (cast_expression "(code **)(puVar14 + 0x1344c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x1344c)" ( (binary_expression "puVar14 + 0x1344c" identifier + number_literal) ))))) )) (argument_list "(0xfffffff5)" ( number_literal )))) ;) (expression_statement "(**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);" (call_expression "(**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8)" (parenthesized_expression "(**(code **)(puVar14 + 0x13418))" ( (pointer_expression "**(code **)(puVar14 + 0x13418)" * (pointer_expression "*(code **)(puVar14 + 0x13418)" * (cast_expression "(code **)(puVar14 + 0x13418)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x13418)" ( (binary_expression "puVar14 + 0x13418" identifier + number_literal) ))))) )) (argument_list "(uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8)" ( identifier , number_literal , (binary_expression "*(int *)(puVar14 + 0x13390) + 0x428c" (pointer_expression "*(int *)(puVar14 + 0x13390)" * (cast_expression "(int *)(puVar14 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x13390)" ( (binary_expression "puVar14 + 0x13390" identifier + number_literal) )))) + number_literal) , (binary_expression "(int)piVar7 + 9" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier , identifier ))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) })) (labeled_statement "LAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }" statement_identifier : (if_statement "if (iStack_94 == *piVar12) {\n    return uVar6;\n  }" if (parenthesized_expression "(iStack_94 == *piVar12)" ( (binary_expression "iStack_94 == *piVar12" identifier == (pointer_expression "*piVar12" * identifier)) )) (compound_statement "{\n    return uVar6;\n  }" { (return_statement "return uVar6;" return identifier ;) }))) (expression_statement "pcVar15 = *(code **)(puVar14 + 0x134a0);" (assignment_expression "pcVar15 = *(code **)(puVar14 + 0x134a0)" identifier = (pointer_expression "*(code **)(puVar14 + 0x134a0)" * (cast_expression "(code **)(puVar14 + 0x134a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134a0)" ( (binary_expression "puVar14 + 0x134a0" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = iStack_94;" (assignment_expression "iVar11 = iStack_94" identifier = identifier) ;) (expression_statement "(*pcVar15)();" (call_expression "(*pcVar15)()" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar6 = *(uint *)(iVar11 + 0xc);" (assignment_expression "uVar6 = *(uint *)(iVar11 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar11 + 0xc)" * (cast_expression "(uint *)(iVar11 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0" (pointer_expression "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c)" * (cast_expression "(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0x1c) + 0x1c)" ( (binary_expression "*(int *)(iVar11 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar11 + 0x1c)" * (cast_expression "(int *)(iVar11 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x1c)" ( (binary_expression "iVar11 + 0x1c" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (if_statement "if (uVar6 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }" if (parenthesized_expression "(uVar6 < 7)" ( (binary_expression "uVar6 < 7" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }" { comment comment (expression_statement "uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();" (assignment_expression "uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))()" identifier = (call_expression "(*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))()" (parenthesized_expression "(*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))" ( (pointer_expression "*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" * (parenthesized_expression "(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" ( (binary_expression "pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac" (binary_expression "pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" * (cast_expression "(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" ( (binary_expression "*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4" (binary_expression "*(int *)(pcVar15 + 0x131e0) + 0x4fa0" (pointer_expression "*(int *)(pcVar15 + 0x131e0)" * (cast_expression "(int *)(pcVar15 + 0x131e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x131e0)" ( (binary_expression "pcVar15 + 0x131e0" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar6;" return identifier ;) })) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit "void dump(uhd_iface *iface,char *entity,uint8_t *ptr,size_t len)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  size_t len_00;\n  uint uVar6;\n  uhd_iface *iface_00;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  ushort uVar9;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar10;\n  byte *pbVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  uint8_t auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  uint8_t *puStack_88;\n  char *pcStack_84;\n  uhd_iface *puStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  char *local_60;\n  int local_58;\n  __time_t local_54;\n  __suseconds_t local_50;\n  timeval tv;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&tv,0);\n  local_58 = tv.tv_sec >> 0x1f;\n  local_50 = tv.tv_usec;\n  local_54 = tv.tv_sec;\n  local_60 = entity;\n  (*(code *)PTR___fprintf_chk_000260dc)\n            (*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,iface->addr_str);\n  puVar12 = PTR_DAT_00026048;\n  if (len != 0) {\n    len = (size_t)(ptr + len);\n    uVar7 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    entity = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*ptr & 0xf];\n    iface = (uhd_iface *)0x4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4];\n    puVar12[0x6012] = uVar1;\n    pbVar11 = ptr + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;\n      if ((byte *)len == pbVar11) break;\n      uVar7 = 4;\n      if (uVar6 != 0) {\n        uVar7 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar11 & 0xf];\n      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];\n      puVar12[0x6012] = uVar1;\n      pbVar11 = pbVar11 + 1;\n    }\n    uVar7 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  }\n  uVar7 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  iface_00 = *(uhd_iface **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (iVar4 == *(int *)puVar3) {\n    return;\n  }\n  pcVar13 = dump_iface_list_descriptor;\n  puVar12 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar10 = *(int **)(puVar12 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar10;\n  pbStack_8c = (byte *)len;\n  puStack_88 = ptr;\n  pcStack_84 = entity;\n  puStack_80 = iface;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar13;\n  if (iface_00 != (uhd_iface *)0x0) {\n    uVar9 = iface_00->rd_len;\n    if (uVar9 < 0x1001) {\n      iVar4 = *(int *)(puVar12 + 0x13390);\n      do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);\n    }\n    else {\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }\n    uVar8 = *puVar5;\n    uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar12 + 0x13418))\n              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7);\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar10) {\n    return;\n  }\n  pcVar13 = *(code **)(puVar12 + 0x134a0);\n  iVar4 = iStack_94;\n  (*pcVar13)();\n  uVar6 = *(uint *)(iVar4 + 0xc);\n  *(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c) = 0;\n  if (6 < uVar6) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n  return;\n}\n\n" (function_definition "void dump(uhd_iface *iface,char *entity,uint8_t *ptr,size_t len)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  size_t len_00;\n  uint uVar6;\n  uhd_iface *iface_00;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  ushort uVar9;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar10;\n  byte *pbVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  uint8_t auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  uint8_t *puStack_88;\n  char *pcStack_84;\n  uhd_iface *puStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  char *local_60;\n  int local_58;\n  __time_t local_54;\n  __suseconds_t local_50;\n  timeval tv;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&tv,0);\n  local_58 = tv.tv_sec >> 0x1f;\n  local_50 = tv.tv_usec;\n  local_54 = tv.tv_sec;\n  local_60 = entity;\n  (*(code *)PTR___fprintf_chk_000260dc)\n            (*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,iface->addr_str);\n  puVar12 = PTR_DAT_00026048;\n  if (len != 0) {\n    len = (size_t)(ptr + len);\n    uVar7 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    entity = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*ptr & 0xf];\n    iface = (uhd_iface *)0x4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4];\n    puVar12[0x6012] = uVar1;\n    pbVar11 = ptr + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;\n      if ((byte *)len == pbVar11) break;\n      uVar7 = 4;\n      if (uVar6 != 0) {\n        uVar7 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar11 & 0xf];\n      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];\n      puVar12[0x6012] = uVar1;\n      pbVar11 = pbVar11 + 1;\n    }\n    uVar7 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  }\n  uVar7 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  iface_00 = *(uhd_iface **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (iVar4 == *(int *)puVar3) {\n    return;\n  }\n  pcVar13 = dump_iface_list_descriptor;\n  puVar12 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar10 = *(int **)(puVar12 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar10;\n  pbStack_8c = (byte *)len;\n  puStack_88 = ptr;\n  pcStack_84 = entity;\n  puStack_80 = iface;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar13;\n  if (iface_00 != (uhd_iface *)0x0) {\n    uVar9 = iface_00->rd_len;\n    if (uVar9 < 0x1001) {\n      iVar4 = *(int *)(puVar12 + 0x13390);\n      do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);\n    }\n    else {\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }\n    uVar8 = *puVar5;\n    uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar12 + 0x13418))\n              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7);\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar10) {\n    return;\n  }\n  pcVar13 = *(code **)(puVar12 + 0x134a0);\n  iVar4 = iStack_94;\n  (*pcVar13)();\n  uVar6 = *(uint *)(iVar4 + 0xc);\n  *(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c) = 0;\n  if (6 < uVar6) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n  return;\n}" primitive_type (function_declarator "dump(uhd_iface *iface,char *entity,uint8_t *ptr,size_t len)" identifier (parameter_list "(uhd_iface *iface,char *entity,uint8_t *ptr,size_t len)" ( (parameter_declaration "uhd_iface *iface" type_identifier (pointer_declarator "*iface" * identifier)) , (parameter_declaration "char *entity" primitive_type (pointer_declarator "*entity" * identifier)) , (parameter_declaration "uint8_t *ptr" primitive_type (pointer_declarator "*ptr" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  size_t len_00;\n  uint uVar6;\n  uhd_iface *iface_00;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  ushort uVar9;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar10;\n  byte *pbVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  uint8_t auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  uint8_t *puStack_88;\n  char *pcStack_84;\n  uhd_iface *puStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  char *local_60;\n  int local_58;\n  __time_t local_54;\n  __suseconds_t local_50;\n  timeval tv;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  iVar4 = *(int *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&tv,0);\n  local_58 = tv.tv_sec >> 0x1f;\n  local_50 = tv.tv_usec;\n  local_54 = tv.tv_sec;\n  local_60 = entity;\n  (*(code *)PTR___fprintf_chk_000260dc)\n            (*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,iface->addr_str);\n  puVar12 = PTR_DAT_00026048;\n  if (len != 0) {\n    len = (size_t)(ptr + len);\n    uVar7 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    entity = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*ptr & 0xf];\n    iface = (uhd_iface *)0x4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4];\n    puVar12[0x6012] = uVar1;\n    pbVar11 = ptr + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;\n      if ((byte *)len == pbVar11) break;\n      uVar7 = 4;\n      if (uVar6 != 0) {\n        uVar7 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar11 & 0xf];\n      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];\n      puVar12[0x6012] = uVar1;\n      pbVar11 = pbVar11 + 1;\n    }\n    uVar7 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  }\n  uVar7 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  iface_00 = *(uhd_iface **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (iVar4 == *(int *)puVar3) {\n    return;\n  }\n  pcVar13 = dump_iface_list_descriptor;\n  puVar12 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar10 = *(int **)(puVar12 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar10;\n  pbStack_8c = (byte *)len;\n  puStack_88 = ptr;\n  pcStack_84 = entity;\n  puStack_80 = iface;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar13;\n  if (iface_00 != (uhd_iface *)0x0) {\n    uVar9 = iface_00->rd_len;\n    if (uVar9 < 0x1001) {\n      iVar4 = *(int *)(puVar12 + 0x13390);\n      do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);\n    }\n    else {\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }\n    uVar8 = *puVar5;\n    uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar12 + 0x13418))\n              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7);\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar10) {\n    return;\n  }\n  pcVar13 = *(code **)(puVar12 + 0x134a0);\n  iVar4 = iStack_94;\n  (*pcVar13)();\n  uVar6 = *(uint *)(iVar4 + 0xc);\n  *(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c) = 0;\n  if (6 < uVar6) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "size_t len_00;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uhd_iface *iface_00;" type_identifier (pointer_declarator "*iface_00" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "ushort uVar9;" type_identifier identifier ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "undefined *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "uint8_t auStack_1094 [4096];" primitive_type (array_declarator "auStack_1094 [4096]" identifier [ number_literal ]) ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "undefined *puStack_90;" type_identifier (pointer_declarator "*puStack_90" * identifier) ;) (declaration "byte *pbStack_8c;" type_identifier (pointer_declarator "*pbStack_8c" * identifier) ;) (declaration "uint8_t *puStack_88;" primitive_type (pointer_declarator "*puStack_88" * identifier) ;) (declaration "char *pcStack_84;" primitive_type (pointer_declarator "*pcStack_84" * identifier) ;) (declaration "uhd_iface *puStack_80;" type_identifier (pointer_declarator "*puStack_80" * identifier) ;) (declaration "undefined4 uStack_7c;" type_identifier identifier ;) (declaration "undefined *puStack_78;" type_identifier (pointer_declarator "*puStack_78" * identifier) ;) (declaration "code *pcStack_74;" type_identifier (pointer_declarator "*pcStack_74" * identifier) ;) (declaration "char *local_60;" primitive_type (pointer_declarator "*local_60" * identifier) ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "__time_t local_54;" type_identifier identifier ;) (declaration "__suseconds_t local_50;" type_identifier identifier ;) (declaration "timeval tv;" type_identifier identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00026178;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00026178" identifier = identifier) ;) (expression_statement "puVar2 = PTR_stdout_0002610c;" (assignment_expression "puVar2 = PTR_stdout_0002610c" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_00026178;" (assignment_expression "iVar4 = *(int *)PTR___stack_chk_guard_00026178" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00026178" * (cast_expression "(int *)PTR___stack_chk_guard_00026178" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_gettimeofday_00026170)(&tv,0);" (call_expression "(*(code *)PTR_gettimeofday_00026170)(&tv,0)" (parenthesized_expression "(*(code *)PTR_gettimeofday_00026170)" ( (pointer_expression "*(code *)PTR_gettimeofday_00026170" * (cast_expression "(code *)PTR_gettimeofday_00026170" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&tv,0)" ( (pointer_expression "&tv" & identifier) , number_literal ))) ;) (expression_statement "local_58 = tv.tv_sec >> 0x1f;" (assignment_expression "local_58 = tv.tv_sec >> 0x1f" identifier = (binary_expression "tv.tv_sec >> 0x1f" (field_expression "tv.tv_sec" identifier . field_identifier) >> number_literal)) ;) (expression_statement "local_50 = tv.tv_usec;" (assignment_expression "local_50 = tv.tv_usec" identifier = (field_expression "tv.tv_usec" identifier . field_identifier)) ;) (expression_statement "local_54 = tv.tv_sec;" (assignment_expression "local_54 = tv.tv_sec" identifier = (field_expression "tv.tv_sec" identifier . field_identifier)) ;) (expression_statement "local_60 = entity;" (assignment_expression "local_60 = entity" identifier = identifier) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000260dc)\n            (*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,iface->addr_str);" (call_expression "(*(code *)PTR___fprintf_chk_000260dc)\n            (*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,iface->addr_str)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000260dc)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000260dc" * (cast_expression "(code *)PTR___fprintf_chk_000260dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,iface->addr_str)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_00026054 + 0x4274" identifier + number_literal) , (field_expression "iface->addr_str" identifier -> field_identifier) ))) ;) (expression_statement "puVar12 = PTR_DAT_00026048;" (assignment_expression "puVar12 = PTR_DAT_00026048" identifier = identifier) ;) (if_statement "if (len != 0) {\n    len = (size_t)(ptr + len);\n    uVar7 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    entity = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*ptr & 0xf];\n    iface = (uhd_iface *)0x4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4];\n    puVar12[0x6012] = uVar1;\n    pbVar11 = ptr + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;\n      if ((byte *)len == pbVar11) break;\n      uVar7 = 4;\n      if (uVar6 != 0) {\n        uVar7 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar11 & 0xf];\n      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];\n      puVar12[0x6012] = uVar1;\n      pbVar11 = pbVar11 + 1;\n    }\n    uVar7 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n    len = (size_t)(ptr + len);\n    uVar7 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    entity = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*ptr & 0xf];\n    iface = (uhd_iface *)0x4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4];\n    puVar12[0x6012] = uVar1;\n    pbVar11 = ptr + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;\n      if ((byte *)len == pbVar11) break;\n      uVar7 = 4;\n      if (uVar6 != 0) {\n        uVar7 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar11 & 0xf];\n      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];\n      puVar12[0x6012] = uVar1;\n      pbVar11 = pbVar11 + 1;\n    }\n    uVar7 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar7);\n  }" { (expression_statement "len = (size_t)(ptr + len);" (assignment_expression "len = (size_t)(ptr + len)" identifier = (cast_expression "(size_t)(ptr + len)" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(ptr + len)" ( (binary_expression "ptr + len" identifier + identifier) )))) ;) (expression_statement "uVar7 = 3;" (assignment_expression "uVar7 = 3" identifier = number_literal) ;) (expression_statement "unaff_s6 = PTR_00026054 + 0x509c;" (assignment_expression "unaff_s6 = PTR_00026054 + 0x509c" identifier = (binary_expression "PTR_00026054 + 0x509c" identifier + number_literal)) ;) (expression_statement "entity = PTR_DAT_00026048 + 0x6010;" (assignment_expression "entity = PTR_DAT_00026048 + 0x6010" identifier = (binary_expression "PTR_DAT_00026048 + 0x6010" identifier + number_literal)) ;) (expression_statement "unaff_s5 = 3;" (assignment_expression "unaff_s5 = 3" identifier = number_literal) ;) (expression_statement "uVar1 = unaff_s6[*ptr & 0xf];" (assignment_expression "uVar1 = unaff_s6[*ptr & 0xf]" identifier = (subscript_expression "unaff_s6[*ptr & 0xf]" identifier [ (binary_expression "*ptr & 0xf" (pointer_expression "*ptr" * identifier) & number_literal) ])) ;) (expression_statement "iface = (uhd_iface *)0x4;" (assignment_expression "iface = (uhd_iface *)0x4" identifier = (cast_expression "(uhd_iface *)0x4" ( (type_descriptor "uhd_iface *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4];" (assignment_expression "PTR_DAT_00026048[0x6011] = unaff_s6[*ptr >> 4]" (subscript_expression "PTR_DAT_00026048[0x6011]" identifier [ number_literal ]) = (subscript_expression "unaff_s6[*ptr >> 4]" identifier [ (binary_expression "*ptr >> 4" (pointer_expression "*ptr" * identifier) >> number_literal) ])) ;) (expression_statement "puVar12[0x6012] = uVar1;" (assignment_expression "puVar12[0x6012] = uVar1" (subscript_expression "puVar12[0x6012]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar11 = ptr + 1;" (assignment_expression "pbVar11 = ptr + 1" identifier = (binary_expression "ptr + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;\n      if ((byte *)len == pbVar11) break;\n      uVar7 = 4;\n      if (uVar6 != 0) {\n        uVar7 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar11 & 0xf];\n      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];\n      puVar12[0x6012] = uVar1;\n      pbVar11 = pbVar11 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      (*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;\n      if ((byte *)len == pbVar11) break;\n      uVar7 = 4;\n      if (uVar6 != 0) {\n        uVar7 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar11 & 0xf];\n      puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];\n      puVar12[0x6012] = uVar1;\n      pbVar11 = pbVar11 + 1;\n    }" { (expression_statement "(*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fwrite_00026148)(entity,uVar7,1,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fwrite_00026148)" ( (pointer_expression "*(code *)PTR_fwrite_00026148" * (cast_expression "(code *)PTR_fwrite_00026148" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(entity,uVar7,1,*(undefined4 *)puVar2)" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf;" (assignment_expression "uVar6 = (int)(pbVar11 + 1) - (int)ptr & 0xf" identifier = (binary_expression "(int)(pbVar11 + 1) - (int)ptr & 0xf" (binary_expression "(int)(pbVar11 + 1) - (int)ptr" (cast_expression "(int)(pbVar11 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar11 + 1)" ( (binary_expression "pbVar11 + 1" identifier + number_literal) ))) - (cast_expression "(int)ptr" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if ((byte *)len == pbVar11) break;" if (parenthesized_expression "((byte *)len == pbVar11)" ( (binary_expression "(byte *)len == pbVar11" (cast_expression "(byte *)len" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) (if_statement "if (uVar6 != 0) {\n        uVar7 = 3;\n      }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar7 = 3;\n      }" { (expression_statement "uVar7 = 3;" (assignment_expression "uVar7 = 3" identifier = number_literal) ;) })) (expression_statement "uVar1 = unaff_s6[*pbVar11 & 0xf];" (assignment_expression "uVar1 = unaff_s6[*pbVar11 & 0xf]" identifier = (subscript_expression "unaff_s6[*pbVar11 & 0xf]" identifier [ (binary_expression "*pbVar11 & 0xf" (pointer_expression "*pbVar11" * identifier) & number_literal) ])) ;) (expression_statement "puVar12[0x6011] = unaff_s6[*pbVar11 >> 4];" (assignment_expression "puVar12[0x6011] = unaff_s6[*pbVar11 >> 4]" (subscript_expression "puVar12[0x6011]" identifier [ number_literal ]) = (subscript_expression "unaff_s6[*pbVar11 >> 4]" identifier [ (binary_expression "*pbVar11 >> 4" (pointer_expression "*pbVar11" * identifier) >> number_literal) ])) ;) (expression_statement "puVar12[0x6012] = uVar1;" (assignment_expression "puVar12[0x6012] = uVar1" (subscript_expression "puVar12[0x6012]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar7 = *(undefined4 *)puVar2;" (assignment_expression "uVar7 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar6 == 1) goto LAB_00012c58;" if (parenthesized_expression "(uVar6 == 1)" ( (binary_expression "uVar6 == 1" identifier == number_literal) )) (goto_statement "goto LAB_00012c58;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar7);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar7)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" ( (pointer_expression "*(code *)PTR_fputc_000260ec" * (cast_expression "(code *)PTR_fputc_000260ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,uVar7)" ( number_literal , identifier ))) ;) })) (expression_statement "uVar7 = *(undefined4 *)puVar2;" (assignment_expression "uVar7 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (labeled_statement "LAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar7);" statement_identifier : (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar7);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar7)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" ( (pointer_expression "*(code *)PTR_fputc_000260ec" * (cast_expression "(code *)PTR_fputc_000260ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,uVar7)" ( number_literal , identifier ))) ;)) (expression_statement "iface_00 = *(uhd_iface **)puVar2;" (assignment_expression "iface_00 = *(uhd_iface **)puVar2" identifier = (pointer_expression "*(uhd_iface **)puVar2" * (cast_expression "(uhd_iface **)puVar2" ( (type_descriptor "uhd_iface **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_fflush_00026184)();" (call_expression "(*(code *)PTR_fflush_00026184)()" (parenthesized_expression "(*(code *)PTR_fflush_00026184)" ( (pointer_expression "*(code *)PTR_fflush_00026184" * (cast_expression "(code *)PTR_fflush_00026184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar4 == *(int *)puVar3) {\n    return;\n  }" if (parenthesized_expression "(iVar4 == *(int *)puVar3)" ( (binary_expression "iVar4 == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar13 = dump_iface_list_descriptor;" (assignment_expression "pcVar13 = dump_iface_list_descriptor" identifier = identifier) ;) (expression_statement "puVar12 = PTR___stack_chk_fail_00026164;" (assignment_expression "puVar12 = PTR___stack_chk_fail_00026164" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00026164)();" (call_expression "(*(code *)PTR___stack_chk_fail_00026164)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00026164)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00026164" * (cast_expression "(code *)PTR___stack_chk_fail_00026164" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar10 = *(int **)(puVar12 + 0x134b4);" (assignment_expression "piVar10 = *(int **)(puVar12 + 0x134b4)" identifier = (pointer_expression "*(int **)(puVar12 + 0x134b4)" * (cast_expression "(int **)(puVar12 + 0x134b4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x134b4)" ( (binary_expression "puVar12 + 0x134b4" identifier + number_literal) ))))) ;) (expression_statement "puStack_90 = puVar2;" (assignment_expression "puStack_90 = puVar2" identifier = identifier) ;) (expression_statement "iStack_94 = *piVar10;" (assignment_expression "iStack_94 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "pbStack_8c = (byte *)len;" (assignment_expression "pbStack_8c = (byte *)len" identifier = (cast_expression "(byte *)len" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puStack_88 = ptr;" (assignment_expression "puStack_88 = ptr" identifier = identifier) ;) (expression_statement "pcStack_84 = entity;" (assignment_expression "pcStack_84 = entity" identifier = identifier) ;) (expression_statement "puStack_80 = iface;" (assignment_expression "puStack_80 = iface" identifier = identifier) ;) (expression_statement "uStack_7c = unaff_s5;" (assignment_expression "uStack_7c = unaff_s5" identifier = identifier) ;) (expression_statement "puStack_78 = unaff_s6;" (assignment_expression "puStack_78 = unaff_s6" identifier = identifier) ;) (expression_statement "pcStack_74 = pcVar13;" (assignment_expression "pcStack_74 = pcVar13" identifier = identifier) ;) (if_statement "if (iface_00 != (uhd_iface *)0x0) {\n    uVar9 = iface_00->rd_len;\n    if (uVar9 < 0x1001) {\n      iVar4 = *(int *)(puVar12 + 0x13390);\n      do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);\n    }\n    else {\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }\n    uVar8 = *puVar5;\n    uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar12 + 0x13418))\n              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7);\n  }" if (parenthesized_expression "(iface_00 != (uhd_iface *)0x0)" ( (binary_expression "iface_00 != (uhd_iface *)0x0" identifier != (cast_expression "(uhd_iface *)0x0" ( (type_descriptor "uhd_iface *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar9 = iface_00->rd_len;\n    if (uVar9 < 0x1001) {\n      iVar4 = *(int *)(puVar12 + 0x13390);\n      do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);\n    }\n    else {\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }\n    uVar8 = *puVar5;\n    uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar12 + 0x13418))\n              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7);\n  }" { (expression_statement "uVar9 = iface_00->rd_len;" (assignment_expression "uVar9 = iface_00->rd_len" identifier = (field_expression "iface_00->rd_len" identifier -> field_identifier)) ;) (if_statement "if (uVar9 < 0x1001) {\n      iVar4 = *(int *)(puVar12 + 0x13390);\n      do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);\n    }\n    else {\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }" if (parenthesized_expression "(uVar9 < 0x1001)" ( (binary_expression "uVar9 < 0x1001" identifier < number_literal) )) (compound_statement "{\n      iVar4 = *(int *)(puVar12 + 0x13390);\n      do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);\n    }" { (expression_statement "iVar4 = *(int *)(puVar12 + 0x13390);" (assignment_expression "iVar4 = *(int *)(puVar12 + 0x13390)" identifier = (pointer_expression "*(int *)(puVar12 + 0x13390)" * (cast_expression "(int *)(puVar12 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x13390)" ( (binary_expression "puVar12 + 0x13390" identifier + number_literal) ))))) ;) (do_statement "do {\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      } while (uVar9 < 0x1001);" do (compound_statement "{\n        len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);\n        if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }\n        dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);\n        iface_00 = iface_00->next;\n        if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;\n        uVar9 = iface_00->rd_len;\n        puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n      }" { (expression_statement "len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000);" (assignment_expression "len_00 = (**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000)" identifier = (call_expression "(**(code **)(puVar12 + 0x13420))\n                           (iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000)" (parenthesized_expression "(**(code **)(puVar12 + 0x13420))" ( (pointer_expression "**(code **)(puVar12 + 0x13420)" * (pointer_expression "*(code **)(puVar12 + 0x13420)" * (cast_expression "(code **)(puVar12 + 0x13420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x13420)" ( (binary_expression "puVar12 + 0x13420" identifier + number_literal) ))))) )) (argument_list "(iface_00->dev->handle,0x81,6,0x2200,iface_00->number,auStack_1094,uVar9,\n                            1000)" ( (field_expression "iface_00->dev->handle" (field_expression "iface_00->dev" identifier -> field_identifier) -> field_identifier) , number_literal , number_literal , number_literal , (field_expression "iface_00->number" identifier -> field_identifier) , identifier , identifier , number_literal )))) ;) (if_statement "if ((int)len_00 < 0) {\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }" if (parenthesized_expression "((int)len_00 < 0)" ( (binary_expression "(int)len_00 < 0" (cast_expression "(int)len_00" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          uVar8 = **(undefined4 **)(puVar12 + 0x134bc);\n          uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);\n          (**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);\n          goto LAB_00012de4;\n        }" { (expression_statement "uVar8 = **(undefined4 **)(puVar12 + 0x134bc);" (assignment_expression "uVar8 = **(undefined4 **)(puVar12 + 0x134bc)" identifier = (pointer_expression "**(undefined4 **)(puVar12 + 0x134bc)" * (pointer_expression "*(undefined4 **)(puVar12 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar12 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x134bc)" ( (binary_expression "puVar12 + 0x134bc" identifier + number_literal) )))))) ;) (expression_statement "uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00);" (assignment_expression "uVar7 = (**(code **)(puVar12 + 0x1344c))(len_00)" identifier = (call_expression "(**(code **)(puVar12 + 0x1344c))(len_00)" (parenthesized_expression "(**(code **)(puVar12 + 0x1344c))" ( (pointer_expression "**(code **)(puVar12 + 0x1344c)" * (pointer_expression "*(code **)(puVar12 + 0x1344c)" * (cast_expression "(code **)(puVar12 + 0x1344c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x1344c)" ( (binary_expression "puVar12 + 0x1344c" identifier + number_literal) ))))) )) (argument_list "(len_00)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7);" (call_expression "(**(code **)(puVar12 + 0x13418))\n                    (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7)" (parenthesized_expression "(**(code **)(puVar12 + 0x13418))" ( (pointer_expression "**(code **)(puVar12 + 0x13418)" * (pointer_expression "*(code **)(puVar12 + 0x13418)" * (cast_expression "(code **)(puVar12 + 0x13418)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x13418)" ( (binary_expression "puVar12 + 0x13418" identifier + number_literal) ))))) )) (argument_list "(uVar8,1,*(int *)(puVar12 + 0x13390) + 0x42c0,iface_00->addr_str,uVar7)" ( identifier , number_literal , (binary_expression "*(int *)(puVar12 + 0x13390) + 0x42c0" (pointer_expression "*(int *)(puVar12 + 0x13390)" * (cast_expression "(int *)(puVar12 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x13390)" ( (binary_expression "puVar12 + 0x13390" identifier + number_literal) )))) + number_literal) , (field_expression "iface_00->addr_str" identifier -> field_identifier) , identifier ))) ;) (goto_statement "goto LAB_00012de4;" goto statement_identifier ;) })) (expression_statement "dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00);" (call_expression "dump(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00)" identifier (argument_list "(iface_00,(char *)(iVar4 + 0x42f0),auStack_1094,len_00)" ( identifier , (cast_expression "(char *)(iVar4 + 0x42f0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x42f0)" ( (binary_expression "iVar4 + 0x42f0" identifier + number_literal) ))) , identifier , identifier ))) ;) (expression_statement "iface_00 = iface_00->next;" (assignment_expression "iface_00 = iface_00->next" identifier = (field_expression "iface_00->next" identifier -> field_identifier)) ;) (if_statement "if (iface_00 == (uhd_iface *)0x0) goto LAB_00012de4;" if (parenthesized_expression "(iface_00 == (uhd_iface *)0x0)" ( (binary_expression "iface_00 == (uhd_iface *)0x0" identifier == (cast_expression "(uhd_iface *)0x0" ( (type_descriptor "uhd_iface *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00012de4;" goto statement_identifier ;)) (expression_statement "uVar9 = iface_00->rd_len;" (assignment_expression "uVar9 = iface_00->rd_len" identifier = (field_expression "iface_00->rd_len" identifier -> field_identifier)) ;) (expression_statement "puVar5 = *(undefined4 **)(puVar12 + 0x134bc);" (assignment_expression "puVar5 = *(undefined4 **)(puVar12 + 0x134bc)" identifier = (pointer_expression "*(undefined4 **)(puVar12 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar12 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x134bc)" ( (binary_expression "puVar12 + 0x134bc" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(uVar9 < 0x1001)" ( (binary_expression "uVar9 < 0x1001" identifier < number_literal) )) ;) }) (else_clause "else {\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }" else (compound_statement "{\n      puVar5 = *(undefined4 **)(puVar12 + 0x134bc);\n    }" { (expression_statement "puVar5 = *(undefined4 **)(puVar12 + 0x134bc);" (assignment_expression "puVar5 = *(undefined4 **)(puVar12 + 0x134bc)" identifier = (pointer_expression "*(undefined4 **)(puVar12 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar12 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x134bc)" ( (binary_expression "puVar12 + 0x134bc" identifier + number_literal) ))))) ;) }))) (expression_statement "uVar8 = *puVar5;" (assignment_expression "uVar8 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5);" (assignment_expression "uVar7 = (**(code **)(puVar12 + 0x1344c))(0xfffffff5)" identifier = (call_expression "(**(code **)(puVar12 + 0x1344c))(0xfffffff5)" (parenthesized_expression "(**(code **)(puVar12 + 0x1344c))" ( (pointer_expression "**(code **)(puVar12 + 0x1344c)" * (pointer_expression "*(code **)(puVar12 + 0x1344c)" * (cast_expression "(code **)(puVar12 + 0x1344c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x1344c)" ( (binary_expression "puVar12 + 0x1344c" identifier + number_literal) ))))) )) (argument_list "(0xfffffff5)" ( number_literal )))) ;) (expression_statement "(**(code **)(puVar12 + 0x13418))\n              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7);" (call_expression "(**(code **)(puVar12 + 0x13418))\n              (uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7)" (parenthesized_expression "(**(code **)(puVar12 + 0x13418))" ( (pointer_expression "**(code **)(puVar12 + 0x13418)" * (pointer_expression "*(code **)(puVar12 + 0x13418)" * (cast_expression "(code **)(puVar12 + 0x13418)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x13418)" ( (binary_expression "puVar12 + 0x13418" identifier + number_literal) ))))) )) (argument_list "(uVar8,1,*(int *)(puVar12 + 0x13390) + 0x428c,iface_00->addr_str,uVar9,uVar7)" ( identifier , number_literal , (binary_expression "*(int *)(puVar12 + 0x13390) + 0x428c" (pointer_expression "*(int *)(puVar12 + 0x13390)" * (cast_expression "(int *)(puVar12 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x13390)" ( (binary_expression "puVar12 + 0x13390" identifier + number_literal) )))) + number_literal) , (field_expression "iface_00->addr_str" identifier -> field_identifier) , identifier , identifier ))) ;) })) (labeled_statement "LAB_00012de4:\n  if (iStack_94 == *piVar10) {\n    return;\n  }" statement_identifier : (if_statement "if (iStack_94 == *piVar10) {\n    return;\n  }" if (parenthesized_expression "(iStack_94 == *piVar10)" ( (binary_expression "iStack_94 == *piVar10" identifier == (pointer_expression "*piVar10" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "pcVar13 = *(code **)(puVar12 + 0x134a0);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x134a0)" identifier = (pointer_expression "*(code **)(puVar12 + 0x134a0)" * (cast_expression "(code **)(puVar12 + 0x134a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x134a0)" ( (binary_expression "puVar12 + 0x134a0" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iStack_94;" (assignment_expression "iVar4 = iStack_94" identifier = identifier) ;) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar6 = *(uint *)(iVar4 + 0xc);" (assignment_expression "uVar6 = *(uint *)(iVar4 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar4 + 0xc)" * (cast_expression "(uint *)(iVar4 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c) = 0" (pointer_expression "*(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c)" * (cast_expression "(undefined1 *)(*(int *)(iVar4 + 0x1c) + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x1c) + 0x1c)" ( (binary_expression "*(int *)(iVar4 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (if_statement "if (6 < uVar6) {\n    return;\n  }" if (parenthesized_expression "(6 < uVar6)" ( (binary_expression "6 < uVar6" number_literal < identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();" (call_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))()" (parenthesized_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))" ( (pointer_expression "*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" * (parenthesized_expression "(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" ( (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac" (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4)" * (cast_expression "(int *)(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4)" ( (binary_expression "*(int *)(pcVar13 + 0x131e0) + 0x4fa0 + uVar6 * 4" (binary_expression "*(int *)(pcVar13 + 0x131e0) + 0x4fa0" (pointer_expression "*(int *)(pcVar13 + 0x131e0)" * (cast_expression "(int *)(pcVar13 + 0x131e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x131e0)" ( (binary_expression "pcVar13 + 0x131e0" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "uint FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}\n\n" (function_definition "uint FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}" type_identifier (function_declarator "FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)" identifier (parameter_list "(int param_1,undefined *param_2,byte *param_3,byte *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "ushort uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "undefined *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "undefined1 auStack_1094 [4096];" type_identifier (array_declarator "auStack_1094 [4096]" identifier [ number_literal ]) ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "undefined *puStack_90;" type_identifier (pointer_declarator "*puStack_90" * identifier) ;) (declaration "byte *pbStack_8c;" type_identifier (pointer_declarator "*pbStack_8c" * identifier) ;) (declaration "byte *pbStack_88;" type_identifier (pointer_declarator "*pbStack_88" * identifier) ;) (declaration "undefined *puStack_84;" type_identifier (pointer_declarator "*puStack_84" * identifier) ;) (declaration "int iStack_80;" primitive_type identifier ;) (declaration "undefined4 uStack_7c;" type_identifier identifier ;) (declaration "undefined *puStack_78;" type_identifier (pointer_declarator "*puStack_78" * identifier) ;) (declaration "code *pcStack_74;" type_identifier (pointer_declarator "*pcStack_74" * identifier) ;) (declaration "undefined *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "int local_58;" primitive_type identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00026178;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00026178" identifier = identifier) ;) (expression_statement "puVar2 = PTR_stdout_0002610c;" (assignment_expression "puVar2 = PTR_stdout_0002610c" identifier = identifier) ;) (expression_statement "local_2c = *(uint *)PTR___stack_chk_guard_00026178;" (assignment_expression "local_2c = *(uint *)PTR___stack_chk_guard_00026178" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_00026178" * (cast_expression "(uint *)PTR___stack_chk_guard_00026178" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_gettimeofday_00026170)(&local_34,0);" (call_expression "(*(code *)PTR_gettimeofday_00026170)(&local_34,0)" (parenthesized_expression "(*(code *)PTR_gettimeofday_00026170)" ( (pointer_expression "*(code *)PTR_gettimeofday_00026170" * (cast_expression "(code *)PTR_gettimeofday_00026170" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_34,0)" ( (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "local_58 = local_34 >> 0x1f;" (assignment_expression "local_58 = local_34 >> 0x1f" identifier = (binary_expression "local_34 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "local_50 = local_30;" (assignment_expression "local_50 = local_30" identifier = identifier) ;) (expression_statement "local_54 = local_34;" (assignment_expression "local_54 = local_34" identifier = identifier) ;) (expression_statement "local_60 = param_2;" (assignment_expression "local_60 = param_2" identifier = identifier) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);" (call_expression "(*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000260dc)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000260dc" * (cast_expression "(code *)PTR___fprintf_chk_000260dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_00026054 + 0x4274" identifier + number_literal) , (binary_expression "param_1 + 9" identifier + number_literal) ))) ;) (expression_statement "puVar14 = PTR_DAT_00026048;" (assignment_expression "puVar14 = PTR_DAT_00026048" identifier = identifier) ;) (if_statement "if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }" if (parenthesized_expression "(param_4 != (byte *)0x0)" ( (binary_expression "param_4 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }" { (expression_statement "param_4 = param_3 + (int)param_4;" (assignment_expression "param_4 = param_3 + (int)param_4" identifier = (binary_expression "param_3 + (int)param_4" identifier + (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" identifier = number_literal) ;) (expression_statement "unaff_s6 = PTR_00026054 + 0x509c;" (assignment_expression "unaff_s6 = PTR_00026054 + 0x509c" identifier = (binary_expression "PTR_00026054 + 0x509c" identifier + number_literal)) ;) (expression_statement "param_2 = PTR_DAT_00026048 + 0x6010;" (assignment_expression "param_2 = PTR_DAT_00026048 + 0x6010" identifier = (binary_expression "PTR_DAT_00026048 + 0x6010" identifier + number_literal)) ;) (expression_statement "unaff_s5 = 3;" (assignment_expression "unaff_s5 = 3" identifier = number_literal) ;) (expression_statement "uVar1 = unaff_s6[*param_3 & 0xf];" (assignment_expression "uVar1 = unaff_s6[*param_3 & 0xf]" identifier = (subscript_expression "unaff_s6[*param_3 & 0xf]" identifier [ (binary_expression "*param_3 & 0xf" (pointer_expression "*param_3" * identifier) & number_literal) ])) ;) (expression_statement "param_1 = 4;" (assignment_expression "param_1 = 4" identifier = number_literal) ;) (expression_statement "PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];" (assignment_expression "PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4]" (subscript_expression "PTR_DAT_00026048[0x6011]" identifier [ number_literal ]) = (subscript_expression "unaff_s6[*param_3 >> 4]" identifier [ (binary_expression "*param_3 >> 4" (pointer_expression "*param_3" * identifier) >> number_literal) ])) ;) (expression_statement "puVar14[0x6012] = uVar1;" (assignment_expression "puVar14[0x6012] = uVar1" (subscript_expression "puVar14[0x6012]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar13 = param_3 + 1;" (assignment_expression "pbVar13 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }" { (expression_statement "(*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fwrite_00026148)" ( (pointer_expression "*(code *)PTR_fwrite_00026148" * (cast_expression "(code *)PTR_fwrite_00026148" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,uVar8,1,*(undefined4 *)puVar2)" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;" (assignment_expression "uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf" identifier = (binary_expression "(int)(pbVar13 + 1) - (int)param_3 & 0xf" (binary_expression "(int)(pbVar13 + 1) - (int)param_3" (cast_expression "(int)(pbVar13 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar13 + 1)" ( (binary_expression "pbVar13 + 1" identifier + number_literal) ))) - (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (param_4 == pbVar13) break;" if (parenthesized_expression "(param_4 == pbVar13)" ( (binary_expression "param_4 == pbVar13" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = 4;" (assignment_expression "uVar8 = 4" identifier = number_literal) ;) (if_statement "if (uVar6 != 0) {\n        uVar8 = 3;\n      }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar8 = 3;\n      }" { (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" identifier = number_literal) ;) })) (expression_statement "uVar1 = unaff_s6[*pbVar13 & 0xf];" (assignment_expression "uVar1 = unaff_s6[*pbVar13 & 0xf]" identifier = (subscript_expression "unaff_s6[*pbVar13 & 0xf]" identifier [ (binary_expression "*pbVar13 & 0xf" (pointer_expression "*pbVar13" * identifier) & number_literal) ])) ;) (expression_statement "puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];" (assignment_expression "puVar14[0x6011] = unaff_s6[*pbVar13 >> 4]" (subscript_expression "puVar14[0x6011]" identifier [ number_literal ]) = (subscript_expression "unaff_s6[*pbVar13 >> 4]" identifier [ (binary_expression "*pbVar13 >> 4" (pointer_expression "*pbVar13" * identifier) >> number_literal) ])) ;) (expression_statement "puVar14[0x6012] = uVar1;" (assignment_expression "puVar14[0x6012] = uVar1" (subscript_expression "puVar14[0x6012]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" identifier = (binary_expression "pbVar13 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar8 = *(undefined4 *)puVar2;" (assignment_expression "uVar8 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar6 == 1) goto LAB_00012c58;" if (parenthesized_expression "(uVar6 == 1)" ( (binary_expression "uVar6 == 1" identifier == number_literal) )) (goto_statement "goto LAB_00012c58;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar8);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar8)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" ( (pointer_expression "*(code *)PTR_fputc_000260ec" * (cast_expression "(code *)PTR_fputc_000260ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,uVar8)" ( number_literal , identifier ))) ;) })) (expression_statement "uVar8 = *(undefined4 *)puVar2;" (assignment_expression "uVar8 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (labeled_statement "LAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);" statement_identifier : (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar8);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar8)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" ( (pointer_expression "*(code *)PTR_fputc_000260ec" * (cast_expression "(code *)PTR_fputc_000260ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,uVar8)" ( number_literal , identifier ))) ;)) (expression_statement "piVar7 = *(int **)puVar2;" (assignment_expression "piVar7 = *(int **)puVar2" identifier = (pointer_expression "*(int **)puVar2" * (cast_expression "(int **)puVar2" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_fflush_00026184)();" (call_expression "(*(code *)PTR_fflush_00026184)()" (parenthesized_expression "(*(code *)PTR_fflush_00026184)" ( (pointer_expression "*(code *)PTR_fflush_00026184" * (cast_expression "(code *)PTR_fflush_00026184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }" if (parenthesized_expression "(local_2c == *(uint *)puVar3)" ( (binary_expression "local_2c == *(uint *)puVar3" identifier == (pointer_expression "*(uint *)puVar3" * (cast_expression "(uint *)puVar3" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(uint *)puVar3;\n  }" { (return_statement "return *(uint *)puVar3;" return (pointer_expression "*(uint *)puVar3" * (cast_expression "(uint *)puVar3" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "pcVar15 = FUN_00012cc4;" (assignment_expression "pcVar15 = FUN_00012cc4" identifier = identifier) ;) (expression_statement "puVar14 = PTR___stack_chk_fail_00026164;" (assignment_expression "puVar14 = PTR___stack_chk_fail_00026164" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00026164)();" (call_expression "(*(code *)PTR___stack_chk_fail_00026164)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00026164)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00026164" * (cast_expression "(code *)PTR___stack_chk_fail_00026164" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar12 = *(int **)(puVar14 + 0x134b4);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0x134b4)" identifier = (pointer_expression "*(int **)(puVar14 + 0x134b4)" * (cast_expression "(int **)(puVar14 + 0x134b4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134b4)" ( (binary_expression "puVar14 + 0x134b4" identifier + number_literal) ))))) ;) (expression_statement "puStack_90 = puVar2;" (assignment_expression "puStack_90 = puVar2" identifier = identifier) ;) (expression_statement "iStack_94 = *piVar12;" (assignment_expression "iStack_94 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;) (expression_statement "pbStack_8c = param_4;" (assignment_expression "pbStack_8c = param_4" identifier = identifier) ;) (expression_statement "pbStack_88 = param_3;" (assignment_expression "pbStack_88 = param_3" identifier = identifier) ;) (expression_statement "puStack_84 = param_2;" (assignment_expression "puStack_84 = param_2" identifier = identifier) ;) (expression_statement "iStack_80 = param_1;" (assignment_expression "iStack_80 = param_1" identifier = identifier) ;) (expression_statement "uStack_7c = unaff_s5;" (assignment_expression "uStack_7c = unaff_s5" identifier = identifier) ;) (expression_statement "puStack_78 = unaff_s6;" (assignment_expression "puStack_78 = unaff_s6" identifier = identifier) ;) (expression_statement "pcStack_74 = pcVar15;" (assignment_expression "pcStack_74 = pcVar15" identifier = identifier) ;) (if_statement "if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }" { (expression_statement "uVar10 = *(ushort *)(piVar7 + 6);" (assignment_expression "uVar10 = *(ushort *)(piVar7 + 6)" identifier = (pointer_expression "*(ushort *)(piVar7 + 6)" * (cast_expression "(ushort *)(piVar7 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 6)" ( (binary_expression "piVar7 + 6" identifier + number_literal) ))))) ;) (if_statement "if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" if (parenthesized_expression "(uVar10 < 0x1001)" ( (binary_expression "uVar10 < 0x1001" identifier < number_literal) )) (compound_statement "{\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }" { (expression_statement "iVar11 = *(int *)(puVar14 + 0x13390);" (assignment_expression "iVar11 = *(int *)(puVar14 + 0x13390)" identifier = (pointer_expression "*(int *)(puVar14 + 0x13390)" * (cast_expression "(int *)(puVar14 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x13390)" ( (binary_expression "puVar14 + 0x13390" identifier + number_literal) ))))) ;) (do_statement "do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);" do (compound_statement "{\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      }" { (expression_statement "iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);" (assignment_expression "iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" identifier = (call_expression "(**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" (parenthesized_expression "(**(code **)(puVar14 + 0x13420))" ( (pointer_expression "**(code **)(puVar14 + 0x13420)" * (pointer_expression "*(code **)(puVar14 + 0x13420)" * (cast_expression "(code **)(puVar14 + 0x13420)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x13420)" ( (binary_expression "puVar14 + 0x13420" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" ( (pointer_expression "*(undefined4 *)(piVar7[1] + 4)" * (cast_expression "(undefined4 *)(piVar7[1] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[1] + 4)" ( (binary_expression "piVar7[1] + 4" (subscript_expression "piVar7[1]" identifier [ number_literal ]) + number_literal) )))) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined1 *)(piVar7 + 2)" * (cast_expression "(undefined1 *)(piVar7 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 2)" ( (binary_expression "piVar7 + 2" identifier + number_literal) )))) , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }" { (expression_statement "uVar9 = **(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "uVar9 = **(undefined4 **)(puVar14 + 0x134bc)" identifier = (pointer_expression "**(undefined4 **)(puVar14 + 0x134bc)" * (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134bc)" ( (binary_expression "puVar14 + 0x134bc" identifier + number_literal) )))))) ;) (expression_statement "uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);" (assignment_expression "uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5)" identifier = (call_expression "(**(code **)(puVar14 + 0x1344c))(iVar5)" (parenthesized_expression "(**(code **)(puVar14 + 0x1344c))" ( (pointer_expression "**(code **)(puVar14 + 0x1344c)" * (pointer_expression "*(code **)(puVar14 + 0x1344c)" * (cast_expression "(code **)(puVar14 + 0x1344c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x1344c)" ( (binary_expression "puVar14 + 0x1344c" identifier + number_literal) ))))) )) (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);" (call_expression "(**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8)" (parenthesized_expression "(**(code **)(puVar14 + 0x13418))" ( (pointer_expression "**(code **)(puVar14 + 0x13418)" * (pointer_expression "*(code **)(puVar14 + 0x13418)" * (cast_expression "(code **)(puVar14 + 0x13418)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x13418)" ( (binary_expression "puVar14 + 0x13418" identifier + number_literal) ))))) )) (argument_list "(uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8)" ( identifier , number_literal , (binary_expression "*(int *)(puVar14 + 0x13390) + 0x42c0" (pointer_expression "*(int *)(puVar14 + 0x13390)" * (cast_expression "(int *)(puVar14 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x13390)" ( (binary_expression "puVar14 + 0x13390" identifier + number_literal) )))) + number_literal) , (binary_expression "(int)piVar7 + 9" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00012de4;" goto statement_identifier ;) })) (expression_statement "FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);" (call_expression "FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5)" identifier (argument_list "(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5)" ( identifier , (binary_expression "iVar11 + 0x42f0" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }" { (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00012de4;" goto statement_identifier ;) })) (expression_statement "uVar10 = *(ushort *)(piVar7 + 6);" (assignment_expression "uVar10 = *(ushort *)(piVar7 + 6)" identifier = (pointer_expression "*(ushort *)(piVar7 + 6)" * (cast_expression "(ushort *)(piVar7 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 6)" ( (binary_expression "piVar7 + 6" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = *(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "puVar4 = *(undefined4 **)(puVar14 + 0x134bc)" identifier = (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134bc)" ( (binary_expression "puVar14 + 0x134bc" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(uVar10 < 0x1001)" ( (binary_expression "uVar10 < 0x1001" identifier < number_literal) )) ;) }) (else_clause "else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" else (compound_statement "{\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" { (expression_statement "puVar4 = *(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "puVar4 = *(undefined4 **)(puVar14 + 0x134bc)" identifier = (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" * (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134bc)" ( (binary_expression "puVar14 + 0x134bc" identifier + number_literal) ))))) ;) }))) (expression_statement "uVar9 = *puVar4;" (assignment_expression "uVar9 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);" (assignment_expression "uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5)" identifier = (call_expression "(**(code **)(puVar14 + 0x1344c))(0xfffffff5)" (parenthesized_expression "(**(code **)(puVar14 + 0x1344c))" ( (pointer_expression "**(code **)(puVar14 + 0x1344c)" * (pointer_expression "*(code **)(puVar14 + 0x1344c)" * (cast_expression "(code **)(puVar14 + 0x1344c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x1344c)" ( (binary_expression "puVar14 + 0x1344c" identifier + number_literal) ))))) )) (argument_list "(0xfffffff5)" ( number_literal )))) ;) (expression_statement "(**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);" (call_expression "(**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8)" (parenthesized_expression "(**(code **)(puVar14 + 0x13418))" ( (pointer_expression "**(code **)(puVar14 + 0x13418)" * (pointer_expression "*(code **)(puVar14 + 0x13418)" * (cast_expression "(code **)(puVar14 + 0x13418)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x13418)" ( (binary_expression "puVar14 + 0x13418" identifier + number_literal) ))))) )) (argument_list "(uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8)" ( identifier , number_literal , (binary_expression "*(int *)(puVar14 + 0x13390) + 0x428c" (pointer_expression "*(int *)(puVar14 + 0x13390)" * (cast_expression "(int *)(puVar14 + 0x13390)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x13390)" ( (binary_expression "puVar14 + 0x13390" identifier + number_literal) )))) + number_literal) , (binary_expression "(int)piVar7 + 9" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier , identifier ))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) })) (labeled_statement "LAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }" statement_identifier : (if_statement "if (iStack_94 == *piVar12) {\n    return uVar6;\n  }" if (parenthesized_expression "(iStack_94 == *piVar12)" ( (binary_expression "iStack_94 == *piVar12" identifier == (pointer_expression "*piVar12" * identifier)) )) (compound_statement "{\n    return uVar6;\n  }" { (return_statement "return uVar6;" return identifier ;) }))) (expression_statement "pcVar15 = *(code **)(puVar14 + 0x134a0);" (assignment_expression "pcVar15 = *(code **)(puVar14 + 0x134a0)" identifier = (pointer_expression "*(code **)(puVar14 + 0x134a0)" * (cast_expression "(code **)(puVar14 + 0x134a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x134a0)" ( (binary_expression "puVar14 + 0x134a0" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = iStack_94;" (assignment_expression "iVar11 = iStack_94" identifier = identifier) ;) (expression_statement "(*pcVar15)();" (call_expression "(*pcVar15)()" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "uVar6 = *(uint *)(iVar11 + 0xc);" (assignment_expression "uVar6 = *(uint *)(iVar11 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar11 + 0xc)" * (cast_expression "(uint *)(iVar11 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0" (pointer_expression "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c)" * (cast_expression "(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0x1c) + 0x1c)" ( (binary_expression "*(int *)(iVar11 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar11 + 0x1c)" * (cast_expression "(int *)(iVar11 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x1c)" ( (binary_expression "iVar11 + 0x1c" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (if_statement "if (uVar6 < 7) {\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }" if (parenthesized_expression "(uVar6 < 7)" ( (binary_expression "uVar6 < 7" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }" { (expression_statement "uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();" (assignment_expression "uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))()" identifier = (call_expression "(*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))()" (parenthesized_expression "(*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))" ( (pointer_expression "*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" * (parenthesized_expression "(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" ( (binary_expression "pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac" (binary_expression "pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" * (cast_expression "(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" ( (binary_expression "*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4" (binary_expression "*(int *)(pcVar15 + 0x131e0) + 0x4fa0" (pointer_expression "*(int *)(pcVar15 + 0x131e0)" * (cast_expression "(int *)(pcVar15 + 0x131e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 0x131e0)" ( (binary_expression "pcVar15 + 0x131e0" identifier + number_literal) )))) + number_literal) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar6;" return identifier ;) })) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = 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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (binary_expression IDENT + LIT) , (binary_expression 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)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) & LIT) ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) >> LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_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 = (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) & LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) >> LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (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 (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression 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) ))))) ;) (do_statement do (compound_statement { (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) , LIT , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (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 )))) ;) (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) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 ( 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 , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (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 (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (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 ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}" (type_identifier "uint") (function_declarator "FUN_00012ad8(int param_1,undefined *param_2,byte *param_3,byte *param_4)" (identifier "FUN_00012ad8") (parameter_list "(int param_1,undefined *param_2,byte *param_3,byte *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "byte *param_4" (type_identifier "byte") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  ushort uVar10;\n  int iVar11;\n  undefined4 unaff_s5;\n  undefined *unaff_s6;\n  int *piVar12;\n  byte *pbVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  undefined1 auStack_1094 [4096];\n  int iStack_94;\n  undefined *puStack_90;\n  byte *pbStack_8c;\n  byte *pbStack_88;\n  undefined *puStack_84;\n  int iStack_80;\n  undefined4 uStack_7c;\n  undefined *puStack_78;\n  code *pcStack_74;\n  undefined *local_60;\n  int local_58;\n  int local_54;\n  undefined4 local_50;\n  int local_34;\n  undefined4 local_30;\n  uint local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_00026178;\n  puVar2 = PTR_stdout_0002610c;\n  local_2c = *(uint *)PTR___stack_chk_guard_00026178;\n  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);\n  local_58 = local_34 >> 0x1f;\n  local_50 = local_30;\n  local_54 = local_34;\n  local_60 = param_2;\n  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);\n  puVar14 = PTR_DAT_00026048;\n  if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }\n  uVar8 = *(undefined4 *)puVar2;\nLAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  piVar7 = *(int **)puVar2;\n  (*(code *)PTR_fflush_00026184)();\n  if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }\n  pcVar15 = FUN_00012cc4;\n  puVar14 = PTR___stack_chk_fail_00026164;\n  (*(code *)PTR___stack_chk_fail_00026164)();\n  piVar12 = *(int **)(puVar14 + 0x134b4);\n  puStack_90 = puVar2;\n  iStack_94 = *piVar12;\n  uVar6 = 1;\n  pbStack_8c = param_4;\n  pbStack_88 = param_3;\n  puStack_84 = param_2;\n  iStack_80 = param_1;\n  uStack_7c = unaff_s5;\n  puStack_78 = unaff_s6;\n  pcStack_74 = pcVar15;\n  if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }\nLAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }\n  pcVar15 = *(code **)(puVar14 + 0x134a0);\n  iVar11 = iStack_94;\n  (*pcVar15)();\n  uVar6 = *(uint *)(iVar11 + 0xc);\n  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;\n  if (uVar6 < 7) {\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }\n  return uVar6;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "ushort uVar10;" (type_identifier "ushort") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "undefined4 unaff_s5;" (type_identifier "undefined4") (identifier "unaff_s5") (; ";")) (declaration "undefined *unaff_s6;" (type_identifier "undefined") (pointer_declarator "*unaff_s6" (* "*") (identifier "unaff_s6")) (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "byte *pbVar13;" (type_identifier "byte") (pointer_declarator "*pbVar13" (* "*") (identifier "pbVar13")) (; ";")) (declaration "undefined *puVar14;" (type_identifier "undefined") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "code *pcVar15;" (type_identifier "code") (pointer_declarator "*pcVar15" (* "*") (identifier "pcVar15")) (; ";")) (declaration "undefined1 auStack_1094 [4096];" (type_identifier "undefined1") (array_declarator "auStack_1094 [4096]" (identifier "auStack_1094") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "int iStack_94;" (primitive_type "int") (identifier "iStack_94") (; ";")) (declaration "undefined *puStack_90;" (type_identifier "undefined") (pointer_declarator "*puStack_90" (* "*") (identifier "puStack_90")) (; ";")) (declaration "byte *pbStack_8c;" (type_identifier "byte") (pointer_declarator "*pbStack_8c" (* "*") (identifier "pbStack_8c")) (; ";")) (declaration "byte *pbStack_88;" (type_identifier "byte") (pointer_declarator "*pbStack_88" (* "*") (identifier "pbStack_88")) (; ";")) (declaration "undefined *puStack_84;" (type_identifier "undefined") (pointer_declarator "*puStack_84" (* "*") (identifier "puStack_84")) (; ";")) (declaration "int iStack_80;" (primitive_type "int") (identifier "iStack_80") (; ";")) (declaration "undefined4 uStack_7c;" (type_identifier "undefined4") (identifier "uStack_7c") (; ";")) (declaration "undefined *puStack_78;" (type_identifier "undefined") (pointer_declarator "*puStack_78" (* "*") (identifier "puStack_78")) (; ";")) (declaration "code *pcStack_74;" (type_identifier "code") (pointer_declarator "*pcStack_74" (* "*") (identifier "pcStack_74")) (; ";")) (declaration "undefined *local_60;" (type_identifier "undefined") (pointer_declarator "*local_60" (* "*") (identifier "local_60")) (; ";")) (declaration "int local_58;" (primitive_type "int") (identifier "local_58") (; ";")) (declaration "int local_54;" (primitive_type "int") (identifier "local_54") (; ";")) (declaration "undefined4 local_50;" (type_identifier "undefined4") (identifier "local_50") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_00026178;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00026178" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_00026178")) (; ";")) (expression_statement "puVar2 = PTR_stdout_0002610c;" (assignment_expression "puVar2 = PTR_stdout_0002610c" (identifier "puVar2") (= "=") (identifier "PTR_stdout_0002610c")) (; ";")) (expression_statement "local_2c = *(uint *)PTR___stack_chk_guard_00026178;" (assignment_expression "local_2c = *(uint *)PTR___stack_chk_guard_00026178" (identifier "local_2c") (= "=") (pointer_expression "*(uint *)PTR___stack_chk_guard_00026178" (* "*") (cast_expression "(uint *)PTR___stack_chk_guard_00026178" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00026178")))) (; ";")) (expression_statement "(*(code *)PTR_gettimeofday_00026170)(&local_34,0);" (call_expression "(*(code *)PTR_gettimeofday_00026170)(&local_34,0)" (parenthesized_expression "(*(code *)PTR_gettimeofday_00026170)" (( "(") (pointer_expression "*(code *)PTR_gettimeofday_00026170" (* "*") (cast_expression "(code *)PTR_gettimeofday_00026170" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettimeofday_00026170"))) () ")")) (argument_list "(&local_34,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "local_58 = local_34 >> 0x1f;" (assignment_expression "local_58 = local_34 >> 0x1f" (identifier "local_58") (= "=") (binary_expression "local_34 >> 0x1f" (identifier "local_34") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "local_50 = local_30;" (assignment_expression "local_50 = local_30" (identifier "local_50") (= "=") (identifier "local_30")) (; ";")) (expression_statement "local_54 = local_34;" (assignment_expression "local_54 = local_34" (identifier "local_54") (= "=") (identifier "local_34")) (; ";")) (expression_statement "local_60 = param_2;" (assignment_expression "local_60 = param_2" (identifier "local_60") (= "=") (identifier "param_2")) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);" (call_expression "(*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000260dc)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000260dc" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000260dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000260dc"))) () ")")) (argument_list "(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9)" (( "(") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_00026054 + 0x4274" (identifier "PTR_00026054") (+ "+") (number_literal "0x4274")) (, ",") (binary_expression "param_1 + 9" (identifier "param_1") (+ "+") (number_literal "9")) () ")"))) (; ";")) (expression_statement "puVar14 = PTR_DAT_00026048;" (assignment_expression "puVar14 = PTR_DAT_00026048" (identifier "puVar14") (= "=") (identifier "PTR_DAT_00026048")) (; ";")) (if_statement "if (param_4 != (byte *)0x0) {\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }" (if "if") (parenthesized_expression "(param_4 != (byte *)0x0)" (( "(") (binary_expression "param_4 != (byte *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_4 = param_3 + (int)param_4;\n    uVar8 = 3;\n    unaff_s6 = PTR_00026054 + 0x509c;\n    param_2 = PTR_DAT_00026048 + 0x6010;\n    unaff_s5 = 3;\n    uVar1 = unaff_s6[*param_3 & 0xf];\n    param_1 = 4;\n    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];\n    puVar14[0x6012] = uVar1;\n    pbVar13 = param_3 + 1;\n    while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }\n    uVar8 = *(undefined4 *)puVar2;\n    if (uVar6 == 1) goto LAB_00012c58;\n    (*(code *)PTR_fputc_000260ec)(10,uVar8);\n  }" ({ "{") (expression_statement "param_4 = param_3 + (int)param_4;" (assignment_expression "param_4 = param_3 + (int)param_4" (identifier "param_4") (= "=") (binary_expression "param_3 + (int)param_4" (identifier "param_3") (+ "+") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")))) (; ";")) (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" (identifier "uVar8") (= "=") (number_literal "3")) (; ";")) (expression_statement "unaff_s6 = PTR_00026054 + 0x509c;" (assignment_expression "unaff_s6 = PTR_00026054 + 0x509c" (identifier "unaff_s6") (= "=") (binary_expression "PTR_00026054 + 0x509c" (identifier "PTR_00026054") (+ "+") (number_literal "0x509c"))) (; ";")) (expression_statement "param_2 = PTR_DAT_00026048 + 0x6010;" (assignment_expression "param_2 = PTR_DAT_00026048 + 0x6010" (identifier "param_2") (= "=") (binary_expression "PTR_DAT_00026048 + 0x6010" (identifier "PTR_DAT_00026048") (+ "+") (number_literal "0x6010"))) (; ";")) (expression_statement "unaff_s5 = 3;" (assignment_expression "unaff_s5 = 3" (identifier "unaff_s5") (= "=") (number_literal "3")) (; ";")) (expression_statement "uVar1 = unaff_s6[*param_3 & 0xf];" (assignment_expression "uVar1 = unaff_s6[*param_3 & 0xf]" (identifier "uVar1") (= "=") (subscript_expression "unaff_s6[*param_3 & 0xf]" (identifier "unaff_s6") ([ "[") (binary_expression "*param_3 & 0xf" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (& "&") (number_literal "0xf")) (] "]"))) (; ";")) (expression_statement "param_1 = 4;" (assignment_expression "param_1 = 4" (identifier "param_1") (= "=") (number_literal "4")) (; ";")) (expression_statement "PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];" (assignment_expression "PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4]" (subscript_expression "PTR_DAT_00026048[0x6011]" (identifier "PTR_DAT_00026048") ([ "[") (number_literal "0x6011") (] "]")) (= "=") (subscript_expression "unaff_s6[*param_3 >> 4]" (identifier "unaff_s6") ([ "[") (binary_expression "*param_3 >> 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (>> ">>") (number_literal "4")) (] "]"))) (; ";")) (expression_statement "puVar14[0x6012] = uVar1;" (assignment_expression "puVar14[0x6012] = uVar1" (subscript_expression "puVar14[0x6012]" (identifier "puVar14") ([ "[") (number_literal "0x6012") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "pbVar13 = param_3 + 1;" (assignment_expression "pbVar13 = param_3 + 1" (identifier "pbVar13") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (while_statement "while( true ) {\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);\n      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;\n      if (param_4 == pbVar13) break;\n      uVar8 = 4;\n      if (uVar6 != 0) {\n        uVar8 = 3;\n      }\n      uVar1 = unaff_s6[*pbVar13 & 0xf];\n      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];\n      puVar14[0x6012] = uVar1;\n      pbVar13 = pbVar13 + 1;\n    }" ({ "{") (expression_statement "(*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);" (call_expression "(*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2)" (parenthesized_expression "(*(code *)PTR_fwrite_00026148)" (( "(") (pointer_expression "*(code *)PTR_fwrite_00026148" (* "*") (cast_expression "(code *)PTR_fwrite_00026148" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fwrite_00026148"))) () ")")) (argument_list "(param_2,uVar8,1,*(undefined4 *)puVar2)" (( "(") (identifier "param_2") (, ",") (identifier "uVar8") (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")"))) (; ";")) (expression_statement "uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;" (assignment_expression "uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf" (identifier "uVar6") (= "=") (binary_expression "(int)(pbVar13 + 1) - (int)param_3 & 0xf" (binary_expression "(int)(pbVar13 + 1) - (int)param_3" (cast_expression "(int)(pbVar13 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pbVar13 + 1)" (( "(") (binary_expression "pbVar13 + 1" (identifier "pbVar13") (+ "+") (number_literal "1")) () ")"))) (- "-") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) (& "&") (number_literal "0xf"))) (; ";")) (if_statement "if (param_4 == pbVar13) break;" (if "if") (parenthesized_expression "(param_4 == pbVar13)" (( "(") (binary_expression "param_4 == pbVar13" (identifier "param_4") (== "==") (identifier "pbVar13")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar8 = 4;" (assignment_expression "uVar8 = 4" (identifier "uVar8") (= "=") (number_literal "4")) (; ";")) (if_statement "if (uVar6 != 0) {\n        uVar8 = 3;\n      }" (if "if") (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar8 = 3;\n      }" ({ "{") (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" (identifier "uVar8") (= "=") (number_literal "3")) (; ";")) (} "}"))) (expression_statement "uVar1 = unaff_s6[*pbVar13 & 0xf];" (assignment_expression "uVar1 = unaff_s6[*pbVar13 & 0xf]" (identifier "uVar1") (= "=") (subscript_expression "unaff_s6[*pbVar13 & 0xf]" (identifier "unaff_s6") ([ "[") (binary_expression "*pbVar13 & 0xf" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (& "&") (number_literal "0xf")) (] "]"))) (; ";")) (expression_statement "puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];" (assignment_expression "puVar14[0x6011] = unaff_s6[*pbVar13 >> 4]" (subscript_expression "puVar14[0x6011]" (identifier "puVar14") ([ "[") (number_literal "0x6011") (] "]")) (= "=") (subscript_expression "unaff_s6[*pbVar13 >> 4]" (identifier "unaff_s6") ([ "[") (binary_expression "*pbVar13 >> 4" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (>> ">>") (number_literal "4")) (] "]"))) (; ";")) (expression_statement "puVar14[0x6012] = uVar1;" (assignment_expression "puVar14[0x6012] = uVar1" (subscript_expression "puVar14[0x6012]" (identifier "puVar14") ([ "[") (number_literal "0x6012") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + 1" (identifier "pbVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar8 = *(undefined4 *)puVar2;" (assignment_expression "uVar8 = *(undefined4 *)puVar2" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) (; ";")) (if_statement "if (uVar6 == 1) goto LAB_00012c58;" (if "if") (parenthesized_expression "(uVar6 == 1)" (( "(") (binary_expression "uVar6 == 1" (identifier "uVar6") (== "==") (number_literal "1")) () ")")) (goto_statement "goto LAB_00012c58;" (goto "goto") (statement_identifier "LAB_00012c58") (; ";"))) (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar8);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar8)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" (( "(") (pointer_expression "*(code *)PTR_fputc_000260ec" (* "*") (cast_expression "(code *)PTR_fputc_000260ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_000260ec"))) () ")")) (argument_list "(10,uVar8)" (( "(") (number_literal "10") (, ",") (identifier "uVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar8 = *(undefined4 *)puVar2;" (assignment_expression "uVar8 = *(undefined4 *)puVar2" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) (; ";")) (labeled_statement "LAB_00012c58:\n  (*(code *)PTR_fputc_000260ec)(10,uVar8);" (statement_identifier "LAB_00012c58") (: ":") (expression_statement "(*(code *)PTR_fputc_000260ec)(10,uVar8);" (call_expression "(*(code *)PTR_fputc_000260ec)(10,uVar8)" (parenthesized_expression "(*(code *)PTR_fputc_000260ec)" (( "(") (pointer_expression "*(code *)PTR_fputc_000260ec" (* "*") (cast_expression "(code *)PTR_fputc_000260ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_000260ec"))) () ")")) (argument_list "(10,uVar8)" (( "(") (number_literal "10") (, ",") (identifier "uVar8") () ")"))) (; ";"))) (expression_statement "piVar7 = *(int **)puVar2;" (assignment_expression "piVar7 = *(int **)puVar2" (identifier "piVar7") (= "=") (pointer_expression "*(int **)puVar2" (* "*") (cast_expression "(int **)puVar2" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2")))) (; ";")) (expression_statement "(*(code *)PTR_fflush_00026184)();" (call_expression "(*(code *)PTR_fflush_00026184)()" (parenthesized_expression "(*(code *)PTR_fflush_00026184)" (( "(") (pointer_expression "*(code *)PTR_fflush_00026184" (* "*") (cast_expression "(code *)PTR_fflush_00026184" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_00026184"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_2c == *(uint *)puVar3) {\n    return *(uint *)puVar3;\n  }" (if "if") (parenthesized_expression "(local_2c == *(uint *)puVar3)" (( "(") (binary_expression "local_2c == *(uint *)puVar3" (identifier "local_2c") (== "==") (pointer_expression "*(uint *)puVar3" (* "*") (cast_expression "(uint *)puVar3" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    return *(uint *)puVar3;\n  }" ({ "{") (return_statement "return *(uint *)puVar3;" (return "return") (pointer_expression "*(uint *)puVar3" (* "*") (cast_expression "(uint *)puVar3" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (; ";")) (} "}"))) (expression_statement "pcVar15 = FUN_00012cc4;" (assignment_expression "pcVar15 = FUN_00012cc4" (identifier "pcVar15") (= "=") (identifier "FUN_00012cc4")) (; ";")) (expression_statement "puVar14 = PTR___stack_chk_fail_00026164;" (assignment_expression "puVar14 = PTR___stack_chk_fail_00026164" (identifier "puVar14") (= "=") (identifier "PTR___stack_chk_fail_00026164")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00026164)();" (call_expression "(*(code *)PTR___stack_chk_fail_00026164)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00026164)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00026164" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00026164" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00026164"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar12 = *(int **)(puVar14 + 0x134b4);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0x134b4)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(puVar14 + 0x134b4)" (* "*") (cast_expression "(int **)(puVar14 + 0x134b4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x134b4)" (( "(") (binary_expression "puVar14 + 0x134b4" (identifier "puVar14") (+ "+") (number_literal "0x134b4")) () ")"))))) (; ";")) (expression_statement "puStack_90 = puVar2;" (assignment_expression "puStack_90 = puVar2" (identifier "puStack_90") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "iStack_94 = *piVar12;" (assignment_expression "iStack_94 = *piVar12" (identifier "iStack_94") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" (identifier "uVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "pbStack_8c = param_4;" (assignment_expression "pbStack_8c = param_4" (identifier "pbStack_8c") (= "=") (identifier "param_4")) (; ";")) (expression_statement "pbStack_88 = param_3;" (assignment_expression "pbStack_88 = param_3" (identifier "pbStack_88") (= "=") (identifier "param_3")) (; ";")) (expression_statement "puStack_84 = param_2;" (assignment_expression "puStack_84 = param_2" (identifier "puStack_84") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iStack_80 = param_1;" (assignment_expression "iStack_80 = param_1" (identifier "iStack_80") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uStack_7c = unaff_s5;" (assignment_expression "uStack_7c = unaff_s5" (identifier "uStack_7c") (= "=") (identifier "unaff_s5")) (; ";")) (expression_statement "puStack_78 = unaff_s6;" (assignment_expression "puStack_78 = unaff_s6" (identifier "puStack_78") (= "=") (identifier "unaff_s6")) (; ";")) (expression_statement "pcStack_74 = pcVar15;" (assignment_expression "pcStack_74 = pcVar15" (identifier "pcStack_74") (= "=") (identifier "pcVar15")) (; ";")) (if_statement "if (piVar7 != (int *)0x0) {\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }" (if "if") (parenthesized_expression "(piVar7 != (int *)0x0)" (( "(") (binary_expression "piVar7 != (int *)0x0" (identifier "piVar7") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar10 = *(ushort *)(piVar7 + 6);\n    if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }\n    uVar9 = *puVar4;\n    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);\n    (**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);\n    uVar6 = 0;\n  }" ({ "{") (expression_statement "uVar10 = *(ushort *)(piVar7 + 6);" (assignment_expression "uVar10 = *(ushort *)(piVar7 + 6)" (identifier "uVar10") (= "=") (pointer_expression "*(ushort *)(piVar7 + 6)" (* "*") (cast_expression "(ushort *)(piVar7 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 6)" (( "(") (binary_expression "piVar7 + 6" (identifier "piVar7") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (if_statement "if (uVar10 < 0x1001) {\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }\n    else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" (if "if") (parenthesized_expression "(uVar10 < 0x1001)" (( "(") (binary_expression "uVar10 < 0x1001" (identifier "uVar10") (< "<") (number_literal "0x1001")) () ")")) (compound_statement "{\n      iVar11 = *(int *)(puVar14 + 0x13390);\n      do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);\n    }" ({ "{") (expression_statement "iVar11 = *(int *)(puVar14 + 0x13390);" (assignment_expression "iVar11 = *(int *)(puVar14 + 0x13390)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(puVar14 + 0x13390)" (* "*") (cast_expression "(int *)(puVar14 + 0x13390)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0x13390)" (( "(") (binary_expression "puVar14 + 0x13390" (identifier "puVar14") (+ "+") (number_literal "0x13390")) () ")"))))) (; ";")) (do_statement "do {\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      } while (uVar10 < 0x1001);" (do "do") (compound_statement "{\n        iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);\n        if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }\n        FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);\n        piVar7 = (int *)*piVar7;\n        if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }\n        uVar10 = *(ushort *)(piVar7 + 6);\n        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n      }" ({ "{") (expression_statement "iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000);" (assignment_expression "iVar5 = (**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(puVar14 + 0x13420))\n                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" (parenthesized_expression "(**(code **)(puVar14 + 0x13420))" (( "(") (pointer_expression "**(code **)(puVar14 + 0x13420)" (* "*") (pointer_expression "*(code **)(puVar14 + 0x13420)" (* "*") (cast_expression "(code **)(puVar14 + 0x13420)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x13420)" (( "(") (binary_expression "puVar14 + 0x13420" (identifier "puVar14") (+ "+") (number_literal "0x13420")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),\n                           auStack_1094,uVar10,1000)" (( "(") (pointer_expression "*(undefined4 *)(piVar7[1] + 4)" (* "*") (cast_expression "(undefined4 *)(piVar7[1] + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7[1] + 4)" (( "(") (binary_expression "piVar7[1] + 4" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "4")) () ")")))) (, ",") (number_literal "0x81") (, ",") (number_literal "6") (, ",") (number_literal "0x2200") (, ",") (pointer_expression "*(undefined1 *)(piVar7 + 2)" (* "*") (cast_expression "(undefined1 *)(piVar7 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 2)" (( "(") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2")) () ")")))) (, ",") (identifier "auStack_1094") (, ",") (identifier "uVar10") (, ",") (number_literal "1000") () ")")))) (; ";")) (if_statement "if (iVar5 < 0) {\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);\n          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);\n          (**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);\n          uVar6 = 0;\n          goto LAB_00012de4;\n        }" ({ "{") (expression_statement "uVar9 = **(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "uVar9 = **(undefined4 **)(puVar14 + 0x134bc)" (identifier "uVar9") (= "=") (pointer_expression "**(undefined4 **)(puVar14 + 0x134bc)" (* "*") (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" (* "*") (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x134bc)" (( "(") (binary_expression "puVar14 + 0x134bc" (identifier "puVar14") (+ "+") (number_literal "0x134bc")) () ")")))))) (; ";")) (expression_statement "uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);" (assignment_expression "uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5)" (identifier "uVar8") (= "=") (call_expression "(**(code **)(puVar14 + 0x1344c))(iVar5)" (parenthesized_expression "(**(code **)(puVar14 + 0x1344c))" (( "(") (pointer_expression "**(code **)(puVar14 + 0x1344c)" (* "*") (pointer_expression "*(code **)(puVar14 + 0x1344c)" (* "*") (cast_expression "(code **)(puVar14 + 0x1344c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x1344c)" (( "(") (binary_expression "puVar14 + 0x1344c" (identifier "puVar14") (+ "+") (number_literal "0x1344c")) () ")"))))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);" (call_expression "(**(code **)(puVar14 + 0x13418))\n                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8)" (parenthesized_expression "(**(code **)(puVar14 + 0x13418))" (( "(") (pointer_expression "**(code **)(puVar14 + 0x13418)" (* "*") (pointer_expression "*(code **)(puVar14 + 0x13418)" (* "*") (cast_expression "(code **)(puVar14 + 0x13418)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x13418)" (( "(") (binary_expression "puVar14 + 0x13418" (identifier "puVar14") (+ "+") (number_literal "0x13418")) () ")"))))) () ")")) (argument_list "(uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8)" (( "(") (identifier "uVar9") (, ",") (number_literal "1") (, ",") (binary_expression "*(int *)(puVar14 + 0x13390) + 0x42c0" (pointer_expression "*(int *)(puVar14 + 0x13390)" (* "*") (cast_expression "(int *)(puVar14 + 0x13390)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0x13390)" (( "(") (binary_expression "puVar14 + 0x13390" (identifier "puVar14") (+ "+") (number_literal "0x13390")) () ")")))) (+ "+") (number_literal "0x42c0")) (, ",") (binary_expression "(int)piVar7 + 9" (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7")) (+ "+") (number_literal "9")) (, ",") (identifier "uVar8") () ")"))) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00012de4;" (goto "goto") (statement_identifier "LAB_00012de4") (; ";")) (} "}"))) (expression_statement "FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);" (call_expression "FUN_00012ad8(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5)" (identifier "FUN_00012ad8") (argument_list "(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5)" (( "(") (identifier "piVar7") (, ",") (binary_expression "iVar11 + 0x42f0" (identifier "iVar11") (+ "+") (number_literal "0x42f0")) (, ",") (identifier "auStack_1094") (, ",") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" (identifier "piVar7") (= "=") (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")))) (; ";")) (if_statement "if (piVar7 == (int *)0x0) {\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar6 = 1;\n          goto LAB_00012de4;\n        }" ({ "{") (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" (identifier "uVar6") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00012de4;" (goto "goto") (statement_identifier "LAB_00012de4") (; ";")) (} "}"))) (expression_statement "uVar10 = *(ushort *)(piVar7 + 6);" (assignment_expression "uVar10 = *(ushort *)(piVar7 + 6)" (identifier "uVar10") (= "=") (pointer_expression "*(ushort *)(piVar7 + 6)" (* "*") (cast_expression "(ushort *)(piVar7 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 6)" (( "(") (binary_expression "piVar7 + 6" (identifier "piVar7") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (expression_statement "puVar4 = *(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "puVar4 = *(undefined4 **)(puVar14 + 0x134bc)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" (* "*") (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x134bc)" (( "(") (binary_expression "puVar14 + 0x134bc" (identifier "puVar14") (+ "+") (number_literal "0x134bc")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar10 < 0x1001)" (( "(") (binary_expression "uVar10 < 0x1001" (identifier "uVar10") (< "<") (number_literal "0x1001")) () ")")) (; ";")) (} "}")) (else_clause "else {\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" (else "else") (compound_statement "{\n      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);\n    }" ({ "{") (expression_statement "puVar4 = *(undefined4 **)(puVar14 + 0x134bc);" (assignment_expression "puVar4 = *(undefined4 **)(puVar14 + 0x134bc)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(puVar14 + 0x134bc)" (* "*") (cast_expression "(undefined4 **)(puVar14 + 0x134bc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x134bc)" (( "(") (binary_expression "puVar14 + 0x134bc" (identifier "puVar14") (+ "+") (number_literal "0x134bc")) () ")"))))) (; ";")) (} "}")))) (expression_statement "uVar9 = *puVar4;" (assignment_expression "uVar9 = *puVar4" (identifier "uVar9") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);" (assignment_expression "uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5)" (identifier "uVar8") (= "=") (call_expression "(**(code **)(puVar14 + 0x1344c))(0xfffffff5)" (parenthesized_expression "(**(code **)(puVar14 + 0x1344c))" (( "(") (pointer_expression "**(code **)(puVar14 + 0x1344c)" (* "*") (pointer_expression "*(code **)(puVar14 + 0x1344c)" (* "*") (cast_expression "(code **)(puVar14 + 0x1344c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x1344c)" (( "(") (binary_expression "puVar14 + 0x1344c" (identifier "puVar14") (+ "+") (number_literal "0x1344c")) () ")"))))) () ")")) (argument_list "(0xfffffff5)" (( "(") (number_literal "0xfffffff5") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);" (call_expression "(**(code **)(puVar14 + 0x13418))\n              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8)" (parenthesized_expression "(**(code **)(puVar14 + 0x13418))" (( "(") (pointer_expression "**(code **)(puVar14 + 0x13418)" (* "*") (pointer_expression "*(code **)(puVar14 + 0x13418)" (* "*") (cast_expression "(code **)(puVar14 + 0x13418)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x13418)" (( "(") (binary_expression "puVar14 + 0x13418" (identifier "puVar14") (+ "+") (number_literal "0x13418")) () ")"))))) () ")")) (argument_list "(uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8)" (( "(") (identifier "uVar9") (, ",") (number_literal "1") (, ",") (binary_expression "*(int *)(puVar14 + 0x13390) + 0x428c" (pointer_expression "*(int *)(puVar14 + 0x13390)" (* "*") (cast_expression "(int *)(puVar14 + 0x13390)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0x13390)" (( "(") (binary_expression "puVar14 + 0x13390" (identifier "puVar14") (+ "+") (number_literal "0x13390")) () ")")))) (+ "+") (number_literal "0x428c")) (, ",") (binary_expression "(int)piVar7 + 9" (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7")) (+ "+") (number_literal "9")) (, ",") (identifier "uVar10") (, ",") (identifier "uVar8") () ")"))) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (} "}"))) (labeled_statement "LAB_00012de4:\n  if (iStack_94 == *piVar12) {\n    return uVar6;\n  }" (statement_identifier "LAB_00012de4") (: ":") (if_statement "if (iStack_94 == *piVar12) {\n    return uVar6;\n  }" (if "if") (parenthesized_expression "(iStack_94 == *piVar12)" (( "(") (binary_expression "iStack_94 == *piVar12" (identifier "iStack_94") (== "==") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) () ")")) (compound_statement "{\n    return uVar6;\n  }" ({ "{") (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}")))) (expression_statement "pcVar15 = *(code **)(puVar14 + 0x134a0);" (assignment_expression "pcVar15 = *(code **)(puVar14 + 0x134a0)" (identifier "pcVar15") (= "=") (pointer_expression "*(code **)(puVar14 + 0x134a0)" (* "*") (cast_expression "(code **)(puVar14 + 0x134a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0x134a0)" (( "(") (binary_expression "puVar14 + 0x134a0" (identifier "puVar14") (+ "+") (number_literal "0x134a0")) () ")"))))) (; ";")) (expression_statement "iVar11 = iStack_94;" (assignment_expression "iVar11 = iStack_94" (identifier "iVar11") (= "=") (identifier "iStack_94")) (; ";")) (expression_statement "(*pcVar15)();" (call_expression "(*pcVar15)()" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar6 = *(uint *)(iVar11 + 0xc);" (assignment_expression "uVar6 = *(uint *)(iVar11 + 0xc)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(iVar11 + 0xc)" (* "*") (cast_expression "(uint *)(iVar11 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0" (pointer_expression "*(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c)" (* "*") (cast_expression "(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar11 + 0x1c) + 0x1c)" (( "(") (binary_expression "*(int *)(iVar11 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar11 + 0x1c)" (* "*") (cast_expression "(int *)(iVar11 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x1c)" (( "(") (binary_expression "iVar11 + 0x1c" (identifier "iVar11") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar6 < 7) {\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }" (if "if") (parenthesized_expression "(uVar6 < 7)" (( "(") (binary_expression "uVar6 < 7" (identifier "uVar6") (< "<") (number_literal "7")) () ")")) (compound_statement "{\n                    \n                    \n    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();\n    return uVar6;\n  }" ({ "{") (expression_statement "uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();" (assignment_expression "uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))()" (identifier "uVar6") (= "=") (call_expression "(*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))()" (parenthesized_expression "(*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))" (( "(") (pointer_expression "*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" (* "*") (parenthesized_expression "(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac)" (( "(") (binary_expression "pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac" (binary_expression "pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" (identifier "pcVar15") (+ "+") (pointer_expression "*(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" (* "*") (cast_expression "(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4)" (( "(") (binary_expression "*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4" (binary_expression "*(int *)(pcVar15 + 0x131e0) + 0x4fa0" (pointer_expression "*(int *)(pcVar15 + 0x131e0)" (* "*") (cast_expression "(int *)(pcVar15 + 0x131e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 0x131e0)" (( "(") (binary_expression "pcVar15 + 0x131e0" (identifier "pcVar15") (+ "+") (number_literal "0x131e0")) () ")")))) (+ "+") (number_literal "0x4fa0")) (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")"))))) (+ "+") (number_literal "0x1b1ac")) () ")"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}"))) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (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: (array_declarator declarator: (identifier) size: (number_literal))) (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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (pointer_expression argument: (identifier)) (number_literal)))) (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: (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (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: (compound_statement (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: (identifier) right: (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (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: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (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: (identifier))) (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: (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))) (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) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))))) (do_statement body: (compound_statement (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)))))))) (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))))) (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)) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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)))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator 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: (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 (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) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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 (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (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)))) (return_statement (identifier)))))

uint MASKED(int param_1,undefined *param_2,byte *param_3,byte *param_4)

{
  undefined1 uVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  int iVar5;
  uint uVar6;
  int *piVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  ushort uVar10;
  int iVar11;
  undefined4 unaff_s5;
  undefined *unaff_s6;
  int *piVar12;
  byte *pbVar13;
  undefined *puVar14;
  code *pcVar15;
  undefined1 auStack_1094 [4096];
  int iStack_94;
  undefined *puStack_90;
  byte *pbStack_8c;
  byte *pbStack_88;
  undefined *puStack_84;
  int iStack_80;
  undefined4 uStack_7c;
  undefined *puStack_78;
  code *pcStack_74;
  undefined *local_60;
  int local_58;
  int local_54;
  undefined4 local_50;
  int local_34;
  undefined4 local_30;
  uint local_2c;
  
  puVar3 = PTR___stack_chk_guard_00026178;
  puVar2 = PTR_stdout_0002610c;
  local_2c = *(uint *)PTR___stack_chk_guard_00026178;
  (*(code *)PTR_gettimeofday_00026170)(&local_34,0);
  local_58 = local_34 >> 0x1f;
  local_50 = local_30;
  local_54 = local_34;
  local_60 = param_2;
  (*(code *)PTR___fprintf_chk_000260dc)(*(undefined4 *)puVar2,1,PTR_00026054 + 0x4274,param_1 + 9);
  puVar14 = PTR_DAT_00026048;
  if (param_4 != (byte *)0x0) {
    param_4 = param_3 + (int)param_4;
    uVar8 = 3;
    unaff_s6 = PTR_00026054 + 0x509c;
    param_2 = PTR_DAT_00026048 + 0x6010;
    unaff_s5 = 3;
    uVar1 = unaff_s6[*param_3 & 0xf];
    param_1 = 4;
    PTR_DAT_00026048[0x6011] = unaff_s6[*param_3 >> 4];
    puVar14[0x6012] = uVar1;
    pbVar13 = param_3 + 1;
    while( true ) {
      (*(code *)PTR_fwrite_00026148)(param_2,uVar8,1,*(undefined4 *)puVar2);
      uVar6 = (int)(pbVar13 + 1) - (int)param_3 & 0xf;
      if (param_4 == pbVar13) break;
      uVar8 = 4;
      if (uVar6 != 0) {
        uVar8 = 3;
      }
      uVar1 = unaff_s6[*pbVar13 & 0xf];
      puVar14[0x6011] = unaff_s6[*pbVar13 >> 4];
      puVar14[0x6012] = uVar1;
      pbVar13 = pbVar13 + 1;
    }
    uVar8 = *(undefined4 *)puVar2;
    if (uVar6 == 1) goto LAB_00012c58;
    (*(code *)PTR_fputc_000260ec)(10,uVar8);
  }
  uVar8 = *(undefined4 *)puVar2;
LAB_00012c58:
  (*(code *)PTR_fputc_000260ec)(10,uVar8);
  piVar7 = *(int **)puVar2;
  (*(code *)PTR_fflush_00026184)();
  if (local_2c == *(uint *)puVar3) {
    return *(uint *)puVar3;
  }
  pcVar15 = FUN_00012cc4;
  puVar14 = PTR___stack_chk_fail_00026164;
  (*(code *)PTR___stack_chk_fail_00026164)();
  piVar12 = *(int **)(puVar14 + 0x134b4);
  puStack_90 = puVar2;
  iStack_94 = *piVar12;
  uVar6 = 1;
  pbStack_8c = param_4;
  pbStack_88 = param_3;
  puStack_84 = param_2;
  iStack_80 = param_1;
  uStack_7c = unaff_s5;
  puStack_78 = unaff_s6;
  pcStack_74 = pcVar15;
  if (piVar7 != (int *)0x0) {
    uVar10 = *(ushort *)(piVar7 + 6);
    if (uVar10 < 0x1001) {
      iVar11 = *(int *)(puVar14 + 0x13390);
      do {
        iVar5 = (**(code **)(puVar14 + 0x13420))
                          (*(undefined4 *)(piVar7[1] + 4),0x81,6,0x2200,*(undefined1 *)(piVar7 + 2),
                           auStack_1094,uVar10,1000);
        if (iVar5 < 0) {
          uVar9 = **(undefined4 **)(puVar14 + 0x134bc);
          uVar8 = (**(code **)(puVar14 + 0x1344c))(iVar5);
          (**(code **)(puVar14 + 0x13418))
                    (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x42c0,(int)piVar7 + 9,uVar8);
          uVar6 = 0;
          goto LAB_00012de4;
        }
        MASKED(piVar7,iVar11 + 0x42f0,auStack_1094,iVar5);
        piVar7 = (int *)*piVar7;
        if (piVar7 == (int *)0x0) {
          uVar6 = 1;
          goto LAB_00012de4;
        }
        uVar10 = *(ushort *)(piVar7 + 6);
        puVar4 = *(undefined4 **)(puVar14 + 0x134bc);
      } while (uVar10 < 0x1001);
    }
    else {
      puVar4 = *(undefined4 **)(puVar14 + 0x134bc);
    }
    uVar9 = *puVar4;
    uVar8 = (**(code **)(puVar14 + 0x1344c))(0xfffffff5);
    (**(code **)(puVar14 + 0x13418))
              (uVar9,1,*(int *)(puVar14 + 0x13390) + 0x428c,(int)piVar7 + 9,uVar10,uVar8);
    uVar6 = 0;
  }
LAB_00012de4:
  if (iStack_94 == *piVar12) {
    return uVar6;
  }
  pcVar15 = *(code **)(puVar14 + 0x134a0);
  iVar11 = iStack_94;
  (*pcVar15)();
  uVar6 = *(uint *)(iVar11 + 0xc);
  *(undefined1 *)(*(int *)(iVar11 + 0x1c) + 0x1c) = 0;
  if (uVar6 < 7) {
                    /* WARNING: Could not recover jumptable at 0x00012ec0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar6 = (*(pcVar15 + *(int *)(*(int *)(pcVar15 + 0x131e0) + 0x4fa0 + uVar6 * 4) + 0x1b1ac))();
    return uVar6;
  }
  return uVar6;
}

