
/* WARNING: Unknown calling convention */

_Bool yesno(void)

{
  int iVar1;
  FILE *fp;
  int iVar2;
  int iVar3;
  int *piVar4;
  uint uVar5;
  undefined4 *puVar6;
  undefined1 uVar7;
  size_t *whence;
  undefined4 uVar8;
  bool bVar9;
  undefined *puVar10;
  code *pcVar11;
  undefined4 in_stack_ffffff8c;
  char *response;
  size_t response_size;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_00033440;
  response = (char *)0x0;
  response_size = 0;
  uVar8 = 10;
  whence = &response_size;
  iVar1 = (*(code *)PTR___getdelim_00033414)(&response);
  if (iVar1 < 1) {
    bVar9 = false;
  }
  else {
    if (response[iVar1 + -1] == '\n') {
      response[iVar1 + -1] = '\0';
    }
    iVar1 = (*(code *)PTR_rpmatch_00033380)(response);
    bVar9 = 0 < iVar1;
  }
  (*(code *)PTR_free_00033448)(response);
  if (local_c == *(int *)PTR___stack_chk_guard_00033440) {
    return bVar9;
  }
  iVar1 = local_c;
  puVar10 = PTR___stack_chk_fail_00033428;
  (*(code *)PTR___stack_chk_fail_00033428)();
  fp = (FILE *)**(int **)(puVar10 + 0x16fc0);
  if (whence != (size_t *)0x406) {
    iVar2 = (**(code **)(puVar10 + 0x16f04))();
    goto LAB_0001c640;
  }
  if (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) < 0) {
    whence = (size_t *)0x0;
    iVar2 = rpl_fcntl(iVar1,0);
    if ((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)) goto LAB_0001c640;
LAB_0001c5a0:
    whence = (size_t *)0x1;
    uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2);
    if (-1 < (int)uVar5) {
      whence = (size_t *)0x2;
      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);
      if (iVar1 != -1) goto LAB_0001c640;
    }
    puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))();
    uVar8 = *puVar6;
    (**(code **)(puVar10 + 0x16e9c))(iVar2);
    *puVar6 = uVar8;
    iVar2 = -1;
  }
  else {
    whence = (size_t *)0x406;
    iVar2 = (**(code **)(puVar10 + 0x16f04))();
    if (iVar2 < 0) {
      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();
      iVar3 = *(int *)(puVar10 + 0x16c88);
      if (*piVar4 == 0x16) {
        whence = (size_t *)0x0;
        iVar2 = rpl_fcntl(iVar1,0,uVar8);
        if (iVar2 < 0) goto LAB_0001c640;
        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;
        goto LAB_0001c5a0;
      }
    }
    else {
      iVar3 = *(int *)(puVar10 + 0x16c88);
    }
    *(undefined4 *)(iVar3 + 0x3620) = 1;
  }
LAB_0001c640:
  if (fp != (FILE *)**(int **)(puVar10 + 0x16fc0)) {
    pcVar11 = *(code **)(puVar10 + 0x16fa8);
    (*pcVar11)();
    if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {
      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);
    }
    else {
      if ((fp->_flags & 0x100U) != 0) {
        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);
      }
      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);
    }
    return (_Bool)uVar7;
  }
  return SUB41(iVar2,0);
}



/* WARNING: Type propagation algorithm not settling */

uint yesno(void)

{
  int iVar1;
  char *pcVar2;
  uint *puVar3;
  int iVar4;
  int *piVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  uint uVar9;
  int in_t9;
  code *pcVar10;
  int local_14 [3];
  
  local_14[2] = **(int **)(in_t9 + 0x170a0);
  local_14[0] = 0;
  local_14[1] = 0;
  uVar8 = 10;
  piVar5 = local_14 + 1;
  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);
  if (iVar1 < 1) {
    uVar9 = 0;
  }
  else {
    pcVar2 = (char *)(local_14[0] + iVar1 + -1);
    if (*pcVar2 == '\n') {
      *pcVar2 = '\0';
    }
    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);
    uVar9 = (uint)(0 < iVar1);
  }
  (**(code **)(in_t9 + 0x170a8))(local_14[0]);
  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {
    return uVar9;
  }
  pcVar10 = *(code **)(in_t9 + 0x17088);
  iVar1 = local_14[2];
  (*pcVar10)();
  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);
  if (piVar5 != (int *)0x406) {
    uVar9 = (**(code **)(pcVar10 + 0x16f04))();
    goto LAB_0001c640;
  }
  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {
    uVar9 = rpl_fcntl();
    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))
    goto LAB_0001c640;
LAB_0001c5a0:
    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);
    if (((int)uVar6 < 0) ||
       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {
      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();
      uVar8 = *puVar7;
      (**(code **)(pcVar10 + 0x16e9c))(uVar9);
      *puVar7 = uVar8;
      uVar9 = 0xffffffff;
    }
  }
  else {
    uVar9 = (**(code **)(pcVar10 + 0x16f04))();
    if ((int)uVar9 < 0) {
      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();
      iVar4 = *(int *)(pcVar10 + 0x16c88);
      if (*piVar5 == 0x16) {
        uVar9 = rpl_fcntl(iVar1,0,uVar8);
        if ((int)uVar9 < 0) goto LAB_0001c640;
        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;
        goto LAB_0001c5a0;
      }
    }
    else {
      iVar4 = *(int *)(pcVar10 + 0x16c88);
    }
    *(undefined4 *)(iVar4 + 0x3620) = 1;
  }
LAB_0001c640:
  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {
    pcVar10 = *(code **)(pcVar10 + 0x16fa8);
    (*pcVar10)();
    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {
      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);
    }
    else {
      if ((*puVar3 & 0x100) != 0) {
        rpl_fseeko(puVar3);
      }
      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);
    }
    return uVar9;
  }
  return uVar9;
}


lui gp,0x2
addiu gp,gp,-0x12c0
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s0,0x28(sp)
sw gp,0x10(sp)
lw v0,-0x7ca0(gp)
lw v0,0x0(v0)
sw v0,0x24(sp)
sw zero,0x1c(sp)
sw zero,0x20(sp)
lw v0,-0x7d24(gp)
lw a3,0x0(v0)
li a2,0xa
addiu a1,sp,0x20
addiu a0,sp,0x1c
lw t9,-0x7ccc(gp)
jalr t9
_nop
lw gp,0x10(sp)
blez v0,0x0001c46c
_addiu v0,v0,-0x1
lw v1,0x1c(sp)
addu v0,v1,v0
lb a0,0x0(v0)
li v1,0xa
beq a0,v1,0x0001c464
_nop
lw a0,0x1c(sp)
lw t9,-0x7d60(gp)
jalr t9
_nop
lw gp,0x10(sp)
slt s0,zero,v0
lw a0,0x1c(sp)
lw t9,-0x7c98(gp)
jalr t9
_nop
lw gp,0x10(sp)
or v0,s0,zero
lw a0,0x24(sp)
lw v1,-0x7ca0(gp)
lw v1,0x0(v1)
bne a0,v1,0x0001c474
_lw ra,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x30
b 0x0001c414
_sb zero,0x0(v0)
b 0x0001c42c
_or s0,zero,zero
lw t9,-0x7cb8(gp)
jalr t9
_nop
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n\nuint yesno(void)\n\n{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}\n\n" comment (function_definition "uint yesno(void)\n\n{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}" type_identifier (function_declarator "yesno(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int local_14 [3];" primitive_type (array_declarator "local_14 [3]" identifier [ number_literal ]) ;) (expression_statement "local_14[2] = **(int **)(in_t9 + 0x170a0);" (assignment_expression "local_14[2] = **(int **)(in_t9 + 0x170a0)" (subscript_expression "local_14[2]" identifier [ number_literal ]) = (pointer_expression "**(int **)(in_t9 + 0x170a0)" * (pointer_expression "*(int **)(in_t9 + 0x170a0)" * (cast_expression "(int **)(in_t9 + 0x170a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x170a0)" ( (binary_expression "in_t9 + 0x170a0" identifier + number_literal) )))))) ;) (expression_statement "local_14[0] = 0;" (assignment_expression "local_14[0] = 0" (subscript_expression "local_14[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_14[1] = 0;" (assignment_expression "local_14[1] = 0" (subscript_expression "local_14[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar8 = 10;" (assignment_expression "uVar8 = 10" identifier = number_literal) ;) (expression_statement "piVar5 = local_14 + 1;" (assignment_expression "piVar5 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x17074))(local_14)" identifier = (call_expression "(**(code **)(in_t9 + 0x17074))(local_14)" (parenthesized_expression "(**(code **)(in_t9 + 0x17074))" ( (pointer_expression "**(code **)(in_t9 + 0x17074)" * (pointer_expression "*(code **)(in_t9 + 0x17074)" * (cast_expression "(code **)(in_t9 + 0x17074)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x17074)" ( (binary_expression "in_t9 + 0x17074" identifier + number_literal) ))))) )) (argument_list "(local_14)" ( identifier )))) ;) (if_statement "if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n    uVar9 = 0;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" else (compound_statement "{\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" { (expression_statement "pcVar2 = (char *)(local_14[0] + iVar1 + -1);" (assignment_expression "pcVar2 = (char *)(local_14[0] + iVar1 + -1)" identifier = (cast_expression "(char *)(local_14[0] + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_14[0] + iVar1 + -1)" ( (binary_expression "local_14[0] + iVar1 + -1" (binary_expression "local_14[0] + iVar1" (subscript_expression "local_14[0]" identifier [ number_literal ]) + identifier) + number_literal) )))) ;) (if_statement "if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }" if (parenthesized_expression "(*pcVar2 == '\n')" ( (binary_expression "*pcVar2 == '\n'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n      *pcVar2 = '\0';\n    }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0])" identifier = (call_expression "(**(code **)(in_t9 + 0x16fe0))(local_14[0])" (parenthesized_expression "(**(code **)(in_t9 + 0x16fe0))" ( (pointer_expression "**(code **)(in_t9 + 0x16fe0)" * (pointer_expression "*(code **)(in_t9 + 0x16fe0)" * (cast_expression "(code **)(in_t9 + 0x16fe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x16fe0)" ( (binary_expression "in_t9 + 0x16fe0" identifier + number_literal) ))))) )) (argument_list "(local_14[0])" ( (subscript_expression "local_14[0]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar9 = (uint)(0 < iVar1);" (assignment_expression "uVar9 = (uint)(0 < iVar1)" identifier = (call_expression "(uint)(0 < iVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )))) ;) }))) (expression_statement "(**(code **)(in_t9 + 0x170a8))(local_14[0]);" (call_expression "(**(code **)(in_t9 + 0x170a8))(local_14[0])" (parenthesized_expression "(**(code **)(in_t9 + 0x170a8))" ( (pointer_expression "**(code **)(in_t9 + 0x170a8)" * (pointer_expression "*(code **)(in_t9 + 0x170a8)" * (cast_expression "(code **)(in_t9 + 0x170a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x170a8)" ( (binary_expression "in_t9 + 0x170a8" identifier + number_literal) ))))) )) (argument_list "(local_14[0])" ( (subscript_expression "local_14[0]" identifier [ number_literal ]) ))) ;) (if_statement "if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }" if (parenthesized_expression "(local_14[2] == **(int **)(in_t9 + 0x170a0))" ( (binary_expression "local_14[2] == **(int **)(in_t9 + 0x170a0)" (subscript_expression "local_14[2]" identifier [ number_literal ]) == (pointer_expression "**(int **)(in_t9 + 0x170a0)" * (pointer_expression "*(int **)(in_t9 + 0x170a0)" * (cast_expression "(int **)(in_t9 + 0x170a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x170a0)" ( (binary_expression "in_t9 + 0x170a0" identifier + number_literal) )))))) )) (compound_statement "{\n    return uVar9;\n  }" { (return_statement "return uVar9;" return identifier ;) })) (expression_statement "pcVar10 = *(code **)(in_t9 + 0x17088);" (assignment_expression "pcVar10 = *(code **)(in_t9 + 0x17088)" identifier = (pointer_expression "*(code **)(in_t9 + 0x17088)" * (cast_expression "(code **)(in_t9 + 0x17088)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x17088)" ( (binary_expression "in_t9 + 0x17088" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = local_14[2];" (assignment_expression "iVar1 = local_14[2]" identifier = (subscript_expression "local_14[2]" identifier [ number_literal ])) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);" (assignment_expression "puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0)" identifier = (cast_expression "(uint *)**(int **)(pcVar10 + 0x16fc0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(pcVar10 + 0x16fc0)" * (pointer_expression "*(int **)(pcVar10 + 0x16fc0)" * (cast_expression "(int **)(pcVar10 + 0x16fc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16fc0)" ( (binary_expression "pcVar10 + 0x16fc0" identifier + number_literal) ))))))) ;) (if_statement "if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" if (parenthesized_expression "(piVar5 != (int *)0x406)" ( (binary_expression "piVar5 != (int *)0x406" identifier != (cast_expression "(int *)0x406" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" { (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16f04))();" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16f04))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;) })) (if_statement "if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" if (parenthesized_expression "(*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0)" ( (binary_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0" (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" * (cast_expression "(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) < number_literal) )) (compound_statement "{\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }" { (expression_statement "uVar9 = rpl_fcntl();" (assignment_expression "uVar9 = rpl_fcntl()" identifier = (call_expression "rpl_fcntl()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;" if (parenthesized_expression "(((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))" ( (binary_expression "((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1)" (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1)" ( (binary_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1" (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" * (cast_expression "(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;)) (labeled_statement "LAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);" statement_identifier : (expression_statement "uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);" (assignment_expression "uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))(uVar9,1)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "(uVar9,1)" ( identifier , number_literal )))) ;)) (if_statement "if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }" if (parenthesized_expression "(((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1))" ( (binary_expression "((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)" (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)" ( (comma_expression "iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1" (assignment_expression "iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "(uVar9,2,uVar6 | 1)" ( identifier , number_literal , (binary_expression "uVar6 | 1" identifier | number_literal) )))) , (binary_expression "iVar1 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }" { (expression_statement "puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))()" identifier = (cast_expression "(undefined4 *)(**(code **)(pcVar10 + 0x16f20))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f20))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f20)" * (pointer_expression "*(code **)(pcVar10 + 0x16f20)" * (cast_expression "(code **)(pcVar10 + 0x16f20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f20)" ( (binary_expression "pcVar10 + 0x16f20" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar8 = *puVar7;" (assignment_expression "uVar8 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "(**(code **)(pcVar10 + 0x16e9c))(uVar9);" (call_expression "(**(code **)(pcVar10 + 0x16e9c))(uVar9)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16e9c))" ( (pointer_expression "**(code **)(pcVar10 + 0x16e9c)" * (pointer_expression "*(code **)(pcVar10 + 0x16e9c)" * (cast_expression "(code **)(pcVar10 + 0x16e9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16e9c)" ( (binary_expression "pcVar10 + 0x16e9c" identifier + number_literal) ))))) )) (argument_list "(uVar9)" ( identifier ))) ;) (expression_statement "*puVar7 = uVar8;" (assignment_expression "*puVar7 = uVar8" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "uVar9 = 0xffffffff;" (assignment_expression "uVar9 = 0xffffffff" identifier = number_literal) ;) })) }) (else_clause "else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" else (compound_statement "{\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" { (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16f04))();" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16f04))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" if (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }" { (expression_statement "piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))()" identifier = (cast_expression "(int *)(**(code **)(pcVar10 + 0x16f20))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f20))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f20)" * (pointer_expression "*(code **)(pcVar10 + 0x16f20)" * (cast_expression "(code **)(pcVar10 + 0x16f20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f20)" ( (binary_expression "pcVar10 + 0x16f20" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar4 = *(int *)(pcVar10 + 0x16c88);" (assignment_expression "iVar4 = *(int *)(pcVar10 + 0x16c88)" identifier = (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) ))))) ;) (if_statement "if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" if (parenthesized_expression "(*piVar5 == 0x16)" ( (binary_expression "*piVar5 == 0x16" (pointer_expression "*piVar5" * identifier) == number_literal) )) (compound_statement "{\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" { (expression_statement "uVar9 = rpl_fcntl(iVar1,0,uVar8);" (assignment_expression "uVar9 = rpl_fcntl(iVar1,0,uVar8)" identifier = (call_expression "rpl_fcntl(iVar1,0,uVar8)" identifier (argument_list "(iVar1,0,uVar8)" ( identifier , number_literal , identifier )))) ;) (if_statement "if ((int)uVar9 < 0) goto LAB_0001c640;" if (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" * (cast_expression "(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0001c5a0;" goto statement_identifier ;) })) }) (else_clause "else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" else (compound_statement "{\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" { (expression_statement "iVar4 = *(int *)(pcVar10 + 0x16c88);" (assignment_expression "iVar4 = *(int *)(pcVar10 + 0x16c88)" identifier = (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined4 *)(iVar4 + 0x3620) = 1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x3620) = 1" (pointer_expression "*(undefined4 *)(iVar4 + 0x3620)" * (cast_expression "(undefined4 *)(iVar4 + 0x3620)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3620)" ( (binary_expression "iVar4 + 0x3620" identifier + number_literal) )))) = number_literal) ;) }))) (labeled_statement "LAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" statement_identifier : (if_statement "if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" if (parenthesized_expression "(puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0))" ( (binary_expression "puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)" identifier != (cast_expression "(uint *)**(undefined4 **)(pcVar10 + 0x16fc0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(pcVar10 + 0x16fc0)" * (pointer_expression "*(undefined4 **)(pcVar10 + 0x16fc0)" * (cast_expression "(undefined4 **)(pcVar10 + 0x16fc0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16fc0)" ( (binary_expression "pcVar10 + 0x16fc0" identifier + number_literal) ))))))) )) (compound_statement "{\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" { (expression_statement "pcVar10 = *(code **)(pcVar10 + 0x16fa8);" (assignment_expression "pcVar10 = *(code **)(pcVar10 + 0x16fa8)" identifier = (pointer_expression "*(code **)(pcVar10 + 0x16fa8)" * (cast_expression "(code **)(pcVar10 + 0x16fa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16fa8)" ( (binary_expression "pcVar10 + 0x16fa8" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" if (parenthesized_expression "((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0))" ( (binary_expression "(puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)" (parenthesized_expression "(puVar3 == (uint *)0x0)" ( (binary_expression "puVar3 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)" ( (comma_expression "iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0" (assignment_expression "iVar1 = (**(code **)(pcVar10 + 0x16d60))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x16d60))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16d60))" ( (pointer_expression "**(code **)(pcVar10 + 0x16d60)" * (pointer_expression "*(code **)(pcVar10 + 0x16d60)" * (cast_expression "(code **)(pcVar10 + 0x16d60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16d60)" ( (binary_expression "pcVar10 + 0x16d60" identifier + number_literal) ))))) )) (argument_list "()" ( )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" { (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16de4))(puVar3)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16de4))" ( (pointer_expression "**(code **)(pcVar10 + 0x16de4)" * (pointer_expression "*(code **)(pcVar10 + 0x16de4)" * (cast_expression "(code **)(pcVar10 + 0x16de4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16de4)" ( (binary_expression "pcVar10 + 0x16de4" identifier + number_literal) ))))) )) (argument_list "(puVar3)" ( identifier )))) ;) }) (else_clause "else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" else (compound_statement "{\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" { (if_statement "if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }" if (parenthesized_expression "((*puVar3 & 0x100) != 0)" ( (binary_expression "(*puVar3 & 0x100) != 0" (parenthesized_expression "(*puVar3 & 0x100)" ( (binary_expression "*puVar3 & 0x100" (pointer_expression "*puVar3" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        rpl_fseeko(puVar3);\n      }" { (expression_statement "rpl_fseeko(puVar3);" (call_expression "rpl_fseeko(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) })) (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16de4))(puVar3)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16de4))" ( (pointer_expression "**(code **)(pcVar10 + 0x16de4)" * (pointer_expression "*(code **)(pcVar10 + 0x16de4)" * (cast_expression "(code **)(pcVar10 + 0x16de4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16de4)" ( (binary_expression "pcVar10 + 0x16de4" identifier + number_literal) ))))) )) (argument_list "(puVar3)" ( identifier )))) ;) }))) (return_statement "return uVar9;" return identifier ;) }))) (return_statement "return uVar9;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\n_Bool yesno(void)\n\n{\n  int iVar1;\n  FILE *fp;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined1 uVar7;\n  size_t *whence;\n  undefined4 uVar8;\n  bool bVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 in_stack_ffffff8c;\n  char *response;\n  size_t response_size;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00033440;\n  response = (char *)0x0;\n  response_size = 0;\n  uVar8 = 10;\n  whence = &response_size;\n  iVar1 = (*(code *)PTR___getdelim_00033414)(&response);\n  if (iVar1 < 1) {\n    bVar9 = false;\n  }\n  else {\n    if (response[iVar1 + -1] == '\n') {\n      response[iVar1 + -1] = '\0';\n    }\n    iVar1 = (*(code *)PTR_rpmatch_00033380)(response);\n    bVar9 = 0 < iVar1;\n  }\n  (*(code *)PTR_free_00033448)(response);\n  if (local_c == *(int *)PTR___stack_chk_guard_00033440) {\n    return bVar9;\n  }\n  iVar1 = local_c;\n  puVar10 = PTR___stack_chk_fail_00033428;\n  (*(code *)PTR___stack_chk_fail_00033428)();\n  fp = (FILE *)**(int **)(puVar10 + 0x16fc0);\n  if (whence != (size_t *)0x406) {\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) < 0) {\n    whence = (size_t *)0x0;\n    iVar2 = rpl_fcntl(iVar1,0);\n    if ((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)) goto LAB_0001c640;\nLAB_0001c5a0:\n    whence = (size_t *)0x1;\n    uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2);\n    if (-1 < (int)uVar5) {\n      whence = (size_t *)0x2;\n      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);\n      if (iVar1 != -1) goto LAB_0001c640;\n    }\n    puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))();\n    uVar8 = *puVar6;\n    (**(code **)(puVar10 + 0x16e9c))(iVar2);\n    *puVar6 = uVar8;\n    iVar2 = -1;\n  }\n  else {\n    whence = (size_t *)0x406;\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    if (iVar2 < 0) {\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar3 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (fp != (FILE *)**(int **)(puVar10 + 0x16fc0)) {\n    pcVar11 = *(code **)(puVar10 + 0x16fa8);\n    (*pcVar11)();\n    if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    return (_Bool)uVar7;\n  }\n  return SUB41(iVar2,0);\n}\n\n" comment (function_definition "_Bool yesno(void)\n\n{\n  int iVar1;\n  FILE *fp;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined1 uVar7;\n  size_t *whence;\n  undefined4 uVar8;\n  bool bVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 in_stack_ffffff8c;\n  char *response;\n  size_t response_size;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00033440;\n  response = (char *)0x0;\n  response_size = 0;\n  uVar8 = 10;\n  whence = &response_size;\n  iVar1 = (*(code *)PTR___getdelim_00033414)(&response);\n  if (iVar1 < 1) {\n    bVar9 = false;\n  }\n  else {\n    if (response[iVar1 + -1] == '\n') {\n      response[iVar1 + -1] = '\0';\n    }\n    iVar1 = (*(code *)PTR_rpmatch_00033380)(response);\n    bVar9 = 0 < iVar1;\n  }\n  (*(code *)PTR_free_00033448)(response);\n  if (local_c == *(int *)PTR___stack_chk_guard_00033440) {\n    return bVar9;\n  }\n  iVar1 = local_c;\n  puVar10 = PTR___stack_chk_fail_00033428;\n  (*(code *)PTR___stack_chk_fail_00033428)();\n  fp = (FILE *)**(int **)(puVar10 + 0x16fc0);\n  if (whence != (size_t *)0x406) {\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) < 0) {\n    whence = (size_t *)0x0;\n    iVar2 = rpl_fcntl(iVar1,0);\n    if ((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)) goto LAB_0001c640;\nLAB_0001c5a0:\n    whence = (size_t *)0x1;\n    uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2);\n    if (-1 < (int)uVar5) {\n      whence = (size_t *)0x2;\n      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);\n      if (iVar1 != -1) goto LAB_0001c640;\n    }\n    puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))();\n    uVar8 = *puVar6;\n    (**(code **)(puVar10 + 0x16e9c))(iVar2);\n    *puVar6 = uVar8;\n    iVar2 = -1;\n  }\n  else {\n    whence = (size_t *)0x406;\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    if (iVar2 < 0) {\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar3 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (fp != (FILE *)**(int **)(puVar10 + 0x16fc0)) {\n    pcVar11 = *(code **)(puVar10 + 0x16fa8);\n    (*pcVar11)();\n    if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    return (_Bool)uVar7;\n  }\n  return SUB41(iVar2,0);\n}" type_identifier (function_declarator "yesno(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  FILE *fp;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined1 uVar7;\n  size_t *whence;\n  undefined4 uVar8;\n  bool bVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 in_stack_ffffff8c;\n  char *response;\n  size_t response_size;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00033440;\n  response = (char *)0x0;\n  response_size = 0;\n  uVar8 = 10;\n  whence = &response_size;\n  iVar1 = (*(code *)PTR___getdelim_00033414)(&response);\n  if (iVar1 < 1) {\n    bVar9 = false;\n  }\n  else {\n    if (response[iVar1 + -1] == '\n') {\n      response[iVar1 + -1] = '\0';\n    }\n    iVar1 = (*(code *)PTR_rpmatch_00033380)(response);\n    bVar9 = 0 < iVar1;\n  }\n  (*(code *)PTR_free_00033448)(response);\n  if (local_c == *(int *)PTR___stack_chk_guard_00033440) {\n    return bVar9;\n  }\n  iVar1 = local_c;\n  puVar10 = PTR___stack_chk_fail_00033428;\n  (*(code *)PTR___stack_chk_fail_00033428)();\n  fp = (FILE *)**(int **)(puVar10 + 0x16fc0);\n  if (whence != (size_t *)0x406) {\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) < 0) {\n    whence = (size_t *)0x0;\n    iVar2 = rpl_fcntl(iVar1,0);\n    if ((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)) goto LAB_0001c640;\nLAB_0001c5a0:\n    whence = (size_t *)0x1;\n    uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2);\n    if (-1 < (int)uVar5) {\n      whence = (size_t *)0x2;\n      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);\n      if (iVar1 != -1) goto LAB_0001c640;\n    }\n    puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))();\n    uVar8 = *puVar6;\n    (**(code **)(puVar10 + 0x16e9c))(iVar2);\n    *puVar6 = uVar8;\n    iVar2 = -1;\n  }\n  else {\n    whence = (size_t *)0x406;\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    if (iVar2 < 0) {\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar3 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (fp != (FILE *)**(int **)(puVar10 + 0x16fc0)) {\n    pcVar11 = *(code **)(puVar10 + 0x16fa8);\n    (*pcVar11)();\n    if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    return (_Bool)uVar7;\n  }\n  return SUB41(iVar2,0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "FILE *fp;" type_identifier (pointer_declarator "*fp" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 uVar7;" type_identifier identifier ;) (declaration "size_t *whence;" primitive_type (pointer_declarator "*whence" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined4 in_stack_ffffff8c;" type_identifier identifier ;) (declaration "char *response;" primitive_type (pointer_declarator "*response" * identifier) ;) (declaration "size_t response_size;" primitive_type identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_00033440;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_00033440" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00033440" * (cast_expression "(int *)PTR___stack_chk_guard_00033440" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "response = (char *)0x0;" (assignment_expression "response = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "response_size = 0;" (assignment_expression "response_size = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 10;" (assignment_expression "uVar8 = 10" identifier = number_literal) ;) (expression_statement "whence = &response_size;" (assignment_expression "whence = &response_size" identifier = (pointer_expression "&response_size" & identifier)) ;) (expression_statement "iVar1 = (*(code *)PTR___getdelim_00033414)(&response);" (assignment_expression "iVar1 = (*(code *)PTR___getdelim_00033414)(&response)" identifier = (call_expression "(*(code *)PTR___getdelim_00033414)(&response)" (parenthesized_expression "(*(code *)PTR___getdelim_00033414)" ( (pointer_expression "*(code *)PTR___getdelim_00033414" * (cast_expression "(code *)PTR___getdelim_00033414" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&response)" ( (pointer_expression "&response" & identifier) )))) ;) (if_statement "if (iVar1 < 1) {\n    bVar9 = false;\n  }\n  else {\n    if (response[iVar1 + -1] == '\n') {\n      response[iVar1 + -1] = '\0';\n    }\n    iVar1 = (*(code *)PTR_rpmatch_00033380)(response);\n    bVar9 = 0 < iVar1;\n  }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n    bVar9 = false;\n  }" { (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) }) (else_clause "else {\n    if (response[iVar1 + -1] == '\n') {\n      response[iVar1 + -1] = '\0';\n    }\n    iVar1 = (*(code *)PTR_rpmatch_00033380)(response);\n    bVar9 = 0 < iVar1;\n  }" else (compound_statement "{\n    if (response[iVar1 + -1] == '\n') {\n      response[iVar1 + -1] = '\0';\n    }\n    iVar1 = (*(code *)PTR_rpmatch_00033380)(response);\n    bVar9 = 0 < iVar1;\n  }" { (if_statement "if (response[iVar1 + -1] == '\n') {\n      response[iVar1 + -1] = '\0';\n    }" if (parenthesized_expression "(response[iVar1 + -1] == '\n')" ( (binary_expression "response[iVar1 + -1] == '\n'" (subscript_expression "response[iVar1 + -1]" identifier [ (binary_expression "iVar1 + -1" identifier + number_literal) ]) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n      response[iVar1 + -1] = '\0';\n    }" { (expression_statement "response[iVar1 + -1] = '\0';" (assignment_expression "response[iVar1 + -1] = '\0'" (subscript_expression "response[iVar1 + -1]" identifier [ (binary_expression "iVar1 + -1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "iVar1 = (*(code *)PTR_rpmatch_00033380)(response);" (assignment_expression "iVar1 = (*(code *)PTR_rpmatch_00033380)(response)" identifier = (call_expression "(*(code *)PTR_rpmatch_00033380)(response)" (parenthesized_expression "(*(code *)PTR_rpmatch_00033380)" ( (pointer_expression "*(code *)PTR_rpmatch_00033380" * (cast_expression "(code *)PTR_rpmatch_00033380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(response)" ( identifier )))) ;) (expression_statement "bVar9 = 0 < iVar1;" (assignment_expression "bVar9 = 0 < iVar1" identifier = (binary_expression "0 < iVar1" number_literal < identifier)) ;) }))) (expression_statement "(*(code *)PTR_free_00033448)(response);" (call_expression "(*(code *)PTR_free_00033448)(response)" (parenthesized_expression "(*(code *)PTR_free_00033448)" ( (pointer_expression "*(code *)PTR_free_00033448" * (cast_expression "(code *)PTR_free_00033448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(response)" ( identifier ))) ;) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_00033440) {\n    return bVar9;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_00033440)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_00033440" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_00033440" * (cast_expression "(int *)PTR___stack_chk_guard_00033440" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return bVar9;\n  }" { (return_statement "return bVar9;" return identifier ;) })) (expression_statement "iVar1 = local_c;" (assignment_expression "iVar1 = local_c" identifier = identifier) ;) (expression_statement "puVar10 = PTR___stack_chk_fail_00033428;" (assignment_expression "puVar10 = PTR___stack_chk_fail_00033428" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00033428)();" (call_expression "(*(code *)PTR___stack_chk_fail_00033428)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00033428)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00033428" * (cast_expression "(code *)PTR___stack_chk_fail_00033428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "fp = (FILE *)**(int **)(puVar10 + 0x16fc0);" (assignment_expression "fp = (FILE *)**(int **)(puVar10 + 0x16fc0)" identifier = (cast_expression "(FILE *)**(int **)(puVar10 + 0x16fc0)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(puVar10 + 0x16fc0)" * (pointer_expression "*(int **)(puVar10 + 0x16fc0)" * (cast_expression "(int **)(puVar10 + 0x16fc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16fc0)" ( (binary_expression "puVar10 + 0x16fc0" identifier + number_literal) ))))))) ;) (if_statement "if (whence != (size_t *)0x406) {\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" if (parenthesized_expression "(whence != (size_t *)0x406)" ( (binary_expression "whence != (size_t *)0x406" identifier != (cast_expression "(size_t *)0x406" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" { (expression_statement "iVar2 = (**(code **)(puVar10 + 0x16f04))();" (assignment_expression "iVar2 = (**(code **)(puVar10 + 0x16f04))()" identifier = (call_expression "(**(code **)(puVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(puVar10 + 0x16f04))" ( (pointer_expression "**(code **)(puVar10 + 0x16f04)" * (pointer_expression "*(code **)(puVar10 + 0x16f04)" * (cast_expression "(code **)(puVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16f04)" ( (binary_expression "puVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;) })) (if_statement "if (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) < 0) {\n    whence = (size_t *)0x0;\n    iVar2 = rpl_fcntl(iVar1,0);\n    if ((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)) goto LAB_0001c640;\nLAB_0001c5a0:\n    whence = (size_t *)0x1;\n    uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2);\n    if (-1 < (int)uVar5) {\n      whence = (size_t *)0x2;\n      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);\n      if (iVar1 != -1) goto LAB_0001c640;\n    }\n    puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))();\n    uVar8 = *puVar6;\n    (**(code **)(puVar10 + 0x16e9c))(iVar2);\n    *puVar6 = uVar8;\n    iVar2 = -1;\n  }\n  else {\n    whence = (size_t *)0x406;\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    if (iVar2 < 0) {\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar3 + 0x3620) = 1;\n  }" if (parenthesized_expression "(*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) < 0)" ( (binary_expression "*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) < 0" (pointer_expression "*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620)" * (cast_expression "(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(puVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(puVar10 + 0x16c88)" * (cast_expression "(int *)(puVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x16c88)" ( (binary_expression "puVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) < number_literal) )) (compound_statement "{\n    whence = (size_t *)0x0;\n    iVar2 = rpl_fcntl(iVar1,0);\n    if ((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)) goto LAB_0001c640;\nLAB_0001c5a0:\n    whence = (size_t *)0x1;\n    uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2);\n    if (-1 < (int)uVar5) {\n      whence = (size_t *)0x2;\n      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);\n      if (iVar1 != -1) goto LAB_0001c640;\n    }\n    puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))();\n    uVar8 = *puVar6;\n    (**(code **)(puVar10 + 0x16e9c))(iVar2);\n    *puVar6 = uVar8;\n    iVar2 = -1;\n  }" { (expression_statement "whence = (size_t *)0x0;" (assignment_expression "whence = (size_t *)0x0" identifier = (cast_expression "(size_t *)0x0" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = rpl_fcntl(iVar1,0);" (assignment_expression "iVar2 = rpl_fcntl(iVar1,0)" identifier = (call_expression "rpl_fcntl(iVar1,0)" identifier (argument_list "(iVar1,0)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)) goto LAB_0001c640;" if (parenthesized_expression "((iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1))" ( (binary_expression "(iVar2 < 0) || (*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)" (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) || (parenthesized_expression "(*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1)" ( (binary_expression "*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620) != -1" (pointer_expression "*(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620)" * (cast_expression "(int *)(*(int *)(puVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(puVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(puVar10 + 0x16c88)" * (cast_expression "(int *)(puVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x16c88)" ( (binary_expression "puVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;)) (labeled_statement "LAB_0001c5a0:\n    whence = (size_t *)0x1;" statement_identifier : (expression_statement "whence = (size_t *)0x1;" (assignment_expression "whence = (size_t *)0x1" identifier = (cast_expression "(size_t *)0x1" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2);" (assignment_expression "uVar5 = (**(code **)(puVar10 + 0x16f04))(iVar2)" identifier = (call_expression "(**(code **)(puVar10 + 0x16f04))(iVar2)" (parenthesized_expression "(**(code **)(puVar10 + 0x16f04))" ( (pointer_expression "**(code **)(puVar10 + 0x16f04)" * (pointer_expression "*(code **)(puVar10 + 0x16f04)" * (cast_expression "(code **)(puVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16f04)" ( (binary_expression "puVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (-1 < (int)uVar5) {\n      whence = (size_t *)0x2;\n      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);\n      if (iVar1 != -1) goto LAB_0001c640;\n    }" if (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      whence = (size_t *)0x2;\n      iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);\n      if (iVar1 != -1) goto LAB_0001c640;\n    }" { (expression_statement "whence = (size_t *)0x2;" (assignment_expression "whence = (size_t *)0x2" identifier = (cast_expression "(size_t *)0x2" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1);" (assignment_expression "iVar1 = (**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1)" identifier = (call_expression "(**(code **)(puVar10 + 0x16f04))(iVar2,2,uVar5 | 1)" (parenthesized_expression "(**(code **)(puVar10 + 0x16f04))" ( (pointer_expression "**(code **)(puVar10 + 0x16f04)" * (pointer_expression "*(code **)(puVar10 + 0x16f04)" * (cast_expression "(code **)(puVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16f04)" ( (binary_expression "puVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "(iVar2,2,uVar5 | 1)" ( identifier , number_literal , (binary_expression "uVar5 | 1" identifier | number_literal) )))) ;) (if_statement "if (iVar1 != -1) goto LAB_0001c640;" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;)) })) (expression_statement "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))();" (assignment_expression "puVar6 = (undefined4 *)(**(code **)(puVar10 + 0x16f20))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar10 + 0x16f20))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(puVar10 + 0x16f20))" ( (pointer_expression "**(code **)(puVar10 + 0x16f20)" * (pointer_expression "*(code **)(puVar10 + 0x16f20)" * (cast_expression "(code **)(puVar10 + 0x16f20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16f20)" ( (binary_expression "puVar10 + 0x16f20" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar8 = *puVar6;" (assignment_expression "uVar8 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "(**(code **)(puVar10 + 0x16e9c))(iVar2);" (call_expression "(**(code **)(puVar10 + 0x16e9c))(iVar2)" (parenthesized_expression "(**(code **)(puVar10 + 0x16e9c))" ( (pointer_expression "**(code **)(puVar10 + 0x16e9c)" * (pointer_expression "*(code **)(puVar10 + 0x16e9c)" * (cast_expression "(code **)(puVar10 + 0x16e9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16e9c)" ( (binary_expression "puVar10 + 0x16e9c" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*puVar6 = uVar8;" (assignment_expression "*puVar6 = uVar8" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    whence = (size_t *)0x406;\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    if (iVar2 < 0) {\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar3 + 0x3620) = 1;\n  }" else (compound_statement "{\n    whence = (size_t *)0x406;\n    iVar2 = (**(code **)(puVar10 + 0x16f04))();\n    if (iVar2 < 0) {\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar3 + 0x3620) = 1;\n  }" { (expression_statement "whence = (size_t *)0x406;" (assignment_expression "whence = (size_t *)0x406" identifier = (cast_expression "(size_t *)0x406" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = (**(code **)(puVar10 + 0x16f04))();" (assignment_expression "iVar2 = (**(code **)(puVar10 + 0x16f04))()" identifier = (call_expression "(**(code **)(puVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(puVar10 + 0x16f04))" ( (pointer_expression "**(code **)(puVar10 + 0x16f04)" * (pointer_expression "*(code **)(puVar10 + 0x16f04)" * (cast_expression "(code **)(puVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16f04)" ( (binary_expression "puVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 < 0) {\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n      piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n      if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }" { (expression_statement "piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))();" (assignment_expression "piVar4 = (int *)(**(code **)(puVar10 + 0x16f20))()" identifier = (cast_expression "(int *)(**(code **)(puVar10 + 0x16f20))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(puVar10 + 0x16f20))" ( (pointer_expression "**(code **)(puVar10 + 0x16f20)" * (pointer_expression "*(code **)(puVar10 + 0x16f20)" * (cast_expression "(code **)(puVar10 + 0x16f20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16f20)" ( (binary_expression "puVar10 + 0x16f20" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar3 = *(int *)(puVar10 + 0x16c88);" (assignment_expression "iVar3 = *(int *)(puVar10 + 0x16c88)" identifier = (pointer_expression "*(int *)(puVar10 + 0x16c88)" * (cast_expression "(int *)(puVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x16c88)" ( (binary_expression "puVar10 + 0x16c88" identifier + number_literal) ))))) ;) (if_statement "if (*piVar4 == 0x16) {\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" if (parenthesized_expression "(*piVar4 == 0x16)" ( (binary_expression "*piVar4 == 0x16" (pointer_expression "*piVar4" * identifier) == number_literal) )) (compound_statement "{\n        whence = (size_t *)0x0;\n        iVar2 = rpl_fcntl(iVar1,0,uVar8);\n        if (iVar2 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" { (expression_statement "whence = (size_t *)0x0;" (assignment_expression "whence = (size_t *)0x0" identifier = (cast_expression "(size_t *)0x0" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = rpl_fcntl(iVar1,0,uVar8);" (assignment_expression "iVar2 = rpl_fcntl(iVar1,0,uVar8)" identifier = (call_expression "rpl_fcntl(iVar1,0,uVar8)" identifier (argument_list "(iVar1,0,uVar8)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar2 < 0) goto LAB_0001c640;" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620)" * (cast_expression "(undefined4 *)(*(int *)(puVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(puVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(puVar10 + 0x16c88)" * (cast_expression "(int *)(puVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x16c88)" ( (binary_expression "puVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0001c5a0;" goto statement_identifier ;) })) }) (else_clause "else {\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }" else (compound_statement "{\n      iVar3 = *(int *)(puVar10 + 0x16c88);\n    }" { (expression_statement "iVar3 = *(int *)(puVar10 + 0x16c88);" (assignment_expression "iVar3 = *(int *)(puVar10 + 0x16c88)" identifier = (pointer_expression "*(int *)(puVar10 + 0x16c88)" * (cast_expression "(int *)(puVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x16c88)" ( (binary_expression "puVar10 + 0x16c88" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined4 *)(iVar3 + 0x3620) = 1;" (assignment_expression "*(undefined4 *)(iVar3 + 0x3620) = 1" (pointer_expression "*(undefined4 *)(iVar3 + 0x3620)" * (cast_expression "(undefined4 *)(iVar3 + 0x3620)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x3620)" ( (binary_expression "iVar3 + 0x3620" identifier + number_literal) )))) = number_literal) ;) }))) (labeled_statement "LAB_0001c640:\n  if (fp != (FILE *)**(int **)(puVar10 + 0x16fc0)) {\n    pcVar11 = *(code **)(puVar10 + 0x16fa8);\n    (*pcVar11)();\n    if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    return (_Bool)uVar7;\n  }" statement_identifier : (if_statement "if (fp != (FILE *)**(int **)(puVar10 + 0x16fc0)) {\n    pcVar11 = *(code **)(puVar10 + 0x16fa8);\n    (*pcVar11)();\n    if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    return (_Bool)uVar7;\n  }" if (parenthesized_expression "(fp != (FILE *)**(int **)(puVar10 + 0x16fc0))" ( (binary_expression "fp != (FILE *)**(int **)(puVar10 + 0x16fc0)" identifier != (cast_expression "(FILE *)**(int **)(puVar10 + 0x16fc0)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(puVar10 + 0x16fc0)" * (pointer_expression "*(int **)(puVar10 + 0x16fc0)" * (cast_expression "(int **)(puVar10 + 0x16fc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16fc0)" ( (binary_expression "puVar10 + 0x16fc0" identifier + number_literal) ))))))) )) (compound_statement "{\n    pcVar11 = *(code **)(puVar10 + 0x16fa8);\n    (*pcVar11)();\n    if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    return (_Bool)uVar7;\n  }" { (expression_statement "pcVar11 = *(code **)(puVar10 + 0x16fa8);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x16fa8)" identifier = (pointer_expression "*(code **)(puVar10 + 0x16fa8)" * (cast_expression "(code **)(puVar10 + 0x16fa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x16fa8)" ( (binary_expression "puVar10 + 0x16fa8" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar11)();" (call_expression "(*pcVar11)()" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if ((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)) {\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }\n    else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }" if (parenthesized_expression "((fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0))" ( (binary_expression "(fp == (FILE *)0x0) || (iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)" (parenthesized_expression "(fp == (FILE *)0x0)" ( (binary_expression "fp == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0)" ( (comma_expression "iVar1 = (**(code **)(pcVar11 + 0x16d60))(), iVar1 == 0" (assignment_expression "iVar1 = (**(code **)(pcVar11 + 0x16d60))()" identifier = (call_expression "(**(code **)(pcVar11 + 0x16d60))()" (parenthesized_expression "(**(code **)(pcVar11 + 0x16d60))" ( (pointer_expression "**(code **)(pcVar11 + 0x16d60)" * (pointer_expression "*(code **)(pcVar11 + 0x16d60)" * (cast_expression "(code **)(pcVar11 + 0x16d60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x16d60)" ( (binary_expression "pcVar11 + 0x16d60" identifier + number_literal) ))))) )) (argument_list "()" ( )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }" { (expression_statement "uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);" (assignment_expression "uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp)" identifier = (call_expression "(**(code **)(pcVar11 + 0x16de4))(fp)" (parenthesized_expression "(**(code **)(pcVar11 + 0x16de4))" ( (pointer_expression "**(code **)(pcVar11 + 0x16de4)" * (pointer_expression "*(code **)(pcVar11 + 0x16de4)" * (cast_expression "(code **)(pcVar11 + 0x16de4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x16de4)" ( (binary_expression "pcVar11 + 0x16de4" identifier + number_literal) ))))) )) (argument_list "(fp)" ( identifier )))) ;) }) (else_clause "else {\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }" else (compound_statement "{\n      if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }\n      uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);\n    }" { (if_statement "if ((fp->_flags & 0x100U) != 0) {\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }" if (parenthesized_expression "((fp->_flags & 0x100U) != 0)" ( (binary_expression "(fp->_flags & 0x100U) != 0" (parenthesized_expression "(fp->_flags & 0x100U)" ( (binary_expression "fp->_flags & 0x100U" (field_expression "fp->_flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);\n      }" { (expression_statement "rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence);" (call_expression "rpl_fseeko(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence)" identifier (argument_list "(fp,CONCAT44(1,in_stack_ffffff8c),(int)whence)" ( identifier , (call_expression "CONCAT44(1,in_stack_ffffff8c)" identifier (argument_list "(1,in_stack_ffffff8c)" ( number_literal , identifier ))) , (cast_expression "(int)whence" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp);" (assignment_expression "uVar7 = (**(code **)(pcVar11 + 0x16de4))(fp)" identifier = (call_expression "(**(code **)(pcVar11 + 0x16de4))(fp)" (parenthesized_expression "(**(code **)(pcVar11 + 0x16de4))" ( (pointer_expression "**(code **)(pcVar11 + 0x16de4)" * (pointer_expression "*(code **)(pcVar11 + 0x16de4)" * (cast_expression "(code **)(pcVar11 + 0x16de4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x16de4)" ( (binary_expression "pcVar11 + 0x16de4" identifier + number_literal) ))))) )) (argument_list "(fp)" ( identifier )))) ;) }))) (return_statement "return (_Bool)uVar7;" return (cast_expression "(_Bool)uVar7" ( (type_descriptor "_Bool" type_identifier) ) identifier) ;) }))) (return_statement "return SUB41(iVar2,0);" return (call_expression "SUB41(iVar2,0)" identifier (argument_list "(iVar2,0)" ( identifier , number_literal ))) ;) })))
(translation_unit "uint yesno(void)\n\n{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}\n\n" (function_definition "uint yesno(void)\n\n{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}" type_identifier (function_declarator "yesno(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int local_14 [3];" primitive_type (array_declarator "local_14 [3]" identifier [ number_literal ]) ;) (expression_statement "local_14[2] = **(int **)(in_t9 + 0x170a0);" (assignment_expression "local_14[2] = **(int **)(in_t9 + 0x170a0)" (subscript_expression "local_14[2]" identifier [ number_literal ]) = (pointer_expression "**(int **)(in_t9 + 0x170a0)" * (pointer_expression "*(int **)(in_t9 + 0x170a0)" * (cast_expression "(int **)(in_t9 + 0x170a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x170a0)" ( (binary_expression "in_t9 + 0x170a0" identifier + number_literal) )))))) ;) (expression_statement "local_14[0] = 0;" (assignment_expression "local_14[0] = 0" (subscript_expression "local_14[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_14[1] = 0;" (assignment_expression "local_14[1] = 0" (subscript_expression "local_14[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar8 = 10;" (assignment_expression "uVar8 = 10" identifier = number_literal) ;) (expression_statement "piVar5 = local_14 + 1;" (assignment_expression "piVar5 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x17074))(local_14)" identifier = (call_expression "(**(code **)(in_t9 + 0x17074))(local_14)" (parenthesized_expression "(**(code **)(in_t9 + 0x17074))" ( (pointer_expression "**(code **)(in_t9 + 0x17074)" * (pointer_expression "*(code **)(in_t9 + 0x17074)" * (cast_expression "(code **)(in_t9 + 0x17074)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x17074)" ( (binary_expression "in_t9 + 0x17074" identifier + number_literal) ))))) )) (argument_list "(local_14)" ( identifier )))) ;) (if_statement "if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n    uVar9 = 0;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" else (compound_statement "{\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" { (expression_statement "pcVar2 = (char *)(local_14[0] + iVar1 + -1);" (assignment_expression "pcVar2 = (char *)(local_14[0] + iVar1 + -1)" identifier = (cast_expression "(char *)(local_14[0] + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_14[0] + iVar1 + -1)" ( (binary_expression "local_14[0] + iVar1 + -1" (binary_expression "local_14[0] + iVar1" (subscript_expression "local_14[0]" identifier [ number_literal ]) + identifier) + number_literal) )))) ;) (if_statement "if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }" if (parenthesized_expression "(*pcVar2 == '\n')" ( (binary_expression "*pcVar2 == '\n'" (pointer_expression "*pcVar2" * identifier) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n      *pcVar2 = '\0';\n    }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0])" identifier = (call_expression "(**(code **)(in_t9 + 0x16fe0))(local_14[0])" (parenthesized_expression "(**(code **)(in_t9 + 0x16fe0))" ( (pointer_expression "**(code **)(in_t9 + 0x16fe0)" * (pointer_expression "*(code **)(in_t9 + 0x16fe0)" * (cast_expression "(code **)(in_t9 + 0x16fe0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x16fe0)" ( (binary_expression "in_t9 + 0x16fe0" identifier + number_literal) ))))) )) (argument_list "(local_14[0])" ( (subscript_expression "local_14[0]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar9 = (uint)(0 < iVar1);" (assignment_expression "uVar9 = (uint)(0 < iVar1)" identifier = (call_expression "(uint)(0 < iVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )))) ;) }))) (expression_statement "(**(code **)(in_t9 + 0x170a8))(local_14[0]);" (call_expression "(**(code **)(in_t9 + 0x170a8))(local_14[0])" (parenthesized_expression "(**(code **)(in_t9 + 0x170a8))" ( (pointer_expression "**(code **)(in_t9 + 0x170a8)" * (pointer_expression "*(code **)(in_t9 + 0x170a8)" * (cast_expression "(code **)(in_t9 + 0x170a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x170a8)" ( (binary_expression "in_t9 + 0x170a8" identifier + number_literal) ))))) )) (argument_list "(local_14[0])" ( (subscript_expression "local_14[0]" identifier [ number_literal ]) ))) ;) (if_statement "if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }" if (parenthesized_expression "(local_14[2] == **(int **)(in_t9 + 0x170a0))" ( (binary_expression "local_14[2] == **(int **)(in_t9 + 0x170a0)" (subscript_expression "local_14[2]" identifier [ number_literal ]) == (pointer_expression "**(int **)(in_t9 + 0x170a0)" * (pointer_expression "*(int **)(in_t9 + 0x170a0)" * (cast_expression "(int **)(in_t9 + 0x170a0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x170a0)" ( (binary_expression "in_t9 + 0x170a0" identifier + number_literal) )))))) )) (compound_statement "{\n    return uVar9;\n  }" { (return_statement "return uVar9;" return identifier ;) })) (expression_statement "pcVar10 = *(code **)(in_t9 + 0x17088);" (assignment_expression "pcVar10 = *(code **)(in_t9 + 0x17088)" identifier = (pointer_expression "*(code **)(in_t9 + 0x17088)" * (cast_expression "(code **)(in_t9 + 0x17088)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x17088)" ( (binary_expression "in_t9 + 0x17088" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = local_14[2];" (assignment_expression "iVar1 = local_14[2]" identifier = (subscript_expression "local_14[2]" identifier [ number_literal ])) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);" (assignment_expression "puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0)" identifier = (cast_expression "(uint *)**(int **)(pcVar10 + 0x16fc0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(pcVar10 + 0x16fc0)" * (pointer_expression "*(int **)(pcVar10 + 0x16fc0)" * (cast_expression "(int **)(pcVar10 + 0x16fc0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16fc0)" ( (binary_expression "pcVar10 + 0x16fc0" identifier + number_literal) ))))))) ;) (if_statement "if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" if (parenthesized_expression "(piVar5 != (int *)0x406)" ( (binary_expression "piVar5 != (int *)0x406" identifier != (cast_expression "(int *)0x406" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" { (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16f04))();" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16f04))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;) })) (if_statement "if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" if (parenthesized_expression "(*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0)" ( (binary_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0" (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" * (cast_expression "(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) < number_literal) )) (compound_statement "{\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }" { (expression_statement "uVar9 = rpl_fcntl();" (assignment_expression "uVar9 = rpl_fcntl()" identifier = (call_expression "rpl_fcntl()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;" if (parenthesized_expression "(((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))" ( (binary_expression "((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1)" (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1)" ( (binary_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1" (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" * (cast_expression "(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;)) (labeled_statement "LAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);" statement_identifier : (expression_statement "uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);" (assignment_expression "uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))(uVar9,1)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "(uVar9,1)" ( identifier , number_literal )))) ;)) (if_statement "if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }" if (parenthesized_expression "(((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1))" ( (binary_expression "((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)" (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)" ( (comma_expression "iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1" (assignment_expression "iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "(uVar9,2,uVar6 | 1)" ( identifier , number_literal , (binary_expression "uVar6 | 1" identifier | number_literal) )))) , (binary_expression "iVar1 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }" { (expression_statement "puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))()" identifier = (cast_expression "(undefined4 *)(**(code **)(pcVar10 + 0x16f20))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f20))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f20)" * (pointer_expression "*(code **)(pcVar10 + 0x16f20)" * (cast_expression "(code **)(pcVar10 + 0x16f20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f20)" ( (binary_expression "pcVar10 + 0x16f20" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar8 = *puVar7;" (assignment_expression "uVar8 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "(**(code **)(pcVar10 + 0x16e9c))(uVar9);" (call_expression "(**(code **)(pcVar10 + 0x16e9c))(uVar9)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16e9c))" ( (pointer_expression "**(code **)(pcVar10 + 0x16e9c)" * (pointer_expression "*(code **)(pcVar10 + 0x16e9c)" * (cast_expression "(code **)(pcVar10 + 0x16e9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16e9c)" ( (binary_expression "pcVar10 + 0x16e9c" identifier + number_literal) ))))) )) (argument_list "(uVar9)" ( identifier ))) ;) (expression_statement "*puVar7 = uVar8;" (assignment_expression "*puVar7 = uVar8" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "uVar9 = 0xffffffff;" (assignment_expression "uVar9 = 0xffffffff" identifier = number_literal) ;) })) }) (else_clause "else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" else (compound_statement "{\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" { (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16f04))();" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16f04))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f04)" * (pointer_expression "*(code **)(pcVar10 + 0x16f04)" * (cast_expression "(code **)(pcVar10 + 0x16f04)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f04)" ( (binary_expression "pcVar10 + 0x16f04" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" if (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }" { (expression_statement "piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))()" identifier = (cast_expression "(int *)(**(code **)(pcVar10 + 0x16f20))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f20))" ( (pointer_expression "**(code **)(pcVar10 + 0x16f20)" * (pointer_expression "*(code **)(pcVar10 + 0x16f20)" * (cast_expression "(code **)(pcVar10 + 0x16f20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16f20)" ( (binary_expression "pcVar10 + 0x16f20" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar4 = *(int *)(pcVar10 + 0x16c88);" (assignment_expression "iVar4 = *(int *)(pcVar10 + 0x16c88)" identifier = (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) ))))) ;) (if_statement "if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" if (parenthesized_expression "(*piVar5 == 0x16)" ( (binary_expression "*piVar5 == 0x16" (pointer_expression "*piVar5" * identifier) == number_literal) )) (compound_statement "{\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" { (expression_statement "uVar9 = rpl_fcntl(iVar1,0,uVar8);" (assignment_expression "uVar9 = rpl_fcntl(iVar1,0,uVar8)" identifier = (call_expression "rpl_fcntl(iVar1,0,uVar8)" identifier (argument_list "(iVar1,0,uVar8)" ( identifier , number_literal , identifier )))) ;) (if_statement "if ((int)uVar9 < 0) goto LAB_0001c640;" if (parenthesized_expression "((int)uVar9 < 0)" ( (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0001c640;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" * (cast_expression "(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" ( (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0001c5a0;" goto statement_identifier ;) })) }) (else_clause "else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" else (compound_statement "{\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" { (expression_statement "iVar4 = *(int *)(pcVar10 + 0x16c88);" (assignment_expression "iVar4 = *(int *)(pcVar10 + 0x16c88)" identifier = (pointer_expression "*(int *)(pcVar10 + 0x16c88)" * (cast_expression "(int *)(pcVar10 + 0x16c88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x16c88)" ( (binary_expression "pcVar10 + 0x16c88" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined4 *)(iVar4 + 0x3620) = 1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x3620) = 1" (pointer_expression "*(undefined4 *)(iVar4 + 0x3620)" * (cast_expression "(undefined4 *)(iVar4 + 0x3620)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3620)" ( (binary_expression "iVar4 + 0x3620" identifier + number_literal) )))) = number_literal) ;) }))) (labeled_statement "LAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" statement_identifier : (if_statement "if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" if (parenthesized_expression "(puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0))" ( (binary_expression "puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)" identifier != (cast_expression "(uint *)**(undefined4 **)(pcVar10 + 0x16fc0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(pcVar10 + 0x16fc0)" * (pointer_expression "*(undefined4 **)(pcVar10 + 0x16fc0)" * (cast_expression "(undefined4 **)(pcVar10 + 0x16fc0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16fc0)" ( (binary_expression "pcVar10 + 0x16fc0" identifier + number_literal) ))))))) )) (compound_statement "{\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" { (expression_statement "pcVar10 = *(code **)(pcVar10 + 0x16fa8);" (assignment_expression "pcVar10 = *(code **)(pcVar10 + 0x16fa8)" identifier = (pointer_expression "*(code **)(pcVar10 + 0x16fa8)" * (cast_expression "(code **)(pcVar10 + 0x16fa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16fa8)" ( (binary_expression "pcVar10 + 0x16fa8" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" if (parenthesized_expression "((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0))" ( (binary_expression "(puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)" (parenthesized_expression "(puVar3 == (uint *)0x0)" ( (binary_expression "puVar3 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)" ( (comma_expression "iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0" (assignment_expression "iVar1 = (**(code **)(pcVar10 + 0x16d60))()" identifier = (call_expression "(**(code **)(pcVar10 + 0x16d60))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16d60))" ( (pointer_expression "**(code **)(pcVar10 + 0x16d60)" * (pointer_expression "*(code **)(pcVar10 + 0x16d60)" * (cast_expression "(code **)(pcVar10 + 0x16d60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16d60)" ( (binary_expression "pcVar10 + 0x16d60" identifier + number_literal) ))))) )) (argument_list "()" ( )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" { (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16de4))(puVar3)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16de4))" ( (pointer_expression "**(code **)(pcVar10 + 0x16de4)" * (pointer_expression "*(code **)(pcVar10 + 0x16de4)" * (cast_expression "(code **)(pcVar10 + 0x16de4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16de4)" ( (binary_expression "pcVar10 + 0x16de4" identifier + number_literal) ))))) )) (argument_list "(puVar3)" ( identifier )))) ;) }) (else_clause "else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" else (compound_statement "{\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" { (if_statement "if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }" if (parenthesized_expression "((*puVar3 & 0x100) != 0)" ( (binary_expression "(*puVar3 & 0x100) != 0" (parenthesized_expression "(*puVar3 & 0x100)" ( (binary_expression "*puVar3 & 0x100" (pointer_expression "*puVar3" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        rpl_fseeko(puVar3);\n      }" { (expression_statement "rpl_fseeko(puVar3);" (call_expression "rpl_fseeko(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) })) (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3)" identifier = (call_expression "(**(code **)(pcVar10 + 0x16de4))(puVar3)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16de4))" ( (pointer_expression "**(code **)(pcVar10 + 0x16de4)" * (pointer_expression "*(code **)(pcVar10 + 0x16de4)" * (cast_expression "(code **)(pcVar10 + 0x16de4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x16de4)" ( (binary_expression "pcVar10 + 0x16de4" identifier + number_literal) ))))) )) (argument_list "(puVar3)" ( identifier )))) ;) }))) (return_statement "return uVar9;" return identifier ;) }))) (return_statement "return uVar9;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) })) (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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression 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 ( (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (binary_expression IDENT | LIT) )))) , (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)) ;) (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 (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (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 )))) ;) }))) (return_statement return IDENT ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint yesno(void)\n\n{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}" (type_identifier "uint") (function_declarator "yesno(void)" (identifier "yesno") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  uint *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int in_t9;\n  code *pcVar10;\n  int local_14 [3];\n  \n  local_14[2] = **(int **)(in_t9 + 0x170a0);\n  local_14[0] = 0;\n  local_14[1] = 0;\n  uVar8 = 10;\n  piVar5 = local_14 + 1;\n  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);\n  if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }\n  (**(code **)(in_t9 + 0x170a8))(local_14[0]);\n  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }\n  pcVar10 = *(code **)(in_t9 + 0x17088);\n  iVar1 = local_14[2];\n  (*pcVar10)();\n  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);\n  if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }\n  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }\nLAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }\n  return uVar9;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (declaration "code *pcVar10;" (type_identifier "code") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int local_14 [3];" (primitive_type "int") (array_declarator "local_14 [3]" (identifier "local_14") ([ "[") (number_literal "3") (] "]")) (; ";")) (expression_statement "local_14[2] = **(int **)(in_t9 + 0x170a0);" (assignment_expression "local_14[2] = **(int **)(in_t9 + 0x170a0)" (subscript_expression "local_14[2]" (identifier "local_14") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "**(int **)(in_t9 + 0x170a0)" (* "*") (pointer_expression "*(int **)(in_t9 + 0x170a0)" (* "*") (cast_expression "(int **)(in_t9 + 0x170a0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x170a0)" (( "(") (binary_expression "in_t9 + 0x170a0" (identifier "in_t9") (+ "+") (number_literal "0x170a0")) () ")")))))) (; ";")) (expression_statement "local_14[0] = 0;" (assignment_expression "local_14[0] = 0" (subscript_expression "local_14[0]" (identifier "local_14") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14[1] = 0;" (assignment_expression "local_14[1] = 0" (subscript_expression "local_14[1]" (identifier "local_14") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 10;" (assignment_expression "uVar8 = 10" (identifier "uVar8") (= "=") (number_literal "10")) (; ";")) (expression_statement "piVar5 = local_14 + 1;" (assignment_expression "piVar5 = local_14 + 1" (identifier "piVar5") (= "=") (binary_expression "local_14 + 1" (identifier "local_14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x17074))(local_14)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(in_t9 + 0x17074))(local_14)" (parenthesized_expression "(**(code **)(in_t9 + 0x17074))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x17074)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x17074)" (* "*") (cast_expression "(code **)(in_t9 + 0x17074)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x17074)" (( "(") (binary_expression "in_t9 + 0x17074" (identifier "in_t9") (+ "+") (number_literal "0x17074")) () ")"))))) () ")")) (argument_list "(local_14)" (( "(") (identifier "local_14") () ")")))) (; ";")) (if_statement "if (iVar1 < 1) {\n    uVar9 = 0;\n  }\n  else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 < 1)" (( "(") (binary_expression "iVar1 < 1" (identifier "iVar1") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    uVar9 = 0;\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" (else "else") (compound_statement "{\n    pcVar2 = (char *)(local_14[0] + iVar1 + -1);\n    if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }\n    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);\n    uVar9 = (uint)(0 < iVar1);\n  }" ({ "{") (expression_statement "pcVar2 = (char *)(local_14[0] + iVar1 + -1);" (assignment_expression "pcVar2 = (char *)(local_14[0] + iVar1 + -1)" (identifier "pcVar2") (= "=") (cast_expression "(char *)(local_14[0] + iVar1 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_14[0] + iVar1 + -1)" (( "(") (binary_expression "local_14[0] + iVar1 + -1" (binary_expression "local_14[0] + iVar1" (subscript_expression "local_14[0]" (identifier "local_14") ([ "[") (number_literal "0") (] "]")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-1")) () ")")))) (; ";")) (if_statement "if (*pcVar2 == '\n') {\n      *pcVar2 = '\0';\n    }" (if "if") (parenthesized_expression "(*pcVar2 == '\n')" (( "(") (binary_expression "*pcVar2 == '\n'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (compound_statement "{\n      *pcVar2 = '\0';\n    }" ({ "{") (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0])" (identifier "iVar1") (= "=") (call_expression "(**(code **)(in_t9 + 0x16fe0))(local_14[0])" (parenthesized_expression "(**(code **)(in_t9 + 0x16fe0))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x16fe0)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x16fe0)" (* "*") (cast_expression "(code **)(in_t9 + 0x16fe0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x16fe0)" (( "(") (binary_expression "in_t9 + 0x16fe0" (identifier "in_t9") (+ "+") (number_literal "0x16fe0")) () ")"))))) () ")")) (argument_list "(local_14[0])" (( "(") (subscript_expression "local_14[0]" (identifier "local_14") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (expression_statement "uVar9 = (uint)(0 < iVar1);" (assignment_expression "uVar9 = (uint)(0 < iVar1)" (identifier "uVar9") (= "=") (call_expression "(uint)(0 < iVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0 < iVar1)" (( "(") (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) () ")")))) (; ";")) (} "}")))) (expression_statement "(**(code **)(in_t9 + 0x170a8))(local_14[0]);" (call_expression "(**(code **)(in_t9 + 0x170a8))(local_14[0])" (parenthesized_expression "(**(code **)(in_t9 + 0x170a8))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x170a8)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x170a8)" (* "*") (cast_expression "(code **)(in_t9 + 0x170a8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x170a8)" (( "(") (binary_expression "in_t9 + 0x170a8" (identifier "in_t9") (+ "+") (number_literal "0x170a8")) () ")"))))) () ")")) (argument_list "(local_14[0])" (( "(") (subscript_expression "local_14[0]" (identifier "local_14") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (if_statement "if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {\n    return uVar9;\n  }" (if "if") (parenthesized_expression "(local_14[2] == **(int **)(in_t9 + 0x170a0))" (( "(") (binary_expression "local_14[2] == **(int **)(in_t9 + 0x170a0)" (subscript_expression "local_14[2]" (identifier "local_14") ([ "[") (number_literal "2") (] "]")) (== "==") (pointer_expression "**(int **)(in_t9 + 0x170a0)" (* "*") (pointer_expression "*(int **)(in_t9 + 0x170a0)" (* "*") (cast_expression "(int **)(in_t9 + 0x170a0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x170a0)" (( "(") (binary_expression "in_t9 + 0x170a0" (identifier "in_t9") (+ "+") (number_literal "0x170a0")) () ")")))))) () ")")) (compound_statement "{\n    return uVar9;\n  }" ({ "{") (return_statement "return uVar9;" (return "return") (identifier "uVar9") (; ";")) (} "}"))) (expression_statement "pcVar10 = *(code **)(in_t9 + 0x17088);" (assignment_expression "pcVar10 = *(code **)(in_t9 + 0x17088)" (identifier "pcVar10") (= "=") (pointer_expression "*(code **)(in_t9 + 0x17088)" (* "*") (cast_expression "(code **)(in_t9 + 0x17088)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x17088)" (( "(") (binary_expression "in_t9 + 0x17088" (identifier "in_t9") (+ "+") (number_literal "0x17088")) () ")"))))) (; ";")) (expression_statement "iVar1 = local_14[2];" (assignment_expression "iVar1 = local_14[2]" (identifier "iVar1") (= "=") (subscript_expression "local_14[2]" (identifier "local_14") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" (( "(") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);" (assignment_expression "puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0)" (identifier "puVar3") (= "=") (cast_expression "(uint *)**(int **)(pcVar10 + 0x16fc0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(int **)(pcVar10 + 0x16fc0)" (* "*") (pointer_expression "*(int **)(pcVar10 + 0x16fc0)" (* "*") (cast_expression "(int **)(pcVar10 + 0x16fc0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16fc0)" (( "(") (binary_expression "pcVar10 + 0x16fc0" (identifier "pcVar10") (+ "+") (number_literal "0x16fc0")) () ")"))))))) (; ";")) (if_statement "if (piVar5 != (int *)0x406) {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" (if "if") (parenthesized_expression "(piVar5 != (int *)0x406)" (( "(") (binary_expression "piVar5 != (int *)0x406" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x406" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x406"))) () ")")) (compound_statement "{\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    goto LAB_0001c640;\n  }" ({ "{") (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16f04))();" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16f04))()" (identifier "uVar9") (= "=") (call_expression "(**(code **)(pcVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16f04)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16f04)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16f04)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16f04)" (( "(") (binary_expression "pcVar10 + 0x16f04" (identifier "pcVar10") (+ "+") (number_literal "0x16f04")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (goto_statement "goto LAB_0001c640;" (goto "goto") (statement_identifier "LAB_0001c640") (; ";")) (} "}"))) (if_statement "if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }\n  else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0)" (( "(") (binary_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0" (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (* "*") (cast_expression "(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (( "(") (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" (* "*") (cast_expression "(int *)(pcVar10 + 0x16c88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x16c88)" (( "(") (binary_expression "pcVar10 + 0x16c88" (identifier "pcVar10") (+ "+") (number_literal "0x16c88")) () ")")))) (+ "+") (number_literal "0x3620")) () ")")))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    uVar9 = rpl_fcntl();\n    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;\nLAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);\n    if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }\n  }" ({ "{") (expression_statement "uVar9 = rpl_fcntl();" (assignment_expression "uVar9 = rpl_fcntl()" (identifier "uVar9") (= "=") (call_expression "rpl_fcntl()" (identifier "rpl_fcntl") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))\n    goto LAB_0001c640;" (if "if") (parenthesized_expression "(((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))" (( "(") (binary_expression "((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1)" (parenthesized_expression "((int)uVar9 < 0)" (( "(") (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1)" (( "(") (binary_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1" (pointer_expression "*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (* "*") (cast_expression "(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (( "(") (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" (* "*") (cast_expression "(int *)(pcVar10 + 0x16c88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x16c88)" (( "(") (binary_expression "pcVar10 + 0x16c88" (identifier "pcVar10") (+ "+") (number_literal "0x16c88")) () ")")))) (+ "+") (number_literal "0x3620")) () ")")))) (!= "!=") (number_literal "-1")) () ")"))) () ")")) (goto_statement "goto LAB_0001c640;" (goto "goto") (statement_identifier "LAB_0001c640") (; ";"))) (labeled_statement "LAB_0001c5a0:\n    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);" (statement_identifier "LAB_0001c5a0") (: ":") (expression_statement "uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);" (assignment_expression "uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1)" (identifier "uVar6") (= "=") (call_expression "(**(code **)(pcVar10 + 0x16f04))(uVar9,1)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16f04)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16f04)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16f04)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16f04)" (( "(") (binary_expression "pcVar10 + 0x16f04" (identifier "pcVar10") (+ "+") (number_literal "0x16f04")) () ")"))))) () ")")) (argument_list "(uVar9,1)" (( "(") (identifier "uVar9") (, ",") (number_literal "1") () ")")))) (; ";"))) (if_statement "if (((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }" (if "if") (parenthesized_expression "(((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1))" (( "(") (binary_expression "((int)uVar6 < 0) ||\n       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)" (parenthesized_expression "((int)uVar6 < 0)" (( "(") (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)" (( "(") (comma_expression "iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1" (assignment_expression "iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16f04)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16f04)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16f04)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16f04)" (( "(") (binary_expression "pcVar10 + 0x16f04" (identifier "pcVar10") (+ "+") (number_literal "0x16f04")) () ")"))))) () ")")) (argument_list "(uVar9,2,uVar6 | 1)" (( "(") (identifier "uVar9") (, ",") (number_literal "2") (, ",") (binary_expression "uVar6 | 1" (identifier "uVar6") (| "|") (number_literal "1")) () ")")))) (, ",") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\n      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();\n      uVar8 = *puVar7;\n      (**(code **)(pcVar10 + 0x16e9c))(uVar9);\n      *puVar7 = uVar8;\n      uVar9 = 0xffffffff;\n    }" ({ "{") (expression_statement "puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))()" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(**(code **)(pcVar10 + 0x16f20))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f20))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16f20)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16f20)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16f20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16f20)" (( "(") (binary_expression "pcVar10 + 0x16f20" (identifier "pcVar10") (+ "+") (number_literal "0x16f20")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar8 = *puVar7;" (assignment_expression "uVar8 = *puVar7" (identifier "uVar8") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "(**(code **)(pcVar10 + 0x16e9c))(uVar9);" (call_expression "(**(code **)(pcVar10 + 0x16e9c))(uVar9)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16e9c))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16e9c)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16e9c)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16e9c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16e9c)" (( "(") (binary_expression "pcVar10 + 0x16e9c" (identifier "pcVar10") (+ "+") (number_literal "0x16e9c")) () ")"))))) () ")")) (argument_list "(uVar9)" (( "(") (identifier "uVar9") () ")"))) (; ";")) (expression_statement "*puVar7 = uVar8;" (assignment_expression "*puVar7 = uVar8" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar9 = 0xffffffff;" (assignment_expression "uVar9 = 0xffffffff" (identifier "uVar9") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" (else "else") (compound_statement "{\n    uVar9 = (**(code **)(pcVar10 + 0x16f04))();\n    if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }\n    *(undefined4 *)(iVar4 + 0x3620) = 1;\n  }" ({ "{") (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16f04))();" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16f04))()" (identifier "uVar9") (= "=") (call_expression "(**(code **)(pcVar10 + 0x16f04))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f04))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16f04)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16f04)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16f04)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16f04)" (( "(") (binary_expression "pcVar10 + 0x16f04" (identifier "pcVar10") (+ "+") (number_literal "0x16f04")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((int)uVar9 < 0) {\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }\n    else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" (if "if") (parenthesized_expression "((int)uVar9 < 0)" (( "(") (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n      if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }\n    }" ({ "{") (expression_statement "piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))()" (identifier "piVar5") (= "=") (cast_expression "(int *)(**(code **)(pcVar10 + 0x16f20))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar10 + 0x16f20))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16f20))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16f20)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16f20)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16f20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16f20)" (( "(") (binary_expression "pcVar10 + 0x16f20" (identifier "pcVar10") (+ "+") (number_literal "0x16f20")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(pcVar10 + 0x16c88);" (assignment_expression "iVar4 = *(int *)(pcVar10 + 0x16c88)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(pcVar10 + 0x16c88)" (* "*") (cast_expression "(int *)(pcVar10 + 0x16c88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x16c88)" (( "(") (binary_expression "pcVar10 + 0x16c88" (identifier "pcVar10") (+ "+") (number_literal "0x16c88")) () ")"))))) (; ";")) (if_statement "if (*piVar5 == 0x16) {\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" (if "if") (parenthesized_expression "(*piVar5 == 0x16)" (( "(") (binary_expression "*piVar5 == 0x16" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (== "==") (number_literal "0x16")) () ")")) (compound_statement "{\n        uVar9 = rpl_fcntl(iVar1,0,uVar8);\n        if ((int)uVar9 < 0) goto LAB_0001c640;\n        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;\n        goto LAB_0001c5a0;\n      }" ({ "{") (expression_statement "uVar9 = rpl_fcntl(iVar1,0,uVar8);" (assignment_expression "uVar9 = rpl_fcntl(iVar1,0,uVar8)" (identifier "uVar9") (= "=") (call_expression "rpl_fcntl(iVar1,0,uVar8)" (identifier "rpl_fcntl") (argument_list "(iVar1,0,uVar8)" (( "(") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (identifier "uVar8") () ")")))) (; ";")) (if_statement "if ((int)uVar9 < 0) goto LAB_0001c640;" (if "if") (parenthesized_expression "((int)uVar9 < 0)" (( "(") (binary_expression "(int)uVar9 < 0" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001c640;" (goto "goto") (statement_identifier "LAB_0001c640") (; ";"))) (expression_statement "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;" (assignment_expression "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff" (pointer_expression "*(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (* "*") (cast_expression "(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar10 + 0x16c88) + 0x3620)" (( "(") (binary_expression "*(int *)(pcVar10 + 0x16c88) + 0x3620" (pointer_expression "*(int *)(pcVar10 + 0x16c88)" (* "*") (cast_expression "(int *)(pcVar10 + 0x16c88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x16c88)" (( "(") (binary_expression "pcVar10 + 0x16c88" (identifier "pcVar10") (+ "+") (number_literal "0x16c88")) () ")")))) (+ "+") (number_literal "0x3620")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001c5a0;" (goto "goto") (statement_identifier "LAB_0001c5a0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" (else "else") (compound_statement "{\n      iVar4 = *(int *)(pcVar10 + 0x16c88);\n    }" ({ "{") (expression_statement "iVar4 = *(int *)(pcVar10 + 0x16c88);" (assignment_expression "iVar4 = *(int *)(pcVar10 + 0x16c88)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(pcVar10 + 0x16c88)" (* "*") (cast_expression "(int *)(pcVar10 + 0x16c88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x16c88)" (( "(") (binary_expression "pcVar10 + 0x16c88" (identifier "pcVar10") (+ "+") (number_literal "0x16c88")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)(iVar4 + 0x3620) = 1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x3620) = 1" (pointer_expression "*(undefined4 *)(iVar4 + 0x3620)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x3620)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x3620)" (( "(") (binary_expression "iVar4 + 0x3620" (identifier "iVar4") (+ "+") (number_literal "0x3620")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")))) (labeled_statement "LAB_0001c640:\n  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" (statement_identifier "LAB_0001c640") (: ":") (if_statement "if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" (if "if") (parenthesized_expression "(puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0))" (( "(") (binary_expression "puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)" (identifier "puVar3") (!= "!=") (cast_expression "(uint *)**(undefined4 **)(pcVar10 + 0x16fc0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(pcVar10 + 0x16fc0)" (* "*") (pointer_expression "*(undefined4 **)(pcVar10 + 0x16fc0)" (* "*") (cast_expression "(undefined4 **)(pcVar10 + 0x16fc0)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16fc0)" (( "(") (binary_expression "pcVar10 + 0x16fc0" (identifier "pcVar10") (+ "+") (number_literal "0x16fc0")) () ")"))))))) () ")")) (compound_statement "{\n    pcVar10 = *(code **)(pcVar10 + 0x16fa8);\n    (*pcVar10)();\n    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    return uVar9;\n  }" ({ "{") (expression_statement "pcVar10 = *(code **)(pcVar10 + 0x16fa8);" (assignment_expression "pcVar10 = *(code **)(pcVar10 + 0x16fa8)" (identifier "pcVar10") (= "=") (pointer_expression "*(code **)(pcVar10 + 0x16fa8)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16fa8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16fa8)" (( "(") (binary_expression "pcVar10 + 0x16fa8" (identifier "pcVar10") (+ "+") (number_literal "0x16fa8")) () ")"))))) (; ";")) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" (( "(") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }\n    else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" (if "if") (parenthesized_expression "((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0))" (( "(") (binary_expression "(puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)" (parenthesized_expression "(puVar3 == (uint *)0x0)" (( "(") (binary_expression "puVar3 == (uint *)0x0" (identifier "puVar3") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)" (( "(") (comma_expression "iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0" (assignment_expression "iVar1 = (**(code **)(pcVar10 + 0x16d60))()" (identifier "iVar1") (= "=") (call_expression "(**(code **)(pcVar10 + 0x16d60))()" (parenthesized_expression "(**(code **)(pcVar10 + 0x16d60))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16d60)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16d60)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16d60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16d60)" (( "(") (binary_expression "pcVar10 + 0x16d60" (identifier "pcVar10") (+ "+") (number_literal "0x16d60")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" ({ "{") (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3)" (identifier "uVar9") (= "=") (call_expression "(**(code **)(pcVar10 + 0x16de4))(puVar3)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16de4))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16de4)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16de4)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16de4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16de4)" (( "(") (binary_expression "pcVar10 + 0x16de4" (identifier "pcVar10") (+ "+") (number_literal "0x16de4")) () ")"))))) () ")")) (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" (else "else") (compound_statement "{\n      if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }\n      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);\n    }" ({ "{") (if_statement "if ((*puVar3 & 0x100) != 0) {\n        rpl_fseeko(puVar3);\n      }" (if "if") (parenthesized_expression "((*puVar3 & 0x100) != 0)" (( "(") (binary_expression "(*puVar3 & 0x100) != 0" (parenthesized_expression "(*puVar3 & 0x100)" (( "(") (binary_expression "*puVar3 & 0x100" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        rpl_fseeko(puVar3);\n      }" ({ "{") (expression_statement "rpl_fseeko(puVar3);" (call_expression "rpl_fseeko(puVar3)" (identifier "rpl_fseeko") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);" (assignment_expression "uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3)" (identifier "uVar9") (= "=") (call_expression "(**(code **)(pcVar10 + 0x16de4))(puVar3)" (parenthesized_expression "(**(code **)(pcVar10 + 0x16de4))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x16de4)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x16de4)" (* "*") (cast_expression "(code **)(pcVar10 + 0x16de4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x16de4)" (( "(") (binary_expression "pcVar10 + 0x16de4" (identifier "pcVar10") (+ "+") (number_literal "0x16de4")) () ")"))))) () ")")) (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")")))) (; ";")) (} "}")))) (return_statement "return uVar9;" (return "return") (identifier "uVar9") (; ";")) (} "}")))) (return_statement "return uVar9;" (return "return") (identifier "uVar9") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) right: (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: (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 (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier))))) (return_statement (identifier)))))

/* WARNING: Type propagation algorithm not settling */

uint MASKED(void)

{
  int iVar1;
  char *pcVar2;
  uint *puVar3;
  int iVar4;
  int *piVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  uint uVar9;
  int in_t9;
  code *pcVar10;
  int local_14 [3];
  
  local_14[2] = **(int **)(in_t9 + 0x170a0);
  local_14[0] = 0;
  local_14[1] = 0;
  uVar8 = 10;
  piVar5 = local_14 + 1;
  iVar1 = (**(code **)(in_t9 + 0x17074))(local_14);
  if (iVar1 < 1) {
    uVar9 = 0;
  }
  else {
    pcVar2 = (char *)(local_14[0] + iVar1 + -1);
    if (*pcVar2 == '\n') {
      *pcVar2 = '\0';
    }
    iVar1 = (**(code **)(in_t9 + 0x16fe0))(local_14[0]);
    uVar9 = (uint)(0 < iVar1);
  }
  (**(code **)(in_t9 + 0x170a8))(local_14[0]);
  if (local_14[2] == **(int **)(in_t9 + 0x170a0)) {
    return uVar9;
  }
  pcVar10 = *(code **)(in_t9 + 0x17088);
  iVar1 = local_14[2];
  (*pcVar10)();
  puVar3 = (uint *)**(int **)(pcVar10 + 0x16fc0);
  if (piVar5 != (int *)0x406) {
    uVar9 = (**(code **)(pcVar10 + 0x16f04))();
    goto LAB_0001c640;
  }
  if (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) < 0) {
    uVar9 = rpl_fcntl();
    if (((int)uVar9 < 0) || (*(int *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) != -1))
    goto LAB_0001c640;
LAB_0001c5a0:
    uVar6 = (**(code **)(pcVar10 + 0x16f04))(uVar9,1);
    if (((int)uVar6 < 0) ||
       (iVar1 = (**(code **)(pcVar10 + 0x16f04))(uVar9,2,uVar6 | 1), iVar1 == -1)) {
      puVar7 = (undefined4 *)(**(code **)(pcVar10 + 0x16f20))();
      uVar8 = *puVar7;
      (**(code **)(pcVar10 + 0x16e9c))(uVar9);
      *puVar7 = uVar8;
      uVar9 = 0xffffffff;
    }
  }
  else {
    uVar9 = (**(code **)(pcVar10 + 0x16f04))();
    if ((int)uVar9 < 0) {
      piVar5 = (int *)(**(code **)(pcVar10 + 0x16f20))();
      iVar4 = *(int *)(pcVar10 + 0x16c88);
      if (*piVar5 == 0x16) {
        uVar9 = rpl_fcntl(iVar1,0,uVar8);
        if ((int)uVar9 < 0) goto LAB_0001c640;
        *(undefined4 *)(*(int *)(pcVar10 + 0x16c88) + 0x3620) = 0xffffffff;
        goto LAB_0001c5a0;
      }
    }
    else {
      iVar4 = *(int *)(pcVar10 + 0x16c88);
    }
    *(undefined4 *)(iVar4 + 0x3620) = 1;
  }
LAB_0001c640:
  if (puVar3 != (uint *)**(undefined4 **)(pcVar10 + 0x16fc0)) {
    pcVar10 = *(code **)(pcVar10 + 0x16fa8);
    (*pcVar10)();
    if ((puVar3 == (uint *)0x0) || (iVar1 = (**(code **)(pcVar10 + 0x16d60))(), iVar1 == 0)) {
      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);
    }
    else {
      if ((*puVar3 & 0x100) != 0) {
        rpl_fseeko(puVar3);
      }
      uVar9 = (**(code **)(pcVar10 + 0x16de4))(puVar3);
    }
    return uVar9;
  }
  return uVar9;
}

