
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void reload_positions_if_needed(void)

{
  undefined *puVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  char *pcVar5;
  char *pcVar6;
  int iVar7;
  stat *psVar8;
  undefined4 *puVar9;
  char *pcVar10;
  undefined4 uVar11;
  undefined4 *puVar12;
  int *piVar13;
  undefined *puVar14;
  code *pcVar15;
  stat newstat;
  
  puVar1 = PTR___stack_chk_guard_000780f8;
  pcVar5 = (char *)0x3;
  psVar8 = &newstat;
  iVar7 = *(int *)(PTR_DAT_0007754c + -0x7bf0);
  iVar2 = *(int *)PTR___stack_chk_guard_000780f8;
  (*(code *)PTR___xstat64_00077ecc)();
  puVar14 = PTR_position_history_00077bf0;
  if (newstat.st_mtim.tv_sec != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {
    pcVar10 = *(char **)PTR_position_history_00077bf0;
    while (pcVar6 = pcVar10, pcVar6 != (char *)0x0) {
      pcVar10 = *(char **)(pcVar6 + 0xc);
      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);
      (*(code *)PTR_free_0007810c)();
      pcVar5 = pcVar6;
    }
    *(undefined4 *)puVar14 = 0;
    load_poshistory();
  }
  if (iVar2 == *(int *)puVar1) {
    return;
  }
  puVar14 = PTR___stack_chk_fail_000780c0;
  (*(code *)PTR___stack_chk_fail_000780c0)();
  pcVar5 = get_full_path(pcVar5);
  if (((pcVar5 != (char *)0x0) &&
      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')) &&
     (piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0')) {
    reload_positions_if_needed();
    if ((undefined4 *)*piVar13 != (undefined4 *)0x0) {
      puVar3 = (undefined4 *)*piVar13;
      puVar12 = (undefined4 *)0x0;
      do {
        puVar9 = puVar3;
        uVar11 = *puVar9;
        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);
        if (iVar2 == 0) {
          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {
            puVar3 = (undefined4 *)puVar9[3];
            pcVar15 = *(code **)(puVar14 + 0x4bf74);
            if (puVar3 != (undefined4 *)0x0) {
              puVar4 = puVar9;
              if (puVar12 == (undefined4 *)0x0) {
                *piVar13 = (int)puVar3;
              }
              else {
                puVar12[3] = puVar3;
                puVar3 = (undefined4 *)puVar9[3];
              }
              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {
                puVar4 = puVar12;
                puVar3 = (undefined4 *)puVar12[3];
              }
              puVar4[3] = puVar9;
              pcVar15 = *(code **)(puVar14 + 0x4bf74);
            }
            puVar9[1] = iVar7;
            puVar9[2] = psVar8;
            puVar9[3] = 0;
            (*pcVar15)(pcVar5);
            save_poshistory();
            return;
          }
          if (puVar12 == (undefined4 *)0x0) {
            *piVar13 = puVar9[3];
          }
          else {
            puVar12[3] = puVar9[3];
          }
          (**(code **)(puVar14 + 0x4bf74))(uVar11);
          (**(code **)(puVar14 + 0x4bf74))(puVar9);
          save_poshistory();
          goto LAB_0002c21c;
        }
        puVar3 = (undefined4 *)puVar9[3];
        puVar12 = puVar9;
      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);
    }
    if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {
                    /* WARNING: Subroutine does not return */
      nmalloc(0x10);
    }
  }
LAB_0002c21c:
                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar14 + 0x4bf74))(pcVar5);
  return;
}



void reload_positions_if_needed(void)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined1 *puVar7;
  undefined4 *puVar8;
  undefined4 *puVar9;
  undefined4 uVar10;
  int *piVar11;
  undefined *puVar12;
  code *pcVar13;
  undefined1 auStack_c0 [72];
  int local_78;
  int local_1c;
  
  puVar1 = PTR___stack_chk_guard_000780f8;
  puVar7 = auStack_c0;
  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);
  local_1c = *(int *)PTR___stack_chk_guard_000780f8;
  (*(code *)PTR___xstat64_00077ecc)(3);
  puVar12 = PTR_position_history_00077bf0;
  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {
    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;
    while (puVar8 != (undefined4 *)0x0) {
      puVar9 = (undefined4 *)puVar8[3];
      (*(code *)PTR_free_0007810c)(*puVar8);
      (*(code *)PTR_free_0007810c)(puVar8);
      puVar8 = puVar9;
    }
    *(undefined4 *)puVar12 = 0;
    load_poshistory();
  }
  if (local_1c == *(int *)puVar1) {
    return;
  }
  puVar12 = PTR___stack_chk_fail_000780c0;
  (*(code *)PTR___stack_chk_fail_000780c0)();
  iVar2 = get_full_path();
  if (((iVar2 != 0) &&
      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&
     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {
    reload_positions_if_needed();
    puVar8 = (undefined4 *)*piVar11;
    if (puVar8 != (undefined4 *)0x0) {
      puVar9 = puVar8;
      puVar8 = (undefined4 *)0x0;
LAB_0002c278:
      puVar4 = puVar9;
      uVar10 = *puVar4;
      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);
      if (iVar3 != 0) goto LAB_0002c268;
      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {
        puVar9 = (undefined4 *)puVar4[3];
        pcVar13 = *(code **)(puVar12 + 0x4bf74);
        if (puVar9 != (undefined4 *)0x0) {
          puVar5 = puVar4;
          if (puVar8 == (undefined4 *)0x0) {
            *piVar11 = (int)puVar9;
          }
          else {
            puVar8[3] = puVar9;
            puVar9 = (undefined4 *)puVar4[3];
          }
          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {
            puVar5 = puVar8;
            puVar9 = (undefined4 *)puVar8[3];
          }
          puVar5[3] = puVar4;
          goto LAB_0002c2d8;
        }
        goto LAB_0002c2dc;
      }
      if (puVar8 == (undefined4 *)0x0) {
        *piVar11 = puVar4[3];
      }
      else {
        puVar8[3] = puVar4[3];
      }
      (**(code **)(puVar12 + 0x4bf74))(uVar10);
      (**(code **)(puVar12 + 0x4bf74))(puVar4);
      save_poshistory();
      goto LAB_0002c21c;
    }
LAB_0002c320:
    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {
      puVar4 = (undefined4 *)nmalloc(0x10);
      uVar10 = mallocstrcpy(0,iVar2);
      iVar3 = *piVar11;
      *puVar4 = uVar10;
      if (iVar3 == 0) {
        *piVar11 = (int)puVar4;
      }
      else {
        puVar8[3] = puVar4;
      }
LAB_0002c2d8:
      pcVar13 = *(code **)(puVar12 + 0x4bf74);
LAB_0002c2dc:
      puVar4[1] = iVar6;
      puVar4[2] = puVar7;
      puVar4[3] = 0;
      (*pcVar13)(iVar2);
      save_poshistory();
      return;
    }
  }
LAB_0002c21c:
                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar12 + 0x4bf74))(iVar2);
  return;
LAB_0002c268:
  puVar9 = (undefined4 *)puVar4[3];
  puVar8 = puVar4;
  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;
  goto LAB_0002c278;
}


lui gp,0x5
addiu gp,gp,0x3470
addu gp,gp,t9
addiu sp,sp,-0xd8
lw v1,-0x7fd4(gp)
lw t9,-0x7654(gp)
li a0,0x3
addiu a2,sp,0x18
sw s2,0xcc(sp)
lw s2,-0x7428(gp)
lw a1,-0x7bf0(v1)
sw gp,0x10(sp)
sw ra,0xd4(sp)
sw s3,0xd0(sp)
sw s1,0xc8(sp)
sw s0,0xc4(sp)
lw v0,0x0(s2)
sw v0,0xbc(sp)
jalr t9
_nop
lw gp,0x10(sp)
lw v1,0x60(sp)
lw v0,-0x7fd4(gp)
lw v0,-0x7ba0(v0)
beq v1,v0,0x0002c164
_nop
lw s3,-0x7930(gp)
lw s0,0x0(s3)
beq s0,zero,0x0002c158
_lw t9,-0x7d48(gp)
lw t9,-0x7414(gp)
lw a0,0x0(s0)
jalr t9
_lw s1,0xc(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7414(gp)
jalr t9
_or s0,s1,zero
bne s1,zero,0x0002c128
_lw gp,0x10(sp)
lw t9,-0x7d48(gp)
bal 0x0002bb04
_sw zero,0x0(s3)
lw gp,0x10(sp)
lw v1,0xbc(sp)
lw v0,0x0(s2)
bne v1,v0,0x0002c18c
_lw ra,0xd4(sp)
lw s3,0xd0(sp)
lw s2,0xcc(sp)
lw s1,0xc8(sp)
lw s0,0xc4(sp)
jr ra
_addiu sp,sp,0xd8
lw t9,-0x7460(gp)
jalr t9
_nop
(translation_unit "void reload_positions_if_needed(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}\n\n" (function_definition "void reload_positions_if_needed(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}" primitive_type (function_declarator "reload_positions_if_needed(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "undefined1 auStack_c0 [72];" type_identifier (array_declarator "auStack_c0 [72]" identifier [ number_literal ]) ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "puVar7 = auStack_c0;" (assignment_expression "puVar7 = auStack_c0" identifier = identifier) ;) (expression_statement "iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);" (assignment_expression "iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0)" identifier = (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7bf0)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7bf0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7bf0)" ( (binary_expression "PTR_DAT_0007754c + -0x7bf0" identifier + number_literal) ))))) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR___xstat64_00077ecc)(3);" (call_expression "(*(code *)PTR___xstat64_00077ecc)(3)" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" ( (pointer_expression "*(code *)PTR___xstat64_00077ecc" * (cast_expression "(code *)PTR___xstat64_00077ecc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal ))) ;) (expression_statement "puVar12 = PTR_position_history_00077bf0;" (assignment_expression "puVar12 = PTR_position_history_00077bf0" identifier = identifier) ;) (if_statement "if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }" if (parenthesized_expression "(local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0))" ( (binary_expression "local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)" identifier != (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7ba0)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7ba0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7ba0)" ( (binary_expression "PTR_DAT_0007754c + -0x7ba0" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }" { (expression_statement "puVar8 = *(undefined4 **)PTR_position_history_00077bf0;" (assignment_expression "puVar8 = *(undefined4 **)PTR_position_history_00077bf0" identifier = (pointer_expression "*(undefined4 **)PTR_position_history_00077bf0" * (cast_expression "(undefined4 **)PTR_position_history_00077bf0" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (while_statement "while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }" while (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }" { (expression_statement "puVar9 = (undefined4 *)puVar8[3];" (assignment_expression "puVar9 = (undefined4 *)puVar8[3]" identifier = (cast_expression "(undefined4 *)puVar8[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[3]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(*puVar8);" (call_expression "(*(code *)PTR_free_0007810c)(*puVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar8)" ( (pointer_expression "*puVar8" * identifier) ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(puVar8);" (call_expression "(*(code *)PTR_free_0007810c)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)puVar12 = 0;" (assignment_expression "*(undefined4 *)puVar12 = 0" (pointer_expression "*(undefined4 *)puVar12" * (cast_expression "(undefined4 *)puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "load_poshistory();" (call_expression "load_poshistory()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_1c == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar1)" ( (binary_expression "local_1c == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar12 = PTR___stack_chk_fail_000780c0;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000780c0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = get_full_path();" (assignment_expression "iVar2 = get_full_path()" identifier = (call_expression "get_full_path()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }" if (parenthesized_expression "(((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0'))" ( (binary_expression "((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')" (parenthesized_expression "((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/'))" ( (binary_expression "(iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')" ( (comma_expression "iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/'" (assignment_expression "iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2)" identifier = (call_expression "(**(code **)(puVar12 + 0x4be60))(iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4be60))" ( (pointer_expression "**(code **)(puVar12 + 0x4be60)" * (pointer_expression "*(code **)(puVar12 + 0x4be60)" * (cast_expression "(code **)(puVar12 + 0x4be60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4be60)" ( (binary_expression "puVar12 + 0x4be60" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier )))) , (binary_expression "*(char *)(iVar2 + iVar3 + -1) != '/'" (pointer_expression "*(char *)(iVar2 + iVar3 + -1)" * (cast_expression "(char *)(iVar2 + iVar3 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3 + -1)" ( (binary_expression "iVar2 + iVar3 + -1" (binary_expression "iVar2 + iVar3" identifier + identifier) + number_literal) )))) != (char_literal "'/'" ' character '))) ))) )) && (parenthesized_expression "(piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')" ( (comma_expression "piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0'" (assignment_expression "piVar11 = *(int **)(puVar12 + 0x4ba58)" identifier = (pointer_expression "*(int **)(puVar12 + 0x4ba58)" * (cast_expression "(int **)(puVar12 + 0x4ba58)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4ba58)" ( (binary_expression "puVar12 + 0x4ba58" identifier + number_literal) ))))) , (binary_expression "**(char **)(puVar12 + 0x4b828) == '\0'" (pointer_expression "**(char **)(puVar12 + 0x4b828)" * (pointer_expression "*(char **)(puVar12 + 0x4b828)" * (cast_expression "(char **)(puVar12 + 0x4b828)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4b828)" ( (binary_expression "puVar12 + 0x4b828" identifier + number_literal) ))))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }" { (expression_statement "reload_positions_if_needed();" (call_expression "reload_positions_if_needed()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar8 = (undefined4 *)*piVar11;" (assignment_expression "puVar8 = (undefined4 *)*piVar11" identifier = (cast_expression "(undefined4 *)*piVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar11" * identifier))) ;) (if_statement "if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }" if (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }" { (expression_statement "puVar9 = puVar8;" (assignment_expression "puVar9 = puVar8" identifier = identifier) ;) (expression_statement "puVar8 = (undefined4 *)0x0;" (assignment_expression "puVar8 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0002c278:\n      puVar4 = puVar9;" statement_identifier : (expression_statement "puVar4 = puVar9;" (assignment_expression "puVar4 = puVar9" identifier = identifier) ;)) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);" (assignment_expression "iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2)" identifier = (call_expression "(**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bfb8))" ( (pointer_expression "**(code **)(puVar12 + 0x4bfb8)" * (pointer_expression "*(code **)(puVar12 + 0x4bfb8)" * (cast_expression "(code **)(puVar12 + 0x4bfb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bfb8)" ( (binary_expression "puVar12 + 0x4bfb8" identifier + number_literal) ))))) )) (argument_list "(uVar10,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) goto LAB_0002c268;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002c268;" goto statement_identifier ;)) (if_statement "if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }" if (parenthesized_expression "((iVar6 != 1) || (puVar7 != (undefined1 *)0x1))" ( (binary_expression "(iVar6 != 1) || (puVar7 != (undefined1 *)0x1)" (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) || (parenthesized_expression "(puVar7 != (undefined1 *)0x1)" ( (binary_expression "puVar7 != (undefined1 *)0x1" identifier != (cast_expression "(undefined1 *)0x1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }" { (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" identifier = (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;) (expression_statement "pcVar13 = *(code **)(puVar12 + 0x4bf74);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x4bf74)" identifier = (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) ;) (if_statement "if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }" if (parenthesized_expression "(puVar9 != (undefined4 *)0x0)" ( (binary_expression "puVar9 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }" { (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" if (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *piVar11 = (int)puVar9;\n          }" { (expression_statement "*piVar11 = (int)puVar9;" (assignment_expression "*piVar11 = (int)puVar9" (pointer_expression "*piVar11" * identifier) = (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" else (compound_statement "{\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" { (expression_statement "puVar8[3] = puVar9;" (assignment_expression "puVar8[3] = puVar9" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" identifier = (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;) }))) (while_statement "while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }" while (parenthesized_expression "(puVar8 = puVar9, puVar8 != (undefined4 *)0x0)" ( (comma_expression "puVar8 = puVar9, puVar8 != (undefined4 *)0x0" (assignment_expression "puVar8 = puVar9" identifier = identifier) , (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }" { (expression_statement "puVar5 = puVar8;" (assignment_expression "puVar5 = puVar8" identifier = identifier) ;) (expression_statement "puVar9 = (undefined4 *)puVar8[3];" (assignment_expression "puVar9 = (undefined4 *)puVar8[3]" identifier = (cast_expression "(undefined4 *)puVar8[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[3]" identifier [ number_literal ]))) ;) })) (expression_statement "puVar5[3] = puVar4;" (assignment_expression "puVar5[3] = puVar4" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0002c2d8;" goto statement_identifier ;) })) (goto_statement "goto LAB_0002c2dc;" goto statement_identifier ;) })) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }" if (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *piVar11 = puVar4[3];\n      }" { (expression_statement "*piVar11 = puVar4[3];" (assignment_expression "*piVar11 = puVar4[3]" (pointer_expression "*piVar11" * identifier) = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        puVar8[3] = puVar4[3];\n      }" else (compound_statement "{\n        puVar8[3] = puVar4[3];\n      }" { (expression_statement "puVar8[3] = puVar4[3];" (assignment_expression "puVar8[3] = puVar4[3]" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) }))) (expression_statement "(**(code **)(puVar12 + 0x4bf74))(uVar10);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(uVar10)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar12 + 0x4bf74)" * (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(uVar10)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar12 + 0x4bf74))(puVar4);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(puVar4)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar12 + 0x4bf74)" * (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0002c21c;" goto statement_identifier ;) })) (labeled_statement "LAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" statement_identifier : (if_statement "if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" if (parenthesized_expression "((iVar6 != 1) || (puVar7 != (undefined1 *)0x1))" ( (binary_expression "(iVar6 != 1) || (puVar7 != (undefined1 *)0x1)" (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) || (parenthesized_expression "(puVar7 != (undefined1 *)0x1)" ( (binary_expression "puVar7 != (undefined1 *)0x1" identifier != (cast_expression "(undefined1 *)0x1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" { (expression_statement "puVar4 = (undefined4 *)nmalloc(0x10);" (assignment_expression "puVar4 = (undefined4 *)nmalloc(0x10)" identifier = (cast_expression "(undefined4 *)nmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "nmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "uVar10 = mallocstrcpy(0,iVar2);" (assignment_expression "uVar10 = mallocstrcpy(0,iVar2)" identifier = (call_expression "mallocstrcpy(0,iVar2)" identifier (argument_list "(0,iVar2)" ( number_literal , identifier )))) ;) (expression_statement "iVar3 = *piVar11;" (assignment_expression "iVar3 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "*puVar4 = uVar10;" (assignment_expression "*puVar4 = uVar10" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        *piVar11 = (int)puVar4;\n      }" { (expression_statement "*piVar11 = (int)puVar4;" (assignment_expression "*piVar11 = (int)puVar4" (pointer_expression "*piVar11" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n        puVar8[3] = puVar4;\n      }" else (compound_statement "{\n        puVar8[3] = puVar4;\n      }" { (expression_statement "puVar8[3] = puVar4;" (assignment_expression "puVar8[3] = puVar4" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);" statement_identifier : (expression_statement "pcVar13 = *(code **)(puVar12 + 0x4bf74);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x4bf74)" identifier = (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0002c2dc:\n      puVar4[1] = iVar6;" statement_identifier : (expression_statement "puVar4[1] = iVar6;" (assignment_expression "puVar4[1] = iVar6" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "puVar4[2] = puVar7;" (assignment_expression "puVar4[2] = puVar7" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar13)(iVar2);" (call_expression "(*pcVar13)(iVar2)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) }))) })) (labeled_statement "LAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar12 + 0x4bf74))(iVar2);" statement_identifier : comment comment (expression_statement "(**(code **)(puVar12 + 0x4bf74))(iVar2);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar12 + 0x4bf74)" * (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;)) (return_statement "return;" return ;) (labeled_statement "LAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];" statement_identifier : (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" identifier = (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;)) (expression_statement "puVar8 = puVar4;" (assignment_expression "puVar8 = puVar4" identifier = identifier) ;) (if_statement "if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;" if (parenthesized_expression "((undefined4 *)puVar4[3] == (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar4[3] == (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ])) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002c320;" goto statement_identifier ;)) (goto_statement "goto LAB_0002c278;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid reload_positions_if_needed(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  stat *psVar8;\n  undefined4 *puVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  stat newstat;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  pcVar5 = (char *)0x3;\n  psVar8 = &newstat;\n  iVar7 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  iVar2 = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)();\n  puVar14 = PTR_position_history_00077bf0;\n  if (newstat.st_mtim.tv_sec != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    pcVar10 = *(char **)PTR_position_history_00077bf0;\n    while (pcVar6 = pcVar10, pcVar6 != (char *)0x0) {\n      pcVar10 = *(char **)(pcVar6 + 0xc);\n      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);\n      (*(code *)PTR_free_0007810c)();\n      pcVar5 = pcVar6;\n    }\n    *(undefined4 *)puVar14 = 0;\n    load_poshistory();\n  }\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  puVar14 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  pcVar5 = get_full_path(pcVar5);\n  if (((pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')) &&\n     (piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    if ((undefined4 *)*piVar13 != (undefined4 *)0x0) {\n      puVar3 = (undefined4 *)*piVar13;\n      puVar12 = (undefined4 *)0x0;\n      do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);\n    }\n    if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n                    /* WARNING: Subroutine does not return */\n      nmalloc(0x10);\n    }\n  }\nLAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar14 + 0x4bf74))(pcVar5);\n  return;\n}\n\n" comment (function_definition "void reload_positions_if_needed(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  stat *psVar8;\n  undefined4 *puVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  stat newstat;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  pcVar5 = (char *)0x3;\n  psVar8 = &newstat;\n  iVar7 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  iVar2 = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)();\n  puVar14 = PTR_position_history_00077bf0;\n  if (newstat.st_mtim.tv_sec != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    pcVar10 = *(char **)PTR_position_history_00077bf0;\n    while (pcVar6 = pcVar10, pcVar6 != (char *)0x0) {\n      pcVar10 = *(char **)(pcVar6 + 0xc);\n      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);\n      (*(code *)PTR_free_0007810c)();\n      pcVar5 = pcVar6;\n    }\n    *(undefined4 *)puVar14 = 0;\n    load_poshistory();\n  }\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  puVar14 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  pcVar5 = get_full_path(pcVar5);\n  if (((pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')) &&\n     (piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    if ((undefined4 *)*piVar13 != (undefined4 *)0x0) {\n      puVar3 = (undefined4 *)*piVar13;\n      puVar12 = (undefined4 *)0x0;\n      do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);\n    }\n    if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n                    /* WARNING: Subroutine does not return */\n      nmalloc(0x10);\n    }\n  }\nLAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar14 + 0x4bf74))(pcVar5);\n  return;\n}" primitive_type (function_declarator "reload_positions_if_needed(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  stat *psVar8;\n  undefined4 *puVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  undefined *puVar14;\n  code *pcVar15;\n  stat newstat;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  pcVar5 = (char *)0x3;\n  psVar8 = &newstat;\n  iVar7 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  iVar2 = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)();\n  puVar14 = PTR_position_history_00077bf0;\n  if (newstat.st_mtim.tv_sec != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    pcVar10 = *(char **)PTR_position_history_00077bf0;\n    while (pcVar6 = pcVar10, pcVar6 != (char *)0x0) {\n      pcVar10 = *(char **)(pcVar6 + 0xc);\n      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);\n      (*(code *)PTR_free_0007810c)();\n      pcVar5 = pcVar6;\n    }\n    *(undefined4 *)puVar14 = 0;\n    load_poshistory();\n  }\n  if (iVar2 == *(int *)puVar1) {\n    return;\n  }\n  puVar14 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  pcVar5 = get_full_path(pcVar5);\n  if (((pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')) &&\n     (piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    if ((undefined4 *)*piVar13 != (undefined4 *)0x0) {\n      puVar3 = (undefined4 *)*piVar13;\n      puVar12 = (undefined4 *)0x0;\n      do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);\n    }\n    if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n                    /* WARNING: Subroutine does not return */\n      nmalloc(0x10);\n    }\n  }\nLAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar14 + 0x4bf74))(pcVar5);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "stat *psVar8;" type_identifier (pointer_declarator "*psVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "stat newstat;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "pcVar5 = (char *)0x3;" (assignment_expression "pcVar5 = (char *)0x3" identifier = (cast_expression "(char *)0x3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar8 = &newstat;" (assignment_expression "psVar8 = &newstat" identifier = (pointer_expression "&newstat" & identifier)) ;) (expression_statement "iVar7 = *(int *)(PTR_DAT_0007754c + -0x7bf0);" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0007754c + -0x7bf0)" identifier = (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7bf0)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7bf0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7bf0)" ( (binary_expression "PTR_DAT_0007754c + -0x7bf0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR___xstat64_00077ecc)();" (call_expression "(*(code *)PTR___xstat64_00077ecc)()" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" ( (pointer_expression "*(code *)PTR___xstat64_00077ecc" * (cast_expression "(code *)PTR___xstat64_00077ecc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar14 = PTR_position_history_00077bf0;" (assignment_expression "puVar14 = PTR_position_history_00077bf0" identifier = identifier) ;) (if_statement "if (newstat.st_mtim.tv_sec != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    pcVar10 = *(char **)PTR_position_history_00077bf0;\n    while (pcVar6 = pcVar10, pcVar6 != (char *)0x0) {\n      pcVar10 = *(char **)(pcVar6 + 0xc);\n      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);\n      (*(code *)PTR_free_0007810c)();\n      pcVar5 = pcVar6;\n    }\n    *(undefined4 *)puVar14 = 0;\n    load_poshistory();\n  }" if (parenthesized_expression "(newstat.st_mtim.tv_sec != *(int *)(PTR_DAT_0007754c + -0x7ba0))" ( (binary_expression "newstat.st_mtim.tv_sec != *(int *)(PTR_DAT_0007754c + -0x7ba0)" (field_expression "newstat.st_mtim.tv_sec" (field_expression "newstat.st_mtim" identifier . field_identifier) . field_identifier) != (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7ba0)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7ba0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7ba0)" ( (binary_expression "PTR_DAT_0007754c + -0x7ba0" identifier + number_literal) ))))) )) (compound_statement "{\n    pcVar10 = *(char **)PTR_position_history_00077bf0;\n    while (pcVar6 = pcVar10, pcVar6 != (char *)0x0) {\n      pcVar10 = *(char **)(pcVar6 + 0xc);\n      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);\n      (*(code *)PTR_free_0007810c)();\n      pcVar5 = pcVar6;\n    }\n    *(undefined4 *)puVar14 = 0;\n    load_poshistory();\n  }" { (expression_statement "pcVar10 = *(char **)PTR_position_history_00077bf0;" (assignment_expression "pcVar10 = *(char **)PTR_position_history_00077bf0" identifier = (pointer_expression "*(char **)PTR_position_history_00077bf0" * (cast_expression "(char **)PTR_position_history_00077bf0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (while_statement "while (pcVar6 = pcVar10, pcVar6 != (char *)0x0) {\n      pcVar10 = *(char **)(pcVar6 + 0xc);\n      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);\n      (*(code *)PTR_free_0007810c)();\n      pcVar5 = pcVar6;\n    }" while (parenthesized_expression "(pcVar6 = pcVar10, pcVar6 != (char *)0x0)" ( (comma_expression "pcVar6 = pcVar10, pcVar6 != (char *)0x0" (assignment_expression "pcVar6 = pcVar10" identifier = identifier) , (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar10 = *(char **)(pcVar6 + 0xc);\n      (*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);\n      (*(code *)PTR_free_0007810c)();\n      pcVar5 = pcVar6;\n    }" { (expression_statement "pcVar10 = *(char **)(pcVar6 + 0xc);" (assignment_expression "pcVar10 = *(char **)(pcVar6 + 0xc)" identifier = (pointer_expression "*(char **)(pcVar6 + 0xc)" * (cast_expression "(char **)(pcVar6 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0xc)" ( (binary_expression "pcVar6 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6);" (call_expression "(*(code *)PTR_free_0007810c)(*(undefined4 *)pcVar6)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)pcVar6)" ( (pointer_expression "*(undefined4 *)pcVar6" * (cast_expression "(undefined4 *)pcVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)();" (call_expression "(*(code *)PTR_free_0007810c)()" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar5 = pcVar6;" (assignment_expression "pcVar5 = pcVar6" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)puVar14 = 0;" (assignment_expression "*(undefined4 *)puVar14 = 0" (pointer_expression "*(undefined4 *)puVar14" * (cast_expression "(undefined4 *)puVar14" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "load_poshistory();" (call_expression "load_poshistory()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (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_000780c0;" (assignment_expression "puVar14 = PTR___stack_chk_fail_000780c0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar5 = get_full_path(pcVar5);" (assignment_expression "pcVar5 = get_full_path(pcVar5)" identifier = (call_expression "get_full_path(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (if_statement "if (((pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')) &&\n     (piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    if ((undefined4 *)*piVar13 != (undefined4 *)0x0) {\n      puVar3 = (undefined4 *)*piVar13;\n      puVar12 = (undefined4 *)0x0;\n      do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);\n    }\n    if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n                    /* WARNING: Subroutine does not return */\n      nmalloc(0x10);\n    }\n  }" if (parenthesized_expression "(((pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')) &&\n     (piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0'))" ( (binary_expression "((pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')) &&\n     (piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0')" (parenthesized_expression "((pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/'))" ( (binary_expression "(pcVar5 != (char *)0x0) &&\n      (iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')" (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/')" ( (comma_expression "iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5), pcVar5[iVar2 + -1] != '/'" (assignment_expression "iVar2 = (**(code **)(puVar14 + 0x4be60))(pcVar5)" identifier = (call_expression "(**(code **)(puVar14 + 0x4be60))(pcVar5)" (parenthesized_expression "(**(code **)(puVar14 + 0x4be60))" ( (pointer_expression "**(code **)(puVar14 + 0x4be60)" * (pointer_expression "*(code **)(puVar14 + 0x4be60)" * (cast_expression "(code **)(puVar14 + 0x4be60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4be60)" ( (binary_expression "puVar14 + 0x4be60" identifier + number_literal) ))))) )) (argument_list "(pcVar5)" ( identifier )))) , (binary_expression "pcVar5[iVar2 + -1] != '/'" (subscript_expression "pcVar5[iVar2 + -1]" identifier [ (binary_expression "iVar2 + -1" identifier + number_literal) ]) != (char_literal "'/'" ' character '))) ))) )) && (parenthesized_expression "(piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0')" ( (comma_expression "piVar13 = *(int **)(puVar14 + 0x4ba58), **(char **)(puVar14 + 0x4b828) == '\0'" (assignment_expression "piVar13 = *(int **)(puVar14 + 0x4ba58)" identifier = (pointer_expression "*(int **)(puVar14 + 0x4ba58)" * (cast_expression "(int **)(puVar14 + 0x4ba58)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4ba58)" ( (binary_expression "puVar14 + 0x4ba58" identifier + number_literal) ))))) , (binary_expression "**(char **)(puVar14 + 0x4b828) == '\0'" (pointer_expression "**(char **)(puVar14 + 0x4b828)" * (pointer_expression "*(char **)(puVar14 + 0x4b828)" * (cast_expression "(char **)(puVar14 + 0x4b828)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4b828)" ( (binary_expression "puVar14 + 0x4b828" identifier + number_literal) ))))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    reload_positions_if_needed();\n    if ((undefined4 *)*piVar13 != (undefined4 *)0x0) {\n      puVar3 = (undefined4 *)*piVar13;\n      puVar12 = (undefined4 *)0x0;\n      do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);\n    }\n    if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n                    /* WARNING: Subroutine does not return */\n      nmalloc(0x10);\n    }\n  }" { (expression_statement "reload_positions_if_needed();" (call_expression "reload_positions_if_needed()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((undefined4 *)*piVar13 != (undefined4 *)0x0) {\n      puVar3 = (undefined4 *)*piVar13;\n      puVar12 = (undefined4 *)0x0;\n      do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);\n    }" if (parenthesized_expression "((undefined4 *)*piVar13 != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)*piVar13 != (undefined4 *)0x0" (cast_expression "(undefined4 *)*piVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier)) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar3 = (undefined4 *)*piVar13;\n      puVar12 = (undefined4 *)0x0;\n      do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);\n    }" { (expression_statement "puVar3 = (undefined4 *)*piVar13;" (assignment_expression "puVar3 = (undefined4 *)*piVar13" identifier = (cast_expression "(undefined4 *)*piVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "puVar12 = (undefined4 *)0x0;" (assignment_expression "puVar12 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      } while ((undefined4 *)puVar9[3] != (undefined4 *)0x0);" do (compound_statement "{\n        puVar9 = puVar3;\n        uVar11 = *puVar9;\n        iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);\n        if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }\n        puVar3 = (undefined4 *)puVar9[3];\n        puVar12 = puVar9;\n      }" { (expression_statement "puVar9 = puVar3;" (assignment_expression "puVar9 = puVar3" identifier = identifier) ;) (expression_statement "uVar11 = *puVar9;" (assignment_expression "uVar11 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5);" (assignment_expression "iVar2 = (**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5)" identifier = (call_expression "(**(code **)(puVar14 + 0x4bfb8))(uVar11,pcVar5)" (parenthesized_expression "(**(code **)(puVar14 + 0x4bfb8))" ( (pointer_expression "**(code **)(puVar14 + 0x4bfb8)" * (pointer_expression "*(code **)(puVar14 + 0x4bfb8)" * (cast_expression "(code **)(puVar14 + 0x4bfb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4bfb8)" ( (binary_expression "puVar14 + 0x4bfb8" identifier + number_literal) ))))) )) (argument_list "(uVar11,pcVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }\n          if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }\n          (**(code **)(puVar14 + 0x4bf74))(uVar11);\n          (**(code **)(puVar14 + 0x4bf74))(puVar9);\n          save_poshistory();\n          goto LAB_0002c21c;\n        }" { (if_statement "if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }" if (parenthesized_expression "((iVar7 != 1) || (psVar8 != (stat *)0x1))" ( (binary_expression "(iVar7 != 1) || (psVar8 != (stat *)0x1)" (parenthesized_expression "(iVar7 != 1)" ( (binary_expression "iVar7 != 1" identifier != number_literal) )) || (parenthesized_expression "(psVar8 != (stat *)0x1)" ( (binary_expression "psVar8 != (stat *)0x1" identifier != (cast_expression "(stat *)0x1" ( (type_descriptor "stat *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n            puVar3 = (undefined4 *)puVar9[3];\n            pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }\n            puVar9[1] = iVar7;\n            puVar9[2] = psVar8;\n            puVar9[3] = 0;\n            (*pcVar15)(pcVar5);\n            save_poshistory();\n            return;\n          }" { (expression_statement "puVar3 = (undefined4 *)puVar9[3];" (assignment_expression "puVar3 = (undefined4 *)puVar9[3]" identifier = (cast_expression "(undefined4 *)puVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[3]" identifier [ number_literal ]))) ;) (expression_statement "pcVar15 = *(code **)(puVar14 + 0x4bf74);" (assignment_expression "pcVar15 = *(code **)(puVar14 + 0x4bf74)" identifier = (pointer_expression "*(code **)(puVar14 + 0x4bf74)" * (cast_expression "(code **)(puVar14 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4bf74)" ( (binary_expression "puVar14 + 0x4bf74" identifier + number_literal) ))))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              puVar4 = puVar9;\n              if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }\n              while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }\n              puVar4[3] = puVar9;\n              pcVar15 = *(code **)(puVar14 + 0x4bf74);\n            }" { (expression_statement "puVar4 = puVar9;" (assignment_expression "puVar4 = puVar9" identifier = identifier) ;) (if_statement "if (puVar12 == (undefined4 *)0x0) {\n                *piVar13 = (int)puVar3;\n              }\n              else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }" if (parenthesized_expression "(puVar12 == (undefined4 *)0x0)" ( (binary_expression "puVar12 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                *piVar13 = (int)puVar3;\n              }" { (expression_statement "*piVar13 = (int)puVar3;" (assignment_expression "*piVar13 = (int)puVar3" (pointer_expression "*piVar13" * identifier) = (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }" else (compound_statement "{\n                puVar12[3] = puVar3;\n                puVar3 = (undefined4 *)puVar9[3];\n              }" { (expression_statement "puVar12[3] = puVar3;" (assignment_expression "puVar12[3] = puVar3" (subscript_expression "puVar12[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = (undefined4 *)puVar9[3];" (assignment_expression "puVar3 = (undefined4 *)puVar9[3]" identifier = (cast_expression "(undefined4 *)puVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[3]" identifier [ number_literal ]))) ;) }))) (while_statement "while (puVar12 = puVar3, puVar12 != (undefined4 *)0x0) {\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }" while (parenthesized_expression "(puVar12 = puVar3, puVar12 != (undefined4 *)0x0)" ( (comma_expression "puVar12 = puVar3, puVar12 != (undefined4 *)0x0" (assignment_expression "puVar12 = puVar3" identifier = identifier) , (binary_expression "puVar12 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n                puVar4 = puVar12;\n                puVar3 = (undefined4 *)puVar12[3];\n              }" { (expression_statement "puVar4 = puVar12;" (assignment_expression "puVar4 = puVar12" identifier = identifier) ;) (expression_statement "puVar3 = (undefined4 *)puVar12[3];" (assignment_expression "puVar3 = (undefined4 *)puVar12[3]" identifier = (cast_expression "(undefined4 *)puVar12[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar12[3]" identifier [ number_literal ]))) ;) })) (expression_statement "puVar4[3] = puVar9;" (assignment_expression "puVar4[3] = puVar9" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar15 = *(code **)(puVar14 + 0x4bf74);" (assignment_expression "pcVar15 = *(code **)(puVar14 + 0x4bf74)" identifier = (pointer_expression "*(code **)(puVar14 + 0x4bf74)" * (cast_expression "(code **)(puVar14 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4bf74)" ( (binary_expression "puVar14 + 0x4bf74" identifier + number_literal) ))))) ;) })) (expression_statement "puVar9[1] = iVar7;" (assignment_expression "puVar9[1] = iVar7" (subscript_expression "puVar9[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar9[2] = psVar8;" (assignment_expression "puVar9[2] = psVar8" (subscript_expression "puVar9[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar9[3] = 0;" (assignment_expression "puVar9[3] = 0" (subscript_expression "puVar9[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar15)(pcVar5);" (call_expression "(*pcVar15)(pcVar5)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (puVar12 == (undefined4 *)0x0) {\n            *piVar13 = puVar9[3];\n          }\n          else {\n            puVar12[3] = puVar9[3];\n          }" if (parenthesized_expression "(puVar12 == (undefined4 *)0x0)" ( (binary_expression "puVar12 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *piVar13 = puVar9[3];\n          }" { (expression_statement "*piVar13 = puVar9[3];" (assignment_expression "*piVar13 = puVar9[3]" (pointer_expression "*piVar13" * identifier) = (subscript_expression "puVar9[3]" identifier [ number_literal ])) ;) }) (else_clause "else {\n            puVar12[3] = puVar9[3];\n          }" else (compound_statement "{\n            puVar12[3] = puVar9[3];\n          }" { (expression_statement "puVar12[3] = puVar9[3];" (assignment_expression "puVar12[3] = puVar9[3]" (subscript_expression "puVar12[3]" identifier [ number_literal ]) = (subscript_expression "puVar9[3]" identifier [ number_literal ])) ;) }))) (expression_statement "(**(code **)(puVar14 + 0x4bf74))(uVar11);" (call_expression "(**(code **)(puVar14 + 0x4bf74))(uVar11)" (parenthesized_expression "(**(code **)(puVar14 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar14 + 0x4bf74)" * (pointer_expression "*(code **)(puVar14 + 0x4bf74)" * (cast_expression "(code **)(puVar14 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4bf74)" ( (binary_expression "puVar14 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar14 + 0x4bf74))(puVar9);" (call_expression "(**(code **)(puVar14 + 0x4bf74))(puVar9)" (parenthesized_expression "(**(code **)(puVar14 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar14 + 0x4bf74)" * (pointer_expression "*(code **)(puVar14 + 0x4bf74)" * (cast_expression "(code **)(puVar14 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4bf74)" ( (binary_expression "puVar14 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(puVar9)" ( identifier ))) ;) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0002c21c;" goto statement_identifier ;) })) (expression_statement "puVar3 = (undefined4 *)puVar9[3];" (assignment_expression "puVar3 = (undefined4 *)puVar9[3]" identifier = (cast_expression "(undefined4 *)puVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar12 = puVar9;" (assignment_expression "puVar12 = puVar9" identifier = identifier) ;) }) while (parenthesized_expression "((undefined4 *)puVar9[3] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar9[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[3]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (if_statement "if ((iVar7 != 1) || (psVar8 != (stat *)0x1)) {\n                    /* WARNING: Subroutine does not return */\n      nmalloc(0x10);\n    }" if (parenthesized_expression "((iVar7 != 1) || (psVar8 != (stat *)0x1))" ( (binary_expression "(iVar7 != 1) || (psVar8 != (stat *)0x1)" (parenthesized_expression "(iVar7 != 1)" ( (binary_expression "iVar7 != 1" identifier != number_literal) )) || (parenthesized_expression "(psVar8 != (stat *)0x1)" ( (binary_expression "psVar8 != (stat *)0x1" identifier != (cast_expression "(stat *)0x1" ( (type_descriptor "stat *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      nmalloc(0x10);\n    }" { comment (expression_statement "nmalloc(0x10);" (call_expression "nmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))) ;) })) })) (labeled_statement "LAB_0002c21c:\n                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar14 + 0x4bf74))(pcVar5);" statement_identifier : comment comment (expression_statement "(**(code **)(puVar14 + 0x4bf74))(pcVar5);" (call_expression "(**(code **)(puVar14 + 0x4bf74))(pcVar5)" (parenthesized_expression "(**(code **)(puVar14 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar14 + 0x4bf74)" * (pointer_expression "*(code **)(puVar14 + 0x4bf74)" * (cast_expression "(code **)(puVar14 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x4bf74)" ( (binary_expression "puVar14 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(pcVar5)" ( identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void reload_positions_if_needed(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    \n                    \n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}\n\n" (function_definition "void reload_positions_if_needed(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    \n                    \n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}" primitive_type (function_declarator "reload_positions_if_needed(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    \n                    \n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "undefined1 auStack_c0 [72];" type_identifier (array_declarator "auStack_c0 [72]" identifier [ number_literal ]) ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "puVar7 = auStack_c0;" (assignment_expression "puVar7 = auStack_c0" identifier = identifier) ;) (expression_statement "iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);" (assignment_expression "iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0)" identifier = (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7bf0)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7bf0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7bf0)" ( (binary_expression "PTR_DAT_0007754c + -0x7bf0" identifier + number_literal) ))))) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR___xstat64_00077ecc)(3);" (call_expression "(*(code *)PTR___xstat64_00077ecc)(3)" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" ( (pointer_expression "*(code *)PTR___xstat64_00077ecc" * (cast_expression "(code *)PTR___xstat64_00077ecc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal ))) ;) (expression_statement "puVar12 = PTR_position_history_00077bf0;" (assignment_expression "puVar12 = PTR_position_history_00077bf0" identifier = identifier) ;) (if_statement "if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }" if (parenthesized_expression "(local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0))" ( (binary_expression "local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)" identifier != (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7ba0)" * (cast_expression "(int *)(PTR_DAT_0007754c + -0x7ba0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0007754c + -0x7ba0)" ( (binary_expression "PTR_DAT_0007754c + -0x7ba0" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }" { (expression_statement "puVar8 = *(undefined4 **)PTR_position_history_00077bf0;" (assignment_expression "puVar8 = *(undefined4 **)PTR_position_history_00077bf0" identifier = (pointer_expression "*(undefined4 **)PTR_position_history_00077bf0" * (cast_expression "(undefined4 **)PTR_position_history_00077bf0" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (while_statement "while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }" while (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }" { (expression_statement "puVar9 = (undefined4 *)puVar8[3];" (assignment_expression "puVar9 = (undefined4 *)puVar8[3]" identifier = (cast_expression "(undefined4 *)puVar8[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[3]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(*puVar8);" (call_expression "(*(code *)PTR_free_0007810c)(*puVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar8)" ( (pointer_expression "*puVar8" * identifier) ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(puVar8);" (call_expression "(*(code *)PTR_free_0007810c)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)puVar12 = 0;" (assignment_expression "*(undefined4 *)puVar12 = 0" (pointer_expression "*(undefined4 *)puVar12" * (cast_expression "(undefined4 *)puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "load_poshistory();" (call_expression "load_poshistory()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_1c == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar1)" ( (binary_expression "local_1c == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar12 = PTR___stack_chk_fail_000780c0;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000780c0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = get_full_path();" (assignment_expression "iVar2 = get_full_path()" identifier = (call_expression "get_full_path()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }" if (parenthesized_expression "(((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0'))" ( (binary_expression "((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')" (parenthesized_expression "((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/'))" ( (binary_expression "(iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')" ( (comma_expression "iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/'" (assignment_expression "iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2)" identifier = (call_expression "(**(code **)(puVar12 + 0x4be60))(iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4be60))" ( (pointer_expression "**(code **)(puVar12 + 0x4be60)" * (pointer_expression "*(code **)(puVar12 + 0x4be60)" * (cast_expression "(code **)(puVar12 + 0x4be60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4be60)" ( (binary_expression "puVar12 + 0x4be60" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier )))) , (binary_expression "*(char *)(iVar2 + iVar3 + -1) != '/'" (pointer_expression "*(char *)(iVar2 + iVar3 + -1)" * (cast_expression "(char *)(iVar2 + iVar3 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3 + -1)" ( (binary_expression "iVar2 + iVar3 + -1" (binary_expression "iVar2 + iVar3" identifier + identifier) + number_literal) )))) != (char_literal "'/'" ' character '))) ))) )) && (parenthesized_expression "(piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')" ( (comma_expression "piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0'" (assignment_expression "piVar11 = *(int **)(puVar12 + 0x4ba58)" identifier = (pointer_expression "*(int **)(puVar12 + 0x4ba58)" * (cast_expression "(int **)(puVar12 + 0x4ba58)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4ba58)" ( (binary_expression "puVar12 + 0x4ba58" identifier + number_literal) ))))) , (binary_expression "**(char **)(puVar12 + 0x4b828) == '\0'" (pointer_expression "**(char **)(puVar12 + 0x4b828)" * (pointer_expression "*(char **)(puVar12 + 0x4b828)" * (cast_expression "(char **)(puVar12 + 0x4b828)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4b828)" ( (binary_expression "puVar12 + 0x4b828" identifier + number_literal) ))))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }" { (expression_statement "reload_positions_if_needed();" (call_expression "reload_positions_if_needed()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar8 = (undefined4 *)*piVar11;" (assignment_expression "puVar8 = (undefined4 *)*piVar11" identifier = (cast_expression "(undefined4 *)*piVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar11" * identifier))) ;) (if_statement "if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }" if (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }" { (expression_statement "puVar9 = puVar8;" (assignment_expression "puVar9 = puVar8" identifier = identifier) ;) (expression_statement "puVar8 = (undefined4 *)0x0;" (assignment_expression "puVar8 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0002c278:\n      puVar4 = puVar9;" statement_identifier : (expression_statement "puVar4 = puVar9;" (assignment_expression "puVar4 = puVar9" identifier = identifier) ;)) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);" (assignment_expression "iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2)" identifier = (call_expression "(**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bfb8))" ( (pointer_expression "**(code **)(puVar12 + 0x4bfb8)" * (pointer_expression "*(code **)(puVar12 + 0x4bfb8)" * (cast_expression "(code **)(puVar12 + 0x4bfb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bfb8)" ( (binary_expression "puVar12 + 0x4bfb8" identifier + number_literal) ))))) )) (argument_list "(uVar10,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) goto LAB_0002c268;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002c268;" goto statement_identifier ;)) (if_statement "if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }" if (parenthesized_expression "((iVar6 != 1) || (puVar7 != (undefined1 *)0x1))" ( (binary_expression "(iVar6 != 1) || (puVar7 != (undefined1 *)0x1)" (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) || (parenthesized_expression "(puVar7 != (undefined1 *)0x1)" ( (binary_expression "puVar7 != (undefined1 *)0x1" identifier != (cast_expression "(undefined1 *)0x1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }" { (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" identifier = (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;) (expression_statement "pcVar13 = *(code **)(puVar12 + 0x4bf74);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x4bf74)" identifier = (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) ;) (if_statement "if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }" if (parenthesized_expression "(puVar9 != (undefined4 *)0x0)" ( (binary_expression "puVar9 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }" { (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" if (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *piVar11 = (int)puVar9;\n          }" { (expression_statement "*piVar11 = (int)puVar9;" (assignment_expression "*piVar11 = (int)puVar9" (pointer_expression "*piVar11" * identifier) = (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" else (compound_statement "{\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" { (expression_statement "puVar8[3] = puVar9;" (assignment_expression "puVar8[3] = puVar9" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" identifier = (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;) }))) (while_statement "while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }" while (parenthesized_expression "(puVar8 = puVar9, puVar8 != (undefined4 *)0x0)" ( (comma_expression "puVar8 = puVar9, puVar8 != (undefined4 *)0x0" (assignment_expression "puVar8 = puVar9" identifier = identifier) , (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }" { (expression_statement "puVar5 = puVar8;" (assignment_expression "puVar5 = puVar8" identifier = identifier) ;) (expression_statement "puVar9 = (undefined4 *)puVar8[3];" (assignment_expression "puVar9 = (undefined4 *)puVar8[3]" identifier = (cast_expression "(undefined4 *)puVar8[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[3]" identifier [ number_literal ]))) ;) })) (expression_statement "puVar5[3] = puVar4;" (assignment_expression "puVar5[3] = puVar4" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0002c2d8;" goto statement_identifier ;) })) (goto_statement "goto LAB_0002c2dc;" goto statement_identifier ;) })) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }" if (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *piVar11 = puVar4[3];\n      }" { (expression_statement "*piVar11 = puVar4[3];" (assignment_expression "*piVar11 = puVar4[3]" (pointer_expression "*piVar11" * identifier) = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        puVar8[3] = puVar4[3];\n      }" else (compound_statement "{\n        puVar8[3] = puVar4[3];\n      }" { (expression_statement "puVar8[3] = puVar4[3];" (assignment_expression "puVar8[3] = puVar4[3]" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) }))) (expression_statement "(**(code **)(puVar12 + 0x4bf74))(uVar10);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(uVar10)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar12 + 0x4bf74)" * (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(uVar10)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar12 + 0x4bf74))(puVar4);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(puVar4)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar12 + 0x4bf74)" * (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0002c21c;" goto statement_identifier ;) })) (labeled_statement "LAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" statement_identifier : (if_statement "if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" if (parenthesized_expression "((iVar6 != 1) || (puVar7 != (undefined1 *)0x1))" ( (binary_expression "(iVar6 != 1) || (puVar7 != (undefined1 *)0x1)" (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) || (parenthesized_expression "(puVar7 != (undefined1 *)0x1)" ( (binary_expression "puVar7 != (undefined1 *)0x1" identifier != (cast_expression "(undefined1 *)0x1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" { (expression_statement "puVar4 = (undefined4 *)nmalloc(0x10);" (assignment_expression "puVar4 = (undefined4 *)nmalloc(0x10)" identifier = (cast_expression "(undefined4 *)nmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "nmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "uVar10 = mallocstrcpy(0,iVar2);" (assignment_expression "uVar10 = mallocstrcpy(0,iVar2)" identifier = (call_expression "mallocstrcpy(0,iVar2)" identifier (argument_list "(0,iVar2)" ( number_literal , identifier )))) ;) (expression_statement "iVar3 = *piVar11;" (assignment_expression "iVar3 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "*puVar4 = uVar10;" (assignment_expression "*puVar4 = uVar10" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        *piVar11 = (int)puVar4;\n      }" { (expression_statement "*piVar11 = (int)puVar4;" (assignment_expression "*piVar11 = (int)puVar4" (pointer_expression "*piVar11" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n        puVar8[3] = puVar4;\n      }" else (compound_statement "{\n        puVar8[3] = puVar4;\n      }" { (expression_statement "puVar8[3] = puVar4;" (assignment_expression "puVar8[3] = puVar4" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);" statement_identifier : (expression_statement "pcVar13 = *(code **)(puVar12 + 0x4bf74);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x4bf74)" identifier = (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0002c2dc:\n      puVar4[1] = iVar6;" statement_identifier : (expression_statement "puVar4[1] = iVar6;" (assignment_expression "puVar4[1] = iVar6" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "puVar4[2] = puVar7;" (assignment_expression "puVar4[2] = puVar7" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcVar13)(iVar2);" (call_expression "(*pcVar13)(iVar2)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) }))) })) (labeled_statement "LAB_0002c21c:\n                    \n                    \n  (**(code **)(puVar12 + 0x4bf74))(iVar2);" statement_identifier : (expression_statement "(**(code **)(puVar12 + 0x4bf74))(iVar2);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" ( (pointer_expression "**(code **)(puVar12 + 0x4bf74)" * (pointer_expression "*(code **)(puVar12 + 0x4bf74)" * (cast_expression "(code **)(puVar12 + 0x4bf74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x4bf74)" ( (binary_expression "puVar12 + 0x4bf74" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;)) (return_statement "return;" return ;) (labeled_statement "LAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];" statement_identifier : (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" identifier = (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;)) (expression_statement "puVar8 = puVar4;" (assignment_expression "puVar8 = puVar4" identifier = identifier) ;) (if_statement "if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;" if (parenthesized_expression "((undefined4 *)puVar4[3] == (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar4[3] == (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar4[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ])) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002c320;" goto statement_identifier ;)) (goto_statement "goto LAB_0002c278;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 *))) ) IDENT))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (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 = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) != (char_literal ' character '))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_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) ))))) == (char_literal ' escape_sequence '))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (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 , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }))) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_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 ))) ;) (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 (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (labeled_statement statement_identifier : (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 ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) }))) })) (labeled_statement statement_identifier : (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 ))) ;)) (return_statement return ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "void reload_positions_if_needed(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    \n                    \n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}" (primitive_type "void") (function_declarator "reload_positions_if_needed(void)" (identifier "reload_positions_if_needed") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  undefined4 *puVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  code *pcVar13;\n  undefined1 auStack_c0 [72];\n  int local_78;\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  puVar7 = auStack_c0;\n  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);\n  local_1c = *(int *)PTR___stack_chk_guard_000780f8;\n  (*(code *)PTR___xstat64_00077ecc)(3);\n  puVar12 = PTR_position_history_00077bf0;\n  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar2 = get_full_path();\n  if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }\nLAB_0002c21c:\n                    \n                    \n  (**(code **)(puVar12 + 0x4bf74))(iVar2);\n  return;\nLAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];\n  puVar8 = puVar4;\n  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;\n  goto LAB_0002c278;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "code *pcVar13;" (type_identifier "code") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "undefined1 auStack_c0 [72];" (type_identifier "undefined1") (array_declarator "auStack_c0 [72]" (identifier "auStack_c0") ([ "[") (number_literal "72") (] "]")) (; ";")) (declaration "int local_78;" (primitive_type "int") (identifier "local_78") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_000780f8")) (; ";")) (expression_statement "puVar7 = auStack_c0;" (assignment_expression "puVar7 = auStack_c0" (identifier "puVar7") (= "=") (identifier "auStack_c0")) (; ";")) (expression_statement "iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);" (assignment_expression "iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7bf0)" (* "*") (cast_expression "(int *)(PTR_DAT_0007754c + -0x7bf0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x7bf0)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x7bf0" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x7bf0")) () ")"))))) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000780f8" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000780f8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000780f8")))) (; ";")) (expression_statement "(*(code *)PTR___xstat64_00077ecc)(3);" (call_expression "(*(code *)PTR___xstat64_00077ecc)(3)" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" (( "(") (pointer_expression "*(code *)PTR___xstat64_00077ecc" (* "*") (cast_expression "(code *)PTR___xstat64_00077ecc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xstat64_00077ecc"))) () ")")) (argument_list "(3)" (( "(") (number_literal "3") () ")"))) (; ";")) (expression_statement "puVar12 = PTR_position_history_00077bf0;" (assignment_expression "puVar12 = PTR_position_history_00077bf0" (identifier "puVar12") (= "=") (identifier "PTR_position_history_00077bf0")) (; ";")) (if_statement "if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }" (if "if") (parenthesized_expression "(local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0))" (( "(") (binary_expression "local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)" (identifier "local_78") (!= "!=") (pointer_expression "*(int *)(PTR_DAT_0007754c + -0x7ba0)" (* "*") (cast_expression "(int *)(PTR_DAT_0007754c + -0x7ba0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0007754c + -0x7ba0)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x7ba0" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x7ba0")) () ")"))))) () ")")) (compound_statement "{\n    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;\n    while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }\n    *(undefined4 *)puVar12 = 0;\n    load_poshistory();\n  }" ({ "{") (expression_statement "puVar8 = *(undefined4 **)PTR_position_history_00077bf0;" (assignment_expression "puVar8 = *(undefined4 **)PTR_position_history_00077bf0" (identifier "puVar8") (= "=") (pointer_expression "*(undefined4 **)PTR_position_history_00077bf0" (* "*") (cast_expression "(undefined4 **)PTR_position_history_00077bf0" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_position_history_00077bf0")))) (; ";")) (while_statement "while (puVar8 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }" (while "while") (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined4 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar9 = (undefined4 *)puVar8[3];\n      (*(code *)PTR_free_0007810c)(*puVar8);\n      (*(code *)PTR_free_0007810c)(puVar8);\n      puVar8 = puVar9;\n    }" ({ "{") (expression_statement "puVar9 = (undefined4 *)puVar8[3];" (assignment_expression "puVar9 = (undefined4 *)puVar8[3]" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)puVar8[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(*puVar8);" (call_expression "(*(code *)PTR_free_0007810c)(*puVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(*puVar8)" (( "(") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(puVar8);" (call_expression "(*(code *)PTR_free_0007810c)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)puVar12 = 0;" (assignment_expression "*(undefined4 *)puVar12 = 0" (pointer_expression "*(undefined4 *)puVar12" (* "*") (cast_expression "(undefined4 *)puVar12" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "load_poshistory();" (call_expression "load_poshistory()" (identifier "load_poshistory") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1c == *(int *)puVar1) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_1c == *(int *)puVar1)" (( "(") (binary_expression "local_1c == *(int *)puVar1" (identifier "local_1c") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar12 = PTR___stack_chk_fail_000780c0;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000780c0" (identifier "puVar12") (= "=") (identifier "PTR___stack_chk_fail_000780c0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000780c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000780c0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = get_full_path();" (assignment_expression "iVar2 = get_full_path()" (identifier "iVar2") (= "=") (call_expression "get_full_path()" (identifier "get_full_path") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0'))" (( "(") (binary_expression "((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&\n     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')" (parenthesized_expression "((iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/'))" (( "(") (binary_expression "(iVar2 != 0) &&\n      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')" (( "(") (comma_expression "iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/'" (assignment_expression "iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(puVar12 + 0x4be60))(iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4be60))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x4be60)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x4be60)" (* "*") (cast_expression "(code **)(puVar12 + 0x4be60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4be60)" (( "(") (binary_expression "puVar12 + 0x4be60" (identifier "puVar12") (+ "+") (number_literal "0x4be60")) () ")"))))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (, ",") (binary_expression "*(char *)(iVar2 + iVar3 + -1) != '/'" (pointer_expression "*(char *)(iVar2 + iVar3 + -1)" (* "*") (cast_expression "(char *)(iVar2 + iVar3 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar3 + -1)" (( "(") (binary_expression "iVar2 + iVar3 + -1" (binary_expression "iVar2 + iVar3" (identifier "iVar2") (+ "+") (identifier "iVar3")) (+ "+") (number_literal "-1")) () ")")))) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')" (( "(") (comma_expression "piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0'" (assignment_expression "piVar11 = *(int **)(puVar12 + 0x4ba58)" (identifier "piVar11") (= "=") (pointer_expression "*(int **)(puVar12 + 0x4ba58)" (* "*") (cast_expression "(int **)(puVar12 + 0x4ba58)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4ba58)" (( "(") (binary_expression "puVar12 + 0x4ba58" (identifier "puVar12") (+ "+") (number_literal "0x4ba58")) () ")"))))) (, ",") (binary_expression "**(char **)(puVar12 + 0x4b828) == '\0'" (pointer_expression "**(char **)(puVar12 + 0x4b828)" (* "*") (pointer_expression "*(char **)(puVar12 + 0x4b828)" (* "*") (cast_expression "(char **)(puVar12 + 0x4b828)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4b828)" (( "(") (binary_expression "puVar12 + 0x4b828" (identifier "puVar12") (+ "+") (number_literal "0x4b828")) () ")"))))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n    reload_positions_if_needed();\n    puVar8 = (undefined4 *)*piVar11;\n    if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }\nLAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }\n  }" ({ "{") (expression_statement "reload_positions_if_needed();" (call_expression "reload_positions_if_needed()" (identifier "reload_positions_if_needed") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar8 = (undefined4 *)*piVar11;" (assignment_expression "puVar8 = (undefined4 *)*piVar11" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)*piVar11" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar11" (* "*") (identifier "piVar11")))) (; ";")) (if_statement "if (puVar8 != (undefined4 *)0x0) {\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }" (if "if") (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined4 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar9 = puVar8;\n      puVar8 = (undefined4 *)0x0;\nLAB_0002c278:\n      puVar4 = puVar9;\n      uVar10 = *puVar4;\n      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);\n      if (iVar3 != 0) goto LAB_0002c268;\n      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }\n      if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }\n      (**(code **)(puVar12 + 0x4bf74))(uVar10);\n      (**(code **)(puVar12 + 0x4bf74))(puVar4);\n      save_poshistory();\n      goto LAB_0002c21c;\n    }" ({ "{") (expression_statement "puVar9 = puVar8;" (assignment_expression "puVar9 = puVar8" (identifier "puVar9") (= "=") (identifier "puVar8")) (; ";")) (expression_statement "puVar8 = (undefined4 *)0x0;" (assignment_expression "puVar8 = (undefined4 *)0x0" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_0002c278:\n      puVar4 = puVar9;" (statement_identifier "LAB_0002c278") (: ":") (expression_statement "puVar4 = puVar9;" (assignment_expression "puVar4 = puVar9" (identifier "puVar4") (= "=") (identifier "puVar9")) (; ";"))) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" (identifier "uVar10") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);" (assignment_expression "iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bfb8))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x4bfb8)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x4bfb8)" (* "*") (cast_expression "(code **)(puVar12 + 0x4bfb8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4bfb8)" (( "(") (binary_expression "puVar12 + 0x4bfb8" (identifier "puVar12") (+ "+") (number_literal "0x4bfb8")) () ")"))))) () ")")) (argument_list "(uVar10,iVar2)" (( "(") (identifier "uVar10") (, ",") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_0002c268;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002c268;" (goto "goto") (statement_identifier "LAB_0002c268") (; ";"))) (if_statement "if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }" (if "if") (parenthesized_expression "((iVar6 != 1) || (puVar7 != (undefined1 *)0x1))" (( "(") (binary_expression "(iVar6 != 1) || (puVar7 != (undefined1 *)0x1)" (parenthesized_expression "(iVar6 != 1)" (( "(") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(puVar7 != (undefined1 *)0x1)" (( "(") (binary_expression "puVar7 != (undefined1 *)0x1" (identifier "puVar7") (!= "!=") (cast_expression "(undefined1 *)0x1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) () ")"))) () ")")) (compound_statement "{\n        puVar9 = (undefined4 *)puVar4[3];\n        pcVar13 = *(code **)(puVar12 + 0x4bf74);\n        if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }\n        goto LAB_0002c2dc;\n      }" ({ "{") (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)puVar4[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "pcVar13 = *(code **)(puVar12 + 0x4bf74);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x4bf74)" (identifier "pcVar13") (= "=") (pointer_expression "*(code **)(puVar12 + 0x4bf74)" (* "*") (cast_expression "(code **)(puVar12 + 0x4bf74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4bf74)" (( "(") (binary_expression "puVar12 + 0x4bf74" (identifier "puVar12") (+ "+") (number_literal "0x4bf74")) () ")"))))) (; ";")) (if_statement "if (puVar9 != (undefined4 *)0x0) {\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }" (if "if") (parenthesized_expression "(puVar9 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar9 != (undefined4 *)0x0" (identifier "puVar9") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          puVar5 = puVar4;\n          if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }\n          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }\n          puVar5[3] = puVar4;\n          goto LAB_0002c2d8;\n        }" ({ "{") (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n            *piVar11 = (int)puVar9;\n          }\n          else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" (if "if") (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 == (undefined4 *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            *piVar11 = (int)puVar9;\n          }" ({ "{") (expression_statement "*piVar11 = (int)puVar9;" (assignment_expression "*piVar11 = (int)puVar9" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9"))) (; ";")) (} "}")) (else_clause "else {\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" (else "else") (compound_statement "{\n            puVar8[3] = puVar9;\n            puVar9 = (undefined4 *)puVar4[3];\n          }" ({ "{") (expression_statement "puVar8[3] = puVar9;" (assignment_expression "puVar8[3] = puVar9" (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar9")) (; ";")) (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)puVar4[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}")))) (while_statement "while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }" (while "while") (parenthesized_expression "(puVar8 = puVar9, puVar8 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar8 = puVar9, puVar8 != (undefined4 *)0x0" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (, ",") (binary_expression "puVar8 != (undefined4 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n            puVar5 = puVar8;\n            puVar9 = (undefined4 *)puVar8[3];\n          }" ({ "{") (expression_statement "puVar5 = puVar8;" (assignment_expression "puVar5 = puVar8" (identifier "puVar5") (= "=") (identifier "puVar8")) (; ";")) (expression_statement "puVar9 = (undefined4 *)puVar8[3];" (assignment_expression "puVar9 = (undefined4 *)puVar8[3]" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)puVar8[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}"))) (expression_statement "puVar5[3] = puVar4;" (assignment_expression "puVar5[3] = puVar4" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar4")) (; ";")) (goto_statement "goto LAB_0002c2d8;" (goto "goto") (statement_identifier "LAB_0002c2d8") (; ";")) (} "}"))) (goto_statement "goto LAB_0002c2dc;" (goto "goto") (statement_identifier "LAB_0002c2dc") (; ";")) (} "}"))) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n        *piVar11 = puVar4[3];\n      }\n      else {\n        puVar8[3] = puVar4[3];\n      }" (if "if") (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 == (undefined4 *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *piVar11 = puVar4[3];\n      }" ({ "{") (expression_statement "*piVar11 = puVar4[3];" (assignment_expression "*piVar11 = puVar4[3]" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        puVar8[3] = puVar4[3];\n      }" (else "else") (compound_statement "{\n        puVar8[3] = puVar4[3];\n      }" ({ "{") (expression_statement "puVar8[3] = puVar4[3];" (assignment_expression "puVar8[3] = puVar4[3]" (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar12 + 0x4bf74))(uVar10);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(uVar10)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x4bf74)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x4bf74)" (* "*") (cast_expression "(code **)(puVar12 + 0x4bf74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4bf74)" (( "(") (binary_expression "puVar12 + 0x4bf74" (identifier "puVar12") (+ "+") (number_literal "0x4bf74")) () ")"))))) () ")")) (argument_list "(uVar10)" (( "(") (identifier "uVar10") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar12 + 0x4bf74))(puVar4);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(puVar4)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x4bf74)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x4bf74)" (* "*") (cast_expression "(code **)(puVar12 + 0x4bf74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4bf74)" (( "(") (binary_expression "puVar12 + 0x4bf74" (identifier "puVar12") (+ "+") (number_literal "0x4bf74")) () ")"))))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" (identifier "save_poshistory") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_0002c21c;" (goto "goto") (statement_identifier "LAB_0002c21c") (; ";")) (} "}"))) (labeled_statement "LAB_0002c320:\n    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" (statement_identifier "LAB_0002c320") (: ":") (if_statement "if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" (if "if") (parenthesized_expression "((iVar6 != 1) || (puVar7 != (undefined1 *)0x1))" (( "(") (binary_expression "(iVar6 != 1) || (puVar7 != (undefined1 *)0x1)" (parenthesized_expression "(iVar6 != 1)" (( "(") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(puVar7 != (undefined1 *)0x1)" (( "(") (binary_expression "puVar7 != (undefined1 *)0x1" (identifier "puVar7") (!= "!=") (cast_expression "(undefined1 *)0x1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) () ")"))) () ")")) (compound_statement "{\n      puVar4 = (undefined4 *)nmalloc(0x10);\n      uVar10 = mallocstrcpy(0,iVar2);\n      iVar3 = *piVar11;\n      *puVar4 = uVar10;\n      if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }\nLAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);\nLAB_0002c2dc:\n      puVar4[1] = iVar6;\n      puVar4[2] = puVar7;\n      puVar4[3] = 0;\n      (*pcVar13)(iVar2);\n      save_poshistory();\n      return;\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)nmalloc(0x10);" (assignment_expression "puVar4 = (undefined4 *)nmalloc(0x10)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)nmalloc(0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "nmalloc(0x10)" (identifier "nmalloc") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "uVar10 = mallocstrcpy(0,iVar2);" (assignment_expression "uVar10 = mallocstrcpy(0,iVar2)" (identifier "uVar10") (= "=") (call_expression "mallocstrcpy(0,iVar2)" (identifier "mallocstrcpy") (argument_list "(0,iVar2)" (( "(") (number_literal "0") (, ",") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "iVar3 = *piVar11;" (assignment_expression "iVar3 = *piVar11" (identifier "iVar3") (= "=") (pointer_expression "*piVar11" (* "*") (identifier "piVar11"))) (; ";")) (expression_statement "*puVar4 = uVar10;" (assignment_expression "*puVar4 = uVar10" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar10")) (; ";")) (if_statement "if (iVar3 == 0) {\n        *piVar11 = (int)puVar4;\n      }\n      else {\n        puVar8[3] = puVar4;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *piVar11 = (int)puVar4;\n      }" ({ "{") (expression_statement "*piVar11 = (int)puVar4;" (assignment_expression "*piVar11 = (int)puVar4" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (} "}")) (else_clause "else {\n        puVar8[3] = puVar4;\n      }" (else "else") (compound_statement "{\n        puVar8[3] = puVar4;\n      }" ({ "{") (expression_statement "puVar8[3] = puVar4;" (assignment_expression "puVar8[3] = puVar4" (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar4")) (; ";")) (} "}")))) (labeled_statement "LAB_0002c2d8:\n      pcVar13 = *(code **)(puVar12 + 0x4bf74);" (statement_identifier "LAB_0002c2d8") (: ":") (expression_statement "pcVar13 = *(code **)(puVar12 + 0x4bf74);" (assignment_expression "pcVar13 = *(code **)(puVar12 + 0x4bf74)" (identifier "pcVar13") (= "=") (pointer_expression "*(code **)(puVar12 + 0x4bf74)" (* "*") (cast_expression "(code **)(puVar12 + 0x4bf74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4bf74)" (( "(") (binary_expression "puVar12 + 0x4bf74" (identifier "puVar12") (+ "+") (number_literal "0x4bf74")) () ")"))))) (; ";"))) (labeled_statement "LAB_0002c2dc:\n      puVar4[1] = iVar6;" (statement_identifier "LAB_0002c2dc") (: ":") (expression_statement "puVar4[1] = iVar6;" (assignment_expression "puVar4[1] = iVar6" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";"))) (expression_statement "puVar4[2] = puVar7;" (assignment_expression "puVar4[2] = puVar7" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*pcVar13)(iVar2);" (call_expression "(*pcVar13)(iVar2)" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "save_poshistory();" (call_expression "save_poshistory()" (identifier "save_poshistory") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_0002c21c:\n                    \n                    \n  (**(code **)(puVar12 + 0x4bf74))(iVar2);" (statement_identifier "LAB_0002c21c") (: ":") (expression_statement "(**(code **)(puVar12 + 0x4bf74))(iVar2);" (call_expression "(**(code **)(puVar12 + 0x4bf74))(iVar2)" (parenthesized_expression "(**(code **)(puVar12 + 0x4bf74))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x4bf74)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x4bf74)" (* "*") (cast_expression "(code **)(puVar12 + 0x4bf74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x4bf74)" (( "(") (binary_expression "puVar12 + 0x4bf74" (identifier "puVar12") (+ "+") (number_literal "0x4bf74")) () ")"))))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (labeled_statement "LAB_0002c268:\n  puVar9 = (undefined4 *)puVar4[3];" (statement_identifier "LAB_0002c268") (: ":") (expression_statement "puVar9 = (undefined4 *)puVar4[3];" (assignment_expression "puVar9 = (undefined4 *)puVar4[3]" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)puVar4[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")))) (; ";"))) (expression_statement "puVar8 = puVar4;" (assignment_expression "puVar8 = puVar4" (identifier "puVar8") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;" (if "if") (parenthesized_expression "((undefined4 *)puVar4[3] == (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)puVar4[3] == (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar4[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]"))) (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0002c320;" (goto "goto") (statement_identifier "LAB_0002c320") (; ";"))) (goto_statement "goto LAB_0002c278;" (goto "goto") (statement_identifier "LAB_0002c278") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (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: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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))) (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: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (char_literal (character))))))) 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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_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: (char_literal (escape_sequence))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (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) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (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)))) (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 (call_expression function: (identifier) arguments: (argument_list))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (labeled_statement label: (statement_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: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier))))) (return_statement) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))))

void MASKED(void)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  int iVar6;
  undefined1 *puVar7;
  undefined4 *puVar8;
  undefined4 *puVar9;
  undefined4 uVar10;
  int *piVar11;
  undefined *puVar12;
  code *pcVar13;
  undefined1 auStack_c0 [72];
  int local_78;
  int local_1c;
  
  puVar1 = PTR___stack_chk_guard_000780f8;
  puVar7 = auStack_c0;
  iVar6 = *(int *)(PTR_DAT_0007754c + -0x7bf0);
  local_1c = *(int *)PTR___stack_chk_guard_000780f8;
  (*(code *)PTR___xstat64_00077ecc)(3);
  puVar12 = PTR_position_history_00077bf0;
  if (local_78 != *(int *)(PTR_DAT_0007754c + -0x7ba0)) {
    puVar8 = *(undefined4 **)PTR_position_history_00077bf0;
    while (puVar8 != (undefined4 *)0x0) {
      puVar9 = (undefined4 *)puVar8[3];
      (*(code *)PTR_free_0007810c)(*puVar8);
      (*(code *)PTR_free_0007810c)(puVar8);
      puVar8 = puVar9;
    }
    *(undefined4 *)puVar12 = 0;
    load_poshistory();
  }
  if (local_1c == *(int *)puVar1) {
    return;
  }
  puVar12 = PTR___stack_chk_fail_000780c0;
  (*(code *)PTR___stack_chk_fail_000780c0)();
  iVar2 = get_full_path();
  if (((iVar2 != 0) &&
      (iVar3 = (**(code **)(puVar12 + 0x4be60))(iVar2), *(char *)(iVar2 + iVar3 + -1) != '/')) &&
     (piVar11 = *(int **)(puVar12 + 0x4ba58), **(char **)(puVar12 + 0x4b828) == '\0')) {
    MASKED();
    puVar8 = (undefined4 *)*piVar11;
    if (puVar8 != (undefined4 *)0x0) {
      puVar9 = puVar8;
      puVar8 = (undefined4 *)0x0;
LAB_0002c278:
      puVar4 = puVar9;
      uVar10 = *puVar4;
      iVar3 = (**(code **)(puVar12 + 0x4bfb8))(uVar10,iVar2);
      if (iVar3 != 0) goto LAB_0002c268;
      if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {
        puVar9 = (undefined4 *)puVar4[3];
        pcVar13 = *(code **)(puVar12 + 0x4bf74);
        if (puVar9 != (undefined4 *)0x0) {
          puVar5 = puVar4;
          if (puVar8 == (undefined4 *)0x0) {
            *piVar11 = (int)puVar9;
          }
          else {
            puVar8[3] = puVar9;
            puVar9 = (undefined4 *)puVar4[3];
          }
          while (puVar8 = puVar9, puVar8 != (undefined4 *)0x0) {
            puVar5 = puVar8;
            puVar9 = (undefined4 *)puVar8[3];
          }
          puVar5[3] = puVar4;
          goto LAB_0002c2d8;
        }
        goto LAB_0002c2dc;
      }
      if (puVar8 == (undefined4 *)0x0) {
        *piVar11 = puVar4[3];
      }
      else {
        puVar8[3] = puVar4[3];
      }
      (**(code **)(puVar12 + 0x4bf74))(uVar10);
      (**(code **)(puVar12 + 0x4bf74))(puVar4);
      save_poshistory();
      goto LAB_0002c21c;
    }
LAB_0002c320:
    if ((iVar6 != 1) || (puVar7 != (undefined1 *)0x1)) {
      puVar4 = (undefined4 *)nmalloc(0x10);
      uVar10 = mallocstrcpy(0,iVar2);
      iVar3 = *piVar11;
      *puVar4 = uVar10;
      if (iVar3 == 0) {
        *piVar11 = (int)puVar4;
      }
      else {
        puVar8[3] = puVar4;
      }
LAB_0002c2d8:
      pcVar13 = *(code **)(puVar12 + 0x4bf74);
LAB_0002c2dc:
      puVar4[1] = iVar6;
      puVar4[2] = puVar7;
      puVar4[3] = 0;
      (*pcVar13)(iVar2);
      save_poshistory();
      return;
    }
  }
LAB_0002c21c:
                    /* WARNING: Could not recover jumptable at 0x0002c240. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar12 + 0x4bf74))(iVar2);
  return;
LAB_0002c268:
  puVar9 = (undefined4 *)puVar4[3];
  puVar8 = puVar4;
  if ((undefined4 *)puVar4[3] == (undefined4 *)0x0) goto LAB_0002c320;
  goto LAB_0002c278;
}

