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

void do_prev_block(void)

{
  bool bVar1;
  bool bVar2;
  undefined *puVar3;
  bool bVar4;
  undefined3 extraout_var;
  filestruct *pfVar5;
  _Bool _Var6;
  int iVar7;
  undefined4 uVar8;
  char *pcVar9;
  filestruct *pfVar10;
  filestruct *old_current;
  
  puVar3 = PTR_openfile_0007756c;
  iVar7 = *(int *)PTR_openfile_0007756c;
  old_current = *(filestruct **)(iVar7 + 0x10);
  pfVar5 = old_current->prev;
  pfVar10 = old_current;
  if (pfVar5 != (filestruct *)0x0) {
    bVar4 = false;
    bVar2 = false;
    do {
      while (bVar1 = bVar4, !bVar2) {
        pcVar9 = pfVar5->data;
        *(filestruct **)(iVar7 + 0x10) = pfVar5;
        _Var6 = white_string(pcVar9);
        iVar7 = *(int *)puVar3;
        pfVar10 = *(filestruct **)(iVar7 + 0x10);
        pfVar5 = pfVar10->prev;
        bVar4 = !_Var6;
        bVar2 = !_Var6;
        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;
      }
      if (!bVar1) break;
      pcVar9 = pfVar5->data;
      *(filestruct **)(iVar7 + 0x10) = pfVar5;
      _Var6 = white_string(pcVar9);
      iVar7 = *(int *)puVar3;
      pfVar10 = *(filestruct **)(iVar7 + 0x10);
      pfVar5 = pfVar10->prev;
      bVar4 = !_Var6;
      bVar2 = bVar1;
    } while (pfVar5 != (filestruct *)0x0);
  }
LAB_0002cfa0:
  if ((pfVar10->next != (filestruct *)0x0) &&
     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)) {
    iVar7 = *(int *)puVar3;
    uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);
    *(undefined4 *)(iVar7 + 0x1c) = 0;
    *(undefined4 *)(iVar7 + 0x10) = uVar8;
    edit_redraw(old_current,CENTERING);
    return;
  }
  *(undefined4 *)(*(int *)puVar3 + 0x1c) = 0;
  edit_redraw(old_current,CENTERING);
  return;
}



void do_prev_block(void)

{
  undefined *puVar1;
  undefined4 *puVar2;
  byte bVar3;
  byte bVar4;
  int iVar5;
  undefined4 uVar6;
  undefined4 *puVar7;
  byte bVar8;
  undefined4 *puVar9;
  
  puVar1 = PTR_openfile_0007756c;
  iVar5 = *(int *)PTR_openfile_0007756c;
  puVar9 = *(undefined4 **)(iVar5 + 0x10);
  puVar2 = (undefined4 *)puVar9[3];
  puVar7 = puVar9;
  if (puVar2 != (undefined4 *)0x0) {
    bVar3 = 0;
    bVar4 = 0;
    do {
      while (bVar8 = bVar3, bVar4 == 0) {
        uVar6 = *puVar2;
        *(undefined4 **)(iVar5 + 0x10) = puVar2;
        bVar4 = white_string(uVar6);
        iVar5 = *(int *)puVar1;
        puVar7 = *(undefined4 **)(iVar5 + 0x10);
        puVar2 = (undefined4 *)puVar7[3];
        bVar3 = bVar4 ^ 1;
        bVar4 = bVar4 ^ 1;
        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;
      }
      if (bVar8 == 0) break;
      uVar6 = *puVar2;
      *(undefined4 **)(iVar5 + 0x10) = puVar2;
      bVar3 = white_string(uVar6);
      iVar5 = *(int *)puVar1;
      puVar7 = *(undefined4 **)(iVar5 + 0x10);
      puVar2 = (undefined4 *)puVar7[3];
      bVar3 = bVar3 ^ 1;
      bVar4 = bVar8;
    } while (puVar2 != (undefined4 *)0x0);
  }
LAB_0002cfa0:
  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {
    iVar5 = *(int *)puVar1;
    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);
    *(undefined4 *)(iVar5 + 0x1c) = 0;
    *(undefined4 *)(iVar5 + 0x10) = uVar6;
    edit_redraw(puVar9,0);
    return;
  }
  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;
  edit_redraw(puVar9,0);
  return;
}


lui gp,0x5
addiu gp,gp,0x2634
addu gp,gp,t9
addiu sp,sp,-0x28
sw s1,0x1c(sp)
lw s1,-0x7fb4(gp)
sw s2,0x20(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
lw v1,0x0(s1)
sw s0,0x18(sp)
lw s2,0x10(v1)
lw v0,0xc(s2)
beq v0,zero,0x0002cfa0
_or a0,s2,zero
or a1,zero,zero
b 0x0002cf68
_or s0,zero,zero
beq s0,zero,0x0002cfa0
_nop
lw a0,0x0(v0)
bal 0x0003a11c
_sw v0,0x10(v1)
or a1,s0,zero
lw v1,0x0(s1)
xori v0,v0,0x1
andi s0,v0,0xff
lw a0,0x10(v1)
lw v0,0xc(a0)
beq v0,zero,0x0002cfa0
_lw gp,0x10(sp)
bne a1,zero,0x0002cf34
_lw t9,-0x790c(gp)
lw t9,-0x790c(gp)
lw a0,0x0(v0)
bal 0x0003a11c
_sw v0,0x10(v1)
lw v1,0x0(s1)
xori v0,v0,0x1
andi s0,v0,0xff
lw gp,0x10(sp)
lw a0,0x10(v1)
lw v0,0xc(a0)
bne v0,zero,0x0002cf68
_or a1,s0,zero
lw v0,0x8(a0)
beq v0,zero,0x0002cfbc
_lw t9,-0x790c(gp)
bal 0x0003a11c
_lw a0,0x0(a0)
bne v0,zero,0x0002cfe8
_lw gp,0x10(sp)
lw v0,0x0(s1)
or a0,s2,zero
lw ra,0x24(sp)
or a1,zero,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7e5c(gp)
sw zero,0x1c(v0)
b 0x0004a390
_addiu sp,sp,0x28
lw v0,0x0(s1)
or a0,s2,zero
lw ra,0x24(sp)
or a1,zero,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw v1,0x10(v0)
lw s0,0x18(sp)
lw t9,-0x7e5c(gp)
lw v1,0x8(v1)
sw zero,0x1c(v0)
sw v1,0x10(v0)
b 0x0004a390
_addiu sp,sp,0x28
(translation_unit "void do_prev_block(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}\n\n" (function_definition "void do_prev_block(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}" primitive_type (function_declarator "do_prev_block(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "puVar1 = PTR_openfile_0007756c;" (assignment_expression "puVar1 = PTR_openfile_0007756c" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR_openfile_0007756c;" (assignment_expression "iVar5 = *(int *)PTR_openfile_0007756c" identifier = (pointer_expression "*(int *)PTR_openfile_0007756c" * (cast_expression "(int *)PTR_openfile_0007756c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar9 = *(undefined4 **)(iVar5 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)puVar9[3];" (assignment_expression "puVar2 = (undefined4 *)puVar9[3]" identifier = (cast_expression "(undefined4 *)puVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar7 = puVar9;" (assignment_expression "puVar7 = puVar9" identifier = identifier) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }" { (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);" do (compound_statement "{\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    }" { (while_statement "while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }" while (parenthesized_expression "(bVar8 = bVar3, bVar4 == 0)" ( (comma_expression "bVar8 = bVar3, bVar4 == 0" (assignment_expression "bVar8 = bVar3" identifier = identifier) , (binary_expression "bVar4 == 0" identifier == number_literal)) )) (compound_statement "{\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }" { (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "*(undefined4 **)(iVar5 + 0x10) = puVar2;" (assignment_expression "*(undefined4 **)(iVar5 + 0x10) = puVar2" (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar4 = white_string(uVar6);" (assignment_expression "bVar4 = white_string(uVar6)" identifier = (call_expression "white_string(uVar6)" identifier (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar7 = *(undefined4 **)(iVar5 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)puVar7[3];" (assignment_expression "puVar2 = (undefined4 *)puVar7[3]" identifier = (cast_expression "(undefined4 *)puVar7[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[3]" identifier [ number_literal ]))) ;) (expression_statement "bVar3 = bVar4 ^ 1;" (assignment_expression "bVar3 = bVar4 ^ 1" identifier = (binary_expression "bVar4 ^ 1" identifier ^ number_literal)) ;) (expression_statement "bVar4 = bVar4 ^ 1;" (assignment_expression "bVar4 = bVar4 ^ 1" identifier = (binary_expression "bVar4 ^ 1" identifier ^ number_literal)) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002cfa0;" goto statement_identifier ;)) })) (if_statement "if (bVar8 == 0) break;" if (parenthesized_expression "(bVar8 == 0)" ( (binary_expression "bVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "*(undefined4 **)(iVar5 + 0x10) = puVar2;" (assignment_expression "*(undefined4 **)(iVar5 + 0x10) = puVar2" (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar3 = white_string(uVar6);" (assignment_expression "bVar3 = white_string(uVar6)" identifier = (call_expression "white_string(uVar6)" identifier (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar7 = *(undefined4 **)(iVar5 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)puVar7[3];" (assignment_expression "puVar2 = (undefined4 *)puVar7[3]" identifier = (cast_expression "(undefined4 *)puVar7[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[3]" identifier [ number_literal ]))) ;) (expression_statement "bVar3 = bVar3 ^ 1;" (assignment_expression "bVar3 = bVar3 ^ 1" identifier = (binary_expression "bVar3 ^ 1" identifier ^ number_literal)) ;) (expression_statement "bVar4 = bVar8;" (assignment_expression "bVar4 = bVar8" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" statement_identifier : (if_statement "if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" if (parenthesized_expression "((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0))" ( (binary_expression "(puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)" (parenthesized_expression "(puVar7[2] != 0)" ( (binary_expression "puVar7[2] != 0" (subscript_expression "puVar7[2]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar5 = white_string(*puVar7), iVar5 != 0)" ( (comma_expression "iVar5 = white_string(*puVar7), iVar5 != 0" (assignment_expression "iVar5 = white_string(*puVar7)" identifier = (call_expression "white_string(*puVar7)" identifier (argument_list "(*puVar7)" ( (pointer_expression "*puVar7" * identifier) )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" { (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar5 + 0x10) + 8)" ( (binary_expression "*(int *)(iVar5 + 0x10) + 8" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar5 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar5 + 0x1c)" * (cast_expression "(undefined4 *)(iVar5 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar5 + 0x10) = uVar6;" (assignment_expression "*(undefined4 *)(iVar5 + 0x10) = uVar6" (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" * (cast_expression "(undefined4 *)(iVar5 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "edit_redraw(puVar9,0);" (call_expression "edit_redraw(puVar9,0)" identifier (argument_list "(puVar9,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) }))) (expression_statement "*(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)puVar1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*(int *)puVar1 + 0x1c)" * (cast_expression "(undefined4 *)(*(int *)puVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)puVar1 + 0x1c)" ( (binary_expression "*(int *)puVar1 + 0x1c" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = number_literal) ;) (expression_statement "edit_redraw(puVar9,0);" (call_expression "edit_redraw(puVar9,0)" identifier (argument_list "(puVar9,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid do_prev_block(void)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  bool bVar4;\n  undefined3 extraout_var;\n  filestruct *pfVar5;\n  _Bool _Var6;\n  int iVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  filestruct *pfVar10;\n  filestruct *old_current;\n  \n  puVar3 = PTR_openfile_0007756c;\n  iVar7 = *(int *)PTR_openfile_0007756c;\n  old_current = *(filestruct **)(iVar7 + 0x10);\n  pfVar5 = old_current->prev;\n  pfVar10 = old_current;\n  if (pfVar5 != (filestruct *)0x0) {\n    bVar4 = false;\n    bVar2 = false;\n    do {\n      while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }\n      if (!bVar1) break;\n      pcVar9 = pfVar5->data;\n      *(filestruct **)(iVar7 + 0x10) = pfVar5;\n      _Var6 = white_string(pcVar9);\n      iVar7 = *(int *)puVar3;\n      pfVar10 = *(filestruct **)(iVar7 + 0x10);\n      pfVar5 = pfVar10->prev;\n      bVar4 = !_Var6;\n      bVar2 = bVar1;\n    } while (pfVar5 != (filestruct *)0x0);\n  }\nLAB_0002cfa0:\n  if ((pfVar10->next != (filestruct *)0x0) &&\n     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)) {\n    iVar7 = *(int *)puVar3;\n    uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);\n    *(undefined4 *)(iVar7 + 0x1c) = 0;\n    *(undefined4 *)(iVar7 + 0x10) = uVar8;\n    edit_redraw(old_current,CENTERING);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar3 + 0x1c) = 0;\n  edit_redraw(old_current,CENTERING);\n  return;\n}\n\n" comment (function_definition "void do_prev_block(void)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  bool bVar4;\n  undefined3 extraout_var;\n  filestruct *pfVar5;\n  _Bool _Var6;\n  int iVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  filestruct *pfVar10;\n  filestruct *old_current;\n  \n  puVar3 = PTR_openfile_0007756c;\n  iVar7 = *(int *)PTR_openfile_0007756c;\n  old_current = *(filestruct **)(iVar7 + 0x10);\n  pfVar5 = old_current->prev;\n  pfVar10 = old_current;\n  if (pfVar5 != (filestruct *)0x0) {\n    bVar4 = false;\n    bVar2 = false;\n    do {\n      while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }\n      if (!bVar1) break;\n      pcVar9 = pfVar5->data;\n      *(filestruct **)(iVar7 + 0x10) = pfVar5;\n      _Var6 = white_string(pcVar9);\n      iVar7 = *(int *)puVar3;\n      pfVar10 = *(filestruct **)(iVar7 + 0x10);\n      pfVar5 = pfVar10->prev;\n      bVar4 = !_Var6;\n      bVar2 = bVar1;\n    } while (pfVar5 != (filestruct *)0x0);\n  }\nLAB_0002cfa0:\n  if ((pfVar10->next != (filestruct *)0x0) &&\n     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)) {\n    iVar7 = *(int *)puVar3;\n    uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);\n    *(undefined4 *)(iVar7 + 0x1c) = 0;\n    *(undefined4 *)(iVar7 + 0x10) = uVar8;\n    edit_redraw(old_current,CENTERING);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar3 + 0x1c) = 0;\n  edit_redraw(old_current,CENTERING);\n  return;\n}" primitive_type (function_declarator "do_prev_block(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  bool bVar4;\n  undefined3 extraout_var;\n  filestruct *pfVar5;\n  _Bool _Var6;\n  int iVar7;\n  undefined4 uVar8;\n  char *pcVar9;\n  filestruct *pfVar10;\n  filestruct *old_current;\n  \n  puVar3 = PTR_openfile_0007756c;\n  iVar7 = *(int *)PTR_openfile_0007756c;\n  old_current = *(filestruct **)(iVar7 + 0x10);\n  pfVar5 = old_current->prev;\n  pfVar10 = old_current;\n  if (pfVar5 != (filestruct *)0x0) {\n    bVar4 = false;\n    bVar2 = false;\n    do {\n      while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }\n      if (!bVar1) break;\n      pcVar9 = pfVar5->data;\n      *(filestruct **)(iVar7 + 0x10) = pfVar5;\n      _Var6 = white_string(pcVar9);\n      iVar7 = *(int *)puVar3;\n      pfVar10 = *(filestruct **)(iVar7 + 0x10);\n      pfVar5 = pfVar10->prev;\n      bVar4 = !_Var6;\n      bVar2 = bVar1;\n    } while (pfVar5 != (filestruct *)0x0);\n  }\nLAB_0002cfa0:\n  if ((pfVar10->next != (filestruct *)0x0) &&\n     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)) {\n    iVar7 = *(int *)puVar3;\n    uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);\n    *(undefined4 *)(iVar7 + 0x1c) = 0;\n    *(undefined4 *)(iVar7 + 0x10) = uVar8;\n    edit_redraw(old_current,CENTERING);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar3 + 0x1c) = 0;\n  edit_redraw(old_current,CENTERING);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "filestruct *pfVar5;" type_identifier (pointer_declarator "*pfVar5" * identifier) ;) (declaration "_Bool _Var6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "filestruct *pfVar10;" type_identifier (pointer_declarator "*pfVar10" * identifier) ;) (declaration "filestruct *old_current;" type_identifier (pointer_declarator "*old_current" * identifier) ;) (expression_statement "puVar3 = PTR_openfile_0007756c;" (assignment_expression "puVar3 = PTR_openfile_0007756c" identifier = identifier) ;) (expression_statement "iVar7 = *(int *)PTR_openfile_0007756c;" (assignment_expression "iVar7 = *(int *)PTR_openfile_0007756c" identifier = (pointer_expression "*(int *)PTR_openfile_0007756c" * (cast_expression "(int *)PTR_openfile_0007756c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "old_current = *(filestruct **)(iVar7 + 0x10);" (assignment_expression "old_current = *(filestruct **)(iVar7 + 0x10)" identifier = (pointer_expression "*(filestruct **)(iVar7 + 0x10)" * (cast_expression "(filestruct **)(iVar7 + 0x10)" ( (type_descriptor "filestruct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "pfVar5 = old_current->prev;" (assignment_expression "pfVar5 = old_current->prev" identifier = (field_expression "old_current->prev" identifier -> field_identifier)) ;) (expression_statement "pfVar10 = old_current;" (assignment_expression "pfVar10 = old_current" identifier = identifier) ;) (if_statement "if (pfVar5 != (filestruct *)0x0) {\n    bVar4 = false;\n    bVar2 = false;\n    do {\n      while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }\n      if (!bVar1) break;\n      pcVar9 = pfVar5->data;\n      *(filestruct **)(iVar7 + 0x10) = pfVar5;\n      _Var6 = white_string(pcVar9);\n      iVar7 = *(int *)puVar3;\n      pfVar10 = *(filestruct **)(iVar7 + 0x10);\n      pfVar5 = pfVar10->prev;\n      bVar4 = !_Var6;\n      bVar2 = bVar1;\n    } while (pfVar5 != (filestruct *)0x0);\n  }" if (parenthesized_expression "(pfVar5 != (filestruct *)0x0)" ( (binary_expression "pfVar5 != (filestruct *)0x0" identifier != (cast_expression "(filestruct *)0x0" ( (type_descriptor "filestruct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar4 = false;\n    bVar2 = false;\n    do {\n      while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }\n      if (!bVar1) break;\n      pcVar9 = pfVar5->data;\n      *(filestruct **)(iVar7 + 0x10) = pfVar5;\n      _Var6 = white_string(pcVar9);\n      iVar7 = *(int *)puVar3;\n      pfVar10 = *(filestruct **)(iVar7 + 0x10);\n      pfVar5 = pfVar10->prev;\n      bVar4 = !_Var6;\n      bVar2 = bVar1;\n    } while (pfVar5 != (filestruct *)0x0);\n  }" { (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (do_statement "do {\n      while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }\n      if (!bVar1) break;\n      pcVar9 = pfVar5->data;\n      *(filestruct **)(iVar7 + 0x10) = pfVar5;\n      _Var6 = white_string(pcVar9);\n      iVar7 = *(int *)puVar3;\n      pfVar10 = *(filestruct **)(iVar7 + 0x10);\n      pfVar5 = pfVar10->prev;\n      bVar4 = !_Var6;\n      bVar2 = bVar1;\n    } while (pfVar5 != (filestruct *)0x0);" do (compound_statement "{\n      while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }\n      if (!bVar1) break;\n      pcVar9 = pfVar5->data;\n      *(filestruct **)(iVar7 + 0x10) = pfVar5;\n      _Var6 = white_string(pcVar9);\n      iVar7 = *(int *)puVar3;\n      pfVar10 = *(filestruct **)(iVar7 + 0x10);\n      pfVar5 = pfVar10->prev;\n      bVar4 = !_Var6;\n      bVar2 = bVar1;\n    }" { (while_statement "while (bVar1 = bVar4, !bVar2) {\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }" while (parenthesized_expression "(bVar1 = bVar4, !bVar2)" ( (comma_expression "bVar1 = bVar4, !bVar2" (assignment_expression "bVar1 = bVar4" identifier = identifier) , (unary_expression "!bVar2" ! identifier)) )) (compound_statement "{\n        pcVar9 = pfVar5->data;\n        *(filestruct **)(iVar7 + 0x10) = pfVar5;\n        _Var6 = white_string(pcVar9);\n        iVar7 = *(int *)puVar3;\n        pfVar10 = *(filestruct **)(iVar7 + 0x10);\n        pfVar5 = pfVar10->prev;\n        bVar4 = !_Var6;\n        bVar2 = !_Var6;\n        if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;\n      }" { (expression_statement "pcVar9 = pfVar5->data;" (assignment_expression "pcVar9 = pfVar5->data" identifier = (field_expression "pfVar5->data" identifier -> field_identifier)) ;) (expression_statement "*(filestruct **)(iVar7 + 0x10) = pfVar5;" (assignment_expression "*(filestruct **)(iVar7 + 0x10) = pfVar5" (pointer_expression "*(filestruct **)(iVar7 + 0x10)" * (cast_expression "(filestruct **)(iVar7 + 0x10)" ( (type_descriptor "filestruct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "_Var6 = white_string(pcVar9);" (assignment_expression "_Var6 = white_string(pcVar9)" identifier = (call_expression "white_string(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar7 = *(int *)puVar3;" (assignment_expression "iVar7 = *(int *)puVar3" identifier = (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pfVar10 = *(filestruct **)(iVar7 + 0x10);" (assignment_expression "pfVar10 = *(filestruct **)(iVar7 + 0x10)" identifier = (pointer_expression "*(filestruct **)(iVar7 + 0x10)" * (cast_expression "(filestruct **)(iVar7 + 0x10)" ( (type_descriptor "filestruct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "pfVar5 = pfVar10->prev;" (assignment_expression "pfVar5 = pfVar10->prev" identifier = (field_expression "pfVar10->prev" identifier -> field_identifier)) ;) (expression_statement "bVar4 = !_Var6;" (assignment_expression "bVar4 = !_Var6" identifier = (unary_expression "!_Var6" ! identifier)) ;) (expression_statement "bVar2 = !_Var6;" (assignment_expression "bVar2 = !_Var6" identifier = (unary_expression "!_Var6" ! identifier)) ;) (if_statement "if (pfVar5 == (filestruct *)0x0) goto LAB_0002cfa0;" if (parenthesized_expression "(pfVar5 == (filestruct *)0x0)" ( (binary_expression "pfVar5 == (filestruct *)0x0" identifier == (cast_expression "(filestruct *)0x0" ( (type_descriptor "filestruct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002cfa0;" goto statement_identifier ;)) })) (if_statement "if (!bVar1) break;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (break_statement "break;" break ;)) (expression_statement "pcVar9 = pfVar5->data;" (assignment_expression "pcVar9 = pfVar5->data" identifier = (field_expression "pfVar5->data" identifier -> field_identifier)) ;) (expression_statement "*(filestruct **)(iVar7 + 0x10) = pfVar5;" (assignment_expression "*(filestruct **)(iVar7 + 0x10) = pfVar5" (pointer_expression "*(filestruct **)(iVar7 + 0x10)" * (cast_expression "(filestruct **)(iVar7 + 0x10)" ( (type_descriptor "filestruct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "_Var6 = white_string(pcVar9);" (assignment_expression "_Var6 = white_string(pcVar9)" identifier = (call_expression "white_string(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar7 = *(int *)puVar3;" (assignment_expression "iVar7 = *(int *)puVar3" identifier = (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pfVar10 = *(filestruct **)(iVar7 + 0x10);" (assignment_expression "pfVar10 = *(filestruct **)(iVar7 + 0x10)" identifier = (pointer_expression "*(filestruct **)(iVar7 + 0x10)" * (cast_expression "(filestruct **)(iVar7 + 0x10)" ( (type_descriptor "filestruct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "pfVar5 = pfVar10->prev;" (assignment_expression "pfVar5 = pfVar10->prev" identifier = (field_expression "pfVar10->prev" identifier -> field_identifier)) ;) (expression_statement "bVar4 = !_Var6;" (assignment_expression "bVar4 = !_Var6" identifier = (unary_expression "!_Var6" ! identifier)) ;) (expression_statement "bVar2 = bVar1;" (assignment_expression "bVar2 = bVar1" identifier = identifier) ;) }) while (parenthesized_expression "(pfVar5 != (filestruct *)0x0)" ( (binary_expression "pfVar5 != (filestruct *)0x0" identifier != (cast_expression "(filestruct *)0x0" ( (type_descriptor "filestruct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0002cfa0:\n  if ((pfVar10->next != (filestruct *)0x0) &&\n     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)) {\n    iVar7 = *(int *)puVar3;\n    uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);\n    *(undefined4 *)(iVar7 + 0x1c) = 0;\n    *(undefined4 *)(iVar7 + 0x10) = uVar8;\n    edit_redraw(old_current,CENTERING);\n    return;\n  }" statement_identifier : (if_statement "if ((pfVar10->next != (filestruct *)0x0) &&\n     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)) {\n    iVar7 = *(int *)puVar3;\n    uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);\n    *(undefined4 *)(iVar7 + 0x1c) = 0;\n    *(undefined4 *)(iVar7 + 0x10) = uVar8;\n    edit_redraw(old_current,CENTERING);\n    return;\n  }" if (parenthesized_expression "((pfVar10->next != (filestruct *)0x0) &&\n     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0))" ( (binary_expression "(pfVar10->next != (filestruct *)0x0) &&\n     (_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)" (parenthesized_expression "(pfVar10->next != (filestruct *)0x0)" ( (binary_expression "pfVar10->next != (filestruct *)0x0" (field_expression "pfVar10->next" identifier -> field_identifier) != (cast_expression "(filestruct *)0x0" ( (type_descriptor "filestruct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0)" ( (comma_expression "_Var6 = white_string(pfVar10->data), CONCAT31(extraout_var,_Var6) != 0" (assignment_expression "_Var6 = white_string(pfVar10->data)" identifier = (call_expression "white_string(pfVar10->data)" identifier (argument_list "(pfVar10->data)" ( (field_expression "pfVar10->data" identifier -> field_identifier) )))) , (binary_expression "CONCAT31(extraout_var,_Var6) != 0" (call_expression "CONCAT31(extraout_var,_Var6)" identifier (argument_list "(extraout_var,_Var6)" ( identifier , identifier ))) != number_literal)) ))) )) (compound_statement "{\n    iVar7 = *(int *)puVar3;\n    uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);\n    *(undefined4 *)(iVar7 + 0x1c) = 0;\n    *(undefined4 *)(iVar7 + 0x10) = uVar8;\n    edit_redraw(old_current,CENTERING);\n    return;\n  }" { (expression_statement "iVar7 = *(int *)puVar3;" (assignment_expression "iVar7 = *(int *)puVar3" identifier = (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(iVar7 + 0x10) + 8)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar7 + 0x10) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar7 + 0x10) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x10) + 8)" ( (binary_expression "*(int *)(iVar7 + 0x10) + 8" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar7 + 0x1c)" * (cast_expression "(undefined4 *)(iVar7 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x1c)" ( (binary_expression "iVar7 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x10) = uVar8;" (assignment_expression "*(undefined4 *)(iVar7 + 0x10) = uVar8" (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "edit_redraw(old_current,CENTERING);" (call_expression "edit_redraw(old_current,CENTERING)" identifier (argument_list "(old_current,CENTERING)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) }))) (expression_statement "*(undefined4 *)(*(int *)puVar3 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)puVar3 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*(int *)puVar3 + 0x1c)" * (cast_expression "(undefined4 *)(*(int *)puVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)puVar3 + 0x1c)" ( (binary_expression "*(int *)puVar3 + 0x1c" (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = number_literal) ;) (expression_statement "edit_redraw(old_current,CENTERING);" (call_expression "edit_redraw(old_current,CENTERING)" identifier (argument_list "(old_current,CENTERING)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void do_prev_block(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}\n\n" (function_definition "void do_prev_block(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}" primitive_type (function_declarator "do_prev_block(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "puVar1 = PTR_openfile_0007756c;" (assignment_expression "puVar1 = PTR_openfile_0007756c" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR_openfile_0007756c;" (assignment_expression "iVar5 = *(int *)PTR_openfile_0007756c" identifier = (pointer_expression "*(int *)PTR_openfile_0007756c" * (cast_expression "(int *)PTR_openfile_0007756c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar9 = *(undefined4 **)(iVar5 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)puVar9[3];" (assignment_expression "puVar2 = (undefined4 *)puVar9[3]" identifier = (cast_expression "(undefined4 *)puVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar7 = puVar9;" (assignment_expression "puVar7 = puVar9" identifier = identifier) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }" { (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);" do (compound_statement "{\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    }" { (while_statement "while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }" while (parenthesized_expression "(bVar8 = bVar3, bVar4 == 0)" ( (comma_expression "bVar8 = bVar3, bVar4 == 0" (assignment_expression "bVar8 = bVar3" identifier = identifier) , (binary_expression "bVar4 == 0" identifier == number_literal)) )) (compound_statement "{\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }" { (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "*(undefined4 **)(iVar5 + 0x10) = puVar2;" (assignment_expression "*(undefined4 **)(iVar5 + 0x10) = puVar2" (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar4 = white_string(uVar6);" (assignment_expression "bVar4 = white_string(uVar6)" identifier = (call_expression "white_string(uVar6)" identifier (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar7 = *(undefined4 **)(iVar5 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)puVar7[3];" (assignment_expression "puVar2 = (undefined4 *)puVar7[3]" identifier = (cast_expression "(undefined4 *)puVar7[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[3]" identifier [ number_literal ]))) ;) (expression_statement "bVar3 = bVar4 ^ 1;" (assignment_expression "bVar3 = bVar4 ^ 1" identifier = (binary_expression "bVar4 ^ 1" identifier ^ number_literal)) ;) (expression_statement "bVar4 = bVar4 ^ 1;" (assignment_expression "bVar4 = bVar4 ^ 1" identifier = (binary_expression "bVar4 ^ 1" identifier ^ number_literal)) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002cfa0;" goto statement_identifier ;)) })) (if_statement "if (bVar8 == 0) break;" if (parenthesized_expression "(bVar8 == 0)" ( (binary_expression "bVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "*(undefined4 **)(iVar5 + 0x10) = puVar2;" (assignment_expression "*(undefined4 **)(iVar5 + 0x10) = puVar2" (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar3 = white_string(uVar6);" (assignment_expression "bVar3 = white_string(uVar6)" identifier = (call_expression "white_string(uVar6)" identifier (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar7 = *(undefined4 **)(iVar5 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" * (cast_expression "(undefined4 **)(iVar5 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = (undefined4 *)puVar7[3];" (assignment_expression "puVar2 = (undefined4 *)puVar7[3]" identifier = (cast_expression "(undefined4 *)puVar7[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[3]" identifier [ number_literal ]))) ;) (expression_statement "bVar3 = bVar3 ^ 1;" (assignment_expression "bVar3 = bVar3 ^ 1" identifier = (binary_expression "bVar3 ^ 1" identifier ^ number_literal)) ;) (expression_statement "bVar4 = bVar8;" (assignment_expression "bVar4 = bVar8" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" statement_identifier : (if_statement "if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" if (parenthesized_expression "((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0))" ( (binary_expression "(puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)" (parenthesized_expression "(puVar7[2] != 0)" ( (binary_expression "puVar7[2] != 0" (subscript_expression "puVar7[2]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar5 = white_string(*puVar7), iVar5 != 0)" ( (comma_expression "iVar5 = white_string(*puVar7), iVar5 != 0" (assignment_expression "iVar5 = white_string(*puVar7)" identifier = (call_expression "white_string(*puVar7)" identifier (argument_list "(*puVar7)" ( (pointer_expression "*puVar7" * identifier) )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" { (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" * (cast_expression "(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar5 + 0x10) + 8)" ( (binary_expression "*(int *)(iVar5 + 0x10) + 8" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar5 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar5 + 0x1c)" * (cast_expression "(undefined4 *)(iVar5 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar5 + 0x10) = uVar6;" (assignment_expression "*(undefined4 *)(iVar5 + 0x10) = uVar6" (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" * (cast_expression "(undefined4 *)(iVar5 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "edit_redraw(puVar9,0);" (call_expression "edit_redraw(puVar9,0)" identifier (argument_list "(puVar9,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) }))) (expression_statement "*(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)puVar1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*(int *)puVar1 + 0x1c)" * (cast_expression "(undefined4 *)(*(int *)puVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)puVar1 + 0x1c)" ( (binary_expression "*(int *)puVar1 + 0x1c" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = number_literal) ;) (expression_statement "edit_redraw(puVar9,0);" (call_expression "edit_redraw(puVar9,0)" identifier (argument_list "(puVar9,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (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) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) }))) (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 *)) ) IDENT)) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void do_prev_block(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}" (primitive_type "void") (function_declarator "do_prev_block(void)" (identifier "do_prev_block") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  byte bVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  byte bVar8;\n  undefined4 *puVar9;\n  \n  puVar1 = PTR_openfile_0007756c;\n  iVar5 = *(int *)PTR_openfile_0007756c;\n  puVar9 = *(undefined4 **)(iVar5 + 0x10);\n  puVar2 = (undefined4 *)puVar9[3];\n  puVar7 = puVar9;\n  if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }\nLAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }\n  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;\n  edit_redraw(puVar9,0);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (expression_statement "puVar1 = PTR_openfile_0007756c;" (assignment_expression "puVar1 = PTR_openfile_0007756c" (identifier "puVar1") (= "=") (identifier "PTR_openfile_0007756c")) (; ";")) (expression_statement "iVar5 = *(int *)PTR_openfile_0007756c;" (assignment_expression "iVar5 = *(int *)PTR_openfile_0007756c" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR_openfile_0007756c" (* "*") (cast_expression "(int *)PTR_openfile_0007756c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_openfile_0007756c")))) (; ";")) (expression_statement "puVar9 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar9 = *(undefined4 **)(iVar5 + 0x10)" (identifier "puVar9") (= "=") (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar2 = (undefined4 *)puVar9[3];" (assignment_expression "puVar2 = (undefined4 *)puVar9[3]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)puVar9[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar9[3]" (identifier "puVar9") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "puVar7 = puVar9;" (assignment_expression "puVar7 = puVar9" (identifier "puVar7") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    bVar3 = 0;\n    bVar4 = 0;\n    do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);\n  }" ({ "{") (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" (identifier "bVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" (identifier "bVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    } while (puVar2 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n      while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }\n      if (bVar8 == 0) break;\n      uVar6 = *puVar2;\n      *(undefined4 **)(iVar5 + 0x10) = puVar2;\n      bVar3 = white_string(uVar6);\n      iVar5 = *(int *)puVar1;\n      puVar7 = *(undefined4 **)(iVar5 + 0x10);\n      puVar2 = (undefined4 *)puVar7[3];\n      bVar3 = bVar3 ^ 1;\n      bVar4 = bVar8;\n    }" ({ "{") (while_statement "while (bVar8 = bVar3, bVar4 == 0) {\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }" (while "while") (parenthesized_expression "(bVar8 = bVar3, bVar4 == 0)" (( "(") (comma_expression "bVar8 = bVar3, bVar4 == 0" (assignment_expression "bVar8 = bVar3" (identifier "bVar8") (= "=") (identifier "bVar3")) (, ",") (binary_expression "bVar4 == 0" (identifier "bVar4") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n        uVar6 = *puVar2;\n        *(undefined4 **)(iVar5 + 0x10) = puVar2;\n        bVar4 = white_string(uVar6);\n        iVar5 = *(int *)puVar1;\n        puVar7 = *(undefined4 **)(iVar5 + 0x10);\n        puVar2 = (undefined4 *)puVar7[3];\n        bVar3 = bVar4 ^ 1;\n        bVar4 = bVar4 ^ 1;\n        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;\n      }" ({ "{") (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" (identifier "uVar6") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "*(undefined4 **)(iVar5 + 0x10) = puVar2;" (assignment_expression "*(undefined4 **)(iVar5 + 0x10) = puVar2" (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "bVar4 = white_string(uVar6);" (assignment_expression "bVar4 = white_string(uVar6)" (identifier "bVar4") (= "=") (call_expression "white_string(uVar6)" (identifier "white_string") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" (identifier "iVar5") (= "=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "puVar7 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar7 = *(undefined4 **)(iVar5 + 0x10)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar2 = (undefined4 *)puVar7[3];" (assignment_expression "puVar2 = (undefined4 *)puVar7[3]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)puVar7[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "bVar3 = bVar4 ^ 1;" (assignment_expression "bVar3 = bVar4 ^ 1" (identifier "bVar3") (= "=") (binary_expression "bVar4 ^ 1" (identifier "bVar4") (^ "^") (number_literal "1"))) (; ";")) (expression_statement "bVar4 = bVar4 ^ 1;" (assignment_expression "bVar4 = bVar4 ^ 1" (identifier "bVar4") (= "=") (binary_expression "bVar4 ^ 1" (identifier "bVar4") (^ "^") (number_literal "1"))) (; ";")) (if_statement "if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;" (if "if") (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined4 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0002cfa0;" (goto "goto") (statement_identifier "LAB_0002cfa0") (; ";"))) (} "}"))) (if_statement "if (bVar8 == 0) break;" (if "if") (parenthesized_expression "(bVar8 == 0)" (( "(") (binary_expression "bVar8 == 0" (identifier "bVar8") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" (identifier "uVar6") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "*(undefined4 **)(iVar5 + 0x10) = puVar2;" (assignment_expression "*(undefined4 **)(iVar5 + 0x10) = puVar2" (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "bVar3 = white_string(uVar6);" (assignment_expression "bVar3 = white_string(uVar6)" (identifier "bVar3") (= "=") (call_expression "white_string(uVar6)" (identifier "white_string") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" (identifier "iVar5") (= "=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "puVar7 = *(undefined4 **)(iVar5 + 0x10);" (assignment_expression "puVar7 = *(undefined4 **)(iVar5 + 0x10)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined4 **)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar2 = (undefined4 *)puVar7[3];" (assignment_expression "puVar2 = (undefined4 *)puVar7[3]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)puVar7[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "bVar3 = bVar3 ^ 1;" (assignment_expression "bVar3 = bVar3 ^ 1" (identifier "bVar3") (= "=") (binary_expression "bVar3 ^ 1" (identifier "bVar3") (^ "^") (number_literal "1"))) (; ";")) (expression_statement "bVar4 = bVar8;" (assignment_expression "bVar4 = bVar8" (identifier "bVar4") (= "=") (identifier "bVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0002cfa0:\n  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" (statement_identifier "LAB_0002cfa0") (: ":") (if_statement "if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" (if "if") (parenthesized_expression "((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0))" (( "(") (binary_expression "(puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)" (parenthesized_expression "(puVar7[2] != 0)" (( "(") (binary_expression "puVar7[2] != 0" (subscript_expression "puVar7[2]" (identifier "puVar7") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = white_string(*puVar7), iVar5 != 0)" (( "(") (comma_expression "iVar5 = white_string(*puVar7), iVar5 != 0" (assignment_expression "iVar5 = white_string(*puVar7)" (identifier "iVar5") (= "=") (call_expression "white_string(*puVar7)" (identifier "white_string") (argument_list "(*puVar7)" (( "(") (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar5 = *(int *)puVar1;\n    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);\n    *(undefined4 *)(iVar5 + 0x1c) = 0;\n    *(undefined4 *)(iVar5 + 0x10) = uVar6;\n    edit_redraw(puVar9,0);\n    return;\n  }" ({ "{") (expression_statement "iVar5 = *(int *)puVar1;" (assignment_expression "iVar5 = *(int *)puVar1" (identifier "iVar5") (= "=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar5 + 0x10) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar5 + 0x10) + 8)" (( "(") (binary_expression "*(int *)(iVar5 + 0x10) + 8" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar5 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar5 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x1c)" (( "(") (binary_expression "iVar5 + 0x1c" (identifier "iVar5") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar5 + 0x10) = uVar6;" (assignment_expression "*(undefined4 *)(iVar5 + 0x10) = uVar6" (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "edit_redraw(puVar9,0);" (call_expression "edit_redraw(puVar9,0)" (identifier "edit_redraw") (argument_list "(puVar9,0)" (( "(") (identifier "puVar9") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "*(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*(int *)puVar1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*(int *)puVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(*(int *)puVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)puVar1 + 0x1c)" (( "(") (binary_expression "*(int *)puVar1 + 0x1c" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "edit_redraw(puVar9,0);" (call_expression "edit_redraw(puVar9,0)" (identifier "edit_redraw") (argument_list "(puVar9,0)" (( "(") (identifier "puVar9") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (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: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))))) (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))) (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement)))) (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: (identifier))) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  undefined4 *puVar2;
  byte bVar3;
  byte bVar4;
  int iVar5;
  undefined4 uVar6;
  undefined4 *puVar7;
  byte bVar8;
  undefined4 *puVar9;
  
  puVar1 = PTR_openfile_0007756c;
  iVar5 = *(int *)PTR_openfile_0007756c;
  puVar9 = *(undefined4 **)(iVar5 + 0x10);
  puVar2 = (undefined4 *)puVar9[3];
  puVar7 = puVar9;
  if (puVar2 != (undefined4 *)0x0) {
    bVar3 = 0;
    bVar4 = 0;
    do {
      while (bVar8 = bVar3, bVar4 == 0) {
        uVar6 = *puVar2;
        *(undefined4 **)(iVar5 + 0x10) = puVar2;
        bVar4 = white_string(uVar6);
        iVar5 = *(int *)puVar1;
        puVar7 = *(undefined4 **)(iVar5 + 0x10);
        puVar2 = (undefined4 *)puVar7[3];
        bVar3 = bVar4 ^ 1;
        bVar4 = bVar4 ^ 1;
        if (puVar2 == (undefined4 *)0x0) goto LAB_0002cfa0;
      }
      if (bVar8 == 0) break;
      uVar6 = *puVar2;
      *(undefined4 **)(iVar5 + 0x10) = puVar2;
      bVar3 = white_string(uVar6);
      iVar5 = *(int *)puVar1;
      puVar7 = *(undefined4 **)(iVar5 + 0x10);
      puVar2 = (undefined4 *)puVar7[3];
      bVar3 = bVar3 ^ 1;
      bVar4 = bVar8;
    } while (puVar2 != (undefined4 *)0x0);
  }
LAB_0002cfa0:
  if ((puVar7[2] != 0) && (iVar5 = white_string(*puVar7), iVar5 != 0)) {
    iVar5 = *(int *)puVar1;
    uVar6 = *(undefined4 *)(*(int *)(iVar5 + 0x10) + 8);
    *(undefined4 *)(iVar5 + 0x1c) = 0;
    *(undefined4 *)(iVar5 + 0x10) = uVar6;
    edit_redraw(puVar9,0);
    return;
  }
  *(undefined4 *)(*(int *)puVar1 + 0x1c) = 0;
  edit_redraw(puVar9,0);
  return;
}

