
void logevent(void *frontend,char *string)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  uint *puVar4;
  int iVar5;
  uint *puVar6;
  termios *cf_00;
  uint uVar7;
  int iVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  char *pcVar12;
  undefined4 *puVar13;
  undefined *puVar14;
  FILE *pFStack_f8;
  uint auStack_ec [26];
  int iStack_84;
  char *pcStack_80;
  termios cf;
  
  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;
  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {
    premsg(&cf);
    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);
    if (cf_00 != (termios *)0x0) goto LAB_00082acc;
LAB_00082ae0:
    cf_00 = &cf;
    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {
      postmsg(cf_00);
    }
  }
  else {
    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);
    if (cf_00 != (termios *)0x0) {
LAB_00082acc:
      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);
      goto LAB_00082ae0;
    }
  }
  if (iVar1 == *(int *)PTR___stack_chk_guard_000b8ce8) {
    return;
  }
  puVar14 = PTR___stack_chk_fail_000b8cbc;
  (*(code *)PTR___stack_chk_fail_000b8cbc)();
  pcStack_80 = string;
  iStack_84 = **(int **)(puVar14 + 0x36184);
  if (*(int *)(cf_00->c_cc + 3) != 0) {
    uVar11 = 0;
    iVar1 = *(int *)(puVar14 + 0x357e4);
    do {
      (**(code **)(puVar14 + 0x357c8))
                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);
      uVar11 = uVar11 + 1;
    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));
    if ((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))
    goto LAB_00082f80;
  }
  iVar1 = (**(code **)(puVar14 + 0x360cc))(*(int *)(puVar14 + 0x357e4) + 0x3924,2);
  if (iVar1 < 0) {
    pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0);
    iVar1 = 0;
  }
  else {
    pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))
                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);
  }
  if ((cf_00->c_cflag == 0) || (pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0)) {
LAB_00082cb0:
    pcVar12 = (char *)cf_00->c_lflag;
  }
  else {
    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);
    console_prompt_text(pFStack_f8,pcVar12,iVar2);
    if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;
    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);
    pcVar12 = (char *)cf_00->c_lflag;
  }
  if (pcVar12 == (char *)0x0) {
LAB_00082d0c:
    iVar2 = *(int *)(cf_00->c_cc + 3);
  }
  else {
    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);
    console_prompt_text(pFStack_f8,pcVar12,iVar2);
    if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;
    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);
    iVar2 = *(int *)(cf_00->c_cc + 3);
  }
  uVar11 = 0;
  if (iVar2 == 0) {
    piVar3 = *(int **)(puVar14 + 0x361a0);
  }
  else {
    iVar2 = *(int *)(puVar14 + 0x357e4);
    do {
      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);
      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);
      puVar6 = auStack_ec + 0xd;
      puVar4 = auStack_ec;
      do {
        uVar10 = puVar4[1];
        uVar9 = puVar4[2];
        uVar7 = puVar4[3];
        *puVar6 = *puVar4;
        puVar6[1] = uVar10;
        puVar6[2] = uVar9;
        puVar6[3] = uVar7;
        puVar4 = puVar4 + 4;
        puVar6 = puVar6 + 4;
      } while (puVar4 != auStack_ec + 0xc);
      *puVar6 = *puVar4;
      if (puVar13[1] == 0) {
        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;
      }
      else {
        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;
      }
      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);
      pcVar12 = (char *)*puVar13;
      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);
      console_prompt_text(pFStack_f8,pcVar12,iVar5);
      iVar5 = 0;
      do {
        iVar8 = iVar5 * 5;
        if (iVar8 < 0) {
          iVar8 = iVar8 + 3;
        }
        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);
        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)
        ;
        iVar5 = iVar5 + iVar8;
        if (iVar8 < 1) {
          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);
          iVar5 = -1;
          if (puVar13[1] != 0) goto LAB_00082f58;
          goto LAB_0008301c;
        }
      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');
      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);
      iVar5 = iVar5 + -1;
      if (puVar13[1] == 0) {
LAB_0008301c:
        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);
      }
      uVar11 = uVar11 + 1;
      if (iVar5 < 0) {
LAB_00082f58:
        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {
          (**(code **)(puVar14 + 0x36038))(pFStack_f8);
        }
        goto LAB_00082f80;
      }
      *(undefined1 *)(puVar13[2] + iVar5) = 0;
      piVar3 = *(int **)(puVar14 + 0x361a0);
    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));
  }
  if ((FILE *)*piVar3 != pFStack_f8) {
    (**(code **)(puVar14 + 0x36038))(pFStack_f8);
  }
LAB_00082f80:
  if (iStack_84 != **(int **)(puVar14 + 0x36184)) {
    (**(code **)(puVar14 + 0x36158))();
    return;
  }
  return;
}



int logevent(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  int *piVar2;
  uint *puVar3;
  undefined4 uVar4;
  uint *puVar5;
  undefined1 *puVar6;
  uint uVar7;
  int iVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  int iVar12;
  undefined4 uVar13;
  int iVar14;
  undefined4 *puVar15;
  undefined *puVar16;
  int iStack_f8;
  uint auStack_ec [26];
  int iStack_84;
  undefined4 uStack_80;
  undefined1 auStack_40 [52];
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;
  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {
    premsg(auStack_40);
    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);
    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;
LAB_00082ae0:
    puVar6 = auStack_40;
    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {
      postmsg();
    }
  }
  else {
    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);
    if (puVar6 != (undefined1 *)0x0) {
LAB_00082acc:
      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);
      goto LAB_00082ae0;
    }
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {
    return *(int *)PTR___stack_chk_guard_000b8ce8;
  }
  puVar16 = PTR___stack_chk_fail_000b8cbc;
  (*(code *)PTR___stack_chk_fail_000b8cbc)();
  uStack_80 = param_2;
  iStack_84 = **(int **)(puVar16 + 0x36184);
  if (*(int *)(puVar6 + 0x14) != 0) {
    uVar11 = 0;
    iVar14 = *(int *)(puVar16 + 0x357e4);
    do {
      (**(code **)(puVar16 + 0x357c8))
                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);
      uVar11 = uVar11 + 1;
    } while (uVar11 < *(uint *)(puVar6 + 0x14));
    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))
    goto LAB_00082f80;
  }
  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);
  if (iVar14 < 0) {
    iStack_f8 = **(int **)(puVar16 + 0x361a0);
    iVar14 = 0;
  }
  else {
    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);
  }
  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {
LAB_00082cb0:
    iVar12 = *(int *)(puVar6 + 0xc);
  }
  else {
    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);
    FUN_00081d6c(iStack_f8,iVar12,iVar1);
    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;
    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);
    iVar12 = *(int *)(puVar6 + 0xc);
  }
  if (iVar12 == 0) {
LAB_00082d0c:
    iVar12 = *(int *)(puVar6 + 0x14);
  }
  else {
    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);
    FUN_00081d6c(iStack_f8,iVar12,iVar1);
    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;
    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);
    iVar12 = *(int *)(puVar6 + 0x14);
  }
  uVar11 = 0;
  if (iVar12 == 0) {
    piVar2 = *(int **)(puVar16 + 0x361a0);
  }
  else {
    iVar12 = *(int *)(puVar16 + 0x357e4);
    do {
      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);
      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);
      puVar5 = auStack_ec + 0xd;
      puVar3 = auStack_ec;
      do {
        uVar10 = puVar3[1];
        uVar9 = puVar3[2];
        uVar7 = puVar3[3];
        *puVar5 = *puVar3;
        puVar5[1] = uVar10;
        puVar5[2] = uVar9;
        puVar5[3] = uVar7;
        puVar3 = puVar3 + 4;
        puVar5 = puVar5 + 4;
      } while (puVar3 != auStack_ec + 0xc);
      *puVar5 = *puVar3;
      if (puVar15[1] == 0) {
        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;
      }
      else {
        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;
      }
      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);
      uVar13 = *puVar15;
      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);
      FUN_00081d6c(iStack_f8,uVar13,uVar4);
      iVar1 = 0;
      do {
        iVar8 = iVar1 * 5;
        if (iVar8 < 0) {
          iVar8 = iVar8 + 3;
        }
        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);
        iVar8 = (**(code **)(puVar16 + 0x361b4))
                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);
        iVar1 = iVar1 + iVar8;
        if (iVar8 < 1) {
          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);
          iVar1 = -1;
          if (puVar15[1] != 0) goto LAB_00082f58;
          goto LAB_0008301c;
        }
      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');
      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);
      iVar1 = iVar1 + -1;
      if (puVar15[1] == 0) {
LAB_0008301c:
        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);
      }
      uVar11 = uVar11 + 1;
      if (iVar1 < 0) {
LAB_00082f58:
        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {
          (**(code **)(puVar16 + 0x36038))(iStack_f8);
        }
        iVar14 = 0;
        goto LAB_00082f80;
      }
      *(undefined1 *)(puVar15[2] + iVar1) = 0;
      piVar2 = *(int **)(puVar16 + 0x361a0);
    } while (uVar11 < *(uint *)(puVar6 + 0x14));
  }
  if (*piVar2 == iStack_f8) {
    iVar14 = 1;
  }
  else {
    (**(code **)(puVar16 + 0x36038))(iStack_f8);
    iVar14 = 1;
  }
LAB_00082f80:
  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {
    iVar14 = (**(code **)(puVar16 + 0x36158))();
    return iVar14;
  }
  return iVar14;
}


lui gp,0x4
addiu gp,gp,-0x27ec
addu gp,gp,t9
addiu sp,sp,-0x58
sw ra,0x54(sp)
sw s0,0x50(sp)
sw gp,0x10(sp)
or s0,a1,zero
lw v0,-0x75a8(gp)
lw v0,0x0(v0)
sw v0,0x4c(sp)
lw v0,-0x7f3c(gp)
lw v0,0x0(v0)
andi v0,v0,0x3
li v1,0x3
beq v0,v1,0x00082b14
_lw v0,-0x7fd8(gp)
lw a0,-0x6b64(v0)
beq a0,zero,0x00082af4
_or a1,s0,zero
lw t9,-0x78c4(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,-0x7f3c(gp)
lw v0,0x0(v0)
andi v0,v0,0x3
li v1,0x3
beq v0,v1,0x00082b40
_addiu a0,sp,0x18
lw v1,0x4c(sp)
lw v0,-0x75a8(gp)
lw v0,0x0(v0)
bne v1,v0,0x00082b58
_lw ra,0x54(sp)
lw s0,0x50(sp)
jr ra
_addiu sp,sp,0x58
addiu a0,sp,0x18
lw t9,-0x78d0(gp)
bal 0x00081e94
_nop
lw gp,0x10(sp)
lw v0,-0x7fd8(gp)
lw a0,-0x6b64(v0)
bne a0,zero,0x00082acc
_or a1,s0,zero
b 0x00082ae0
_lw v0,-0x7f3c(gp)
lw t9,-0x78c8(gp)
bal 0x00081f04
_nop
lw gp,0x10(sp)
b 0x00082af4
_nop
lw t9,-0x75d4(gp)
jalr t9
_nop
(translation_unit "int logevent(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}\n\n" (function_definition "int logevent(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}" primitive_type (function_declarator "logevent(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iStack_f8;" primitive_type identifier ;) (declaration "uint auStack_ec [26];" type_identifier (array_declarator "auStack_ec [26]" identifier [ number_literal ]) ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "undefined4 uStack_80;" type_identifier identifier ;) (declaration "undefined1 auStack_40 [52];" type_identifier (array_declarator "auStack_40 [52]" identifier [ number_literal ]) ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000b8ce8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" if (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" ( (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" * (cast_expression "(uint *)PTR_flags_000b8354" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }" { (expression_statement "premsg(auStack_40);" (call_expression "premsg(auStack_40)" identifier (argument_list "(auStack_40)" ( identifier ))) ;) (expression_statement "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" identifier = (pointer_expression "*(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" * (cast_expression "(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" ( (binary_expression "PTR_DAT_000b82b8 + -0x6b64" identifier + number_literal) ))))) ;) (if_statement "if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;" if (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" ( (binary_expression "puVar6 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00082acc;" goto statement_identifier ;)) (labeled_statement "LAB_00082ae0:\n    puVar6 = auStack_40;" statement_identifier : (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" identifier = identifier) ;)) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }" if (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" ( (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" * (cast_expression "(uint *)PTR_flags_000b8354" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n      postmsg();\n    }" { (expression_statement "postmsg();" (call_expression "postmsg()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" else (compound_statement "{\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" { (expression_statement "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" identifier = (pointer_expression "*(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" * (cast_expression "(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" ( (binary_expression "PTR_DAT_000b82b8 + -0x6b64" identifier + number_literal) ))))) ;) (if_statement "if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }" if (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" ( (binary_expression "puVar6 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }" { (labeled_statement "LAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);" statement_identifier : (expression_statement "(*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);" (call_expression "(*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2)" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b89cc)" ( (pointer_expression "*(code *)PTR_log_eventlog_000b89cc" * (cast_expression "(code *)PTR_log_eventlog_000b89cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,param_2)" ( identifier , identifier ))) ;)) (goto_statement "goto LAB_00082ae0;" goto statement_identifier ;) })) }))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000b8ce8)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000b8ce8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }" { (return_statement "return *(int *)PTR___stack_chk_guard_000b8ce8;" return (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar16 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar16 = PTR___stack_chk_fail_000b8cbc" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" * (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = param_2;" (assignment_expression "uStack_80 = param_2" identifier = identifier) ;) (expression_statement "iStack_84 = **(int **)(puVar16 + 0x36184);" (assignment_expression "iStack_84 = **(int **)(puVar16 + 0x36184)" identifier = (pointer_expression "**(int **)(puVar16 + 0x36184)" * (pointer_expression "*(int **)(puVar16 + 0x36184)" * (cast_expression "(int **)(puVar16 + 0x36184)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36184)" ( (binary_expression "puVar16 + 0x36184" identifier + number_literal) )))))) ;) (if_statement "if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" if (parenthesized_expression "(*(int *)(puVar6 + 0x14) != 0)" ( (binary_expression "*(int *)(puVar6 + 0x14) != 0" (pointer_expression "*(int *)(puVar6 + 0x14)" * (cast_expression "(int *)(puVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar14 = *(int *)(puVar16 + 0x357e4);" (assignment_expression "iVar14 = *(int *)(puVar16 + 0x357e4)" identifier = (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) ))))) ;) (do_statement "do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));" do (compound_statement "{\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    }" { (expression_statement "(**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);" (call_expression "(**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14)" (parenthesized_expression "(**(code **)(puVar16 + 0x357c8))" ( (pointer_expression "**(code **)(puVar16 + 0x357c8)" * (pointer_expression "*(code **)(puVar16 + 0x357c8)" * (cast_expression "(code **)(puVar16 + 0x357c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x357c8)" ( (binary_expression "puVar16 + 0x357c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14)" ( (pointer_expression "*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" * (cast_expression "(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (binary_expression "*(int *)(puVar6 + 0x18) + uVar11 * 4" (pointer_expression "*(int *)(puVar6 + 0x18)" * (cast_expression "(int *)(puVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18)" ( (binary_expression "puVar6 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar11 * 4" identifier * number_literal)) )))) , (binary_expression "iVar14 + -0x6d14" identifier + number_literal) ))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 < *(uint *)(puVar6 + 0x14))" ( (binary_expression "uVar11 < *(uint *)(puVar6 + 0x14)" identifier < (pointer_expression "*(uint *)(puVar6 + 0x14)" * (cast_expression "(uint *)(puVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) )) ;) (if_statement "if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;" if (parenthesized_expression "((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))" ( (binary_expression "(*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0)" (parenthesized_expression "(*(uint *)(puVar6 + 0x14) != 0)" ( (binary_expression "*(uint *)(puVar6 + 0x14) != 0" (pointer_expression "*(uint *)(puVar6 + 0x14)" * (cast_expression "(uint *)(puVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0)" ( (comma_expression "iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0" (assignment_expression "iVar14 = 0" identifier = number_literal) , (binary_expression "**(int **)(puVar16 + 0x35e60) != 0" (pointer_expression "**(int **)(puVar16 + 0x35e60)" * (pointer_expression "*(int **)(puVar16 + 0x35e60)" * (cast_expression "(int **)(puVar16 + 0x35e60)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x35e60)" ( (binary_expression "puVar16 + 0x35e60" identifier + number_literal) ))))) != number_literal)) ))) )) (goto_statement "goto LAB_00082f80;" goto statement_identifier ;)) })) (expression_statement "iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);" (assignment_expression "iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" identifier = (call_expression "(**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" (parenthesized_expression "(**(code **)(puVar16 + 0x360cc))" ( (pointer_expression "**(code **)(puVar16 + 0x360cc)" * (pointer_expression "*(code **)(puVar16 + 0x360cc)" * (cast_expression "(code **)(puVar16 + 0x360cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360cc)" ( (binary_expression "puVar16 + 0x360cc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" ( (binary_expression "*(int *)(puVar16 + 0x357e4) + 0x3924" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (if_statement "if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" if (parenthesized_expression "(iVar14 < 0)" ( (binary_expression "iVar14 < 0" identifier < number_literal) )) (compound_statement "{\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }" { (expression_statement "iStack_f8 = **(int **)(puVar16 + 0x361a0);" (assignment_expression "iStack_f8 = **(int **)(puVar16 + 0x361a0)" identifier = (pointer_expression "**(int **)(puVar16 + 0x361a0)" * (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) )))))) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" else (compound_statement "{\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" { (expression_statement "iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);" (assignment_expression "iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" identifier = (call_expression "(**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" (parenthesized_expression "(**(code **)(puVar16 + 0x361cc))" ( (pointer_expression "**(code **)(puVar16 + 0x361cc)" * (pointer_expression "*(code **)(puVar16 + 0x361cc)" * (cast_expression "(code **)(puVar16 + 0x361cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361cc)" ( (binary_expression "puVar16 + 0x361cc" identifier + number_literal) ))))) )) (argument_list "(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x357e4) + 0x191c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) )))) ;) }))) (if_statement "if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" if (parenthesized_expression "((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0))" ( (binary_expression "(*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)" (parenthesized_expression "(*(int *)(puVar6 + 8) == 0)" ( (binary_expression "*(int *)(puVar6 + 8) == 0" (pointer_expression "*(int *)(puVar6 + 8)" * (cast_expression "(int *)(puVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 8)" ( (binary_expression "puVar6 + 8" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)" ( (comma_expression "iVar12 = *(int *)(puVar6 + 4), iVar12 == 0" (assignment_expression "iVar12 = *(int *)(puVar6 + 4)" identifier = (pointer_expression "*(int *)(puVar6 + 4)" * (cast_expression "(int *)(puVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) ))))) , (binary_expression "iVar12 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" { (labeled_statement "LAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);" statement_identifier : (expression_statement "iVar12 = *(int *)(puVar6 + 0xc);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0xc)" identifier = (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" else (compound_statement "{\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" { (expression_statement "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);" (assignment_expression "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12)" identifier = (call_expression "(**(code **)(puVar16 + 0x360dc))(iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" ( (pointer_expression "**(code **)(puVar16 + 0x360dc)" * (pointer_expression "*(code **)(puVar16 + 0x360dc)" * (cast_expression "(code **)(puVar16 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360dc)" ( (binary_expression "puVar16 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(iVar12)" ( identifier )))) ;) (expression_statement "FUN_00081d6c(iStack_f8,iVar12,iVar1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12,iVar1)" identifier (argument_list "(iStack_f8,iVar12,iVar1)" ( identifier , identifier , identifier ))) ;) (if_statement "if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;" if (parenthesized_expression "(*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n')" ( (binary_expression "*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n'" (pointer_expression "*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1)" * (cast_expression "(char *)(*(int *)(puVar6 + 4) + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 4) + iVar1 + -1)" ( (binary_expression "*(int *)(puVar6 + 4) + iVar1 + -1" (binary_expression "*(int *)(puVar6 + 4) + iVar1" (pointer_expression "*(int *)(puVar6 + 4)" * (cast_expression "(int *)(puVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) + identifier) + number_literal) )))) == (char_literal "'\n'" ' escape_sequence ')) )) (goto_statement "goto LAB_00082cb0;" goto statement_identifier ;)) (expression_statement "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" identifier (argument_list "(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) , number_literal ))) ;) (expression_statement "iVar12 = *(int *)(puVar6 + 0xc);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0xc)" identifier = (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" { (labeled_statement "LAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);" statement_identifier : (expression_statement "iVar12 = *(int *)(puVar6 + 0x14);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0x14)" identifier = (pointer_expression "*(int *)(puVar6 + 0x14)" * (cast_expression "(int *)(puVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" else (compound_statement "{\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" { (expression_statement "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);" (assignment_expression "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12)" identifier = (call_expression "(**(code **)(puVar16 + 0x360dc))(iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" ( (pointer_expression "**(code **)(puVar16 + 0x360dc)" * (pointer_expression "*(code **)(puVar16 + 0x360dc)" * (cast_expression "(code **)(puVar16 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360dc)" ( (binary_expression "puVar16 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(iVar12)" ( identifier )))) ;) (expression_statement "FUN_00081d6c(iStack_f8,iVar12,iVar1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12,iVar1)" identifier (argument_list "(iStack_f8,iVar12,iVar1)" ( identifier , identifier , identifier ))) ;) (if_statement "if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;" if (parenthesized_expression "(*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n')" ( (binary_expression "*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n'" (pointer_expression "*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1)" * (cast_expression "(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 0xc) + iVar1 + -1)" ( (binary_expression "*(int *)(puVar6 + 0xc) + iVar1 + -1" (binary_expression "*(int *)(puVar6 + 0xc) + iVar1" (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) )))) + identifier) + number_literal) )))) == (char_literal "'\n'" ' escape_sequence ')) )) (goto_statement "goto LAB_00082d0c;" goto statement_identifier ;)) (expression_statement "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" identifier (argument_list "(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) , number_literal ))) ;) (expression_statement "iVar12 = *(int *)(puVar6 + 0x14);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0x14)" identifier = (pointer_expression "*(int *)(puVar6 + 0x14)" * (cast_expression "(int *)(puVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) ;) }))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (if_statement "if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }" { (expression_statement "piVar2 = *(int **)(puVar16 + 0x361a0);" (assignment_expression "piVar2 = *(int **)(puVar16 + 0x361a0)" identifier = (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" else (compound_statement "{\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" { (expression_statement "iVar12 = *(int *)(puVar16 + 0x357e4);" (assignment_expression "iVar12 = *(int *)(puVar16 + 0x357e4)" identifier = (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) ))))) ;) (do_statement "do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));" do (compound_statement "{\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    }" { (expression_statement "puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);" (assignment_expression "puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" * (cast_expression "(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (binary_expression "*(int *)(puVar6 + 0x18) + uVar11 * 4" (pointer_expression "*(int *)(puVar6 + 0x18)" * (cast_expression "(int *)(puVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18)" ( (binary_expression "puVar6 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar11 * 4" identifier * number_literal)) ))))) ;) (expression_statement "(**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x35fec))" ( (pointer_expression "**(code **)(puVar16 + 0x35fec)" * (pointer_expression "*(code **)(puVar16 + 0x35fec)" * (cast_expression "(code **)(puVar16 + 0x35fec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x35fec)" ( (binary_expression "puVar16 + 0x35fec" identifier + number_literal) ))))) )) (argument_list "(iVar14,auStack_ec)" ( identifier , identifier ))) ;) (expression_statement "puVar5 = auStack_ec + 0xd;" (assignment_expression "puVar5 = auStack_ec + 0xd" identifier = (binary_expression "auStack_ec + 0xd" identifier + number_literal)) ;) (expression_statement "puVar3 = auStack_ec;" (assignment_expression "puVar3 = auStack_ec" identifier = identifier) ;) (do_statement "do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);" do (compound_statement "{\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      }" { (expression_statement "uVar10 = puVar3[1];" (assignment_expression "uVar10 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = puVar3[2];" (assignment_expression "uVar9 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar3[3];" (assignment_expression "uVar7 = puVar3[3]" identifier = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar5 = *puVar3;" (assignment_expression "*puVar5 = *puVar3" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar5[1] = uVar10;" (assignment_expression "puVar5[1] = uVar10" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = uVar9;" (assignment_expression "puVar5[2] = uVar9" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[3] = uVar7;" (assignment_expression "puVar5[3] = uVar7" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 4;" (assignment_expression "puVar5 = puVar5 + 4" identifier = (binary_expression "puVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != auStack_ec + 0xc)" ( (binary_expression "puVar3 != auStack_ec + 0xc" identifier != (binary_expression "auStack_ec + 0xc" identifier + number_literal)) )) ;) (expression_statement "*puVar5 = *puVar3;" (assignment_expression "*puVar5 = *puVar3" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" if (parenthesized_expression "(puVar15[1] == 0)" ( (binary_expression "puVar15[1] == 0" (subscript_expression "puVar15[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }" { (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) = (binary_expression "auStack_ec[0x10] & 0xfffffff7 | 3" (binary_expression "auStack_ec[0x10] & 0xfffffff7" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) }) (else_clause "else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" else (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" { (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] | 0xb;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) = (binary_expression "auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) | number_literal)) ;) }))) (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" ( (pointer_expression "**(code **)(puVar16 + 0x36120)" * (pointer_expression "*(code **)(puVar16 + 0x36120)" * (cast_expression "(code **)(puVar16 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36120)" ( (binary_expression "puVar16 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar14,&DAT_0000540e,auStack_ec + 0xd)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , (binary_expression "auStack_ec + 0xd" identifier + number_literal) ))) ;) (expression_statement "uVar13 = *puVar15;" (assignment_expression "uVar13 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);" (assignment_expression "uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13)" identifier = (call_expression "(**(code **)(puVar16 + 0x360dc))(uVar13)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" ( (pointer_expression "**(code **)(puVar16 + 0x360dc)" * (pointer_expression "*(code **)(puVar16 + 0x360dc)" * (cast_expression "(code **)(puVar16 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360dc)" ( (binary_expression "puVar16 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "FUN_00081d6c(iStack_f8,uVar13,uVar4);" (call_expression "FUN_00081d6c(iStack_f8,uVar13,uVar4)" identifier (argument_list "(iStack_f8,uVar13,uVar4)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');" do (compound_statement "{\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      }" { (expression_statement "iVar8 = iVar1 * 5;" (assignment_expression "iVar8 = iVar1 * 5" identifier = (binary_expression "iVar1 * 5" identifier * number_literal)) ;) (if_statement "if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar8 = iVar8 + 3;\n        }" { (expression_statement "iVar8 = iVar8 + 3;" (assignment_expression "iVar8 = iVar8 + 3" identifier = (binary_expression "iVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "(**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);" (call_expression "(**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200)" (parenthesized_expression "(**(code **)(puVar16 + 0x358d0))" ( (pointer_expression "**(code **)(puVar16 + 0x358d0)" * (pointer_expression "*(code **)(puVar16 + 0x358d0)" * (cast_expression "(code **)(puVar16 + 0x358d0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x358d0)" ( (binary_expression "puVar16 + 0x358d0" identifier + number_literal) ))))) )) (argument_list "(puVar15,(iVar8 >> 2) + 0x200)" ( identifier , (binary_expression "(iVar8 >> 2) + 0x200" (parenthesized_expression "(iVar8 >> 2)" ( (binary_expression "iVar8 >> 2" identifier >> number_literal) )) + number_literal) ))) ;) (expression_statement "iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);" (assignment_expression "iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" identifier = (call_expression "(**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" (parenthesized_expression "(**(code **)(puVar16 + 0x361b4))" ( (pointer_expression "**(code **)(puVar16 + 0x361b4)" * (pointer_expression "*(code **)(puVar16 + 0x361b4)" * (cast_expression "(code **)(puVar16 + 0x361b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361b4)" ( (binary_expression "puVar16 + 0x361b4" identifier + number_literal) ))))) )) (argument_list "(iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" ( identifier , (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" identifier [ number_literal ]) + identifier) , (binary_expression "(puVar15[3] + -1) - iVar1" (parenthesized_expression "(puVar15[3] + -1)" ( (binary_expression "puVar15[3] + -1" (subscript_expression "puVar15[3]" identifier [ number_literal ]) + number_literal) )) - identifier) )))) ;) (expression_statement "iVar1 = iVar1 + iVar8;" (assignment_expression "iVar1 = iVar1 + iVar8" identifier = (binary_expression "iVar1 + iVar8" identifier + identifier)) ;) (if_statement "if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" { (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" ( (pointer_expression "**(code **)(puVar16 + 0x36120)" * (pointer_expression "*(code **)(puVar16 + 0x36120)" * (cast_expression "(code **)(puVar16 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36120)" ( (binary_expression "puVar16 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar14,&DAT_0000540e,auStack_ec)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , identifier ))) ;) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) (if_statement "if (puVar15[1] != 0) goto LAB_00082f58;" if (parenthesized_expression "(puVar15[1] != 0)" ( (binary_expression "puVar15[1] != 0" (subscript_expression "puVar15[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00082f58;" goto statement_identifier ;)) (goto_statement "goto LAB_0008301c;" goto statement_identifier ;) })) }) while (parenthesized_expression "(*(char *)(puVar15[2] + iVar1 + -1) != '\n')" ( (binary_expression "*(char *)(puVar15[2] + iVar1 + -1) != '\n'" (pointer_expression "*(char *)(puVar15[2] + iVar1 + -1)" * (cast_expression "(char *)(puVar15[2] + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15[2] + iVar1 + -1)" ( (binary_expression "puVar15[2] + iVar1 + -1" (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" identifier [ number_literal ]) + identifier) + number_literal) )))) != (char_literal "'\n'" ' escape_sequence ')) )) ;) (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" ( (pointer_expression "**(code **)(puVar16 + 0x36120)" * (pointer_expression "*(code **)(puVar16 + 0x36120)" * (cast_expression "(code **)(puVar16 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36120)" ( (binary_expression "puVar16 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar14,&DAT_0000540e,auStack_ec)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (if_statement "if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }" if (parenthesized_expression "(puVar15[1] == 0)" ( (binary_expression "puVar15[1] == 0" (subscript_expression "puVar15[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }" { (labeled_statement "LAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);" statement_identifier : (expression_statement "FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1)" identifier (argument_list "(iStack_f8,iVar12 + -0x4a9c,1)" ( identifier , (binary_expression "iVar12 + -0x4a9c" identifier + number_literal) , number_literal ))) ;)) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }" { (labeled_statement "LAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" statement_identifier : (if_statement "if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" if (parenthesized_expression "(**(int **)(puVar16 + 0x361a0) != iStack_f8)" ( (binary_expression "**(int **)(puVar16 + 0x361a0) != iStack_f8" (pointer_expression "**(int **)(puVar16 + 0x361a0)" * (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) ))))) != identifier) )) (compound_statement "{\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" { (expression_statement "(**(code **)(puVar16 + 0x36038))(iStack_f8);" (call_expression "(**(code **)(puVar16 + 0x36038))(iStack_f8)" (parenthesized_expression "(**(code **)(puVar16 + 0x36038))" ( (pointer_expression "**(code **)(puVar16 + 0x36038)" * (pointer_expression "*(code **)(puVar16 + 0x36038)" * (cast_expression "(code **)(puVar16 + 0x36038)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36038)" ( (binary_expression "puVar16 + 0x36038" identifier + number_literal) ))))) )) (argument_list "(iStack_f8)" ( identifier ))) ;) }))) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00082f80;" goto statement_identifier ;) })) (expression_statement "*(undefined1 *)(puVar15[2] + iVar1) = 0;" (assignment_expression "*(undefined1 *)(puVar15[2] + iVar1) = 0" (pointer_expression "*(undefined1 *)(puVar15[2] + iVar1)" * (cast_expression "(undefined1 *)(puVar15[2] + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15[2] + iVar1)" ( (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (expression_statement "piVar2 = *(int **)(puVar16 + 0x361a0);" (assignment_expression "piVar2 = *(int **)(puVar16 + 0x361a0)" identifier = (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(uVar11 < *(uint *)(puVar6 + 0x14))" ( (binary_expression "uVar11 < *(uint *)(puVar6 + 0x14)" identifier < (pointer_expression "*(uint *)(puVar6 + 0x14)" * (cast_expression "(uint *)(puVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) )) ;) }))) (if_statement "if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" if (parenthesized_expression "(*piVar2 == iStack_f8)" ( (binary_expression "*piVar2 == iStack_f8" (pointer_expression "*piVar2" * identifier) == identifier) )) (compound_statement "{\n    iVar14 = 1;\n  }" { (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" else (compound_statement "{\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" { (expression_statement "(**(code **)(puVar16 + 0x36038))(iStack_f8);" (call_expression "(**(code **)(puVar16 + 0x36038))(iStack_f8)" (parenthesized_expression "(**(code **)(puVar16 + 0x36038))" ( (pointer_expression "**(code **)(puVar16 + 0x36038)" * (pointer_expression "*(code **)(puVar16 + 0x36038)" * (cast_expression "(code **)(puVar16 + 0x36038)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36038)" ( (binary_expression "puVar16 + 0x36038" identifier + number_literal) ))))) )) (argument_list "(iStack_f8)" ( identifier ))) ;) (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" identifier = number_literal) ;) }))) (labeled_statement "LAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" statement_identifier : (if_statement "if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" if (parenthesized_expression "(iStack_84 != **(int **)(puVar16 + 0x36184))" ( (binary_expression "iStack_84 != **(int **)(puVar16 + 0x36184)" identifier != (pointer_expression "**(int **)(puVar16 + 0x36184)" * (pointer_expression "*(int **)(puVar16 + 0x36184)" * (cast_expression "(int **)(puVar16 + 0x36184)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36184)" ( (binary_expression "puVar16 + 0x36184" identifier + number_literal) )))))) )) (compound_statement "{\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" { (expression_statement "iVar14 = (**(code **)(puVar16 + 0x36158))();" (assignment_expression "iVar14 = (**(code **)(puVar16 + 0x36158))()" identifier = (call_expression "(**(code **)(puVar16 + 0x36158))()" (parenthesized_expression "(**(code **)(puVar16 + 0x36158))" ( (pointer_expression "**(code **)(puVar16 + 0x36158)" * (pointer_expression "*(code **)(puVar16 + 0x36158)" * (cast_expression "(code **)(puVar16 + 0x36158)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36158)" ( (binary_expression "puVar16 + 0x36158" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar14;" return identifier ;) }))) (return_statement "return iVar14;" return identifier ;) })))
(translation_unit "void logevent(void *frontend,char *string)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  termios *cf_00;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  char *pcVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  FILE *pFStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  char *pcStack_80;\n  termios cf;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(&cf);\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    cf_00 = &cf;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg(cf_00);\n    }\n  }\n  else {\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return;\n  }\n  puVar14 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  pcStack_80 = string;\n  iStack_84 = **(int **)(puVar14 + 0x36184);\n  if (*(int *)(cf_00->c_cc + 3) != 0) {\n    uVar11 = 0;\n    iVar1 = *(int *)(puVar14 + 0x357e4);\n    do {\n      (**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n    if ((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar1 = (**(code **)(puVar14 + 0x360cc))(*(int *)(puVar14 + 0x357e4) + 0x3924,2);\n  if (iVar1 < 0) {\n    pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0);\n    iVar1 = 0;\n  }\n  else {\n    pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);\n  }\n  if ((cf_00->c_cflag == 0) || (pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0)) {\nLAB_00082cb0:\n    pcVar12 = (char *)cf_00->c_lflag;\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    pcVar12 = (char *)cf_00->c_lflag;\n  }\n  if (pcVar12 == (char *)0x0) {\nLAB_00082d0c:\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }\n  uVar11 = 0;\n  if (iVar2 == 0) {\n    piVar3 = *(int **)(puVar14 + 0x361a0);\n  }\n  else {\n    iVar2 = *(int *)(puVar14 + 0x357e4);\n    do {\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n  }\n  if ((FILE *)*piVar3 != pFStack_f8) {\n    (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar14 + 0x36184)) {\n    (**(code **)(puVar14 + 0x36158))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void logevent(void *frontend,char *string)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  termios *cf_00;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  char *pcVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  FILE *pFStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  char *pcStack_80;\n  termios cf;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(&cf);\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    cf_00 = &cf;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg(cf_00);\n    }\n  }\n  else {\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return;\n  }\n  puVar14 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  pcStack_80 = string;\n  iStack_84 = **(int **)(puVar14 + 0x36184);\n  if (*(int *)(cf_00->c_cc + 3) != 0) {\n    uVar11 = 0;\n    iVar1 = *(int *)(puVar14 + 0x357e4);\n    do {\n      (**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n    if ((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar1 = (**(code **)(puVar14 + 0x360cc))(*(int *)(puVar14 + 0x357e4) + 0x3924,2);\n  if (iVar1 < 0) {\n    pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0);\n    iVar1 = 0;\n  }\n  else {\n    pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);\n  }\n  if ((cf_00->c_cflag == 0) || (pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0)) {\nLAB_00082cb0:\n    pcVar12 = (char *)cf_00->c_lflag;\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    pcVar12 = (char *)cf_00->c_lflag;\n  }\n  if (pcVar12 == (char *)0x0) {\nLAB_00082d0c:\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }\n  uVar11 = 0;\n  if (iVar2 == 0) {\n    piVar3 = *(int **)(puVar14 + 0x361a0);\n  }\n  else {\n    iVar2 = *(int *)(puVar14 + 0x357e4);\n    do {\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n  }\n  if ((FILE *)*piVar3 != pFStack_f8) {\n    (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar14 + 0x36184)) {\n    (**(code **)(puVar14 + 0x36158))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "logevent(void *frontend,char *string)" identifier (parameter_list "(void *frontend,char *string)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  termios *cf_00;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  char *pcVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  FILE *pFStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  char *pcStack_80;\n  termios cf;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(&cf);\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    cf_00 = &cf;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg(cf_00);\n    }\n  }\n  else {\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return;\n  }\n  puVar14 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  pcStack_80 = string;\n  iStack_84 = **(int **)(puVar14 + 0x36184);\n  if (*(int *)(cf_00->c_cc + 3) != 0) {\n    uVar11 = 0;\n    iVar1 = *(int *)(puVar14 + 0x357e4);\n    do {\n      (**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n    if ((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar1 = (**(code **)(puVar14 + 0x360cc))(*(int *)(puVar14 + 0x357e4) + 0x3924,2);\n  if (iVar1 < 0) {\n    pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0);\n    iVar1 = 0;\n  }\n  else {\n    pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);\n  }\n  if ((cf_00->c_cflag == 0) || (pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0)) {\nLAB_00082cb0:\n    pcVar12 = (char *)cf_00->c_lflag;\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    pcVar12 = (char *)cf_00->c_lflag;\n  }\n  if (pcVar12 == (char *)0x0) {\nLAB_00082d0c:\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }\n  uVar11 = 0;\n  if (iVar2 == 0) {\n    piVar3 = *(int **)(puVar14 + 0x361a0);\n  }\n  else {\n    iVar2 = *(int *)(puVar14 + 0x357e4);\n    do {\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n  }\n  if ((FILE *)*piVar3 != pFStack_f8) {\n    (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar14 + 0x36184)) {\n    (**(code **)(puVar14 + 0x36158))();\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "termios *cf_00;" type_identifier (pointer_declarator "*cf_00" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "FILE *pFStack_f8;" type_identifier (pointer_declarator "*pFStack_f8" * identifier) ;) (declaration "uint auStack_ec [26];" type_identifier (array_declarator "auStack_ec [26]" identifier [ number_literal ]) ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "char *pcStack_80;" primitive_type (pointer_declarator "*pcStack_80" * identifier) ;) (declaration "termios cf;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b8ce8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(&cf);\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    cf_00 = &cf;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg(cf_00);\n    }\n  }\n  else {\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }\n  }" if (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" ( (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" * (cast_expression "(uint *)PTR_flags_000b8354" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    premsg(&cf);\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    cf_00 = &cf;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg(cf_00);\n    }\n  }" { (expression_statement "premsg(&cf);" (call_expression "premsg(&cf)" identifier (argument_list "(&cf)" ( (pointer_expression "&cf" & identifier) ))) ;) (expression_statement "cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64)" identifier = (pointer_expression "*(termios **)(PTR_DAT_000b82b8 + -0x6b64)" * (cast_expression "(termios **)(PTR_DAT_000b82b8 + -0x6b64)" ( (type_descriptor "termios **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" ( (binary_expression "PTR_DAT_000b82b8 + -0x6b64" identifier + number_literal) ))))) ;) (if_statement "if (cf_00 != (termios *)0x0) goto LAB_00082acc;" if (parenthesized_expression "(cf_00 != (termios *)0x0)" ( (binary_expression "cf_00 != (termios *)0x0" identifier != (cast_expression "(termios *)0x0" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00082acc;" goto statement_identifier ;)) (labeled_statement "LAB_00082ae0:\n    cf_00 = &cf;" statement_identifier : (expression_statement "cf_00 = &cf;" (assignment_expression "cf_00 = &cf" identifier = (pointer_expression "&cf" & identifier)) ;)) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg(cf_00);\n    }" if (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" ( (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" * (cast_expression "(uint *)PTR_flags_000b8354" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n      postmsg(cf_00);\n    }" { (expression_statement "postmsg(cf_00);" (call_expression "postmsg(cf_00)" identifier (argument_list "(cf_00)" ( identifier ))) ;) })) }) (else_clause "else {\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }\n  }" else (compound_statement "{\n    cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (cf_00 != (termios *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }\n  }" { (expression_statement "cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "cf_00 = *(termios **)(PTR_DAT_000b82b8 + -0x6b64)" identifier = (pointer_expression "*(termios **)(PTR_DAT_000b82b8 + -0x6b64)" * (cast_expression "(termios **)(PTR_DAT_000b82b8 + -0x6b64)" ( (type_descriptor "termios **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" ( (binary_expression "PTR_DAT_000b82b8 + -0x6b64" identifier + number_literal) ))))) ;) (if_statement "if (cf_00 != (termios *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }" if (parenthesized_expression "(cf_00 != (termios *)0x0)" ( (binary_expression "cf_00 != (termios *)0x0" identifier != (cast_expression "(termios *)0x0" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);\n      goto LAB_00082ae0;\n    }" { (labeled_statement "LAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);" statement_identifier : (expression_statement "(*(code *)PTR_log_eventlog_000b89cc)(cf_00,string);" (call_expression "(*(code *)PTR_log_eventlog_000b89cc)(cf_00,string)" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b89cc)" ( (pointer_expression "*(code *)PTR_log_eventlog_000b89cc" * (cast_expression "(code *)PTR_log_eventlog_000b89cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cf_00,string)" ( identifier , identifier ))) ;)) (goto_statement "goto LAB_00082ae0;" goto statement_identifier ;) })) }))) (if_statement "if (iVar1 == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)PTR___stack_chk_guard_000b8ce8)" ( (binary_expression "iVar1 == *(int *)PTR___stack_chk_guard_000b8ce8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar14 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar14 = PTR___stack_chk_fail_000b8cbc" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" * (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_80 = string;" (assignment_expression "pcStack_80 = string" identifier = identifier) ;) (expression_statement "iStack_84 = **(int **)(puVar14 + 0x36184);" (assignment_expression "iStack_84 = **(int **)(puVar14 + 0x36184)" identifier = (pointer_expression "**(int **)(puVar14 + 0x36184)" * (pointer_expression "*(int **)(puVar14 + 0x36184)" * (cast_expression "(int **)(puVar14 + 0x36184)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36184)" ( (binary_expression "puVar14 + 0x36184" identifier + number_literal) )))))) ;) (if_statement "if (*(int *)(cf_00->c_cc + 3) != 0) {\n    uVar11 = 0;\n    iVar1 = *(int *)(puVar14 + 0x357e4);\n    do {\n      (**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n    if ((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" if (parenthesized_expression "(*(int *)(cf_00->c_cc + 3) != 0)" ( (binary_expression "*(int *)(cf_00->c_cc + 3) != 0" (pointer_expression "*(int *)(cf_00->c_cc + 3)" * (cast_expression "(int *)(cf_00->c_cc + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 3)" ( (binary_expression "cf_00->c_cc + 3" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar11 = 0;\n    iVar1 = *(int *)(puVar14 + 0x357e4);\n    do {\n      (**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n    if ((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(puVar14 + 0x357e4);" (assignment_expression "iVar1 = *(int *)(puVar14 + 0x357e4)" identifier = (pointer_expression "*(int *)(puVar14 + 0x357e4)" * (cast_expression "(int *)(puVar14 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x357e4)" ( (binary_expression "puVar14 + 0x357e4" identifier + number_literal) ))))) ;) (do_statement "do {\n      (**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));" do (compound_statement "{\n      (**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    }" { (expression_statement "(**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14);" (call_expression "(**(code **)(puVar14 + 0x357c8))\n                (*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14)" (parenthesized_expression "(**(code **)(puVar14 + 0x357c8))" ( (pointer_expression "**(code **)(puVar14 + 0x357c8)" * (pointer_expression "*(code **)(puVar14 + 0x357c8)" * (cast_expression "(code **)(puVar14 + 0x357c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x357c8)" ( (binary_expression "puVar14 + 0x357c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4),iVar1 + -0x6d14)" ( (pointer_expression "*(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4)" * (cast_expression "(undefined4 *)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(cf_00->c_cc + 7) + uVar11 * 4)" ( (binary_expression "*(int *)(cf_00->c_cc + 7) + uVar11 * 4" (pointer_expression "*(int *)(cf_00->c_cc + 7)" * (cast_expression "(int *)(cf_00->c_cc + 7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 7)" ( (binary_expression "cf_00->c_cc + 7" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) )))) + (binary_expression "uVar11 * 4" identifier * number_literal)) )))) , (binary_expression "iVar1 + -0x6d14" identifier + number_literal) ))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 < *(uint *)(cf_00->c_cc + 3))" ( (binary_expression "uVar11 < *(uint *)(cf_00->c_cc + 3)" identifier < (pointer_expression "*(uint *)(cf_00->c_cc + 3)" * (cast_expression "(uint *)(cf_00->c_cc + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 3)" ( (binary_expression "cf_00->c_cc + 3" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) ))))) )) ;) (if_statement "if ((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))\n    goto LAB_00082f80;" if (parenthesized_expression "((*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0))" ( (binary_expression "(*(uint *)(cf_00->c_cc + 3) != 0) && (**(int **)(puVar14 + 0x35e60) != 0)" (parenthesized_expression "(*(uint *)(cf_00->c_cc + 3) != 0)" ( (binary_expression "*(uint *)(cf_00->c_cc + 3) != 0" (pointer_expression "*(uint *)(cf_00->c_cc + 3)" * (cast_expression "(uint *)(cf_00->c_cc + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 3)" ( (binary_expression "cf_00->c_cc + 3" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(**(int **)(puVar14 + 0x35e60) != 0)" ( (binary_expression "**(int **)(puVar14 + 0x35e60) != 0" (pointer_expression "**(int **)(puVar14 + 0x35e60)" * (pointer_expression "*(int **)(puVar14 + 0x35e60)" * (cast_expression "(int **)(puVar14 + 0x35e60)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x35e60)" ( (binary_expression "puVar14 + 0x35e60" identifier + number_literal) ))))) != number_literal) ))) )) (goto_statement "goto LAB_00082f80;" goto statement_identifier ;)) })) (expression_statement "iVar1 = (**(code **)(puVar14 + 0x360cc))(*(int *)(puVar14 + 0x357e4) + 0x3924,2);" (assignment_expression "iVar1 = (**(code **)(puVar14 + 0x360cc))(*(int *)(puVar14 + 0x357e4) + 0x3924,2)" identifier = (call_expression "(**(code **)(puVar14 + 0x360cc))(*(int *)(puVar14 + 0x357e4) + 0x3924,2)" (parenthesized_expression "(**(code **)(puVar14 + 0x360cc))" ( (pointer_expression "**(code **)(puVar14 + 0x360cc)" * (pointer_expression "*(code **)(puVar14 + 0x360cc)" * (cast_expression "(code **)(puVar14 + 0x360cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x360cc)" ( (binary_expression "puVar14 + 0x360cc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar14 + 0x357e4) + 0x3924,2)" ( (binary_expression "*(int *)(puVar14 + 0x357e4) + 0x3924" (pointer_expression "*(int *)(puVar14 + 0x357e4)" * (cast_expression "(int *)(puVar14 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x357e4)" ( (binary_expression "puVar14 + 0x357e4" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 < 0) {\n    pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0);\n    iVar1 = 0;\n  }\n  else {\n    pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0);\n    iVar1 = 0;\n  }" { (expression_statement "pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0);" (assignment_expression "pFStack_f8 = (FILE *)**(undefined4 **)(puVar14 + 0x361a0)" identifier = (cast_expression "(FILE *)**(undefined4 **)(puVar14 + 0x361a0)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar14 + 0x361a0)" * (pointer_expression "*(undefined4 **)(puVar14 + 0x361a0)" * (cast_expression "(undefined4 **)(puVar14 + 0x361a0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x361a0)" ( (binary_expression "puVar14 + 0x361a0" identifier + number_literal) ))))))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);\n  }" else (compound_statement "{\n    pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);\n  }" { (expression_statement "pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c);" (assignment_expression "pFStack_f8 = (FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c)" identifier = (cast_expression "(FILE *)(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar14 + 0x361cc))\n                                   (iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c)" (parenthesized_expression "(**(code **)(puVar14 + 0x361cc))" ( (pointer_expression "**(code **)(puVar14 + 0x361cc)" * (pointer_expression "*(code **)(puVar14 + 0x361cc)" * (cast_expression "(code **)(puVar14 + 0x361cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x361cc)" ( (binary_expression "puVar14 + 0x361cc" identifier + number_literal) ))))) )) (argument_list "(iVar1,*(int *)(puVar14 + 0x357e4) + 0x191c)" ( identifier , (binary_expression "*(int *)(puVar14 + 0x357e4) + 0x191c" (pointer_expression "*(int *)(puVar14 + 0x357e4)" * (cast_expression "(int *)(puVar14 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x357e4)" ( (binary_expression "puVar14 + 0x357e4" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (if_statement "if ((cf_00->c_cflag == 0) || (pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0)) {\nLAB_00082cb0:\n    pcVar12 = (char *)cf_00->c_lflag;\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    pcVar12 = (char *)cf_00->c_lflag;\n  }" if (parenthesized_expression "((cf_00->c_cflag == 0) || (pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0))" ( (binary_expression "(cf_00->c_cflag == 0) || (pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0)" (parenthesized_expression "(cf_00->c_cflag == 0)" ( (binary_expression "cf_00->c_cflag == 0" (field_expression "cf_00->c_cflag" identifier -> field_identifier) == number_literal) )) || (parenthesized_expression "(pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0)" ( (comma_expression "pcVar12 = (char *)cf_00->c_oflag, pcVar12 == (char *)0x0" (assignment_expression "pcVar12 = (char *)cf_00->c_oflag" identifier = (cast_expression "(char *)cf_00->c_oflag" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "cf_00->c_oflag" identifier -> field_identifier))) , (binary_expression "pcVar12 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_00082cb0:\n    pcVar12 = (char *)cf_00->c_lflag;\n  }" { (labeled_statement "LAB_00082cb0:\n    pcVar12 = (char *)cf_00->c_lflag;" statement_identifier : (expression_statement "pcVar12 = (char *)cf_00->c_lflag;" (assignment_expression "pcVar12 = (char *)cf_00->c_lflag" identifier = (cast_expression "(char *)cf_00->c_lflag" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "cf_00->c_lflag" identifier -> field_identifier))) ;)) }) (else_clause "else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    pcVar12 = (char *)cf_00->c_lflag;\n  }" else (compound_statement "{\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    pcVar12 = (char *)cf_00->c_lflag;\n  }" { (expression_statement "iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);" (assignment_expression "iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12)" identifier = (call_expression "(**(code **)(puVar14 + 0x360dc))(pcVar12)" (parenthesized_expression "(**(code **)(puVar14 + 0x360dc))" ( (pointer_expression "**(code **)(puVar14 + 0x360dc)" * (pointer_expression "*(code **)(puVar14 + 0x360dc)" * (cast_expression "(code **)(puVar14 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x360dc)" ( (binary_expression "puVar14 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(pcVar12)" ( identifier )))) ;) (expression_statement "console_prompt_text(pFStack_f8,pcVar12,iVar2);" (call_expression "console_prompt_text(pFStack_f8,pcVar12,iVar2)" identifier (argument_list "(pFStack_f8,pcVar12,iVar2)" ( identifier , identifier , identifier ))) ;) (if_statement "if (*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n') goto LAB_00082cb0;" if (parenthesized_expression "(*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n')" ( (binary_expression "*(char *)(cf_00->c_oflag + iVar2 + -1) == '\n'" (pointer_expression "*(char *)(cf_00->c_oflag + iVar2 + -1)" * (cast_expression "(char *)(cf_00->c_oflag + iVar2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_oflag + iVar2 + -1)" ( (binary_expression "cf_00->c_oflag + iVar2 + -1" (binary_expression "cf_00->c_oflag + iVar2" (field_expression "cf_00->c_oflag" identifier -> field_identifier) + identifier) + number_literal) )))) == (char_literal "'\n'" ' escape_sequence ')) )) (goto_statement "goto LAB_00082cb0;" goto statement_identifier ;)) (expression_statement "console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);" (call_expression "console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1)" identifier (argument_list "(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1)" ( identifier , (cast_expression "(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0x357e4) + -0x4a9c)" ( (binary_expression "*(int *)(puVar14 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar14 + 0x357e4)" * (cast_expression "(int *)(puVar14 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x357e4)" ( (binary_expression "puVar14 + 0x357e4" identifier + number_literal) )))) + number_literal) ))) , number_literal ))) ;) (expression_statement "pcVar12 = (char *)cf_00->c_lflag;" (assignment_expression "pcVar12 = (char *)cf_00->c_lflag" identifier = (cast_expression "(char *)cf_00->c_lflag" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "cf_00->c_lflag" identifier -> field_identifier))) ;) }))) (if_statement "if (pcVar12 == (char *)0x0) {\nLAB_00082d0c:\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }\n  else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }" if (parenthesized_expression "(pcVar12 == (char *)0x0)" ( (binary_expression "pcVar12 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00082d0c:\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }" { (labeled_statement "LAB_00082d0c:\n    iVar2 = *(int *)(cf_00->c_cc + 3);" statement_identifier : (expression_statement "iVar2 = *(int *)(cf_00->c_cc + 3);" (assignment_expression "iVar2 = *(int *)(cf_00->c_cc + 3)" identifier = (pointer_expression "*(int *)(cf_00->c_cc + 3)" * (cast_expression "(int *)(cf_00->c_cc + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 3)" ( (binary_expression "cf_00->c_cc + 3" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) ))))) ;)) }) (else_clause "else {\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }" else (compound_statement "{\n    iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n    console_prompt_text(pFStack_f8,pcVar12,iVar2);\n    if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;\n    console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);\n    iVar2 = *(int *)(cf_00->c_cc + 3);\n  }" { (expression_statement "iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12);" (assignment_expression "iVar2 = (**(code **)(puVar14 + 0x360dc))(pcVar12)" identifier = (call_expression "(**(code **)(puVar14 + 0x360dc))(pcVar12)" (parenthesized_expression "(**(code **)(puVar14 + 0x360dc))" ( (pointer_expression "**(code **)(puVar14 + 0x360dc)" * (pointer_expression "*(code **)(puVar14 + 0x360dc)" * (cast_expression "(code **)(puVar14 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x360dc)" ( (binary_expression "puVar14 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(pcVar12)" ( identifier )))) ;) (expression_statement "console_prompt_text(pFStack_f8,pcVar12,iVar2);" (call_expression "console_prompt_text(pFStack_f8,pcVar12,iVar2)" identifier (argument_list "(pFStack_f8,pcVar12,iVar2)" ( identifier , identifier , identifier ))) ;) (if_statement "if (*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n') goto LAB_00082d0c;" if (parenthesized_expression "(*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n')" ( (binary_expression "*(char *)(cf_00->c_lflag + iVar2 + -1) == '\n'" (pointer_expression "*(char *)(cf_00->c_lflag + iVar2 + -1)" * (cast_expression "(char *)(cf_00->c_lflag + iVar2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_lflag + iVar2 + -1)" ( (binary_expression "cf_00->c_lflag + iVar2 + -1" (binary_expression "cf_00->c_lflag + iVar2" (field_expression "cf_00->c_lflag" identifier -> field_identifier) + identifier) + number_literal) )))) == (char_literal "'\n'" ' escape_sequence ')) )) (goto_statement "goto LAB_00082d0c;" goto statement_identifier ;)) (expression_statement "console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1);" (call_expression "console_prompt_text(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1)" identifier (argument_list "(pFStack_f8,(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c),1)" ( identifier , (cast_expression "(char *)(*(int *)(puVar14 + 0x357e4) + -0x4a9c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0x357e4) + -0x4a9c)" ( (binary_expression "*(int *)(puVar14 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar14 + 0x357e4)" * (cast_expression "(int *)(puVar14 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x357e4)" ( (binary_expression "puVar14 + 0x357e4" identifier + number_literal) )))) + number_literal) ))) , number_literal ))) ;) (expression_statement "iVar2 = *(int *)(cf_00->c_cc + 3);" (assignment_expression "iVar2 = *(int *)(cf_00->c_cc + 3)" identifier = (pointer_expression "*(int *)(cf_00->c_cc + 3)" * (cast_expression "(int *)(cf_00->c_cc + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 3)" ( (binary_expression "cf_00->c_cc + 3" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) ))))) ;) }))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (if_statement "if (iVar2 == 0) {\n    piVar3 = *(int **)(puVar14 + 0x361a0);\n  }\n  else {\n    iVar2 = *(int *)(puVar14 + 0x357e4);\n    do {\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar3 = *(int **)(puVar14 + 0x361a0);\n  }" { (expression_statement "piVar3 = *(int **)(puVar14 + 0x361a0);" (assignment_expression "piVar3 = *(int **)(puVar14 + 0x361a0)" identifier = (pointer_expression "*(int **)(puVar14 + 0x361a0)" * (cast_expression "(int **)(puVar14 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x361a0)" ( (binary_expression "puVar14 + 0x361a0" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar2 = *(int *)(puVar14 + 0x357e4);\n    do {\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n  }" else (compound_statement "{\n    iVar2 = *(int *)(puVar14 + 0x357e4);\n    do {\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));\n  }" { (expression_statement "iVar2 = *(int *)(puVar14 + 0x357e4);" (assignment_expression "iVar2 = *(int *)(puVar14 + 0x357e4)" identifier = (pointer_expression "*(int *)(puVar14 + 0x357e4)" * (cast_expression "(int *)(puVar14 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x357e4)" ( (binary_expression "puVar14 + 0x357e4" identifier + number_literal) ))))) ;) (do_statement "do {\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    } while (uVar11 < *(uint *)(cf_00->c_cc + 3));" do (compound_statement "{\n      puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);\n      (**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);\n      puVar6 = auStack_ec + 0xd;\n      puVar4 = auStack_ec;\n      do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);\n      *puVar6 = *puVar4;\n      if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);\n      pcVar12 = (char *)*puVar13;\n      iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);\n      console_prompt_text(pFStack_f8,pcVar12,iVar5);\n      iVar5 = 0;\n      do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');\n      (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n      iVar5 = iVar5 + -1;\n      if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar13[2] + iVar5) = 0;\n      piVar3 = *(int **)(puVar14 + 0x361a0);\n    }" { (expression_statement "puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4);" (assignment_expression "puVar13 = *(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4)" * (cast_expression "(undefined4 **)(*(int *)(cf_00->c_cc + 7) + uVar11 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(cf_00->c_cc + 7) + uVar11 * 4)" ( (binary_expression "*(int *)(cf_00->c_cc + 7) + uVar11 * 4" (pointer_expression "*(int *)(cf_00->c_cc + 7)" * (cast_expression "(int *)(cf_00->c_cc + 7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 7)" ( (binary_expression "cf_00->c_cc + 7" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) )))) + (binary_expression "uVar11 * 4" identifier * number_literal)) ))))) ;) (expression_statement "(**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec);" (call_expression "(**(code **)(puVar14 + 0x35fec))(iVar1,auStack_ec)" (parenthesized_expression "(**(code **)(puVar14 + 0x35fec))" ( (pointer_expression "**(code **)(puVar14 + 0x35fec)" * (pointer_expression "*(code **)(puVar14 + 0x35fec)" * (cast_expression "(code **)(puVar14 + 0x35fec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x35fec)" ( (binary_expression "puVar14 + 0x35fec" identifier + number_literal) ))))) )) (argument_list "(iVar1,auStack_ec)" ( identifier , identifier ))) ;) (expression_statement "puVar6 = auStack_ec + 0xd;" (assignment_expression "puVar6 = auStack_ec + 0xd" identifier = (binary_expression "auStack_ec + 0xd" identifier + number_literal)) ;) (expression_statement "puVar4 = auStack_ec;" (assignment_expression "puVar4 = auStack_ec" identifier = identifier) ;) (do_statement "do {\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      } while (puVar4 != auStack_ec + 0xc);" do (compound_statement "{\n        uVar10 = puVar4[1];\n        uVar9 = puVar4[2];\n        uVar7 = puVar4[3];\n        *puVar6 = *puVar4;\n        puVar6[1] = uVar10;\n        puVar6[2] = uVar9;\n        puVar6[3] = uVar7;\n        puVar4 = puVar4 + 4;\n        puVar6 = puVar6 + 4;\n      }" { (expression_statement "uVar10 = puVar4[1];" (assignment_expression "uVar10 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = puVar4[2];" (assignment_expression "uVar9 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar4[3];" (assignment_expression "uVar7 = puVar4[3]" identifier = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar6 = *puVar4;" (assignment_expression "*puVar6 = *puVar4" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar6[1] = uVar10;" (assignment_expression "puVar6[1] = uVar10" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = uVar9;" (assignment_expression "puVar6[2] = uVar9" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[3] = uVar7;" (assignment_expression "puVar6[3] = uVar7" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar6 + 4;" (assignment_expression "puVar6 = puVar6 + 4" identifier = (binary_expression "puVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != auStack_ec + 0xc)" ( (binary_expression "puVar4 != auStack_ec + 0xc" identifier != (binary_expression "auStack_ec + 0xc" identifier + number_literal)) )) ;) (expression_statement "*puVar6 = *puVar4;" (assignment_expression "*puVar6 = *puVar4" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (puVar13[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" if (parenthesized_expression "(puVar13[1] == 0)" ( (binary_expression "puVar13[1] == 0" (subscript_expression "puVar13[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }" { (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) = (binary_expression "auStack_ec[0x10] & 0xfffffff7 | 3" (binary_expression "auStack_ec[0x10] & 0xfffffff7" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) }) (else_clause "else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" else (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" { (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] | 0xb;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) = (binary_expression "auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) | number_literal)) ;) }))) (expression_statement "(**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd);" (call_expression "(**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec + 0xd)" (parenthesized_expression "(**(code **)(puVar14 + 0x36120))" ( (pointer_expression "**(code **)(puVar14 + 0x36120)" * (pointer_expression "*(code **)(puVar14 + 0x36120)" * (cast_expression "(code **)(puVar14 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36120)" ( (binary_expression "puVar14 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar1,&DAT_0000540e,auStack_ec + 0xd)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , (binary_expression "auStack_ec + 0xd" identifier + number_literal) ))) ;) (expression_statement "pcVar12 = (char *)*puVar13;" (assignment_expression "pcVar12 = (char *)*puVar13" identifier = (cast_expression "(char *)*puVar13" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ;) (expression_statement "iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12);" (assignment_expression "iVar5 = (**(code **)(puVar14 + 0x360dc))(pcVar12)" identifier = (call_expression "(**(code **)(puVar14 + 0x360dc))(pcVar12)" (parenthesized_expression "(**(code **)(puVar14 + 0x360dc))" ( (pointer_expression "**(code **)(puVar14 + 0x360dc)" * (pointer_expression "*(code **)(puVar14 + 0x360dc)" * (cast_expression "(code **)(puVar14 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x360dc)" ( (binary_expression "puVar14 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(pcVar12)" ( identifier )))) ;) (expression_statement "console_prompt_text(pFStack_f8,pcVar12,iVar5);" (call_expression "console_prompt_text(pFStack_f8,pcVar12,iVar5)" identifier (argument_list "(pFStack_f8,pcVar12,iVar5)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar13[2] + iVar5 + -1) != '\n');" do (compound_statement "{\n        iVar8 = iVar5 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;\n        iVar5 = iVar5 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      }" { (expression_statement "iVar8 = iVar5 * 5;" (assignment_expression "iVar8 = iVar5 * 5" identifier = (binary_expression "iVar5 * 5" identifier * number_literal)) ;) (if_statement "if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar8 = iVar8 + 3;\n        }" { (expression_statement "iVar8 = iVar8 + 3;" (assignment_expression "iVar8 = iVar8 + 3" identifier = (binary_expression "iVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "(**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200);" (call_expression "(**(code **)(puVar14 + 0x358d0))(puVar13,(iVar8 >> 2) + 0x200)" (parenthesized_expression "(**(code **)(puVar14 + 0x358d0))" ( (pointer_expression "**(code **)(puVar14 + 0x358d0)" * (pointer_expression "*(code **)(puVar14 + 0x358d0)" * (cast_expression "(code **)(puVar14 + 0x358d0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x358d0)" ( (binary_expression "puVar14 + 0x358d0" identifier + number_literal) ))))) )) (argument_list "(puVar13,(iVar8 >> 2) + 0x200)" ( identifier , (binary_expression "(iVar8 >> 2) + 0x200" (parenthesized_expression "(iVar8 >> 2)" ( (binary_expression "iVar8 >> 2" identifier >> number_literal) )) + number_literal) ))) ;) (expression_statement "iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)\n        ;" (assignment_expression "iVar8 = (**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)" identifier = (call_expression "(**(code **)(puVar14 + 0x361b4))(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)" (parenthesized_expression "(**(code **)(puVar14 + 0x361b4))" ( (pointer_expression "**(code **)(puVar14 + 0x361b4)" * (pointer_expression "*(code **)(puVar14 + 0x361b4)" * (cast_expression "(code **)(puVar14 + 0x361b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x361b4)" ( (binary_expression "puVar14 + 0x361b4" identifier + number_literal) ))))) )) (argument_list "(iVar1,puVar13[2] + iVar5,(puVar13[3] + -1) - iVar5)" ( identifier , (binary_expression "puVar13[2] + iVar5" (subscript_expression "puVar13[2]" identifier [ number_literal ]) + identifier) , (binary_expression "(puVar13[3] + -1) - iVar5" (parenthesized_expression "(puVar13[3] + -1)" ( (binary_expression "puVar13[3] + -1" (subscript_expression "puVar13[3]" identifier [ number_literal ]) + number_literal) )) - identifier) )))) ;) (expression_statement "iVar5 = iVar5 + iVar8;" (assignment_expression "iVar5 = iVar5 + iVar8" identifier = (binary_expression "iVar5 + iVar8" identifier + identifier)) ;) (if_statement "if (iVar8 < 1) {\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);\n          iVar5 = -1;\n          if (puVar13[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" { (expression_statement "(**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar14 + 0x36120))" ( (pointer_expression "**(code **)(puVar14 + 0x36120)" * (pointer_expression "*(code **)(puVar14 + 0x36120)" * (cast_expression "(code **)(puVar14 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36120)" ( (binary_expression "puVar14 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar1,&DAT_0000540e,auStack_ec)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , identifier ))) ;) (expression_statement "iVar5 = -1;" (assignment_expression "iVar5 = -1" identifier = number_literal) ;) (if_statement "if (puVar13[1] != 0) goto LAB_00082f58;" if (parenthesized_expression "(puVar13[1] != 0)" ( (binary_expression "puVar13[1] != 0" (subscript_expression "puVar13[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00082f58;" goto statement_identifier ;)) (goto_statement "goto LAB_0008301c;" goto statement_identifier ;) })) }) while (parenthesized_expression "(*(char *)(puVar13[2] + iVar5 + -1) != '\n')" ( (binary_expression "*(char *)(puVar13[2] + iVar5 + -1) != '\n'" (pointer_expression "*(char *)(puVar13[2] + iVar5 + -1)" * (cast_expression "(char *)(puVar13[2] + iVar5 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13[2] + iVar5 + -1)" ( (binary_expression "puVar13[2] + iVar5 + -1" (binary_expression "puVar13[2] + iVar5" (subscript_expression "puVar13[2]" identifier [ number_literal ]) + identifier) + number_literal) )))) != (char_literal "'\n'" ' escape_sequence ')) )) ;) (expression_statement "(**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar14 + 0x36120))(iVar1,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar14 + 0x36120))" ( (pointer_expression "**(code **)(puVar14 + 0x36120)" * (pointer_expression "*(code **)(puVar14 + 0x36120)" * (cast_expression "(code **)(puVar14 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36120)" ( (binary_expression "puVar14 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar1,&DAT_0000540e,auStack_ec)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , identifier ))) ;) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (if_statement "if (puVar13[1] == 0) {\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }" if (parenthesized_expression "(puVar13[1] == 0)" ( (binary_expression "puVar13[1] == 0" (subscript_expression "puVar13[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);\n      }" { (labeled_statement "LAB_0008301c:\n        console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);" statement_identifier : (expression_statement "console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1);" (call_expression "console_prompt_text(pFStack_f8,(char *)(iVar2 + -0x4a9c),1)" identifier (argument_list "(pFStack_f8,(char *)(iVar2 + -0x4a9c),1)" ( identifier , (cast_expression "(char *)(iVar2 + -0x4a9c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0x4a9c)" ( (binary_expression "iVar2 + -0x4a9c" identifier + number_literal) ))) , number_literal ))) ;)) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 < 0) {\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }\n        goto LAB_00082f80;\n      }" { (labeled_statement "LAB_00082f58:\n        if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }" statement_identifier : (if_statement "if ((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8) {\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }" if (parenthesized_expression "((FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8)" ( (binary_expression "(FILE *)**(int **)(puVar14 + 0x361a0) != pFStack_f8" (cast_expression "(FILE *)**(int **)(puVar14 + 0x361a0)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(puVar14 + 0x361a0)" * (pointer_expression "*(int **)(puVar14 + 0x361a0)" * (cast_expression "(int **)(puVar14 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x361a0)" ( (binary_expression "puVar14 + 0x361a0" identifier + number_literal) )))))) != identifier) )) (compound_statement "{\n          (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n        }" { (expression_statement "(**(code **)(puVar14 + 0x36038))(pFStack_f8);" (call_expression "(**(code **)(puVar14 + 0x36038))(pFStack_f8)" (parenthesized_expression "(**(code **)(puVar14 + 0x36038))" ( (pointer_expression "**(code **)(puVar14 + 0x36038)" * (pointer_expression "*(code **)(puVar14 + 0x36038)" * (cast_expression "(code **)(puVar14 + 0x36038)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36038)" ( (binary_expression "puVar14 + 0x36038" identifier + number_literal) ))))) )) (argument_list "(pFStack_f8)" ( identifier ))) ;) }))) (goto_statement "goto LAB_00082f80;" goto statement_identifier ;) })) (expression_statement "*(undefined1 *)(puVar13[2] + iVar5) = 0;" (assignment_expression "*(undefined1 *)(puVar13[2] + iVar5) = 0" (pointer_expression "*(undefined1 *)(puVar13[2] + iVar5)" * (cast_expression "(undefined1 *)(puVar13[2] + iVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13[2] + iVar5)" ( (binary_expression "puVar13[2] + iVar5" (subscript_expression "puVar13[2]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (expression_statement "piVar3 = *(int **)(puVar14 + 0x361a0);" (assignment_expression "piVar3 = *(int **)(puVar14 + 0x361a0)" identifier = (pointer_expression "*(int **)(puVar14 + 0x361a0)" * (cast_expression "(int **)(puVar14 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x361a0)" ( (binary_expression "puVar14 + 0x361a0" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(uVar11 < *(uint *)(cf_00->c_cc + 3))" ( (binary_expression "uVar11 < *(uint *)(cf_00->c_cc + 3)" identifier < (pointer_expression "*(uint *)(cf_00->c_cc + 3)" * (cast_expression "(uint *)(cf_00->c_cc + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(cf_00->c_cc + 3)" ( (binary_expression "cf_00->c_cc + 3" (field_expression "cf_00->c_cc" identifier -> field_identifier) + number_literal) ))))) )) ;) }))) (if_statement "if ((FILE *)*piVar3 != pFStack_f8) {\n    (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n  }" if (parenthesized_expression "((FILE *)*piVar3 != pFStack_f8)" ( (binary_expression "(FILE *)*piVar3 != pFStack_f8" (cast_expression "(FILE *)*piVar3" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier)) != identifier) )) (compound_statement "{\n    (**(code **)(puVar14 + 0x36038))(pFStack_f8);\n  }" { (expression_statement "(**(code **)(puVar14 + 0x36038))(pFStack_f8);" (call_expression "(**(code **)(puVar14 + 0x36038))(pFStack_f8)" (parenthesized_expression "(**(code **)(puVar14 + 0x36038))" ( (pointer_expression "**(code **)(puVar14 + 0x36038)" * (pointer_expression "*(code **)(puVar14 + 0x36038)" * (cast_expression "(code **)(puVar14 + 0x36038)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36038)" ( (binary_expression "puVar14 + 0x36038" identifier + number_literal) ))))) )) (argument_list "(pFStack_f8)" ( identifier ))) ;) })) (labeled_statement "LAB_00082f80:\n  if (iStack_84 != **(int **)(puVar14 + 0x36184)) {\n    (**(code **)(puVar14 + 0x36158))();\n    return;\n  }" statement_identifier : (if_statement "if (iStack_84 != **(int **)(puVar14 + 0x36184)) {\n    (**(code **)(puVar14 + 0x36158))();\n    return;\n  }" if (parenthesized_expression "(iStack_84 != **(int **)(puVar14 + 0x36184))" ( (binary_expression "iStack_84 != **(int **)(puVar14 + 0x36184)" identifier != (pointer_expression "**(int **)(puVar14 + 0x36184)" * (pointer_expression "*(int **)(puVar14 + 0x36184)" * (cast_expression "(int **)(puVar14 + 0x36184)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36184)" ( (binary_expression "puVar14 + 0x36184" identifier + number_literal) )))))) )) (compound_statement "{\n    (**(code **)(puVar14 + 0x36158))();\n    return;\n  }" { (expression_statement "(**(code **)(puVar14 + 0x36158))();" (call_expression "(**(code **)(puVar14 + 0x36158))()" (parenthesized_expression "(**(code **)(puVar14 + 0x36158))" ( (pointer_expression "**(code **)(puVar14 + 0x36158)" * (pointer_expression "*(code **)(puVar14 + 0x36158)" * (cast_expression "(code **)(puVar14 + 0x36158)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x36158)" ( (binary_expression "puVar14 + 0x36158" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit "int logevent(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}\n\n" (function_definition "int logevent(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}" primitive_type (function_declarator "logevent(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iStack_f8;" primitive_type identifier ;) (declaration "uint auStack_ec [26];" type_identifier (array_declarator "auStack_ec [26]" identifier [ number_literal ]) ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "undefined4 uStack_80;" type_identifier identifier ;) (declaration "undefined1 auStack_40 [52];" type_identifier (array_declarator "auStack_40 [52]" identifier [ number_literal ]) ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000b8ce8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" if (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" ( (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" * (cast_expression "(uint *)PTR_flags_000b8354" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }" { (expression_statement "premsg(auStack_40);" (call_expression "premsg(auStack_40)" identifier (argument_list "(auStack_40)" ( identifier ))) ;) (expression_statement "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" identifier = (pointer_expression "*(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" * (cast_expression "(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" ( (binary_expression "PTR_DAT_000b82b8 + -0x6b64" identifier + number_literal) ))))) ;) (if_statement "if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;" if (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" ( (binary_expression "puVar6 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00082acc;" goto statement_identifier ;)) (labeled_statement "LAB_00082ae0:\n    puVar6 = auStack_40;" statement_identifier : (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" identifier = identifier) ;)) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }" if (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" ( (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" ( (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" * (cast_expression "(uint *)PTR_flags_000b8354" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n      postmsg();\n    }" { (expression_statement "postmsg();" (call_expression "postmsg()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" else (compound_statement "{\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" { (expression_statement "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" identifier = (pointer_expression "*(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" * (cast_expression "(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" ( (binary_expression "PTR_DAT_000b82b8 + -0x6b64" identifier + number_literal) ))))) ;) (if_statement "if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }" if (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" ( (binary_expression "puVar6 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }" { (labeled_statement "LAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);" statement_identifier : (expression_statement "(*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);" (call_expression "(*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2)" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b89cc)" ( (pointer_expression "*(code *)PTR_log_eventlog_000b89cc" * (cast_expression "(code *)PTR_log_eventlog_000b89cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,param_2)" ( identifier , identifier ))) ;)) (goto_statement "goto LAB_00082ae0;" goto statement_identifier ;) })) }))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000b8ce8)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000b8ce8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }" { (return_statement "return *(int *)PTR___stack_chk_guard_000b8ce8;" return (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" * (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar16 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar16 = PTR___stack_chk_fail_000b8cbc" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" * (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = param_2;" (assignment_expression "uStack_80 = param_2" identifier = identifier) ;) (expression_statement "iStack_84 = **(int **)(puVar16 + 0x36184);" (assignment_expression "iStack_84 = **(int **)(puVar16 + 0x36184)" identifier = (pointer_expression "**(int **)(puVar16 + 0x36184)" * (pointer_expression "*(int **)(puVar16 + 0x36184)" * (cast_expression "(int **)(puVar16 + 0x36184)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36184)" ( (binary_expression "puVar16 + 0x36184" identifier + number_literal) )))))) ;) (if_statement "if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" if (parenthesized_expression "(*(int *)(puVar6 + 0x14) != 0)" ( (binary_expression "*(int *)(puVar6 + 0x14) != 0" (pointer_expression "*(int *)(puVar6 + 0x14)" * (cast_expression "(int *)(puVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar14 = *(int *)(puVar16 + 0x357e4);" (assignment_expression "iVar14 = *(int *)(puVar16 + 0x357e4)" identifier = (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) ))))) ;) (do_statement "do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));" do (compound_statement "{\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    }" { (expression_statement "(**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);" (call_expression "(**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14)" (parenthesized_expression "(**(code **)(puVar16 + 0x357c8))" ( (pointer_expression "**(code **)(puVar16 + 0x357c8)" * (pointer_expression "*(code **)(puVar16 + 0x357c8)" * (cast_expression "(code **)(puVar16 + 0x357c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x357c8)" ( (binary_expression "puVar16 + 0x357c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14)" ( (pointer_expression "*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" * (cast_expression "(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (binary_expression "*(int *)(puVar6 + 0x18) + uVar11 * 4" (pointer_expression "*(int *)(puVar6 + 0x18)" * (cast_expression "(int *)(puVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18)" ( (binary_expression "puVar6 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar11 * 4" identifier * number_literal)) )))) , (binary_expression "iVar14 + -0x6d14" identifier + number_literal) ))) ;) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 < *(uint *)(puVar6 + 0x14))" ( (binary_expression "uVar11 < *(uint *)(puVar6 + 0x14)" identifier < (pointer_expression "*(uint *)(puVar6 + 0x14)" * (cast_expression "(uint *)(puVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) )) ;) (if_statement "if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;" if (parenthesized_expression "((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))" ( (binary_expression "(*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0)" (parenthesized_expression "(*(uint *)(puVar6 + 0x14) != 0)" ( (binary_expression "*(uint *)(puVar6 + 0x14) != 0" (pointer_expression "*(uint *)(puVar6 + 0x14)" * (cast_expression "(uint *)(puVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0)" ( (comma_expression "iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0" (assignment_expression "iVar14 = 0" identifier = number_literal) , (binary_expression "**(int **)(puVar16 + 0x35e60) != 0" (pointer_expression "**(int **)(puVar16 + 0x35e60)" * (pointer_expression "*(int **)(puVar16 + 0x35e60)" * (cast_expression "(int **)(puVar16 + 0x35e60)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x35e60)" ( (binary_expression "puVar16 + 0x35e60" identifier + number_literal) ))))) != number_literal)) ))) )) (goto_statement "goto LAB_00082f80;" goto statement_identifier ;)) })) (expression_statement "iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);" (assignment_expression "iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" identifier = (call_expression "(**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" (parenthesized_expression "(**(code **)(puVar16 + 0x360cc))" ( (pointer_expression "**(code **)(puVar16 + 0x360cc)" * (pointer_expression "*(code **)(puVar16 + 0x360cc)" * (cast_expression "(code **)(puVar16 + 0x360cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360cc)" ( (binary_expression "puVar16 + 0x360cc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" ( (binary_expression "*(int *)(puVar16 + 0x357e4) + 0x3924" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (if_statement "if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" if (parenthesized_expression "(iVar14 < 0)" ( (binary_expression "iVar14 < 0" identifier < number_literal) )) (compound_statement "{\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }" { (expression_statement "iStack_f8 = **(int **)(puVar16 + 0x361a0);" (assignment_expression "iStack_f8 = **(int **)(puVar16 + 0x361a0)" identifier = (pointer_expression "**(int **)(puVar16 + 0x361a0)" * (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) )))))) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" else (compound_statement "{\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" { (expression_statement "iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);" (assignment_expression "iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" identifier = (call_expression "(**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" (parenthesized_expression "(**(code **)(puVar16 + 0x361cc))" ( (pointer_expression "**(code **)(puVar16 + 0x361cc)" * (pointer_expression "*(code **)(puVar16 + 0x361cc)" * (cast_expression "(code **)(puVar16 + 0x361cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361cc)" ( (binary_expression "puVar16 + 0x361cc" identifier + number_literal) ))))) )) (argument_list "(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x357e4) + 0x191c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) )))) ;) }))) (if_statement "if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" if (parenthesized_expression "((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0))" ( (binary_expression "(*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)" (parenthesized_expression "(*(int *)(puVar6 + 8) == 0)" ( (binary_expression "*(int *)(puVar6 + 8) == 0" (pointer_expression "*(int *)(puVar6 + 8)" * (cast_expression "(int *)(puVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 8)" ( (binary_expression "puVar6 + 8" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)" ( (comma_expression "iVar12 = *(int *)(puVar6 + 4), iVar12 == 0" (assignment_expression "iVar12 = *(int *)(puVar6 + 4)" identifier = (pointer_expression "*(int *)(puVar6 + 4)" * (cast_expression "(int *)(puVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) ))))) , (binary_expression "iVar12 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" { (labeled_statement "LAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);" statement_identifier : (expression_statement "iVar12 = *(int *)(puVar6 + 0xc);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0xc)" identifier = (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" else (compound_statement "{\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" { (expression_statement "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);" (assignment_expression "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12)" identifier = (call_expression "(**(code **)(puVar16 + 0x360dc))(iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" ( (pointer_expression "**(code **)(puVar16 + 0x360dc)" * (pointer_expression "*(code **)(puVar16 + 0x360dc)" * (cast_expression "(code **)(puVar16 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360dc)" ( (binary_expression "puVar16 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(iVar12)" ( identifier )))) ;) (expression_statement "FUN_00081d6c(iStack_f8,iVar12,iVar1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12,iVar1)" identifier (argument_list "(iStack_f8,iVar12,iVar1)" ( identifier , identifier , identifier ))) ;) (if_statement "if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;" if (parenthesized_expression "(*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n')" ( (binary_expression "*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n'" (pointer_expression "*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1)" * (cast_expression "(char *)(*(int *)(puVar6 + 4) + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 4) + iVar1 + -1)" ( (binary_expression "*(int *)(puVar6 + 4) + iVar1 + -1" (binary_expression "*(int *)(puVar6 + 4) + iVar1" (pointer_expression "*(int *)(puVar6 + 4)" * (cast_expression "(int *)(puVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) + identifier) + number_literal) )))) == (char_literal "'\n'" ' escape_sequence ')) )) (goto_statement "goto LAB_00082cb0;" goto statement_identifier ;)) (expression_statement "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" identifier (argument_list "(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) , number_literal ))) ;) (expression_statement "iVar12 = *(int *)(puVar6 + 0xc);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0xc)" identifier = (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" { (labeled_statement "LAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);" statement_identifier : (expression_statement "iVar12 = *(int *)(puVar6 + 0x14);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0x14)" identifier = (pointer_expression "*(int *)(puVar6 + 0x14)" * (cast_expression "(int *)(puVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" else (compound_statement "{\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" { (expression_statement "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);" (assignment_expression "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12)" identifier = (call_expression "(**(code **)(puVar16 + 0x360dc))(iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" ( (pointer_expression "**(code **)(puVar16 + 0x360dc)" * (pointer_expression "*(code **)(puVar16 + 0x360dc)" * (cast_expression "(code **)(puVar16 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360dc)" ( (binary_expression "puVar16 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(iVar12)" ( identifier )))) ;) (expression_statement "FUN_00081d6c(iStack_f8,iVar12,iVar1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12,iVar1)" identifier (argument_list "(iStack_f8,iVar12,iVar1)" ( identifier , identifier , identifier ))) ;) (if_statement "if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;" if (parenthesized_expression "(*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n')" ( (binary_expression "*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n'" (pointer_expression "*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1)" * (cast_expression "(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 0xc) + iVar1 + -1)" ( (binary_expression "*(int *)(puVar6 + 0xc) + iVar1 + -1" (binary_expression "*(int *)(puVar6 + 0xc) + iVar1" (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) )))) + identifier) + number_literal) )))) == (char_literal "'\n'" ' escape_sequence ')) )) (goto_statement "goto LAB_00082d0c;" goto statement_identifier ;)) (expression_statement "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" identifier (argument_list "(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" ( identifier , (binary_expression "*(int *)(puVar16 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) )))) + number_literal) , number_literal ))) ;) (expression_statement "iVar12 = *(int *)(puVar6 + 0x14);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0x14)" identifier = (pointer_expression "*(int *)(puVar6 + 0x14)" * (cast_expression "(int *)(puVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) ;) }))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (if_statement "if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }" { (expression_statement "piVar2 = *(int **)(puVar16 + 0x361a0);" (assignment_expression "piVar2 = *(int **)(puVar16 + 0x361a0)" identifier = (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" else (compound_statement "{\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" { (expression_statement "iVar12 = *(int *)(puVar16 + 0x357e4);" (assignment_expression "iVar12 = *(int *)(puVar16 + 0x357e4)" identifier = (pointer_expression "*(int *)(puVar16 + 0x357e4)" * (cast_expression "(int *)(puVar16 + 0x357e4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x357e4)" ( (binary_expression "puVar16 + 0x357e4" identifier + number_literal) ))))) ;) (do_statement "do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));" do (compound_statement "{\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    }" { (expression_statement "puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);" (assignment_expression "puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" * (cast_expression "(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar6 + 0x18) + uVar11 * 4)" ( (binary_expression "*(int *)(puVar6 + 0x18) + uVar11 * 4" (pointer_expression "*(int *)(puVar6 + 0x18)" * (cast_expression "(int *)(puVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18)" ( (binary_expression "puVar6 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar11 * 4" identifier * number_literal)) ))))) ;) (expression_statement "(**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x35fec))" ( (pointer_expression "**(code **)(puVar16 + 0x35fec)" * (pointer_expression "*(code **)(puVar16 + 0x35fec)" * (cast_expression "(code **)(puVar16 + 0x35fec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x35fec)" ( (binary_expression "puVar16 + 0x35fec" identifier + number_literal) ))))) )) (argument_list "(iVar14,auStack_ec)" ( identifier , identifier ))) ;) (expression_statement "puVar5 = auStack_ec + 0xd;" (assignment_expression "puVar5 = auStack_ec + 0xd" identifier = (binary_expression "auStack_ec + 0xd" identifier + number_literal)) ;) (expression_statement "puVar3 = auStack_ec;" (assignment_expression "puVar3 = auStack_ec" identifier = identifier) ;) (do_statement "do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);" do (compound_statement "{\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      }" { (expression_statement "uVar10 = puVar3[1];" (assignment_expression "uVar10 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = puVar3[2];" (assignment_expression "uVar9 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar3[3];" (assignment_expression "uVar7 = puVar3[3]" identifier = (subscript_expression "puVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar5 = *puVar3;" (assignment_expression "*puVar5 = *puVar3" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar5[1] = uVar10;" (assignment_expression "puVar5[1] = uVar10" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = uVar9;" (assignment_expression "puVar5[2] = uVar9" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[3] = uVar7;" (assignment_expression "puVar5[3] = uVar7" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 4;" (assignment_expression "puVar5 = puVar5 + 4" identifier = (binary_expression "puVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != auStack_ec + 0xc)" ( (binary_expression "puVar3 != auStack_ec + 0xc" identifier != (binary_expression "auStack_ec + 0xc" identifier + number_literal)) )) ;) (expression_statement "*puVar5 = *puVar3;" (assignment_expression "*puVar5 = *puVar3" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (if_statement "if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" if (parenthesized_expression "(puVar15[1] == 0)" ( (binary_expression "puVar15[1] == 0" (subscript_expression "puVar15[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }" { (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) = (binary_expression "auStack_ec[0x10] & 0xfffffff7 | 3" (binary_expression "auStack_ec[0x10] & 0xfffffff7" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) }) (else_clause "else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" else (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" { (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] | 0xb;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) = (binary_expression "auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" identifier [ number_literal ]) | number_literal)) ;) }))) (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" ( (pointer_expression "**(code **)(puVar16 + 0x36120)" * (pointer_expression "*(code **)(puVar16 + 0x36120)" * (cast_expression "(code **)(puVar16 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36120)" ( (binary_expression "puVar16 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar14,&DAT_0000540e,auStack_ec + 0xd)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , (binary_expression "auStack_ec + 0xd" identifier + number_literal) ))) ;) (expression_statement "uVar13 = *puVar15;" (assignment_expression "uVar13 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);" (assignment_expression "uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13)" identifier = (call_expression "(**(code **)(puVar16 + 0x360dc))(uVar13)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" ( (pointer_expression "**(code **)(puVar16 + 0x360dc)" * (pointer_expression "*(code **)(puVar16 + 0x360dc)" * (cast_expression "(code **)(puVar16 + 0x360dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x360dc)" ( (binary_expression "puVar16 + 0x360dc" identifier + number_literal) ))))) )) (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "FUN_00081d6c(iStack_f8,uVar13,uVar4);" (call_expression "FUN_00081d6c(iStack_f8,uVar13,uVar4)" identifier (argument_list "(iStack_f8,uVar13,uVar4)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');" do (compound_statement "{\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      }" { (expression_statement "iVar8 = iVar1 * 5;" (assignment_expression "iVar8 = iVar1 * 5" identifier = (binary_expression "iVar1 * 5" identifier * number_literal)) ;) (if_statement "if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar8 = iVar8 + 3;\n        }" { (expression_statement "iVar8 = iVar8 + 3;" (assignment_expression "iVar8 = iVar8 + 3" identifier = (binary_expression "iVar8 + 3" identifier + number_literal)) ;) })) (expression_statement "(**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);" (call_expression "(**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200)" (parenthesized_expression "(**(code **)(puVar16 + 0x358d0))" ( (pointer_expression "**(code **)(puVar16 + 0x358d0)" * (pointer_expression "*(code **)(puVar16 + 0x358d0)" * (cast_expression "(code **)(puVar16 + 0x358d0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x358d0)" ( (binary_expression "puVar16 + 0x358d0" identifier + number_literal) ))))) )) (argument_list "(puVar15,(iVar8 >> 2) + 0x200)" ( identifier , (binary_expression "(iVar8 >> 2) + 0x200" (parenthesized_expression "(iVar8 >> 2)" ( (binary_expression "iVar8 >> 2" identifier >> number_literal) )) + number_literal) ))) ;) (expression_statement "iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);" (assignment_expression "iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" identifier = (call_expression "(**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" (parenthesized_expression "(**(code **)(puVar16 + 0x361b4))" ( (pointer_expression "**(code **)(puVar16 + 0x361b4)" * (pointer_expression "*(code **)(puVar16 + 0x361b4)" * (cast_expression "(code **)(puVar16 + 0x361b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361b4)" ( (binary_expression "puVar16 + 0x361b4" identifier + number_literal) ))))) )) (argument_list "(iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" ( identifier , (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" identifier [ number_literal ]) + identifier) , (binary_expression "(puVar15[3] + -1) - iVar1" (parenthesized_expression "(puVar15[3] + -1)" ( (binary_expression "puVar15[3] + -1" (subscript_expression "puVar15[3]" identifier [ number_literal ]) + number_literal) )) - identifier) )))) ;) (expression_statement "iVar1 = iVar1 + iVar8;" (assignment_expression "iVar1 = iVar1 + iVar8" identifier = (binary_expression "iVar1 + iVar8" identifier + identifier)) ;) (if_statement "if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" { (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" ( (pointer_expression "**(code **)(puVar16 + 0x36120)" * (pointer_expression "*(code **)(puVar16 + 0x36120)" * (cast_expression "(code **)(puVar16 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36120)" ( (binary_expression "puVar16 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar14,&DAT_0000540e,auStack_ec)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , identifier ))) ;) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) (if_statement "if (puVar15[1] != 0) goto LAB_00082f58;" if (parenthesized_expression "(puVar15[1] != 0)" ( (binary_expression "puVar15[1] != 0" (subscript_expression "puVar15[1]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto LAB_00082f58;" goto statement_identifier ;)) (goto_statement "goto LAB_0008301c;" goto statement_identifier ;) })) }) while (parenthesized_expression "(*(char *)(puVar15[2] + iVar1 + -1) != '\n')" ( (binary_expression "*(char *)(puVar15[2] + iVar1 + -1) != '\n'" (pointer_expression "*(char *)(puVar15[2] + iVar1 + -1)" * (cast_expression "(char *)(puVar15[2] + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15[2] + iVar1 + -1)" ( (binary_expression "puVar15[2] + iVar1 + -1" (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" identifier [ number_literal ]) + identifier) + number_literal) )))) != (char_literal "'\n'" ' escape_sequence ')) )) ;) (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" ( (pointer_expression "**(code **)(puVar16 + 0x36120)" * (pointer_expression "*(code **)(puVar16 + 0x36120)" * (cast_expression "(code **)(puVar16 + 0x36120)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36120)" ( (binary_expression "puVar16 + 0x36120" identifier + number_literal) ))))) )) (argument_list "(iVar14,&DAT_0000540e,auStack_ec)" ( identifier , (pointer_expression "&DAT_0000540e" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (if_statement "if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }" if (parenthesized_expression "(puVar15[1] == 0)" ( (binary_expression "puVar15[1] == 0" (subscript_expression "puVar15[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }" { (labeled_statement "LAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);" statement_identifier : (expression_statement "FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1)" identifier (argument_list "(iStack_f8,iVar12 + -0x4a9c,1)" ( identifier , (binary_expression "iVar12 + -0x4a9c" identifier + number_literal) , number_literal ))) ;)) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }" { (labeled_statement "LAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" statement_identifier : (if_statement "if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" if (parenthesized_expression "(**(int **)(puVar16 + 0x361a0) != iStack_f8)" ( (binary_expression "**(int **)(puVar16 + 0x361a0) != iStack_f8" (pointer_expression "**(int **)(puVar16 + 0x361a0)" * (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) ))))) != identifier) )) (compound_statement "{\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" { (expression_statement "(**(code **)(puVar16 + 0x36038))(iStack_f8);" (call_expression "(**(code **)(puVar16 + 0x36038))(iStack_f8)" (parenthesized_expression "(**(code **)(puVar16 + 0x36038))" ( (pointer_expression "**(code **)(puVar16 + 0x36038)" * (pointer_expression "*(code **)(puVar16 + 0x36038)" * (cast_expression "(code **)(puVar16 + 0x36038)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36038)" ( (binary_expression "puVar16 + 0x36038" identifier + number_literal) ))))) )) (argument_list "(iStack_f8)" ( identifier ))) ;) }))) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00082f80;" goto statement_identifier ;) })) (expression_statement "*(undefined1 *)(puVar15[2] + iVar1) = 0;" (assignment_expression "*(undefined1 *)(puVar15[2] + iVar1) = 0" (pointer_expression "*(undefined1 *)(puVar15[2] + iVar1)" * (cast_expression "(undefined1 *)(puVar15[2] + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15[2] + iVar1)" ( (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (expression_statement "piVar2 = *(int **)(puVar16 + 0x361a0);" (assignment_expression "piVar2 = *(int **)(puVar16 + 0x361a0)" identifier = (pointer_expression "*(int **)(puVar16 + 0x361a0)" * (cast_expression "(int **)(puVar16 + 0x361a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x361a0)" ( (binary_expression "puVar16 + 0x361a0" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(uVar11 < *(uint *)(puVar6 + 0x14))" ( (binary_expression "uVar11 < *(uint *)(puVar6 + 0x14)" identifier < (pointer_expression "*(uint *)(puVar6 + 0x14)" * (cast_expression "(uint *)(puVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) ))))) )) ;) }))) (if_statement "if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" if (parenthesized_expression "(*piVar2 == iStack_f8)" ( (binary_expression "*piVar2 == iStack_f8" (pointer_expression "*piVar2" * identifier) == identifier) )) (compound_statement "{\n    iVar14 = 1;\n  }" { (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" else (compound_statement "{\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" { (expression_statement "(**(code **)(puVar16 + 0x36038))(iStack_f8);" (call_expression "(**(code **)(puVar16 + 0x36038))(iStack_f8)" (parenthesized_expression "(**(code **)(puVar16 + 0x36038))" ( (pointer_expression "**(code **)(puVar16 + 0x36038)" * (pointer_expression "*(code **)(puVar16 + 0x36038)" * (cast_expression "(code **)(puVar16 + 0x36038)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36038)" ( (binary_expression "puVar16 + 0x36038" identifier + number_literal) ))))) )) (argument_list "(iStack_f8)" ( identifier ))) ;) (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" identifier = number_literal) ;) }))) (labeled_statement "LAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" statement_identifier : (if_statement "if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" if (parenthesized_expression "(iStack_84 != **(int **)(puVar16 + 0x36184))" ( (binary_expression "iStack_84 != **(int **)(puVar16 + 0x36184)" identifier != (pointer_expression "**(int **)(puVar16 + 0x36184)" * (pointer_expression "*(int **)(puVar16 + 0x36184)" * (cast_expression "(int **)(puVar16 + 0x36184)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36184)" ( (binary_expression "puVar16 + 0x36184" identifier + number_literal) )))))) )) (compound_statement "{\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" { (expression_statement "iVar14 = (**(code **)(puVar16 + 0x36158))();" (assignment_expression "iVar14 = (**(code **)(puVar16 + 0x36158))()" identifier = (call_expression "(**(code **)(puVar16 + 0x36158))()" (parenthesized_expression "(**(code **)(puVar16 + 0x36158))" ( (pointer_expression "**(code **)(puVar16 + 0x36158)" * (pointer_expression "*(code **)(puVar16 + 0x36158)" * (cast_expression "(code **)(puVar16 + 0x36158)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x36158)" ( (binary_expression "puVar16 + 0x36158" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar14;" return identifier ;) }))) (return_statement "return iVar14;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;)) (goto_statement goto statement_identifier ;) })) }))) (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (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 (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != LIT)) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , 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 = LIT) ;) }) (else_clause else (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 ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (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 ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT ))) ;) (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 { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (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 ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (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 * (abstract_pointer_declarator *))) ) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) | LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | 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 , (pointer_expression & IDENT) , (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 ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )) - IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) ;) (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 , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))) ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + 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 < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (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 ( )))) ;) (return_statement return IDENT ;) }))) (return_statement return IDENT ;) })))
(function_definition "int logevent(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}" (primitive_type "int") (function_declarator "logevent(undefined4 param_1,undefined4 param_2)" (identifier "logevent") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  uint *puVar3;\n  undefined4 uVar4;\n  uint *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  undefined4 uVar13;\n  int iVar14;\n  undefined4 *puVar15;\n  undefined *puVar16;\n  int iStack_f8;\n  uint auStack_ec [26];\n  int iStack_84;\n  undefined4 uStack_80;\n  undefined1 auStack_40 [52];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;\n  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }\n  puVar16 = PTR___stack_chk_fail_000b8cbc;\n  (*(code *)PTR___stack_chk_fail_000b8cbc)();\n  uStack_80 = param_2;\n  iStack_84 = **(int **)(puVar16 + 0x36184);\n  if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }\n  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);\n  if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }\n  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  uVar11 = 0;\n  if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }\n  if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }\nLAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }\n  return iVar14;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "undefined4 uVar13;" (type_identifier "undefined4") (identifier "uVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "undefined4 *puVar15;" (type_identifier "undefined4") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "undefined *puVar16;" (type_identifier "undefined") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "int iStack_f8;" (primitive_type "int") (identifier "iStack_f8") (; ";")) (declaration "uint auStack_ec [26];" (type_identifier "uint") (array_declarator "auStack_ec [26]" (identifier "auStack_ec") ([ "[") (number_literal "26") (] "]")) (; ";")) (declaration "int iStack_84;" (primitive_type "int") (identifier "iStack_84") (; ";")) (declaration "undefined4 uStack_80;" (type_identifier "undefined4") (identifier "uStack_80") (; ";")) (declaration "undefined1 auStack_40 [52];" (type_identifier "undefined1") (array_declarator "auStack_40 [52]" (identifier "auStack_40") ([ "[") (number_literal "52") (] "]")) (; ";")) (declaration "int local_c;" (primitive_type "int") (identifier "local_c") (; ";")) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000b8ce8;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000b8ce8" (identifier "local_c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b8ce8")))) (; ";")) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }\n  else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" (if "if") (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" (( "(") (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" (( "(") (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" (* "*") (cast_expression "(uint *)PTR_flags_000b8354" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_flags_000b8354"))) (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    premsg(auStack_40);\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;\nLAB_00082ae0:\n    puVar6 = auStack_40;\n    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }\n  }" ({ "{") (expression_statement "premsg(auStack_40);" (call_expression "premsg(auStack_40)" (identifier "premsg") (argument_list "(auStack_40)" (( "(") (identifier "auStack_40") () ")"))) (; ";")) (expression_statement "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" (* "*") (cast_expression "(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" (( "(") (binary_expression "PTR_DAT_000b82b8 + -0x6b64" (identifier "PTR_DAT_000b82b8") (+ "+") (number_literal "-0x6b64")) () ")"))))) (; ";")) (if_statement "if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;" (if "if") (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined1 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00082acc;" (goto "goto") (statement_identifier "LAB_00082acc") (; ";"))) (labeled_statement "LAB_00082ae0:\n    puVar6 = auStack_40;" (statement_identifier "LAB_00082ae0") (: ":") (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" (identifier "puVar6") (= "=") (identifier "auStack_40")) (; ";"))) (if_statement "if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {\n      postmsg();\n    }" (if "if") (parenthesized_expression "((*(uint *)PTR_flags_000b8354 & 3) == 3)" (( "(") (binary_expression "(*(uint *)PTR_flags_000b8354 & 3) == 3" (parenthesized_expression "(*(uint *)PTR_flags_000b8354 & 3)" (( "(") (binary_expression "*(uint *)PTR_flags_000b8354 & 3" (pointer_expression "*(uint *)PTR_flags_000b8354" (* "*") (cast_expression "(uint *)PTR_flags_000b8354" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_flags_000b8354"))) (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "3")) () ")")) (compound_statement "{\n      postmsg();\n    }" ({ "{") (expression_statement "postmsg();" (call_expression "postmsg()" (identifier "postmsg") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" (else "else") (compound_statement "{\n    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);\n    if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }\n  }" ({ "{") (expression_statement "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);" (assignment_expression "puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" (* "*") (cast_expression "(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_000b82b8 + -0x6b64)" (( "(") (binary_expression "PTR_DAT_000b82b8 + -0x6b64" (identifier "PTR_DAT_000b82b8") (+ "+") (number_literal "-0x6b64")) () ")"))))) (; ";")) (if_statement "if (puVar6 != (undefined1 *)0x0) {\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }" (if "if") (parenthesized_expression "(puVar6 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined1 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);\n      goto LAB_00082ae0;\n    }" ({ "{") (labeled_statement "LAB_00082acc:\n      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);" (statement_identifier "LAB_00082acc") (: ":") (expression_statement "(*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);" (call_expression "(*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2)" (parenthesized_expression "(*(code *)PTR_log_eventlog_000b89cc)" (( "(") (pointer_expression "*(code *)PTR_log_eventlog_000b89cc" (* "*") (cast_expression "(code *)PTR_log_eventlog_000b89cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_log_eventlog_000b89cc"))) () ")")) (argument_list "(puVar6,param_2)" (( "(") (identifier "puVar6") (, ",") (identifier "param_2") () ")"))) (; ";"))) (goto_statement "goto LAB_00082ae0;" (goto "goto") (statement_identifier "LAB_00082ae0") (; ";")) (} "}"))) (} "}")))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }" (if "if") (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000b8ce8)" (( "(") (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000b8ce8" (identifier "local_c") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b8ce8")))) () ")")) (compound_statement "{\n    return *(int *)PTR___stack_chk_guard_000b8ce8;\n  }" ({ "{") (return_statement "return *(int *)PTR___stack_chk_guard_000b8ce8;" (return "return") (pointer_expression "*(int *)PTR___stack_chk_guard_000b8ce8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b8ce8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b8ce8"))) (; ";")) (} "}"))) (expression_statement "puVar16 = PTR___stack_chk_fail_000b8cbc;" (assignment_expression "puVar16 = PTR___stack_chk_fail_000b8cbc" (identifier "puVar16") (= "=") (identifier "PTR___stack_chk_fail_000b8cbc")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b8cbc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b8cbc)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b8cbc" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b8cbc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b8cbc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = param_2;" (assignment_expression "uStack_80 = param_2" (identifier "uStack_80") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iStack_84 = **(int **)(puVar16 + 0x36184);" (assignment_expression "iStack_84 = **(int **)(puVar16 + 0x36184)" (identifier "iStack_84") (= "=") (pointer_expression "**(int **)(puVar16 + 0x36184)" (* "*") (pointer_expression "*(int **)(puVar16 + 0x36184)" (* "*") (cast_expression "(int **)(puVar16 + 0x36184)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36184)" (( "(") (binary_expression "puVar16 + 0x36184" (identifier "puVar16") (+ "+") (number_literal "0x36184")) () ")")))))) (; ";")) (if_statement "if (*(int *)(puVar6 + 0x14) != 0) {\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar6 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(puVar6 + 0x14) != 0" (pointer_expression "*(int *)(puVar6 + 0x14)" (* "*") (cast_expression "(int *)(puVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar11 = 0;\n    iVar14 = *(int *)(puVar16 + 0x357e4);\n    do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;\n  }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar14 = *(int *)(puVar16 + 0x357e4);" (assignment_expression "iVar14 = *(int *)(puVar16 + 0x357e4)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(puVar16 + 0x357e4)" (* "*") (cast_expression "(int *)(puVar16 + 0x357e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + 0x357e4)" (( "(") (binary_expression "puVar16 + 0x357e4" (identifier "puVar16") (+ "+") (number_literal "0x357e4")) () ")"))))) (; ";")) (do_statement "do {\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));" (do "do") (compound_statement "{\n      (**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);\n      uVar11 = uVar11 + 1;\n    }" ({ "{") (expression_statement "(**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);" (call_expression "(**(code **)(puVar16 + 0x357c8))\n                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14)" (parenthesized_expression "(**(code **)(puVar16 + 0x357c8))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x357c8)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x357c8)" (* "*") (cast_expression "(code **)(puVar16 + 0x357c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x357c8)" (( "(") (binary_expression "puVar16 + 0x357c8" (identifier "puVar16") (+ "+") (number_literal "0x357c8")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14)" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar6 + 0x18) + uVar11 * 4)" (( "(") (binary_expression "*(int *)(puVar6 + 0x18) + uVar11 * 4" (pointer_expression "*(int *)(puVar6 + 0x18)" (* "*") (cast_expression "(int *)(puVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x18)" (( "(") (binary_expression "puVar6 + 0x18" (identifier "puVar6") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (binary_expression "uVar11 * 4" (identifier "uVar11") (* "*") (number_literal "4"))) () ")")))) (, ",") (binary_expression "iVar14 + -0x6d14" (identifier "iVar14") (+ "+") (number_literal "-0x6d14")) () ")"))) (; ";")) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 < *(uint *)(puVar6 + 0x14))" (( "(") (binary_expression "uVar11 < *(uint *)(puVar6 + 0x14)" (identifier "uVar11") (< "<") (pointer_expression "*(uint *)(puVar6 + 0x14)" (* "*") (cast_expression "(uint *)(puVar6 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (; ";")) (if_statement "if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))\n    goto LAB_00082f80;" (if "if") (parenthesized_expression "((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))" (( "(") (binary_expression "(*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0)" (parenthesized_expression "(*(uint *)(puVar6 + 0x14) != 0)" (( "(") (binary_expression "*(uint *)(puVar6 + 0x14) != 0" (pointer_expression "*(uint *)(puVar6 + 0x14)" (* "*") (cast_expression "(uint *)(puVar6 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0)" (( "(") (comma_expression "iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (, ",") (binary_expression "**(int **)(puVar16 + 0x35e60) != 0" (pointer_expression "**(int **)(puVar16 + 0x35e60)" (* "*") (pointer_expression "*(int **)(puVar16 + 0x35e60)" (* "*") (cast_expression "(int **)(puVar16 + 0x35e60)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x35e60)" (( "(") (binary_expression "puVar16 + 0x35e60" (identifier "puVar16") (+ "+") (number_literal "0x35e60")) () ")"))))) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00082f80;" (goto "goto") (statement_identifier "LAB_00082f80") (; ";"))) (} "}"))) (expression_statement "iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);" (assignment_expression "iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" (identifier "iVar14") (= "=") (call_expression "(**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" (parenthesized_expression "(**(code **)(puVar16 + 0x360cc))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x360cc)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x360cc)" (* "*") (cast_expression "(code **)(puVar16 + 0x360cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x360cc)" (( "(") (binary_expression "puVar16 + 0x360cc" (identifier "puVar16") (+ "+") (number_literal "0x360cc")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar16 + 0x357e4) + 0x3924,2)" (( "(") (binary_expression "*(int *)(puVar16 + 0x357e4) + 0x3924" (pointer_expression "*(int *)(puVar16 + 0x357e4)" (* "*") (cast_expression "(int *)(puVar16 + 0x357e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + 0x357e4)" (( "(") (binary_expression "puVar16 + 0x357e4" (identifier "puVar16") (+ "+") (number_literal "0x357e4")) () ")")))) (+ "+") (number_literal "0x3924")) (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar14 < 0) {\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }\n  else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" (if "if") (parenthesized_expression "(iVar14 < 0)" (( "(") (binary_expression "iVar14 < 0" (identifier "iVar14") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iStack_f8 = **(int **)(puVar16 + 0x361a0);\n    iVar14 = 0;\n  }" ({ "{") (expression_statement "iStack_f8 = **(int **)(puVar16 + 0x361a0);" (assignment_expression "iStack_f8 = **(int **)(puVar16 + 0x361a0)" (identifier "iStack_f8") (= "=") (pointer_expression "**(int **)(puVar16 + 0x361a0)" (* "*") (pointer_expression "*(int **)(puVar16 + 0x361a0)" (* "*") (cast_expression "(int **)(puVar16 + 0x361a0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x361a0)" (( "(") (binary_expression "puVar16 + 0x361a0" (identifier "puVar16") (+ "+") (number_literal "0x361a0")) () ")")))))) (; ";")) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" (else "else") (compound_statement "{\n    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);\n  }" ({ "{") (expression_statement "iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);" (assignment_expression "iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" (identifier "iStack_f8") (= "=") (call_expression "(**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" (parenthesized_expression "(**(code **)(puVar16 + 0x361cc))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x361cc)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x361cc)" (* "*") (cast_expression "(code **)(puVar16 + 0x361cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x361cc)" (( "(") (binary_expression "puVar16 + 0x361cc" (identifier "puVar16") (+ "+") (number_literal "0x361cc")) () ")"))))) () ")")) (argument_list "(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c)" (( "(") (identifier "iVar14") (, ",") (binary_expression "*(int *)(puVar16 + 0x357e4) + 0x191c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" (* "*") (cast_expression "(int *)(puVar16 + 0x357e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + 0x357e4)" (( "(") (binary_expression "puVar16 + 0x357e4" (identifier "puVar16") (+ "+") (number_literal "0x357e4")) () ")")))) (+ "+") (number_literal "0x191c")) () ")")))) (; ";")) (} "}")))) (if_statement "if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" (if "if") (parenthesized_expression "((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0))" (( "(") (binary_expression "(*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)" (parenthesized_expression "(*(int *)(puVar6 + 8) == 0)" (( "(") (binary_expression "*(int *)(puVar6 + 8) == 0" (pointer_expression "*(int *)(puVar6 + 8)" (* "*") (cast_expression "(int *)(puVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 8)" (( "(") (binary_expression "puVar6 + 8" (identifier "puVar6") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)" (( "(") (comma_expression "iVar12 = *(int *)(puVar6 + 4), iVar12 == 0" (assignment_expression "iVar12 = *(int *)(puVar6 + 4)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar6 + 4)" (* "*") (cast_expression "(int *)(puVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")"))))) (, ",") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\nLAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" ({ "{") (labeled_statement "LAB_00082cb0:\n    iVar12 = *(int *)(puVar6 + 0xc);" (statement_identifier "LAB_00082cb0") (: ":") (expression_statement "iVar12 = *(int *)(puVar6 + 0xc);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0xc)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar6 + 0xc)" (* "*") (cast_expression "(int *)(puVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xc)" (( "(") (binary_expression "puVar6 + 0xc" (identifier "puVar6") (+ "+") (number_literal "0xc")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" (else "else") (compound_statement "{\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0xc);\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);" (assignment_expression "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar16 + 0x360dc))(iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x360dc)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x360dc)" (* "*") (cast_expression "(code **)(puVar16 + 0x360dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x360dc)" (( "(") (binary_expression "puVar16 + 0x360dc" (identifier "puVar16") (+ "+") (number_literal "0x360dc")) () ")"))))) () ")")) (argument_list "(iVar12)" (( "(") (identifier "iVar12") () ")")))) (; ";")) (expression_statement "FUN_00081d6c(iStack_f8,iVar12,iVar1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12,iVar1)" (identifier "FUN_00081d6c") (argument_list "(iStack_f8,iVar12,iVar1)" (( "(") (identifier "iStack_f8") (, ",") (identifier "iVar12") (, ",") (identifier "iVar1") () ")"))) (; ";")) (if_statement "if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;" (if "if") (parenthesized_expression "(*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n')" (( "(") (binary_expression "*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n'" (pointer_expression "*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1)" (* "*") (cast_expression "(char *)(*(int *)(puVar6 + 4) + iVar1 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar6 + 4) + iVar1 + -1)" (( "(") (binary_expression "*(int *)(puVar6 + 4) + iVar1 + -1" (binary_expression "*(int *)(puVar6 + 4) + iVar1" (pointer_expression "*(int *)(puVar6 + 4)" (* "*") (cast_expression "(int *)(puVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")")))) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-1")) () ")")))) (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (goto_statement "goto LAB_00082cb0;" (goto "goto") (statement_identifier "LAB_00082cb0") (; ";"))) (expression_statement "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" (identifier "FUN_00081d6c") (argument_list "(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" (( "(") (identifier "iStack_f8") (, ",") (binary_expression "*(int *)(puVar16 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" (* "*") (cast_expression "(int *)(puVar16 + 0x357e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + 0x357e4)" (( "(") (binary_expression "puVar16 + 0x357e4" (identifier "puVar16") (+ "+") (number_literal "0x357e4")) () ")")))) (+ "+") (number_literal "-0x4a9c")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "iVar12 = *(int *)(puVar6 + 0xc);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0xc)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar6 + 0xc)" (* "*") (cast_expression "(int *)(puVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xc)" (( "(") (binary_expression "puVar6 + 0xc" (identifier "puVar6") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar12 == 0) {\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }\n  else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" ({ "{") (labeled_statement "LAB_00082d0c:\n    iVar12 = *(int *)(puVar6 + 0x14);" (statement_identifier "LAB_00082d0c") (: ":") (expression_statement "iVar12 = *(int *)(puVar6 + 0x14);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0x14)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar6 + 0x14)" (* "*") (cast_expression "(int *)(puVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" (else "else") (compound_statement "{\n    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);\n    FUN_00081d6c(iStack_f8,iVar12,iVar1);\n    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;\n    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);\n    iVar12 = *(int *)(puVar6 + 0x14);\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);" (assignment_expression "iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar16 + 0x360dc))(iVar12)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x360dc)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x360dc)" (* "*") (cast_expression "(code **)(puVar16 + 0x360dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x360dc)" (( "(") (binary_expression "puVar16 + 0x360dc" (identifier "puVar16") (+ "+") (number_literal "0x360dc")) () ")"))))) () ")")) (argument_list "(iVar12)" (( "(") (identifier "iVar12") () ")")))) (; ";")) (expression_statement "FUN_00081d6c(iStack_f8,iVar12,iVar1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12,iVar1)" (identifier "FUN_00081d6c") (argument_list "(iStack_f8,iVar12,iVar1)" (( "(") (identifier "iStack_f8") (, ",") (identifier "iVar12") (, ",") (identifier "iVar1") () ")"))) (; ";")) (if_statement "if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;" (if "if") (parenthesized_expression "(*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n')" (( "(") (binary_expression "*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n'" (pointer_expression "*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1)" (* "*") (cast_expression "(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar6 + 0xc) + iVar1 + -1)" (( "(") (binary_expression "*(int *)(puVar6 + 0xc) + iVar1 + -1" (binary_expression "*(int *)(puVar6 + 0xc) + iVar1" (pointer_expression "*(int *)(puVar6 + 0xc)" (* "*") (cast_expression "(int *)(puVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xc)" (( "(") (binary_expression "puVar6 + 0xc" (identifier "puVar6") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-1")) () ")")))) (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (goto_statement "goto LAB_00082d0c;" (goto "goto") (statement_identifier "LAB_00082d0c") (; ";"))) (expression_statement "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" (identifier "FUN_00081d6c") (argument_list "(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1)" (( "(") (identifier "iStack_f8") (, ",") (binary_expression "*(int *)(puVar16 + 0x357e4) + -0x4a9c" (pointer_expression "*(int *)(puVar16 + 0x357e4)" (* "*") (cast_expression "(int *)(puVar16 + 0x357e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + 0x357e4)" (( "(") (binary_expression "puVar16 + 0x357e4" (identifier "puVar16") (+ "+") (number_literal "0x357e4")) () ")")))) (+ "+") (number_literal "-0x4a9c")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "iVar12 = *(int *)(puVar6 + 0x14);" (assignment_expression "iVar12 = *(int *)(puVar6 + 0x14)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar6 + 0x14)" (* "*") (cast_expression "(int *)(puVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}")))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar12 == 0) {\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }\n  else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar2 = *(int **)(puVar16 + 0x361a0);\n  }" ({ "{") (expression_statement "piVar2 = *(int **)(puVar16 + 0x361a0);" (assignment_expression "piVar2 = *(int **)(puVar16 + 0x361a0)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(puVar16 + 0x361a0)" (* "*") (cast_expression "(int **)(puVar16 + 0x361a0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x361a0)" (( "(") (binary_expression "puVar16 + 0x361a0" (identifier "puVar16") (+ "+") (number_literal "0x361a0")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" (else "else") (compound_statement "{\n    iVar12 = *(int *)(puVar16 + 0x357e4);\n    do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));\n  }" ({ "{") (expression_statement "iVar12 = *(int *)(puVar16 + 0x357e4);" (assignment_expression "iVar12 = *(int *)(puVar16 + 0x357e4)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(puVar16 + 0x357e4)" (* "*") (cast_expression "(int *)(puVar16 + 0x357e4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + 0x357e4)" (( "(") (binary_expression "puVar16 + 0x357e4" (identifier "puVar16") (+ "+") (number_literal "0x357e4")) () ")"))))) (; ";")) (do_statement "do {\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    } while (uVar11 < *(uint *)(puVar6 + 0x14));" (do "do") (compound_statement "{\n      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);\n      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);\n      puVar5 = auStack_ec + 0xd;\n      puVar3 = auStack_ec;\n      do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);\n      *puVar5 = *puVar3;\n      if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);\n      uVar13 = *puVar15;\n      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);\n      FUN_00081d6c(iStack_f8,uVar13,uVar4);\n      iVar1 = 0;\n      do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');\n      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n      iVar1 = iVar1 + -1;\n      if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }\n      uVar11 = uVar11 + 1;\n      if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }\n      *(undefined1 *)(puVar15[2] + iVar1) = 0;\n      piVar2 = *(int **)(puVar16 + 0x361a0);\n    }" ({ "{") (expression_statement "puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);" (assignment_expression "puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" (identifier "puVar15") (= "=") (pointer_expression "*(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" (* "*") (cast_expression "(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(puVar6 + 0x18) + uVar11 * 4)" (( "(") (binary_expression "*(int *)(puVar6 + 0x18) + uVar11 * 4" (pointer_expression "*(int *)(puVar6 + 0x18)" (* "*") (cast_expression "(int *)(puVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x18)" (( "(") (binary_expression "puVar6 + 0x18" (identifier "puVar6") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (binary_expression "uVar11 * 4" (identifier "uVar11") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "(**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x35fec))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x35fec)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x35fec)" (* "*") (cast_expression "(code **)(puVar16 + 0x35fec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x35fec)" (( "(") (binary_expression "puVar16 + 0x35fec" (identifier "puVar16") (+ "+") (number_literal "0x35fec")) () ")"))))) () ")")) (argument_list "(iVar14,auStack_ec)" (( "(") (identifier "iVar14") (, ",") (identifier "auStack_ec") () ")"))) (; ";")) (expression_statement "puVar5 = auStack_ec + 0xd;" (assignment_expression "puVar5 = auStack_ec + 0xd" (identifier "puVar5") (= "=") (binary_expression "auStack_ec + 0xd" (identifier "auStack_ec") (+ "+") (number_literal "0xd"))) (; ";")) (expression_statement "puVar3 = auStack_ec;" (assignment_expression "puVar3 = auStack_ec" (identifier "puVar3") (= "=") (identifier "auStack_ec")) (; ";")) (do_statement "do {\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      } while (puVar3 != auStack_ec + 0xc);" (do "do") (compound_statement "{\n        uVar10 = puVar3[1];\n        uVar9 = puVar3[2];\n        uVar7 = puVar3[3];\n        *puVar5 = *puVar3;\n        puVar5[1] = uVar10;\n        puVar5[2] = uVar9;\n        puVar5[3] = uVar7;\n        puVar3 = puVar3 + 4;\n        puVar5 = puVar5 + 4;\n      }" ({ "{") (expression_statement "uVar10 = puVar3[1];" (assignment_expression "uVar10 = puVar3[1]" (identifier "uVar10") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar9 = puVar3[2];" (assignment_expression "uVar9 = puVar3[2]" (identifier "uVar9") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar7 = puVar3[3];" (assignment_expression "uVar7 = puVar3[3]" (identifier "uVar7") (= "=") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar5 = *puVar3;" (assignment_expression "*puVar5 = *puVar3" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar5[1] = uVar10;" (assignment_expression "puVar5[1] = uVar10" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "puVar5[2] = uVar9;" (assignment_expression "puVar5[2] = uVar9" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "puVar5[3] = uVar7;" (assignment_expression "puVar5[3] = uVar7" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 4" (identifier "puVar3") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar5 = puVar5 + 4;" (assignment_expression "puVar5 = puVar5 + 4" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 4" (identifier "puVar5") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != auStack_ec + 0xc)" (( "(") (binary_expression "puVar3 != auStack_ec + 0xc" (identifier "puVar3") (!= "!=") (binary_expression "auStack_ec + 0xc" (identifier "auStack_ec") (+ "+") (number_literal "0xc"))) () ")")) (; ";")) (expression_statement "*puVar5 = *puVar3;" (assignment_expression "*puVar5 = *puVar3" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (if_statement "if (puVar15[1] == 0) {\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }\n      else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" (if "if") (parenthesized_expression "(puVar15[1] == 0)" (( "(") (binary_expression "puVar15[1] == 0" (subscript_expression "puVar15[1]" (identifier "puVar15") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;\n      }" ({ "{") (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3" (subscript_expression "auStack_ec[0x10]" (identifier "auStack_ec") ([ "[") (number_literal "0x10") (] "]")) (= "=") (binary_expression "auStack_ec[0x10] & 0xfffffff7 | 3" (binary_expression "auStack_ec[0x10] & 0xfffffff7" (subscript_expression "auStack_ec[0x10]" (identifier "auStack_ec") ([ "[") (number_literal "0x10") (] "]")) (& "&") (number_literal "0xfffffff7")) (| "|") (number_literal "3"))) (; ";")) (} "}")) (else_clause "else {\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" (else "else") (compound_statement "{\n        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;\n      }" ({ "{") (expression_statement "auStack_ec[0x10] = auStack_ec[0x10] | 0xb;" (assignment_expression "auStack_ec[0x10] = auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" (identifier "auStack_ec") ([ "[") (number_literal "0x10") (] "]")) (= "=") (binary_expression "auStack_ec[0x10] | 0xb" (subscript_expression "auStack_ec[0x10]" (identifier "auStack_ec") ([ "[") (number_literal "0x10") (] "]")) (| "|") (number_literal "0xb"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x36120)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x36120)" (* "*") (cast_expression "(code **)(puVar16 + 0x36120)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36120)" (( "(") (binary_expression "puVar16 + 0x36120" (identifier "puVar16") (+ "+") (number_literal "0x36120")) () ")"))))) () ")")) (argument_list "(iVar14,&DAT_0000540e,auStack_ec + 0xd)" (( "(") (identifier "iVar14") (, ",") (pointer_expression "&DAT_0000540e" (& "&") (identifier "DAT_0000540e")) (, ",") (binary_expression "auStack_ec + 0xd" (identifier "auStack_ec") (+ "+") (number_literal "0xd")) () ")"))) (; ";")) (expression_statement "uVar13 = *puVar15;" (assignment_expression "uVar13 = *puVar15" (identifier "uVar13") (= "=") (pointer_expression "*puVar15" (* "*") (identifier "puVar15"))) (; ";")) (expression_statement "uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);" (assignment_expression "uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar16 + 0x360dc))(uVar13)" (parenthesized_expression "(**(code **)(puVar16 + 0x360dc))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x360dc)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x360dc)" (* "*") (cast_expression "(code **)(puVar16 + 0x360dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x360dc)" (( "(") (binary_expression "puVar16 + 0x360dc" (identifier "puVar16") (+ "+") (number_literal "0x360dc")) () ")"))))) () ")")) (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")")))) (; ";")) (expression_statement "FUN_00081d6c(iStack_f8,uVar13,uVar4);" (call_expression "FUN_00081d6c(iStack_f8,uVar13,uVar4)" (identifier "FUN_00081d6c") (argument_list "(iStack_f8,uVar13,uVar4)" (( "(") (identifier "iStack_f8") (, ",") (identifier "uVar13") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');" (do "do") (compound_statement "{\n        iVar8 = iVar1 * 5;\n        if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }\n        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);\n        iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);\n        iVar1 = iVar1 + iVar8;\n        if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }\n      }" ({ "{") (expression_statement "iVar8 = iVar1 * 5;" (assignment_expression "iVar8 = iVar1 * 5" (identifier "iVar8") (= "=") (binary_expression "iVar1 * 5" (identifier "iVar1") (* "*") (number_literal "5"))) (; ";")) (if_statement "if (iVar8 < 0) {\n          iVar8 = iVar8 + 3;\n        }" (if "if") (parenthesized_expression "(iVar8 < 0)" (( "(") (binary_expression "iVar8 < 0" (identifier "iVar8") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          iVar8 = iVar8 + 3;\n        }" ({ "{") (expression_statement "iVar8 = iVar8 + 3;" (assignment_expression "iVar8 = iVar8 + 3" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 3" (identifier "iVar8") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);" (call_expression "(**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200)" (parenthesized_expression "(**(code **)(puVar16 + 0x358d0))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x358d0)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x358d0)" (* "*") (cast_expression "(code **)(puVar16 + 0x358d0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x358d0)" (( "(") (binary_expression "puVar16 + 0x358d0" (identifier "puVar16") (+ "+") (number_literal "0x358d0")) () ")"))))) () ")")) (argument_list "(puVar15,(iVar8 >> 2) + 0x200)" (( "(") (identifier "puVar15") (, ",") (binary_expression "(iVar8 >> 2) + 0x200" (parenthesized_expression "(iVar8 >> 2)" (( "(") (binary_expression "iVar8 >> 2" (identifier "iVar8") (>> ">>") (number_literal "2")) () ")")) (+ "+") (number_literal "0x200")) () ")"))) (; ";")) (expression_statement "iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);" (assignment_expression "iVar8 = (**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" (identifier "iVar8") (= "=") (call_expression "(**(code **)(puVar16 + 0x361b4))\n                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" (parenthesized_expression "(**(code **)(puVar16 + 0x361b4))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x361b4)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x361b4)" (* "*") (cast_expression "(code **)(puVar16 + 0x361b4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x361b4)" (( "(") (binary_expression "puVar16 + 0x361b4" (identifier "puVar16") (+ "+") (number_literal "0x361b4")) () ")"))))) () ")")) (argument_list "(iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1)" (( "(") (identifier "iVar14") (, ",") (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" (identifier "puVar15") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "iVar1")) (, ",") (binary_expression "(puVar15[3] + -1) - iVar1" (parenthesized_expression "(puVar15[3] + -1)" (( "(") (binary_expression "puVar15[3] + -1" (subscript_expression "puVar15[3]" (identifier "puVar15") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "-1")) () ")")) (- "-") (identifier "iVar1")) () ")")))) (; ";")) (expression_statement "iVar1 = iVar1 + iVar8;" (assignment_expression "iVar1 = iVar1 + iVar8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + iVar8" (identifier "iVar1") (+ "+") (identifier "iVar8"))) (; ";")) (if_statement "if (iVar8 < 1) {\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" (if "if") (parenthesized_expression "(iVar8 < 1)" (( "(") (binary_expression "iVar8 < 1" (identifier "iVar8") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);\n          iVar1 = -1;\n          if (puVar15[1] != 0) goto LAB_00082f58;\n          goto LAB_0008301c;\n        }" ({ "{") (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x36120)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x36120)" (* "*") (cast_expression "(code **)(puVar16 + 0x36120)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36120)" (( "(") (binary_expression "puVar16 + 0x36120" (identifier "puVar16") (+ "+") (number_literal "0x36120")) () ")"))))) () ")")) (argument_list "(iVar14,&DAT_0000540e,auStack_ec)" (( "(") (identifier "iVar14") (, ",") (pointer_expression "&DAT_0000540e" (& "&") (identifier "DAT_0000540e")) (, ",") (identifier "auStack_ec") () ")"))) (; ";")) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" (identifier "iVar1") (= "=") (number_literal "-1")) (; ";")) (if_statement "if (puVar15[1] != 0) goto LAB_00082f58;" (if "if") (parenthesized_expression "(puVar15[1] != 0)" (( "(") (binary_expression "puVar15[1] != 0" (subscript_expression "puVar15[1]" (identifier "puVar15") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00082f58;" (goto "goto") (statement_identifier "LAB_00082f58") (; ";"))) (goto_statement "goto LAB_0008301c;" (goto "goto") (statement_identifier "LAB_0008301c") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(*(char *)(puVar15[2] + iVar1 + -1) != '\n')" (( "(") (binary_expression "*(char *)(puVar15[2] + iVar1 + -1) != '\n'" (pointer_expression "*(char *)(puVar15[2] + iVar1 + -1)" (* "*") (cast_expression "(char *)(puVar15[2] + iVar1 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15[2] + iVar1 + -1)" (( "(") (binary_expression "puVar15[2] + iVar1 + -1" (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" (identifier "puVar15") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-1")) () ")")))) (!= "!=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (; ";")) (expression_statement "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);" (call_expression "(**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec)" (parenthesized_expression "(**(code **)(puVar16 + 0x36120))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x36120)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x36120)" (* "*") (cast_expression "(code **)(puVar16 + 0x36120)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36120)" (( "(") (binary_expression "puVar16 + 0x36120" (identifier "puVar16") (+ "+") (number_literal "0x36120")) () ")"))))) () ")")) (argument_list "(iVar14,&DAT_0000540e,auStack_ec)" (( "(") (identifier "iVar14") (, ",") (pointer_expression "&DAT_0000540e" (& "&") (identifier "DAT_0000540e")) (, ",") (identifier "auStack_ec") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (puVar15[1] == 0) {\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }" (if "if") (parenthesized_expression "(puVar15[1] == 0)" (( "(") (binary_expression "puVar15[1] == 0" (subscript_expression "puVar15[1]" (identifier "puVar15") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);\n      }" ({ "{") (labeled_statement "LAB_0008301c:\n        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);" (statement_identifier "LAB_0008301c") (: ":") (expression_statement "FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);" (call_expression "FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1)" (identifier "FUN_00081d6c") (argument_list "(iStack_f8,iVar12 + -0x4a9c,1)" (( "(") (identifier "iStack_f8") (, ",") (binary_expression "iVar12 + -0x4a9c" (identifier "iVar12") (+ "+") (number_literal "-0x4a9c")) (, ",") (number_literal "1") () ")"))) (; ";"))) (} "}"))) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar1 < 0) {\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }\n        iVar14 = 0;\n        goto LAB_00082f80;\n      }" ({ "{") (labeled_statement "LAB_00082f58:\n        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" (statement_identifier "LAB_00082f58") (: ":") (if_statement "if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" (if "if") (parenthesized_expression "(**(int **)(puVar16 + 0x361a0) != iStack_f8)" (( "(") (binary_expression "**(int **)(puVar16 + 0x361a0) != iStack_f8" (pointer_expression "**(int **)(puVar16 + 0x361a0)" (* "*") (pointer_expression "*(int **)(puVar16 + 0x361a0)" (* "*") (cast_expression "(int **)(puVar16 + 0x361a0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x361a0)" (( "(") (binary_expression "puVar16 + 0x361a0" (identifier "puVar16") (+ "+") (number_literal "0x361a0")) () ")"))))) (!= "!=") (identifier "iStack_f8")) () ")")) (compound_statement "{\n          (**(code **)(puVar16 + 0x36038))(iStack_f8);\n        }" ({ "{") (expression_statement "(**(code **)(puVar16 + 0x36038))(iStack_f8);" (call_expression "(**(code **)(puVar16 + 0x36038))(iStack_f8)" (parenthesized_expression "(**(code **)(puVar16 + 0x36038))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x36038)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x36038)" (* "*") (cast_expression "(code **)(puVar16 + 0x36038)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36038)" (( "(") (binary_expression "puVar16 + 0x36038" (identifier "puVar16") (+ "+") (number_literal "0x36038")) () ")"))))) () ")")) (argument_list "(iStack_f8)" (( "(") (identifier "iStack_f8") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00082f80;" (goto "goto") (statement_identifier "LAB_00082f80") (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(puVar15[2] + iVar1) = 0;" (assignment_expression "*(undefined1 *)(puVar15[2] + iVar1) = 0" (pointer_expression "*(undefined1 *)(puVar15[2] + iVar1)" (* "*") (cast_expression "(undefined1 *)(puVar15[2] + iVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15[2] + iVar1)" (( "(") (binary_expression "puVar15[2] + iVar1" (subscript_expression "puVar15[2]" (identifier "puVar15") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2 = *(int **)(puVar16 + 0x361a0);" (assignment_expression "piVar2 = *(int **)(puVar16 + 0x361a0)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(puVar16 + 0x361a0)" (* "*") (cast_expression "(int **)(puVar16 + 0x361a0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x361a0)" (( "(") (binary_expression "puVar16 + 0x361a0" (identifier "puVar16") (+ "+") (number_literal "0x361a0")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 < *(uint *)(puVar6 + 0x14))" (( "(") (binary_expression "uVar11 < *(uint *)(puVar6 + 0x14)" (identifier "uVar11") (< "<") (pointer_expression "*(uint *)(puVar6 + 0x14)" (* "*") (cast_expression "(uint *)(puVar6 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (; ";")) (} "}")))) (if_statement "if (*piVar2 == iStack_f8) {\n    iVar14 = 1;\n  }\n  else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" (if "if") (parenthesized_expression "(*piVar2 == iStack_f8)" (( "(") (binary_expression "*piVar2 == iStack_f8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (== "==") (identifier "iStack_f8")) () ")")) (compound_statement "{\n    iVar14 = 1;\n  }" ({ "{") (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" (identifier "iVar14") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" (else "else") (compound_statement "{\n    (**(code **)(puVar16 + 0x36038))(iStack_f8);\n    iVar14 = 1;\n  }" ({ "{") (expression_statement "(**(code **)(puVar16 + 0x36038))(iStack_f8);" (call_expression "(**(code **)(puVar16 + 0x36038))(iStack_f8)" (parenthesized_expression "(**(code **)(puVar16 + 0x36038))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x36038)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x36038)" (* "*") (cast_expression "(code **)(puVar16 + 0x36038)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36038)" (( "(") (binary_expression "puVar16 + 0x36038" (identifier "puVar16") (+ "+") (number_literal "0x36038")) () ")"))))) () ")")) (argument_list "(iStack_f8)" (( "(") (identifier "iStack_f8") () ")"))) (; ";")) (expression_statement "iVar14 = 1;" (assignment_expression "iVar14 = 1" (identifier "iVar14") (= "=") (number_literal "1")) (; ";")) (} "}")))) (labeled_statement "LAB_00082f80:\n  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" (statement_identifier "LAB_00082f80") (: ":") (if_statement "if (iStack_84 != **(int **)(puVar16 + 0x36184)) {\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" (if "if") (parenthesized_expression "(iStack_84 != **(int **)(puVar16 + 0x36184))" (( "(") (binary_expression "iStack_84 != **(int **)(puVar16 + 0x36184)" (identifier "iStack_84") (!= "!=") (pointer_expression "**(int **)(puVar16 + 0x36184)" (* "*") (pointer_expression "*(int **)(puVar16 + 0x36184)" (* "*") (cast_expression "(int **)(puVar16 + 0x36184)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36184)" (( "(") (binary_expression "puVar16 + 0x36184" (identifier "puVar16") (+ "+") (number_literal "0x36184")) () ")")))))) () ")")) (compound_statement "{\n    iVar14 = (**(code **)(puVar16 + 0x36158))();\n    return iVar14;\n  }" ({ "{") (expression_statement "iVar14 = (**(code **)(puVar16 + 0x36158))();" (assignment_expression "iVar14 = (**(code **)(puVar16 + 0x36158))()" (identifier "iVar14") (= "=") (call_expression "(**(code **)(puVar16 + 0x36158))()" (parenthesized_expression "(**(code **)(puVar16 + 0x36158))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x36158)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x36158)" (* "*") (cast_expression "(code **)(puVar16 + 0x36158)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x36158)" (( "(") (binary_expression "puVar16 + 0x36158" (identifier "puVar16") (+ "+") (number_literal "0x36158")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar14;" (return "return") (identifier "iVar14") (; ";")) (} "}")))) (return_statement "return iVar14;" (return "return") (identifier "iVar14") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) 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))))))) (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 (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 (identifier) (identifier))))) (goto_statement label: (statement_identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (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: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (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 (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (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 (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (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: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (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 (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (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: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 declarator: (abstract_pointer_declarator))) value: (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: (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (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) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (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: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (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 (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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) (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (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) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence))))) (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) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) condition: (parenthesized_expression (binary_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: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (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: (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)))))))) consequence: (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)))) (return_statement (identifier))))) (return_statement (identifier)))))

int MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  int *piVar2;
  uint *puVar3;
  undefined4 uVar4;
  uint *puVar5;
  undefined1 *puVar6;
  uint uVar7;
  int iVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  int iVar12;
  undefined4 uVar13;
  int iVar14;
  undefined4 *puVar15;
  undefined *puVar16;
  int iStack_f8;
  uint auStack_ec [26];
  int iStack_84;
  undefined4 uStack_80;
  undefined1 auStack_40 [52];
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000b8ce8;
  if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {
    premsg(auStack_40);
    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);
    if (puVar6 != (undefined1 *)0x0) goto LAB_00082acc;
LAB_00082ae0:
    puVar6 = auStack_40;
    if ((*(uint *)PTR_flags_000b8354 & 3) == 3) {
      postmsg();
    }
  }
  else {
    puVar6 = *(undefined1 **)(PTR_DAT_000b82b8 + -0x6b64);
    if (puVar6 != (undefined1 *)0x0) {
LAB_00082acc:
      (*(code *)PTR_log_eventlog_000b89cc)(puVar6,param_2);
      goto LAB_00082ae0;
    }
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000b8ce8) {
    return *(int *)PTR___stack_chk_guard_000b8ce8;
  }
  puVar16 = PTR___stack_chk_fail_000b8cbc;
  (*(code *)PTR___stack_chk_fail_000b8cbc)();
  uStack_80 = param_2;
  iStack_84 = **(int **)(puVar16 + 0x36184);
  if (*(int *)(puVar6 + 0x14) != 0) {
    uVar11 = 0;
    iVar14 = *(int *)(puVar16 + 0x357e4);
    do {
      (**(code **)(puVar16 + 0x357c8))
                (*(undefined4 *)(*(int *)(puVar6 + 0x18) + uVar11 * 4),iVar14 + -0x6d14);
      uVar11 = uVar11 + 1;
    } while (uVar11 < *(uint *)(puVar6 + 0x14));
    if ((*(uint *)(puVar6 + 0x14) != 0) && (iVar14 = 0, **(int **)(puVar16 + 0x35e60) != 0))
    goto LAB_00082f80;
  }
  iVar14 = (**(code **)(puVar16 + 0x360cc))(*(int *)(puVar16 + 0x357e4) + 0x3924,2);
  if (iVar14 < 0) {
    iStack_f8 = **(int **)(puVar16 + 0x361a0);
    iVar14 = 0;
  }
  else {
    iStack_f8 = (**(code **)(puVar16 + 0x361cc))(iVar14,*(int *)(puVar16 + 0x357e4) + 0x191c);
  }
  if ((*(int *)(puVar6 + 8) == 0) || (iVar12 = *(int *)(puVar6 + 4), iVar12 == 0)) {
LAB_00082cb0:
    iVar12 = *(int *)(puVar6 + 0xc);
  }
  else {
    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);
    FUN_00081d6c(iStack_f8,iVar12,iVar1);
    if (*(char *)(*(int *)(puVar6 + 4) + iVar1 + -1) == '\n') goto LAB_00082cb0;
    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);
    iVar12 = *(int *)(puVar6 + 0xc);
  }
  if (iVar12 == 0) {
LAB_00082d0c:
    iVar12 = *(int *)(puVar6 + 0x14);
  }
  else {
    iVar1 = (**(code **)(puVar16 + 0x360dc))(iVar12);
    FUN_00081d6c(iStack_f8,iVar12,iVar1);
    if (*(char *)(*(int *)(puVar6 + 0xc) + iVar1 + -1) == '\n') goto LAB_00082d0c;
    FUN_00081d6c(iStack_f8,*(int *)(puVar16 + 0x357e4) + -0x4a9c,1);
    iVar12 = *(int *)(puVar6 + 0x14);
  }
  uVar11 = 0;
  if (iVar12 == 0) {
    piVar2 = *(int **)(puVar16 + 0x361a0);
  }
  else {
    iVar12 = *(int *)(puVar16 + 0x357e4);
    do {
      puVar15 = *(undefined4 **)(*(int *)(puVar6 + 0x18) + uVar11 * 4);
      (**(code **)(puVar16 + 0x35fec))(iVar14,auStack_ec);
      puVar5 = auStack_ec + 0xd;
      puVar3 = auStack_ec;
      do {
        uVar10 = puVar3[1];
        uVar9 = puVar3[2];
        uVar7 = puVar3[3];
        *puVar5 = *puVar3;
        puVar5[1] = uVar10;
        puVar5[2] = uVar9;
        puVar5[3] = uVar7;
        puVar3 = puVar3 + 4;
        puVar5 = puVar5 + 4;
      } while (puVar3 != auStack_ec + 0xc);
      *puVar5 = *puVar3;
      if (puVar15[1] == 0) {
        auStack_ec[0x10] = auStack_ec[0x10] & 0xfffffff7 | 3;
      }
      else {
        auStack_ec[0x10] = auStack_ec[0x10] | 0xb;
      }
      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec + 0xd);
      uVar13 = *puVar15;
      uVar4 = (**(code **)(puVar16 + 0x360dc))(uVar13);
      FUN_00081d6c(iStack_f8,uVar13,uVar4);
      iVar1 = 0;
      do {
        iVar8 = iVar1 * 5;
        if (iVar8 < 0) {
          iVar8 = iVar8 + 3;
        }
        (**(code **)(puVar16 + 0x358d0))(puVar15,(iVar8 >> 2) + 0x200);
        iVar8 = (**(code **)(puVar16 + 0x361b4))
                          (iVar14,puVar15[2] + iVar1,(puVar15[3] + -1) - iVar1);
        iVar1 = iVar1 + iVar8;
        if (iVar8 < 1) {
          (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);
          iVar1 = -1;
          if (puVar15[1] != 0) goto LAB_00082f58;
          goto LAB_0008301c;
        }
      } while (*(char *)(puVar15[2] + iVar1 + -1) != '\n');
      (**(code **)(puVar16 + 0x36120))(iVar14,&DAT_0000540e,auStack_ec);
      iVar1 = iVar1 + -1;
      if (puVar15[1] == 0) {
LAB_0008301c:
        FUN_00081d6c(iStack_f8,iVar12 + -0x4a9c,1);
      }
      uVar11 = uVar11 + 1;
      if (iVar1 < 0) {
LAB_00082f58:
        if (**(int **)(puVar16 + 0x361a0) != iStack_f8) {
          (**(code **)(puVar16 + 0x36038))(iStack_f8);
        }
        iVar14 = 0;
        goto LAB_00082f80;
      }
      *(undefined1 *)(puVar15[2] + iVar1) = 0;
      piVar2 = *(int **)(puVar16 + 0x361a0);
    } while (uVar11 < *(uint *)(puVar6 + 0x14));
  }
  if (*piVar2 == iStack_f8) {
    iVar14 = 1;
  }
  else {
    (**(code **)(puVar16 + 0x36038))(iStack_f8);
    iVar14 = 1;
  }
LAB_00082f80:
  if (iStack_84 != **(int **)(puVar16 + 0x36184)) {
    iVar14 = (**(code **)(puVar16 + 0x36158))();
    return iVar14;
  }
  return iVar14;
}

