
void read_random_seed(noise_consumer_t consumer)

{
  int iVar1;
  char *pcVar2;
  char *pcVar3;
  int iVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  int *piVar7;
  char *path;
  char *pcVar8;
  char *pcVar9;
  undefined *puVar10;
  code *pcVar11;
  char buf [512];
  
  puVar10 = PTR___stack_chk_guard_0006a594;
  iVar1 = *(int *)PTR___stack_chk_guard_0006a594;
  pcVar2 = make_filename(3,(char *)0x0);
  pcVar9 = (char *)0x0;
  pcVar3 = (char *)(*(code *)PTR_open64_0006a510)(pcVar2);
  (*(code *)PTR_safefree_0006a084)(pcVar2);
  if (-1 < (int)pcVar3) {
    while (pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4) {
      (*consumer)(buf,iVar4);
    }
    (*(code *)PTR_close_0006a48c)(pcVar3);
    pcVar2 = pcVar3;
  }
  if (iVar1 == *(int *)puVar10) {
    return;
  }
  puVar10 = PTR___stack_chk_fail_0006a574;
  (*(code *)PTR___stack_chk_fail_0006a574)();
  pcVar3 = make_filename(3,(char *)0x0);
  iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);
  if (iVar1 < 0) {
    piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))();
    iVar1 = *piVar7;
    if (iVar1 == 2) {
      path = make_filename(0,(char *)0x0);
      pcVar8 = make_dir_path(path,0x1c0);
      if (pcVar8 != (char *)0x0) {
        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);
        (**(code **)(puVar10 + 0x1e314))(pcVar8);
        (**(code **)(puVar10 + 0x1e314))(pcVar3);
                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (**(code **)(puVar10 + 0x1e314))(path);
        return;
      }
      (**(code **)(puVar10 + 0x1e314))(path);
      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);
      if (-1 < iVar1) goto LAB_0004bde8;
      iVar1 = *piVar7;
    }
    uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1);
    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6);
  }
  else {
LAB_0004bde8:
    pcVar11 = *(code **)(puVar10 + 0x1e71c);
    if (0 < (int)pcVar9) {
      do {
        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);
        pcVar9 = pcVar9 + -iVar4;
        if (iVar4 < 0) {
          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();
          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);
          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);
          break;
        }
        pcVar2 = pcVar2 + (int)pcVar9;
      } while (0 < (int)pcVar9);
      pcVar11 = *(code **)(puVar10 + 0x1e71c);
    }
    (*pcVar11)(iVar1);
  }
                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar10 + 0x1e314))(pcVar3);
  return;
}



/* WARNING: Type propagation algorithm not settling */

void read_random_seed(code *param_1)

{
  undefined1 *puVar1;
  undefined1 *puVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  int *piVar8;
  undefined1 *puVar9;
  undefined *puVar10;
  code *pcVar11;
  undefined1 auStack_21c [512];
  int local_1c;
  
  puVar10 = PTR___stack_chk_guard_0006a594;
  local_1c = *(int *)PTR___stack_chk_guard_0006a594;
  puVar1 = (undefined1 *)FUN_00049dd0(3,0);
  puVar9 = (undefined1 *)0x0;
  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);
  (*(code *)PTR_safefree_0006a084)(puVar1);
  if (-1 < (int)puVar2) {
    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),
          0 < iVar3) {
      (*param_1)(auStack_21c,iVar3);
    }
    (*(code *)PTR_close_0006a48c)(puVar2);
    puVar1 = puVar2;
  }
  if (local_1c == *(int *)puVar10) {
    return;
  }
  puVar10 = PTR___stack_chk_fail_0006a574;
  (*(code *)PTR___stack_chk_fail_0006a574)();
  uVar4 = FUN_00049dd0(3,0);
  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);
  if (iVar3 < 0) {
    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();
    iVar3 = *piVar8;
    if (iVar3 == 2) {
      uVar7 = FUN_00049dd0(0,0);
      iVar3 = make_dir_path(uVar7,0x1c0);
      if (iVar3 != 0) {
        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);
        (**(code **)(puVar10 + 0x1e314))(iVar3);
        (**(code **)(puVar10 + 0x1e314))(uVar4);
                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (**(code **)(puVar10 + 0x1e314))(uVar7);
        return;
      }
      (**(code **)(puVar10 + 0x1e314))(uVar7);
      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);
      if (-1 < iVar3) goto LAB_0004bde8;
      iVar3 = *piVar8;
    }
    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);
    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);
  }
  else {
LAB_0004bde8:
    pcVar11 = *(code **)(puVar10 + 0x1e71c);
    if (0 < (int)puVar9) {
      do {
        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);
        puVar9 = puVar9 + -iVar5;
        if (iVar5 < 0) {
          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();
          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);
          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);
          break;
        }
        puVar1 = puVar1 + (int)puVar9;
      } while (0 < (int)puVar9);
      pcVar11 = *(code **)(puVar10 + 0x1e71c);
    }
    (*pcVar11)(iVar3);
  }
                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar10 + 0x1e314))(uVar4);
  return;
}


lui gp,0x2
addiu gp,gp,0x63c0
addu gp,gp,t9
addiu sp,sp,-0x238
lw t9,-0x7fc8(gp)
or a1,zero,zero
sw s3,0x230(sp)
addiu t9,t9,-0x6230
lw s3,-0x7a9c(gp)
sw s2,0x22c(sp)
or s2,a0,zero
li a0,0x3
sw ra,0x234(sp)
sw gp,0x10(sp)
sw s1,0x228(sp)
sw s0,0x224(sp)
lw v0,0x0(s3)
sw v0,0x21c(sp)
bal 0x00049dd0
_nop
or a1,zero,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x7b20(gp)
jalr t9
_or s0,v0,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7fac(gp)
jalr t9
_or s1,v0,zero
bltz s1,0x0004bd3c
_lw gp,0x10(sp)
b 0x0004bd10
_addiu s0,sp,0x1c
or a1,v0,zero
or t9,s2,zero
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7a78(gp)
li a2,0x200
or a1,s0,zero
jalr t9
_or a0,s1,zero
bgtz v0,0x0004bcfc
_lw gp,0x10(sp)
lw t9,-0x7ba4(gp)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
lw v1,0x21c(sp)
lw v0,0x0(s3)
bne v1,v0,0x0004bd64
_lw ra,0x234(sp)
lw s3,0x230(sp)
lw s2,0x22c(sp)
lw s1,0x228(sp)
lw s0,0x224(sp)
jr ra
_addiu sp,sp,0x238
lw t9,-0x7abc(gp)
jalr t9
_nop
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n\nvoid read_random_seed(code *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}\n\n" comment (function_definition "void read_random_seed(code *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}" primitive_type (function_declarator "read_random_seed(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined1 auStack_21c [512];" type_identifier (array_declarator "auStack_21c [512]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar10 = PTR___stack_chk_guard_0006a594;" (assignment_expression "puVar10 = PTR___stack_chk_guard_0006a594" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_0006a594;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_0006a594" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0006a594" * (cast_expression "(int *)PTR___stack_chk_guard_0006a594" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined1 *)FUN_00049dd0(3,0);" (assignment_expression "puVar1 = (undefined1 *)FUN_00049dd0(3,0)" identifier = (cast_expression "(undefined1 *)FUN_00049dd0(3,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00049dd0(3,0)" identifier (argument_list "(3,0)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar9 = (undefined1 *)0x0;" (assignment_expression "puVar9 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_open64_0006a510)(puVar1)" (parenthesized_expression "(*(code *)PTR_open64_0006a510)" ( (pointer_expression "*(code *)PTR_open64_0006a510" * (cast_expression "(code *)PTR_open64_0006a510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_safefree_0006a084)(puVar1);" (call_expression "(*(code *)PTR_safefree_0006a084)(puVar1)" (parenthesized_expression "(*(code *)PTR_safefree_0006a084)" ( (pointer_expression "*(code *)PTR_safefree_0006a084" * (cast_expression "(code *)PTR_safefree_0006a084" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1)" ( identifier ))) ;) (if_statement "if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }" if (parenthesized_expression "(-1 < (int)puVar2)" ( (binary_expression "-1 < (int)puVar2" number_literal < (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }" { (while_statement "while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }" while (parenthesized_expression "(puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3)" ( (comma_expression "puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3" (assignment_expression "puVar9 = auStack_21c" identifier = identifier) , (comma_expression "iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3" (assignment_expression "iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200)" identifier = (call_expression "(*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200)" (parenthesized_expression "(*(code *)PTR_read_0006a5b8)" ( (pointer_expression "*(code *)PTR_read_0006a5b8" * (cast_expression "(code *)PTR_read_0006a5b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,auStack_21c,0x200)" ( identifier , identifier , number_literal )))) , (binary_expression "0 < iVar3" number_literal < identifier))) )) (compound_statement "{\n      (*param_1)(auStack_21c,iVar3);\n    }" { (expression_statement "(*param_1)(auStack_21c,iVar3);" (call_expression "(*param_1)(auStack_21c,iVar3)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(auStack_21c,iVar3)" ( identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_close_0006a48c)(puVar2);" (call_expression "(*(code *)PTR_close_0006a48c)(puVar2)" (parenthesized_expression "(*(code *)PTR_close_0006a48c)" ( (pointer_expression "*(code *)PTR_close_0006a48c" * (cast_expression "(code *)PTR_close_0006a48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) (expression_statement "puVar1 = puVar2;" (assignment_expression "puVar1 = puVar2" identifier = identifier) ;) })) (if_statement "if (local_1c == *(int *)puVar10) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar10)" ( (binary_expression "local_1c == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar10 = PTR___stack_chk_fail_0006a574;" (assignment_expression "puVar10 = PTR___stack_chk_fail_0006a574" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0006a574)();" (call_expression "(*(code *)PTR___stack_chk_fail_0006a574)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0006a574)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0006a574" * (cast_expression "(code *)PTR___stack_chk_fail_0006a574" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = FUN_00049dd0(3,0);" (assignment_expression "uVar4 = FUN_00049dd0(3,0)" identifier = (call_expression "FUN_00049dd0(3,0)" identifier (argument_list "(3,0)" ( number_literal , number_literal )))) ;) (expression_statement "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);" (assignment_expression "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" * (cast_expression "(code **)(puVar10 + 0x1e7a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a0)" ( (binary_expression "puVar10 + 0x1e7a0" identifier + number_literal) ))))) )) (argument_list "(uVar4,0x101,0x180)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }" { (expression_statement "piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))()" identifier = (cast_expression "(int *)(**(code **)(puVar10 + 0x1e788))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" ( (pointer_expression "**(code **)(puVar10 + 0x1e788)" * (pointer_expression "*(code **)(puVar10 + 0x1e788)" * (cast_expression "(code **)(puVar10 + 0x1e788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e788)" ( (binary_expression "puVar10 + 0x1e788" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar3 = *piVar8;" (assignment_expression "iVar3 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (compound_statement "{\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }" { (expression_statement "uVar7 = FUN_00049dd0(0,0);" (assignment_expression "uVar7 = FUN_00049dd0(0,0)" identifier = (call_expression "FUN_00049dd0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "iVar3 = make_dir_path(uVar7,0x1c0);" (assignment_expression "iVar3 = make_dir_path(uVar7,0x1c0)" identifier = (call_expression "make_dir_path(uVar7,0x1c0)" identifier (argument_list "(uVar7,0x1c0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }" { (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7090" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e314))(iVar3);" (call_expression "(**(code **)(puVar10 + 0x1e314))(iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar4);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) comment comment (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);" (assignment_expression "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" * (cast_expression "(code **)(puVar10 + 0x1e7a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a0)" ( (binary_expression "puVar10 + 0x1e7a0" identifier + number_literal) ))))) )) (argument_list "(uVar4,0x101,0x180)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (-1 < iVar3) goto LAB_0004bde8;" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (goto_statement "goto LAB_0004bde8;" goto statement_identifier ;)) (expression_statement "iVar3 = *piVar8;" (assignment_expression "iVar3 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) })) (expression_statement "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);" (assignment_expression "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7cc))(iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" * (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" * (cast_expression "(code **)(puVar10 + 0x1e7cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7cc)" ( (binary_expression "puVar10 + 0x1e7cc" identifier + number_literal) ))))) )) (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x70c8" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" else (compound_statement "{\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" { (labeled_statement "LAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);" statement_identifier : (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1e71c)" * (cast_expression "(code **)(puVar10 + 0x1e71c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e71c)" ( (binary_expression "puVar10 + 0x1e71c" identifier + number_literal) ))))) ;)) (if_statement "if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" if (parenthesized_expression "(0 < (int)puVar9)" ( (binary_expression "0 < (int)puVar9" number_literal < (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" { (do_statement "do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);" do (compound_statement "{\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      }" { (expression_statement "iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);" (assignment_expression "iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a4)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a4)" * (cast_expression "(code **)(puVar10 + 0x1e7a4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a4)" ( (binary_expression "puVar10 + 0x1e7a4" identifier + number_literal) ))))) )) (argument_list "(iVar3,puVar1,puVar9)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar9 = puVar9 + -iVar5;" (assignment_expression "puVar9 = puVar9 + -iVar5" identifier = (binary_expression "puVar9 + -iVar5" identifier + (unary_expression "-iVar5" - identifier))) ;) (if_statement "if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }" { (expression_statement "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x1e788))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" ( (pointer_expression "**(code **)(puVar10 + 0x1e788)" * (pointer_expression "*(code **)(puVar10 + 0x1e788)" * (cast_expression "(code **)(puVar10 + 0x1e788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e788)" ( (binary_expression "puVar10 + 0x1e788" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);" (assignment_expression "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7cc))(*puVar6)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" * (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" * (cast_expression "(code **)(puVar10 + 0x1e7cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7cc)" ( (binary_expression "puVar10 + 0x1e7cc" identifier + number_literal) ))))) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7070" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "puVar1 = puVar1 + (int)puVar9;" (assignment_expression "puVar1 = puVar1 + (int)puVar9" identifier = (binary_expression "puVar1 + (int)puVar9" identifier + (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) while (parenthesized_expression "(0 < (int)puVar9)" ( (binary_expression "0 < (int)puVar9" number_literal < (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1e71c)" * (cast_expression "(code **)(puVar10 + 0x1e71c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e71c)" ( (binary_expression "puVar10 + 0x1e71c" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar11)(iVar3);" (call_expression "(*pcVar11)(iVar3)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(iVar3)" ( identifier ))) ;) }))) comment comment (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar4);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void read_random_seed(noise_consumer_t consumer)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  char *path;\n  char *pcVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  char buf [512];\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  iVar1 = *(int *)PTR___stack_chk_guard_0006a594;\n  pcVar2 = make_filename(3,(char *)0x0);\n  pcVar9 = (char *)0x0;\n  pcVar3 = (char *)(*(code *)PTR_open64_0006a510)(pcVar2);\n  (*(code *)PTR_safefree_0006a084)(pcVar2);\n  if (-1 < (int)pcVar3) {\n    while (pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4) {\n      (*consumer)(buf,iVar4);\n    }\n    (*(code *)PTR_close_0006a48c)(pcVar3);\n    pcVar2 = pcVar3;\n  }\n  if (iVar1 == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  pcVar3 = make_filename(3,(char *)0x0);\n  iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n  if (iVar1 < 0) {\n    piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar1 = *piVar7;\n    if (iVar1 == 2) {\n      path = make_filename(0,(char *)0x0);\n      pcVar8 = make_dir_path(path,0x1c0);\n      if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(path);\n      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n      if (-1 < iVar1) goto LAB_0004bde8;\n      iVar1 = *piVar7;\n    }\n    uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)pcVar9) {\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar1);\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar10 + 0x1e314))(pcVar3);\n  return;\n}\n\n" (function_definition "void read_random_seed(noise_consumer_t consumer)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  char *path;\n  char *pcVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  char buf [512];\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  iVar1 = *(int *)PTR___stack_chk_guard_0006a594;\n  pcVar2 = make_filename(3,(char *)0x0);\n  pcVar9 = (char *)0x0;\n  pcVar3 = (char *)(*(code *)PTR_open64_0006a510)(pcVar2);\n  (*(code *)PTR_safefree_0006a084)(pcVar2);\n  if (-1 < (int)pcVar3) {\n    while (pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4) {\n      (*consumer)(buf,iVar4);\n    }\n    (*(code *)PTR_close_0006a48c)(pcVar3);\n    pcVar2 = pcVar3;\n  }\n  if (iVar1 == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  pcVar3 = make_filename(3,(char *)0x0);\n  iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n  if (iVar1 < 0) {\n    piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar1 = *piVar7;\n    if (iVar1 == 2) {\n      path = make_filename(0,(char *)0x0);\n      pcVar8 = make_dir_path(path,0x1c0);\n      if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(path);\n      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n      if (-1 < iVar1) goto LAB_0004bde8;\n      iVar1 = *piVar7;\n    }\n    uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)pcVar9) {\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar1);\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar10 + 0x1e314))(pcVar3);\n  return;\n}" primitive_type (function_declarator "read_random_seed(noise_consumer_t consumer)" identifier (parameter_list "(noise_consumer_t consumer)" ( (parameter_declaration "noise_consumer_t consumer" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  char *path;\n  char *pcVar8;\n  char *pcVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  char buf [512];\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  iVar1 = *(int *)PTR___stack_chk_guard_0006a594;\n  pcVar2 = make_filename(3,(char *)0x0);\n  pcVar9 = (char *)0x0;\n  pcVar3 = (char *)(*(code *)PTR_open64_0006a510)(pcVar2);\n  (*(code *)PTR_safefree_0006a084)(pcVar2);\n  if (-1 < (int)pcVar3) {\n    while (pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4) {\n      (*consumer)(buf,iVar4);\n    }\n    (*(code *)PTR_close_0006a48c)(pcVar3);\n    pcVar2 = pcVar3;\n  }\n  if (iVar1 == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  pcVar3 = make_filename(3,(char *)0x0);\n  iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n  if (iVar1 < 0) {\n    piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar1 = *piVar7;\n    if (iVar1 == 2) {\n      path = make_filename(0,(char *)0x0);\n      pcVar8 = make_dir_path(path,0x1c0);\n      if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(path);\n      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n      if (-1 < iVar1) goto LAB_0004bde8;\n      iVar1 = *piVar7;\n    }\n    uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)pcVar9) {\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar1);\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar10 + 0x1e314))(pcVar3);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "char *path;" primitive_type (pointer_declarator "*path" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "char buf [512];" primitive_type (array_declarator "buf [512]" identifier [ number_literal ]) ;) (expression_statement "puVar10 = PTR___stack_chk_guard_0006a594;" (assignment_expression "puVar10 = PTR___stack_chk_guard_0006a594" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0006a594;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0006a594" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0006a594" * (cast_expression "(int *)PTR___stack_chk_guard_0006a594" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar2 = make_filename(3,(char *)0x0);" (assignment_expression "pcVar2 = make_filename(3,(char *)0x0)" identifier = (call_expression "make_filename(3,(char *)0x0)" identifier (argument_list "(3,(char *)0x0)" ( number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar3 = (char *)(*(code *)PTR_open64_0006a510)(pcVar2);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_open64_0006a510)(pcVar2)" identifier = (cast_expression "(char *)(*(code *)PTR_open64_0006a510)(pcVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_open64_0006a510)(pcVar2)" (parenthesized_expression "(*(code *)PTR_open64_0006a510)" ( (pointer_expression "*(code *)PTR_open64_0006a510" * (cast_expression "(code *)PTR_open64_0006a510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_safefree_0006a084)(pcVar2);" (call_expression "(*(code *)PTR_safefree_0006a084)(pcVar2)" (parenthesized_expression "(*(code *)PTR_safefree_0006a084)" ( (pointer_expression "*(code *)PTR_safefree_0006a084" * (cast_expression "(code *)PTR_safefree_0006a084" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2)" ( identifier ))) ;) (if_statement "if (-1 < (int)pcVar3) {\n    while (pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4) {\n      (*consumer)(buf,iVar4);\n    }\n    (*(code *)PTR_close_0006a48c)(pcVar3);\n    pcVar2 = pcVar3;\n  }" if (parenthesized_expression "(-1 < (int)pcVar3)" ( (binary_expression "-1 < (int)pcVar3" number_literal < (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    while (pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4) {\n      (*consumer)(buf,iVar4);\n    }\n    (*(code *)PTR_close_0006a48c)(pcVar3);\n    pcVar2 = pcVar3;\n  }" { (while_statement "while (pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4) {\n      (*consumer)(buf,iVar4);\n    }" while (parenthesized_expression "(pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4)" ( (comma_expression "pcVar9 = buf, iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4" (assignment_expression "pcVar9 = buf" identifier = identifier) , (comma_expression "iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < iVar4" (assignment_expression "iVar4 = (*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200)" identifier = (call_expression "(*(code *)PTR_read_0006a5b8)(pcVar3,buf,0x200)" (parenthesized_expression "(*(code *)PTR_read_0006a5b8)" ( (pointer_expression "*(code *)PTR_read_0006a5b8" * (cast_expression "(code *)PTR_read_0006a5b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,buf,0x200)" ( identifier , identifier , number_literal )))) , (binary_expression "0 < iVar4" number_literal < identifier))) )) (compound_statement "{\n      (*consumer)(buf,iVar4);\n    }" { (expression_statement "(*consumer)(buf,iVar4);" (call_expression "(*consumer)(buf,iVar4)" (parenthesized_expression "(*consumer)" ( (pointer_expression "*consumer" * identifier) )) (argument_list "(buf,iVar4)" ( identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_close_0006a48c)(pcVar3);" (call_expression "(*(code *)PTR_close_0006a48c)(pcVar3)" (parenthesized_expression "(*(code *)PTR_close_0006a48c)" ( (pointer_expression "*(code *)PTR_close_0006a48c" * (cast_expression "(code *)PTR_close_0006a48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) (expression_statement "pcVar2 = pcVar3;" (assignment_expression "pcVar2 = pcVar3" identifier = identifier) ;) })) (if_statement "if (iVar1 == *(int *)puVar10) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar10)" ( (binary_expression "iVar1 == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar10 = PTR___stack_chk_fail_0006a574;" (assignment_expression "puVar10 = PTR___stack_chk_fail_0006a574" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0006a574)();" (call_expression "(*(code *)PTR___stack_chk_fail_0006a574)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0006a574)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0006a574" * (cast_expression "(code *)PTR___stack_chk_fail_0006a574" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar3 = make_filename(3,(char *)0x0);" (assignment_expression "pcVar3 = make_filename(3,(char *)0x0)" identifier = (call_expression "make_filename(3,(char *)0x0)" identifier (argument_list "(3,(char *)0x0)" ( number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);" (assignment_expression "iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" * (cast_expression "(code **)(puVar10 + 0x1e7a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a0)" ( (binary_expression "puVar10 + 0x1e7a0" identifier + number_literal) ))))) )) (argument_list "(pcVar3,0x101,0x180)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar1 < 0) {\n    piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar1 = *piVar7;\n    if (iVar1 == 2) {\n      path = make_filename(0,(char *)0x0);\n      pcVar8 = make_dir_path(path,0x1c0);\n      if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(path);\n      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n      if (-1 < iVar1) goto LAB_0004bde8;\n      iVar1 = *piVar7;\n    }\n    uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)pcVar9) {\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar1);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar1 = *piVar7;\n    if (iVar1 == 2) {\n      path = make_filename(0,(char *)0x0);\n      pcVar8 = make_dir_path(path,0x1c0);\n      if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(path);\n      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n      if (-1 < iVar1) goto LAB_0004bde8;\n      iVar1 = *piVar7;\n    }\n    uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6);\n  }" { (expression_statement "piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "piVar7 = (int *)(**(code **)(puVar10 + 0x1e788))()" identifier = (cast_expression "(int *)(**(code **)(puVar10 + 0x1e788))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" ( (pointer_expression "**(code **)(puVar10 + 0x1e788)" * (pointer_expression "*(code **)(puVar10 + 0x1e788)" * (cast_expression "(code **)(puVar10 + 0x1e788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e788)" ( (binary_expression "puVar10 + 0x1e788" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if (iVar1 == 2) {\n      path = make_filename(0,(char *)0x0);\n      pcVar8 = make_dir_path(path,0x1c0);\n      if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(path);\n      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n      if (-1 < iVar1) goto LAB_0004bde8;\n      iVar1 = *piVar7;\n    }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n      path = make_filename(0,(char *)0x0);\n      pcVar8 = make_dir_path(path,0x1c0);\n      if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(path);\n      iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);\n      if (-1 < iVar1) goto LAB_0004bde8;\n      iVar1 = *piVar7;\n    }" { (expression_statement "path = make_filename(0,(char *)0x0);" (assignment_expression "path = make_filename(0,(char *)0x0)" identifier = (call_expression "make_filename(0,(char *)0x0)" identifier (argument_list "(0,(char *)0x0)" ( number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pcVar8 = make_dir_path(path,0x1c0);" (assignment_expression "pcVar8 = make_dir_path(path,0x1c0)" identifier = (call_expression "make_dir_path(path,0x1c0)" identifier (argument_list "(path,0x1c0)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar8);\n        (**(code **)(puVar10 + 0x1e314))(pcVar3);\n                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        (**(code **)(puVar10 + 0x1e314))(path);\n        return;\n      }" { (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7090,pcVar8)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7090" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e314))(pcVar8);" (call_expression "(**(code **)(puVar10 + 0x1e314))(pcVar8)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(pcVar8)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e314))(pcVar3);" (call_expression "(**(code **)(puVar10 + 0x1e314))(pcVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(pcVar3)" ( identifier ))) ;) comment comment (expression_statement "(**(code **)(puVar10 + 0x1e314))(path);" (call_expression "(**(code **)(puVar10 + 0x1e314))(path)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(path)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(**(code **)(puVar10 + 0x1e314))(path);" (call_expression "(**(code **)(puVar10 + 0x1e314))(path)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(path)" ( identifier ))) ;) (expression_statement "iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180);" (assignment_expression "iVar1 = (**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a0))(pcVar3,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" * (cast_expression "(code **)(puVar10 + 0x1e7a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a0)" ( (binary_expression "puVar10 + 0x1e7a0" identifier + number_literal) ))))) )) (argument_list "(pcVar3,0x101,0x180)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (-1 < iVar1) goto LAB_0004bde8;" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (goto_statement "goto LAB_0004bde8;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) })) (expression_statement "uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1);" (assignment_expression "uVar6 = (**(code **)(puVar10 + 0x1e7cc))(iVar1)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7cc))(iVar1)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" * (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" * (cast_expression "(code **)(puVar10 + 0x1e7cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7cc)" ( (binary_expression "puVar10 + 0x1e7cc" identifier + number_literal) ))))) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x70c8,pcVar3,uVar6)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x70c8" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)pcVar9) {\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar1);\n  }" else (compound_statement "{\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)pcVar9) {\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar1);\n  }" { (labeled_statement "LAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);" statement_identifier : (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1e71c)" * (cast_expression "(code **)(puVar10 + 0x1e71c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e71c)" ( (binary_expression "puVar10 + 0x1e71c" identifier + number_literal) ))))) ;)) (if_statement "if (0 < (int)pcVar9) {\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" if (parenthesized_expression "(0 < (int)pcVar9)" ( (binary_expression "0 < (int)pcVar9" number_literal < (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" { (do_statement "do {\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      } while (0 < (int)pcVar9);" do (compound_statement "{\n        iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);\n        pcVar9 = pcVar9 + -iVar4;\n        if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }\n        pcVar2 = pcVar2 + (int)pcVar9;\n      }" { (expression_statement "iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9);" (assignment_expression "iVar4 = (**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a4))(iVar1,pcVar2,pcVar9)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a4)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a4)" * (cast_expression "(code **)(puVar10 + 0x1e7a4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a4)" ( (binary_expression "puVar10 + 0x1e7a4" identifier + number_literal) ))))) )) (argument_list "(iVar1,pcVar2,pcVar9)" ( identifier , identifier , identifier )))) ;) (expression_statement "pcVar9 = pcVar9 + -iVar4;" (assignment_expression "pcVar9 = pcVar9 + -iVar4" identifier = (binary_expression "pcVar9 + -iVar4" identifier + (unary_expression "-iVar4" - identifier))) ;) (if_statement "if (iVar4 < 0) {\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n          puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);\n          break;\n        }" { (expression_statement "puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "puVar5 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x1e788))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" ( (pointer_expression "**(code **)(puVar10 + 0x1e788)" * (pointer_expression "*(code **)(puVar10 + 0x1e788)" * (cast_expression "(code **)(puVar10 + 0x1e788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e788)" ( (binary_expression "puVar10 + 0x1e788" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5);" (assignment_expression "uVar6 = (**(code **)(puVar10 + 0x1e7cc))(*puVar5)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7cc))(*puVar5)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" * (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" * (cast_expression "(code **)(puVar10 + 0x1e7cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7cc)" ( (binary_expression "puVar10 + 0x1e7cc" identifier + number_literal) ))))) )) (argument_list "(*puVar5)" ( (pointer_expression "*puVar5" * identifier) )))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar6)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7070" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "pcVar2 = pcVar2 + (int)pcVar9;" (assignment_expression "pcVar2 = pcVar2 + (int)pcVar9" identifier = (binary_expression "pcVar2 + (int)pcVar9" identifier + (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) while (parenthesized_expression "(0 < (int)pcVar9)" ( (binary_expression "0 < (int)pcVar9" number_literal < (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1e71c)" * (cast_expression "(code **)(puVar10 + 0x1e71c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e71c)" ( (binary_expression "puVar10 + 0x1e71c" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar11)(iVar1);" (call_expression "(*pcVar11)(iVar1)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(iVar1)" ( identifier ))) ;) }))) comment comment (expression_statement "(**(code **)(puVar10 + 0x1e314))(pcVar3);" (call_expression "(**(code **)(puVar10 + 0x1e314))(pcVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void read_random_seed(code *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    \n                    \n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}\n\n" (function_definition "void read_random_seed(code *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    \n                    \n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}" primitive_type (function_declarator "read_random_seed(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    \n                    \n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined1 auStack_21c [512];" type_identifier (array_declarator "auStack_21c [512]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar10 = PTR___stack_chk_guard_0006a594;" (assignment_expression "puVar10 = PTR___stack_chk_guard_0006a594" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_0006a594;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_0006a594" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0006a594" * (cast_expression "(int *)PTR___stack_chk_guard_0006a594" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined1 *)FUN_00049dd0(3,0);" (assignment_expression "puVar1 = (undefined1 *)FUN_00049dd0(3,0)" identifier = (cast_expression "(undefined1 *)FUN_00049dd0(3,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00049dd0(3,0)" identifier (argument_list "(3,0)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar9 = (undefined1 *)0x0;" (assignment_expression "puVar9 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_open64_0006a510)(puVar1)" (parenthesized_expression "(*(code *)PTR_open64_0006a510)" ( (pointer_expression "*(code *)PTR_open64_0006a510" * (cast_expression "(code *)PTR_open64_0006a510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_safefree_0006a084)(puVar1);" (call_expression "(*(code *)PTR_safefree_0006a084)(puVar1)" (parenthesized_expression "(*(code *)PTR_safefree_0006a084)" ( (pointer_expression "*(code *)PTR_safefree_0006a084" * (cast_expression "(code *)PTR_safefree_0006a084" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1)" ( identifier ))) ;) (if_statement "if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }" if (parenthesized_expression "(-1 < (int)puVar2)" ( (binary_expression "-1 < (int)puVar2" number_literal < (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }" { (while_statement "while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }" while (parenthesized_expression "(puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3)" ( (comma_expression "puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3" (assignment_expression "puVar9 = auStack_21c" identifier = identifier) , (comma_expression "iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3" (assignment_expression "iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200)" identifier = (call_expression "(*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200)" (parenthesized_expression "(*(code *)PTR_read_0006a5b8)" ( (pointer_expression "*(code *)PTR_read_0006a5b8" * (cast_expression "(code *)PTR_read_0006a5b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,auStack_21c,0x200)" ( identifier , identifier , number_literal )))) , (binary_expression "0 < iVar3" number_literal < identifier))) )) (compound_statement "{\n      (*param_1)(auStack_21c,iVar3);\n    }" { (expression_statement "(*param_1)(auStack_21c,iVar3);" (call_expression "(*param_1)(auStack_21c,iVar3)" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(auStack_21c,iVar3)" ( identifier , identifier ))) ;) })) (expression_statement "(*(code *)PTR_close_0006a48c)(puVar2);" (call_expression "(*(code *)PTR_close_0006a48c)(puVar2)" (parenthesized_expression "(*(code *)PTR_close_0006a48c)" ( (pointer_expression "*(code *)PTR_close_0006a48c" * (cast_expression "(code *)PTR_close_0006a48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) (expression_statement "puVar1 = puVar2;" (assignment_expression "puVar1 = puVar2" identifier = identifier) ;) })) (if_statement "if (local_1c == *(int *)puVar10) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar10)" ( (binary_expression "local_1c == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar10 = PTR___stack_chk_fail_0006a574;" (assignment_expression "puVar10 = PTR___stack_chk_fail_0006a574" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0006a574)();" (call_expression "(*(code *)PTR___stack_chk_fail_0006a574)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0006a574)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0006a574" * (cast_expression "(code *)PTR___stack_chk_fail_0006a574" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = FUN_00049dd0(3,0);" (assignment_expression "uVar4 = FUN_00049dd0(3,0)" identifier = (call_expression "FUN_00049dd0(3,0)" identifier (argument_list "(3,0)" ( number_literal , number_literal )))) ;) (expression_statement "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);" (assignment_expression "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" * (cast_expression "(code **)(puVar10 + 0x1e7a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a0)" ( (binary_expression "puVar10 + 0x1e7a0" identifier + number_literal) ))))) )) (argument_list "(uVar4,0x101,0x180)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }" { (expression_statement "piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))()" identifier = (cast_expression "(int *)(**(code **)(puVar10 + 0x1e788))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" ( (pointer_expression "**(code **)(puVar10 + 0x1e788)" * (pointer_expression "*(code **)(puVar10 + 0x1e788)" * (cast_expression "(code **)(puVar10 + 0x1e788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e788)" ( (binary_expression "puVar10 + 0x1e788" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar3 = *piVar8;" (assignment_expression "iVar3 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (compound_statement "{\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }" { (expression_statement "uVar7 = FUN_00049dd0(0,0);" (assignment_expression "uVar7 = FUN_00049dd0(0,0)" identifier = (call_expression "FUN_00049dd0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "iVar3 = make_dir_path(uVar7,0x1c0);" (assignment_expression "iVar3 = make_dir_path(uVar7,0x1c0)" identifier = (call_expression "make_dir_path(uVar7,0x1c0)" identifier (argument_list "(uVar7,0x1c0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }" { (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7090" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e314))(iVar3);" (call_expression "(**(code **)(puVar10 + 0x1e314))(iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar4);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);" (assignment_expression "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" * (cast_expression "(code **)(puVar10 + 0x1e7a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a0)" ( (binary_expression "puVar10 + 0x1e7a0" identifier + number_literal) ))))) )) (argument_list "(uVar4,0x101,0x180)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (-1 < iVar3) goto LAB_0004bde8;" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (goto_statement "goto LAB_0004bde8;" goto statement_identifier ;)) (expression_statement "iVar3 = *piVar8;" (assignment_expression "iVar3 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) })) (expression_statement "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);" (assignment_expression "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7cc))(iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" * (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" * (cast_expression "(code **)(puVar10 + 0x1e7cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7cc)" ( (binary_expression "puVar10 + 0x1e7cc" identifier + number_literal) ))))) )) (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x70c8" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier , identifier ))) ;) }) (else_clause "else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" else (compound_statement "{\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" { (labeled_statement "LAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);" statement_identifier : (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1e71c)" * (cast_expression "(code **)(puVar10 + 0x1e71c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e71c)" ( (binary_expression "puVar10 + 0x1e71c" identifier + number_literal) ))))) ;)) (if_statement "if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" if (parenthesized_expression "(0 < (int)puVar9)" ( (binary_expression "0 < (int)puVar9" number_literal < (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" { (do_statement "do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);" do (compound_statement "{\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      }" { (expression_statement "iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);" (assignment_expression "iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7a4)" * (pointer_expression "*(code **)(puVar10 + 0x1e7a4)" * (cast_expression "(code **)(puVar10 + 0x1e7a4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7a4)" ( (binary_expression "puVar10 + 0x1e7a4" identifier + number_literal) ))))) )) (argument_list "(iVar3,puVar1,puVar9)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar9 = puVar9 + -iVar5;" (assignment_expression "puVar9 = puVar9 + -iVar5" identifier = (binary_expression "puVar9 + -iVar5" identifier + (unary_expression "-iVar5" - identifier))) ;) (if_statement "if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }" { (expression_statement "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x1e788))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" ( (pointer_expression "**(code **)(puVar10 + 0x1e788)" * (pointer_expression "*(code **)(puVar10 + 0x1e788)" * (cast_expression "(code **)(puVar10 + 0x1e788)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e788)" ( (binary_expression "puVar10 + 0x1e788" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);" (assignment_expression "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6)" identifier = (call_expression "(**(code **)(puVar10 + 0x1e7cc))(*puVar6)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" ( (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" * (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" * (cast_expression "(code **)(puVar10 + 0x1e7cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e7cc)" ( (binary_expression "puVar10 + 0x1e7cc" identifier + number_literal) ))))) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" ( (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" * (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" * (cast_expression "(code **)(puVar10 + 0x1e6e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e6e4)" ( (binary_expression "puVar10 + 0x1e6e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7)" ( (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7070" (pointer_expression "*(int *)(puVar10 + 0x1e304)" * (cast_expression "(int *)(puVar10 + 0x1e304)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x1e304)" ( (binary_expression "puVar10 + 0x1e304" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "puVar1 = puVar1 + (int)puVar9;" (assignment_expression "puVar1 = puVar1 + (int)puVar9" identifier = (binary_expression "puVar1 + (int)puVar9" identifier + (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) while (parenthesized_expression "(0 < (int)puVar9)" ( (binary_expression "0 < (int)puVar9" number_literal < (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" identifier = (pointer_expression "*(code **)(puVar10 + 0x1e71c)" * (cast_expression "(code **)(puVar10 + 0x1e71c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e71c)" ( (binary_expression "puVar10 + 0x1e71c" identifier + number_literal) ))))) ;) })) (expression_statement "(*pcVar11)(iVar3);" (call_expression "(*pcVar11)(iVar3)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(iVar3)" ( identifier ))) ;) }))) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar4);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" ( (pointer_expression "**(code **)(puVar10 + 0x1e314)" * (pointer_expression "*(code **)(puVar10 + 0x1e314)" * (cast_expression "(code **)(puVar10 + 0x1e314)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x1e314)" ( (binary_expression "puVar10 + 0x1e314" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT )))) , (binary_expression LIT < IDENT))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , 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) ;) })) (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 ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (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 ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (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) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (unary_expression - IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( 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 ))) ;) (return_statement return ;) })))
(function_definition "void read_random_seed(code *param_1)\n\n{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    \n                    \n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}" (primitive_type "void") (function_declarator "read_random_seed(code *param_1)" (identifier "read_random_seed") (parameter_list "(code *param_1)" (( "(") (parameter_declaration "code *param_1" (type_identifier "code") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  int *piVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined1 auStack_21c [512];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_0006a594;\n  local_1c = *(int *)PTR___stack_chk_guard_0006a594;\n  puVar1 = (undefined1 *)FUN_00049dd0(3,0);\n  puVar9 = (undefined1 *)0x0;\n  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);\n  (*(code *)PTR_safefree_0006a084)(puVar1);\n  if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }\n  if (local_1c == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_0006a574;\n  (*(code *)PTR___stack_chk_fail_0006a574)();\n  uVar4 = FUN_00049dd0(3,0);\n  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n  if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }\n                    \n                    \n  (**(code **)(puVar10 + 0x1e314))(uVar4);\n  return;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined *puVar10;" (type_identifier "undefined") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "code *pcVar11;" (type_identifier "code") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "undefined1 auStack_21c [512];" (type_identifier "undefined1") (array_declarator "auStack_21c [512]" (identifier "auStack_21c") ([ "[") (number_literal "512") (] "]")) (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar10 = PTR___stack_chk_guard_0006a594;" (assignment_expression "puVar10 = PTR___stack_chk_guard_0006a594" (identifier "puVar10") (= "=") (identifier "PTR___stack_chk_guard_0006a594")) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_0006a594;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_0006a594" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0006a594" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0006a594" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0006a594")))) (; ";")) (expression_statement "puVar1 = (undefined1 *)FUN_00049dd0(3,0);" (assignment_expression "puVar1 = (undefined1 *)FUN_00049dd0(3,0)" (identifier "puVar1") (= "=") (cast_expression "(undefined1 *)FUN_00049dd0(3,0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00049dd0(3,0)" (identifier "FUN_00049dd0") (argument_list "(3,0)" (( "(") (number_literal "3") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "puVar9 = (undefined1 *)0x0;" (assignment_expression "puVar9 = (undefined1 *)0x0" (identifier "puVar9") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_open64_0006a510)(puVar1)" (parenthesized_expression "(*(code *)PTR_open64_0006a510)" (( "(") (pointer_expression "*(code *)PTR_open64_0006a510" (* "*") (cast_expression "(code *)PTR_open64_0006a510" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_open64_0006a510"))) () ")")) (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_safefree_0006a084)(puVar1);" (call_expression "(*(code *)PTR_safefree_0006a084)(puVar1)" (parenthesized_expression "(*(code *)PTR_safefree_0006a084)" (( "(") (pointer_expression "*(code *)PTR_safefree_0006a084" (* "*") (cast_expression "(code *)PTR_safefree_0006a084" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_0006a084"))) () ")")) (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (if_statement "if (-1 < (int)puVar2) {\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }" (if "if") (parenthesized_expression "(-1 < (int)puVar2)" (( "(") (binary_expression "-1 < (int)puVar2" (number_literal "-1") (< "<") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) () ")")) (compound_statement "{\n    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }\n    (*(code *)PTR_close_0006a48c)(puVar2);\n    puVar1 = puVar2;\n  }" ({ "{") (while_statement "while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3) {\n      (*param_1)(auStack_21c,iVar3);\n    }" (while "while") (parenthesized_expression "(puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3)" (( "(") (comma_expression "puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3" (assignment_expression "puVar9 = auStack_21c" (identifier "puVar9") (= "=") (identifier "auStack_21c")) (, ",") (comma_expression "iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),\n          0 < iVar3" (assignment_expression "iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200)" (parenthesized_expression "(*(code *)PTR_read_0006a5b8)" (( "(") (pointer_expression "*(code *)PTR_read_0006a5b8" (* "*") (cast_expression "(code *)PTR_read_0006a5b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_0006a5b8"))) () ")")) (argument_list "(puVar2,auStack_21c,0x200)" (( "(") (identifier "puVar2") (, ",") (identifier "auStack_21c") (, ",") (number_literal "0x200") () ")")))) (, ",") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")))) () ")")) (compound_statement "{\n      (*param_1)(auStack_21c,iVar3);\n    }" ({ "{") (expression_statement "(*param_1)(auStack_21c,iVar3);" (call_expression "(*param_1)(auStack_21c,iVar3)" (parenthesized_expression "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")) (argument_list "(auStack_21c,iVar3)" (( "(") (identifier "auStack_21c") (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_close_0006a48c)(puVar2);" (call_expression "(*(code *)PTR_close_0006a48c)(puVar2)" (parenthesized_expression "(*(code *)PTR_close_0006a48c)" (( "(") (pointer_expression "*(code *)PTR_close_0006a48c" (* "*") (cast_expression "(code *)PTR_close_0006a48c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_0006a48c"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (expression_statement "puVar1 = puVar2;" (assignment_expression "puVar1 = puVar2" (identifier "puVar1") (= "=") (identifier "puVar2")) (; ";")) (} "}"))) (if_statement "if (local_1c == *(int *)puVar10) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_1c == *(int *)puVar10)" (( "(") (binary_expression "local_1c == *(int *)puVar10" (identifier "local_1c") (== "==") (pointer_expression "*(int *)puVar10" (* "*") (cast_expression "(int *)puVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar10")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar10 = PTR___stack_chk_fail_0006a574;" (assignment_expression "puVar10 = PTR___stack_chk_fail_0006a574" (identifier "puVar10") (= "=") (identifier "PTR___stack_chk_fail_0006a574")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0006a574)();" (call_expression "(*(code *)PTR___stack_chk_fail_0006a574)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0006a574)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0006a574" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0006a574" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0006a574"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = FUN_00049dd0(3,0);" (assignment_expression "uVar4 = FUN_00049dd0(3,0)" (identifier "uVar4") (= "=") (call_expression "FUN_00049dd0(3,0)" (identifier "FUN_00049dd0") (argument_list "(3,0)" (( "(") (number_literal "3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);" (assignment_expression "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e7a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e7a0)" (( "(") (binary_expression "puVar10 + 0x1e7a0" (identifier "puVar10") (+ "+") (number_literal "0x1e7a0")) () ")"))))) () ")")) (argument_list "(uVar4,0x101,0x180)" (( "(") (identifier "uVar4") (, ",") (number_literal "0x101") (, ",") (number_literal "0x180") () ")")))) (; ";")) (if_statement "if (iVar3 < 0) {\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }\n  else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();\n    iVar3 = *piVar8;\n    if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }\n    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);\n    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);\n  }" ({ "{") (expression_statement "piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))()" (identifier "piVar8") (= "=") (cast_expression "(int *)(**(code **)(puVar10 + 0x1e788))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e788)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e788)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e788)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e788)" (( "(") (binary_expression "puVar10 + 0x1e788" (identifier "puVar10") (+ "+") (number_literal "0x1e788")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar3 = *piVar8;" (assignment_expression "iVar3 = *piVar8" (identifier "iVar3") (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (if_statement "if (iVar3 == 2) {\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }" (if "if") (parenthesized_expression "(iVar3 == 2)" (( "(") (binary_expression "iVar3 == 2" (identifier "iVar3") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      uVar7 = FUN_00049dd0(0,0);\n      iVar3 = make_dir_path(uVar7,0x1c0);\n      if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }\n      (**(code **)(puVar10 + 0x1e314))(uVar7);\n      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);\n      if (-1 < iVar3) goto LAB_0004bde8;\n      iVar3 = *piVar8;\n    }" ({ "{") (expression_statement "uVar7 = FUN_00049dd0(0,0);" (assignment_expression "uVar7 = FUN_00049dd0(0,0)" (identifier "uVar7") (= "=") (call_expression "FUN_00049dd0(0,0)" (identifier "FUN_00049dd0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar3 = make_dir_path(uVar7,0x1c0);" (assignment_expression "iVar3 = make_dir_path(uVar7,0x1c0)" (identifier "iVar3") (= "=") (call_expression "make_dir_path(uVar7,0x1c0)" (identifier "make_dir_path") (argument_list "(uVar7,0x1c0)" (( "(") (identifier "uVar7") (, ",") (number_literal "0x1c0") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);\n        (**(code **)(puVar10 + 0x1e314))(iVar3);\n        (**(code **)(puVar10 + 0x1e314))(uVar4);\n                    \n                    \n        (**(code **)(puVar10 + 0x1e314))(uVar7);\n        return;\n      }" ({ "{") (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e6e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e6e4)" (( "(") (binary_expression "puVar10 + 0x1e6e4" (identifier "puVar10") (+ "+") (number_literal "0x1e6e4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3)" (( "(") (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7090" (pointer_expression "*(int *)(puVar10 + 0x1e304)" (* "*") (cast_expression "(int *)(puVar10 + 0x1e304)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x1e304)" (( "(") (binary_expression "puVar10 + 0x1e304" (identifier "puVar10") (+ "+") (number_literal "0x1e304")) () ")")))) (+ "+") (number_literal "-0x7090")) (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar10 + 0x1e314))(iVar3);" (call_expression "(**(code **)(puVar10 + 0x1e314))(iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e314)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e314)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e314)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e314)" (( "(") (binary_expression "puVar10 + 0x1e314" (identifier "puVar10") (+ "+") (number_literal "0x1e314")) () ")"))))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar4);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e314)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e314)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e314)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e314)" (( "(") (binary_expression "puVar10 + 0x1e314" (identifier "puVar10") (+ "+") (number_literal "0x1e314")) () ")"))))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e314)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e314)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e314)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e314)" (( "(") (binary_expression "puVar10 + 0x1e314" (identifier "puVar10") (+ "+") (number_literal "0x1e314")) () ")"))))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e314)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e314)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e314)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e314)" (( "(") (binary_expression "puVar10 + 0x1e314" (identifier "puVar10") (+ "+") (number_literal "0x1e314")) () ")"))))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);" (assignment_expression "iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a0))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e7a0)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e7a0)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e7a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e7a0)" (( "(") (binary_expression "puVar10 + 0x1e7a0" (identifier "puVar10") (+ "+") (number_literal "0x1e7a0")) () ")"))))) () ")")) (argument_list "(uVar4,0x101,0x180)" (( "(") (identifier "uVar4") (, ",") (number_literal "0x101") (, ",") (number_literal "0x180") () ")")))) (; ";")) (if_statement "if (-1 < iVar3) goto LAB_0004bde8;" (if "if") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (goto_statement "goto LAB_0004bde8;" (goto "goto") (statement_identifier "LAB_0004bde8") (; ";"))) (expression_statement "iVar3 = *piVar8;" (assignment_expression "iVar3 = *piVar8" (identifier "iVar3") (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (} "}"))) (expression_statement "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);" (assignment_expression "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar10 + 0x1e7cc))(iVar3)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e7cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e7cc)" (( "(") (binary_expression "puVar10 + 0x1e7cc" (identifier "puVar10") (+ "+") (number_literal "0x1e7cc")) () ")"))))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e6e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e6e4)" (( "(") (binary_expression "puVar10 + 0x1e6e4" (identifier "puVar10") (+ "+") (number_literal "0x1e6e4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7)" (( "(") (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x70c8" (pointer_expression "*(int *)(puVar10 + 0x1e304)" (* "*") (cast_expression "(int *)(puVar10 + 0x1e304)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x1e304)" (( "(") (binary_expression "puVar10 + 0x1e304" (identifier "puVar10") (+ "+") (number_literal "0x1e304")) () ")")))) (+ "+") (number_literal "-0x70c8")) (, ",") (identifier "uVar4") (, ",") (identifier "uVar7") () ")"))) (; ";")) (} "}")) (else_clause "else {\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" (else "else") (compound_statement "{\nLAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }\n    (*pcVar11)(iVar3);\n  }" ({ "{") (labeled_statement "LAB_0004bde8:\n    pcVar11 = *(code **)(puVar10 + 0x1e71c);" (statement_identifier "LAB_0004bde8") (: ":") (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" (identifier "pcVar11") (= "=") (pointer_expression "*(code **)(puVar10 + 0x1e71c)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e71c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e71c)" (( "(") (binary_expression "puVar10 + 0x1e71c" (identifier "puVar10") (+ "+") (number_literal "0x1e71c")) () ")"))))) (; ";"))) (if_statement "if (0 < (int)puVar9) {\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" (if "if") (parenthesized_expression "(0 < (int)puVar9)" (( "(") (binary_expression "0 < (int)puVar9" (number_literal "0") (< "<") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9"))) () ")")) (compound_statement "{\n      do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);\n      pcVar11 = *(code **)(puVar10 + 0x1e71c);\n    }" ({ "{") (do_statement "do {\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      } while (0 < (int)puVar9);" (do "do") (compound_statement "{\n        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);\n        puVar9 = puVar9 + -iVar5;\n        if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }\n        puVar1 = puVar1 + (int)puVar9;\n      }" ({ "{") (expression_statement "iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);" (assignment_expression "iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7a4))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e7a4)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e7a4)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e7a4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e7a4)" (( "(") (binary_expression "puVar10 + 0x1e7a4" (identifier "puVar10") (+ "+") (number_literal "0x1e7a4")) () ")"))))) () ")")) (argument_list "(iVar3,puVar1,puVar9)" (( "(") (identifier "iVar3") (, ",") (identifier "puVar1") (, ",") (identifier "puVar9") () ")")))) (; ";")) (expression_statement "puVar9 = puVar9 + -iVar5;" (assignment_expression "puVar9 = puVar9 + -iVar5" (identifier "puVar9") (= "=") (binary_expression "puVar9 + -iVar5" (identifier "puVar9") (+ "+") (unary_expression "-iVar5" (- "-") (identifier "iVar5")))) (; ";")) (if_statement "if (iVar5 < 0) {\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();\n          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);\n          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);\n          break;\n        }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();" (assignment_expression "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))()" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x1e788))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar10 + 0x1e788))()" (parenthesized_expression "(**(code **)(puVar10 + 0x1e788))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e788)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e788)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e788)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e788)" (( "(") (binary_expression "puVar10 + 0x1e788" (identifier "puVar10") (+ "+") (number_literal "0x1e788")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);" (assignment_expression "uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar10 + 0x1e7cc))(*puVar6)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e7cc))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e7cc)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e7cc)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e7cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e7cc)" (( "(") (binary_expression "puVar10 + 0x1e7cc" (identifier "puVar10") (+ "+") (number_literal "0x1e7cc")) () ")"))))) () ")")) (argument_list "(*puVar6)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) () ")")))) (; ";")) (expression_statement "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);" (call_expression "(**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e6e4))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e6e4)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e6e4)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e6e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e6e4)" (( "(") (binary_expression "puVar10 + 0x1e6e4" (identifier "puVar10") (+ "+") (number_literal "0x1e6e4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7)" (( "(") (binary_expression "*(int *)(puVar10 + 0x1e304) + -0x7070" (pointer_expression "*(int *)(puVar10 + 0x1e304)" (* "*") (cast_expression "(int *)(puVar10 + 0x1e304)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x1e304)" (( "(") (binary_expression "puVar10 + 0x1e304" (identifier "puVar10") (+ "+") (number_literal "0x1e304")) () ")")))) (+ "+") (number_literal "-0x7070")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "puVar1 = puVar1 + (int)puVar9;" (assignment_expression "puVar1 = puVar1 + (int)puVar9" (identifier "puVar1") (= "=") (binary_expression "puVar1 + (int)puVar9" (identifier "puVar1") (+ "+") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < (int)puVar9)" (( "(") (binary_expression "0 < (int)puVar9" (number_literal "0") (< "<") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9"))) () ")")) (; ";")) (expression_statement "pcVar11 = *(code **)(puVar10 + 0x1e71c);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x1e71c)" (identifier "pcVar11") (= "=") (pointer_expression "*(code **)(puVar10 + 0x1e71c)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e71c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e71c)" (( "(") (binary_expression "puVar10 + 0x1e71c" (identifier "puVar10") (+ "+") (number_literal "0x1e71c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*pcVar11)(iVar3);" (call_expression "(*pcVar11)(iVar3)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(puVar10 + 0x1e314))(uVar4);" (call_expression "(**(code **)(puVar10 + 0x1e314))(uVar4)" (parenthesized_expression "(**(code **)(puVar10 + 0x1e314))" (( "(") (pointer_expression "**(code **)(puVar10 + 0x1e314)" (* "*") (pointer_expression "*(code **)(puVar10 + 0x1e314)" (* "*") (cast_expression "(code **)(puVar10 + 0x1e314)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x1e314)" (( "(") (binary_expression "puVar10 + 0x1e314" (identifier "puVar10") (+ "+") (number_literal "0x1e314")) () ")"))))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 consumer)

{
  int var_3;
  char *var_8;
  char *pcVar3;
  int var_2;
  type_2 *puVar5;
  type_2 uVar6;
  int *piVar7;
  char *path;
  char *var_6;
  char *var_7;
  type_3 *var_4;
  type_4 *pcVar11;
  char buf [512];
  
  var_4 = PTR___stack_chk_guard_0006a594;
  var_3 = *(int *)PTR___stack_chk_guard_0006a594;
  var_8 = var_1(3,(char *)0x0);
  var_7 = (char *)0x0;
  pcVar3 = (char *)(*(type_4 *)PTR_open64_0006a510)(var_8);
  (*(type_4 *)PTR_safefree_0006a084)(var_8);
  if (-1 < (int)pcVar3) {
    while (var_7 = buf, var_2 = (*(type_4 *)PTR_read_0006a5b8)(pcVar3,buf,0x200), 0 < var_2) {
      (*consumer)(buf,var_2);
    }
    (*(type_4 *)PTR_close_0006a48c)(pcVar3);
    var_8 = pcVar3;
  }
  if (var_3 == *(int *)var_4) {
    return;
  }
  var_4 = PTR___stack_chk_fail_0006a574;
  (*(type_4 *)PTR___stack_chk_fail_0006a574)();
  pcVar3 = var_1(3,(char *)0x0);
  var_3 = (**(type_4 **)(var_4 + 0x1e7a0))(pcVar3,0x101,0x180);
  if (var_3 < 0) {
    piVar7 = (int *)(**(type_4 **)(var_4 + 0x1e788))();
    var_3 = *piVar7;
    if (var_3 == 2) {
      path = var_1(0,(char *)0x0);
      var_6 = var_5(path,0x1c0);
      if (var_6 != (char *)0x0) {
        (**(type_4 **)(var_4 + 0x1e6e4))(*(int *)(var_4 + 0x1e304) + -0x7090,var_6);
        (**(type_4 **)(var_4 + 0x1e314))(var_6);
        (**(type_4 **)(var_4 + 0x1e314))(pcVar3);
                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (**(type_4 **)(var_4 + 0x1e314))(path);
        return;
      }
      (**(type_4 **)(var_4 + 0x1e314))(path);
      var_3 = (**(type_4 **)(var_4 + 0x1e7a0))(pcVar3,0x101,0x180);
      if (-1 < var_3) goto LAB_0004bde8;
      var_3 = *piVar7;
    }
    uVar6 = (**(type_4 **)(var_4 + 0x1e7cc))(var_3);
    (**(type_4 **)(var_4 + 0x1e6e4))(*(int *)(var_4 + 0x1e304) + -0x70c8,pcVar3,uVar6);
  }
  else {
LAB_0004bde8:
    pcVar11 = *(type_4 **)(var_4 + 0x1e71c);
    if (0 < (int)var_7) {
      do {
        var_2 = (**(type_4 **)(var_4 + 0x1e7a4))(var_3,var_8,var_7);
        var_7 = var_7 + -var_2;
        if (var_2 < 0) {
          puVar5 = (type_2 *)(**(type_4 **)(var_4 + 0x1e788))();
          uVar6 = (**(type_4 **)(var_4 + 0x1e7cc))(*puVar5);
          (**(type_4 **)(var_4 + 0x1e6e4))(*(int *)(var_4 + 0x1e304) + -0x7070,uVar6);
          break;
        }
        var_8 = var_8 + (int)var_7;
      } while (0 < (int)var_7);
      pcVar11 = *(type_4 **)(var_4 + 0x1e71c);
    }
    (*pcVar11)(var_3);
  }
                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(type_4 **)(var_4 + 0x1e314))(pcVar3);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal)))) right: (binary_expression left: (number_literal) right: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (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))))) (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 (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (identifier)))) (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: (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))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_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))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (identifier) (identifier))))) alternative: (else_clause (compound_statement (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (unary_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (identifier)))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (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))))

/* WARNING: Type propagation algorithm not settling */

void MASKED(code *param_1)

{
  undefined1 *puVar1;
  undefined1 *puVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  int *piVar8;
  undefined1 *puVar9;
  undefined *puVar10;
  code *pcVar11;
  undefined1 auStack_21c [512];
  int local_1c;
  
  puVar10 = PTR___stack_chk_guard_0006a594;
  local_1c = *(int *)PTR___stack_chk_guard_0006a594;
  puVar1 = (undefined1 *)FUN_00049dd0(3,0);
  puVar9 = (undefined1 *)0x0;
  puVar2 = (undefined1 *)(*(code *)PTR_open64_0006a510)(puVar1);
  (*(code *)PTR_safefree_0006a084)(puVar1);
  if (-1 < (int)puVar2) {
    while (puVar9 = auStack_21c, iVar3 = (*(code *)PTR_read_0006a5b8)(puVar2,auStack_21c,0x200),
          0 < iVar3) {
      (*param_1)(auStack_21c,iVar3);
    }
    (*(code *)PTR_close_0006a48c)(puVar2);
    puVar1 = puVar2;
  }
  if (local_1c == *(int *)puVar10) {
    return;
  }
  puVar10 = PTR___stack_chk_fail_0006a574;
  (*(code *)PTR___stack_chk_fail_0006a574)();
  uVar4 = FUN_00049dd0(3,0);
  iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);
  if (iVar3 < 0) {
    piVar8 = (int *)(**(code **)(puVar10 + 0x1e788))();
    iVar3 = *piVar8;
    if (iVar3 == 2) {
      uVar7 = FUN_00049dd0(0,0);
      iVar3 = make_dir_path(uVar7,0x1c0);
      if (iVar3 != 0) {
        (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7090,iVar3);
        (**(code **)(puVar10 + 0x1e314))(iVar3);
        (**(code **)(puVar10 + 0x1e314))(uVar4);
                    /* WARNING: Could not recover jumptable at 0x0004bf44. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        (**(code **)(puVar10 + 0x1e314))(uVar7);
        return;
      }
      (**(code **)(puVar10 + 0x1e314))(uVar7);
      iVar3 = (**(code **)(puVar10 + 0x1e7a0))(uVar4,0x101,0x180);
      if (-1 < iVar3) goto LAB_0004bde8;
      iVar3 = *piVar8;
    }
    uVar7 = (**(code **)(puVar10 + 0x1e7cc))(iVar3);
    (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x70c8,uVar4,uVar7);
  }
  else {
LAB_0004bde8:
    pcVar11 = *(code **)(puVar10 + 0x1e71c);
    if (0 < (int)puVar9) {
      do {
        iVar5 = (**(code **)(puVar10 + 0x1e7a4))(iVar3,puVar1,puVar9);
        puVar9 = puVar9 + -iVar5;
        if (iVar5 < 0) {
          puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x1e788))();
          uVar7 = (**(code **)(puVar10 + 0x1e7cc))(*puVar6);
          (**(code **)(puVar10 + 0x1e6e4))(*(int *)(puVar10 + 0x1e304) + -0x7070,uVar7);
          break;
        }
        puVar1 = puVar1 + (int)puVar9;
      } while (0 < (int)puVar9);
      pcVar11 = *(code **)(puVar10 + 0x1e71c);
    }
    (*pcVar11)(iVar3);
  }
                    /* WARNING: Could not recover jumptable at 0x0004be8c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar10 + 0x1e314))(uVar4);
  return;
}

