
void columns_alloc_vert(Columns *cols,gint ourheight,widget_dim_fn_t get_height)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int *piVar10;
  GList *pGVar11;
  int in_t9;
  
  piVar1 = (int *)(**(code **)(in_t9 + 0x5a768))(4);
  pGVar11 = cols->children;
  *piVar1 = 0;
  if (pGVar11 != (GList *)0x0) {
    piVar10 = (int *)pGVar11->data;
    iVar9 = 1;
    if (piVar10 != (int *)0x0) {
      iVar5 = *piVar10;
      do {
        if (iVar5 == 0) {
          if (1 < iVar9) {
            piVar3 = piVar1 + 1;
            do {
              iVar5 = *piVar3;
              piVar3 = piVar3 + 1;
              if (*piVar1 < iVar5) {
                *piVar1 = iVar5;
              }
            } while (piVar1 + iVar9 != piVar3);
          }
          iVar9 = piVar10[5];
          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);
          if (iVar9 < 2) goto code_r0x0004d630;
          piVar10 = piVar1 + 1;
          do {
            piVar3 = piVar10 + 1;
            *piVar10 = *piVar1;
            piVar10 = piVar3;
          } while (piVar1 + iVar9 != piVar3);
          pGVar11 = pGVar11->next;
        }
        else {
          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();
          if (iVar5 == 0) {
code_r0x0004d630:
            pGVar11 = pGVar11->next;
          }
          else {
            iVar2 = (*(code *)ourheight)(piVar10);
            iVar5 = iVar2;
            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {
              iVar5 = iVar2;
            }
            iVar8 = piVar10[2];
            if (iVar8 == 0) {
              iVar8 = iVar9 - piVar10[1];
            }
            if (iVar8 < 1) {
              piVar10[10] = iVar2;
              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;
              FUN_0004d630();
              return;
            }
            iVar4 = piVar10[1];
            iVar6 = 0;
            piVar3 = piVar1 + iVar4;
            do {
              iVar7 = *piVar3;
              piVar3 = piVar3 + 1;
              if (iVar6 < iVar7) {
                iVar6 = iVar7;
              }
            } while (piVar3 != piVar1 + iVar8 + iVar4);
            iVar7 = cols->spacing;
            piVar10[10] = iVar2;
            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);
            iVar2 = 0;
            while( true ) {
              iVar4 = iVar2 + iVar4;
              iVar2 = iVar2 + 1;
              piVar1[iVar4] = iVar5 + iVar6 + iVar7;
              if (iVar8 == iVar2) break;
              iVar4 = piVar10[1];
            }
            pGVar11 = pGVar11->next;
          }
        }
        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))
        break;
        iVar5 = *piVar10;
      } while( true );
    }
  }
                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(in_t9 + 0x5a588))(piVar1);
  return;
}



void FUN_0004d5c0(int param_1,code *param_2)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int *piVar10;
  undefined4 *puVar11;
  
  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);
  puVar11 = *(undefined4 **)(param_1 + 0x14);
  *piVar1 = 0;
  if (puVar11 != (undefined4 *)0x0) {
    piVar10 = (int *)*puVar11;
    iVar9 = 1;
    if (piVar10 != (int *)0x0) {
      iVar5 = *piVar10;
      do {
        if (iVar5 == 0) {
          if (1 < iVar9) {
            piVar3 = piVar1 + 1;
            do {
              iVar5 = *piVar3;
              piVar3 = piVar3 + 1;
              if (*piVar1 < iVar5) {
                *piVar1 = iVar5;
              }
            } while (piVar1 + iVar9 != piVar3);
          }
          iVar9 = piVar10[5];
          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);
          if (iVar9 < 2) goto LAB_0004d630;
          piVar10 = piVar1 + 1;
          do {
            piVar3 = piVar10 + 1;
            *piVar10 = *piVar1;
            piVar10 = piVar3;
          } while (piVar1 + iVar9 != piVar3);
          puVar11 = (undefined4 *)puVar11[1];
        }
        else {
          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();
          if (iVar5 != 0) {
            iVar2 = (*param_2)(piVar10);
            iVar5 = iVar2;
            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {
              iVar5 = iVar2;
            }
            iVar8 = piVar10[2];
            if (iVar8 == 0) {
              iVar8 = iVar9 - piVar10[1];
            }
            if (0 < iVar8) {
              iVar4 = piVar10[1];
              iVar6 = 0;
              piVar3 = piVar1 + iVar4;
              do {
                iVar7 = *piVar3;
                piVar3 = piVar3 + 1;
                if (iVar6 < iVar7) {
                  iVar6 = iVar7;
                }
              } while (piVar3 != piVar1 + iVar8 + iVar4);
              iVar7 = *(int *)(param_1 + 0x1c);
              piVar10[10] = iVar2;
              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);
              iVar2 = 0;
              while( true ) {
                iVar4 = iVar2 + iVar4;
                iVar2 = iVar2 + 1;
                piVar1[iVar4] = iVar5 + iVar6 + iVar7;
                if (iVar8 == iVar2) break;
                iVar4 = piVar10[1];
              }
              puVar11 = (undefined4 *)puVar11[1];
              goto joined_r0x0004d634;
            }
            piVar10[10] = iVar2;
            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;
          }
LAB_0004d630:
          puVar11 = (undefined4 *)puVar11[1];
        }
joined_r0x0004d634:
        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))
        break;
        iVar5 = *piVar10;
      } while( true );
    }
  }
                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_g_free_000a7b48)(piVar1);
  return;
}


lui gp,0x6
addiu gp,gp,0x1ad0
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7368(gp)
sw s2,0x20(sp)
or s2,a0,zero
li a0,0x4
sw gp,0x10(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s1,0x1c(sp)
or s1,a1,zero
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s3,0x24(sp)
jalr t9
_sw s0,0x18(sp)
lw s5,0x14(s2)
or s4,v0,zero
lw gp,0x10(sp)
beq s5,zero,0x0004d744
_sw zero,0x0(v0)
lw s3,0x0(s5)
beq s3,zero,0x0004d744
_li s0,0x1
b 0x0004d64c
_lw a0,0x0(s3)
lw s5,0x4(s5)
beq s5,zero,0x0004d748
_lw ra,0x34(sp)
lw s3,0x0(s5)
beq s3,zero,0x0004d748
_lw ra,0x34(sp)
lw a0,0x0(s3)
beq a0,zero,0x0004d774
_lw t9,-0x7410(gp)
jalr t9
_nop
beq v0,zero,0x0004d630
_lw gp,0x10(sp)
or t9,s1,zero
jalr t9
_or a0,s3,zero
lw a0,0x10(s3)
or s6,v0,zero
beq a0,zero,0x0004d698
_lw gp,0x10(sp)
or t9,s1,zero
jalr t9
_nop
slt a1,s6,v0
lw gp,0x10(sp)
movz v0,s6,a1
lw t0,0x8(s3)
bne t0,zero,0x0004d6ac
_srl a0,s6,0x1f
lw t0,0x4(s3)
subu t0,s0,t0
srl v1,v0,0x1f
addu a0,a0,s6
addu v1,v1,v0
sra a0,a0,0x1
sra t2,v1,0x1
blez t0,0x0004d7f4
_subu t3,zero,a0
lw v1,0x4(s3)
or a1,zero,zero
addu t1,t0,v1
sll a0,v1,0x2
sll t1,t1,0x2
addu a0,s4,a0
addu t1,s4,t1
lw a2,0x0(a0)
addiu a0,a0,0x4
slt a3,a1,a2
bne a0,t1,0x0004d6e4
_movn a1,a2,a3
addu t2,a1,t2
lw a0,0x1c(s2)
addu a1,v0,a1
sw s6,0x28(s3)
addu t2,t2,t3
addu a1,a1,a0
sw t2,0x20(s3)
b 0x0004d720
_or v0,zero,zero
lw v1,0x4(s3)
addu v1,v0,v1
addiu v0,v0,0x1
sll v1,v1,0x2
addu v1,s4,v1
bne t0,v0,0x0004d71c
_sw a1,0x0(v1)
lw s5,0x4(s5)
bne s5,zero,0x0004d63c
_nop
lw ra,0x34(sp)
or a0,s4,zero
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7548(gp)
jr t9
_addiu sp,sp,0x38
slti v0,s0,0x2
bne v0,zero,0x0004d7a8
_sll s0,s0,0x2
addiu v0,s4,0x4
addu s0,s4,s0
lw a0,0x0(v0)
lw v1,0x0(s4)
slt v1,v1,a0
beq v1,zero,0x0004d7a0
_addiu v0,v0,0x4
sw a0,0x0(s4)
bne s0,v0,0x0004d788
_nop
lw s0,0x14(s3)
li a2,0x4
lw t9,-0x7678(gp)
or a0,s4,zero
jalr t9
_or a1,s0,zero
slti v1,s0,0x2
lw gp,0x10(sp)
bne v1,zero,0x0004d630
_or s4,v0,zero
sll a0,s0,0x2
addiu v0,v0,0x4
addu a0,s4,a0
lw v1,0x0(s4)
addiu v0,v0,0x4
bne a0,v0,0x0004d7dc
_sw v1,-0x4(v0)
b 0x0004d634
_lw s5,0x4(s5)
addu t2,t3,t2
sw s6,0x28(s3)
b 0x0004d630
_sw t2,0x20(s3)
(translation_unit "void FUN_0004d5c0(int param_1,code *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}\n\n" (function_definition "void FUN_0004d5c0(int param_1,code *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}" primitive_type (function_declarator "FUN_0004d5c0(int param_1,code *param_2)" identifier (parameter_list "(int param_1,code *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4)" identifier = (cast_expression "(int *)(*(code *)PTR_g_malloc_000a7d28)(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_malloc_000a7d28)(4)" (parenthesized_expression "(*(code *)PTR_g_malloc_000a7d28)" ( (pointer_expression "*(code *)PTR_g_malloc_000a7d28" * (cast_expression "(code *)PTR_g_malloc_000a7d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "puVar11 = *(undefined4 **)(param_1 + 0x14);" (assignment_expression "puVar11 = *(undefined4 **)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (if_statement "if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" if (parenthesized_expression "(puVar11 != (undefined4 *)0x0)" ( (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" { (expression_statement "piVar10 = (int *)*puVar11;" (assignment_expression "piVar10 = (int *)*puVar11" identifier = (cast_expression "(int *)*puVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (if_statement "if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" { (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (do_statement "do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );" do (compound_statement "{\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      }" { (if_statement "if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }" { (if_statement "if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" if (parenthesized_expression "(1 < iVar9)" ( (binary_expression "1 < iVar9" number_literal < identifier) )) (compound_statement "{\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" { (expression_statement "piVar3 = piVar1 + 1;" (assignment_expression "piVar3 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (do_statement "do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);" do (compound_statement "{\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            }" { (expression_statement "iVar5 = *piVar3;" (assignment_expression "iVar5 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }" if (parenthesized_expression "(*piVar1 < iVar5)" ( (binary_expression "*piVar1 < iVar5" (pointer_expression "*piVar1" * identifier) < identifier) )) (compound_statement "{\n                *piVar1 = iVar5;\n              }" { (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" * identifier) = identifier) ;) })) }) while (parenthesized_expression "(piVar1 + iVar9 != piVar3)" ( (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" identifier + identifier) != identifier) )) ;) })) (expression_statement "iVar9 = piVar10[5];" (assignment_expression "iVar9 = piVar10[5]" identifier = (subscript_expression "piVar10[5]" identifier [ number_literal ])) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" identifier = (cast_expression "(int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" (parenthesized_expression "(*(code *)PTR_g_realloc_n_000a7a18)" ( (pointer_expression "*(code *)PTR_g_realloc_n_000a7a18" * (cast_expression "(code *)PTR_g_realloc_n_000a7a18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1,iVar9,4)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (iVar9 < 2) goto LAB_0004d630;" if (parenthesized_expression "(iVar9 < 2)" ( (binary_expression "iVar9 < 2" identifier < number_literal) )) (goto_statement "goto LAB_0004d630;" goto statement_identifier ;)) (expression_statement "piVar10 = piVar1 + 1;" (assignment_expression "piVar10 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (do_statement "do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);" do (compound_statement "{\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          }" { (expression_statement "piVar3 = piVar10 + 1;" (assignment_expression "piVar3 = piVar10 + 1" identifier = (binary_expression "piVar10 + 1" identifier + number_literal)) ;) (expression_statement "*piVar10 = *piVar1;" (assignment_expression "*piVar10 = *piVar1" (pointer_expression "*piVar10" * identifier) = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "piVar10 = piVar3;" (assignment_expression "piVar10 = piVar3" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 + iVar9 != piVar3)" ( (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" identifier + identifier) != identifier) )) ;) (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" identifier = (cast_expression "(undefined4 *)puVar11[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" else (compound_statement "{\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" { (expression_statement "iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();" (assignment_expression "iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_visible_000a7c80)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_visible_000a7c80)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_visible_000a7c80" * (cast_expression "(code *)PTR_gtk_widget_get_visible_000a7c80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }" { (expression_statement "iVar2 = (*param_2)(piVar10);" (assignment_expression "iVar2 = (*param_2)(piVar10)" identifier = (call_expression "(*param_2)(piVar10)" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(piVar10)" ( identifier )))) ;) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) (if_statement "if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }" if (parenthesized_expression "((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2))" ( (binary_expression "(piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)" (parenthesized_expression "(piVar10[4] != 0)" ( (binary_expression "piVar10[4] != 0" (subscript_expression "piVar10[4]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar5 = (*param_2)(), iVar5 <= iVar2)" ( (comma_expression "iVar5 = (*param_2)(), iVar5 <= iVar2" (assignment_expression "iVar5 = (*param_2)()" identifier = (call_expression "(*param_2)()" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "()" ( )))) , (binary_expression "iVar5 <= iVar2" identifier <= identifier)) ))) )) (compound_statement "{\n              iVar5 = iVar2;\n            }" { (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar8 = piVar10[2];" (assignment_expression "iVar8 = piVar10[2]" identifier = (subscript_expression "piVar10[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar8 = iVar9 - piVar10[1];\n            }" { (expression_statement "iVar8 = iVar9 - piVar10[1];" (assignment_expression "iVar8 = iVar9 - piVar10[1]" identifier = (binary_expression "iVar9 - piVar10[1]" identifier - (subscript_expression "piVar10[1]" identifier [ number_literal ]))) ;) })) (if_statement "if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }" { (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = piVar1 + iVar4;" (assignment_expression "piVar3 = piVar1 + iVar4" identifier = (binary_expression "piVar1 + iVar4" identifier + identifier)) ;) (do_statement "do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);" do (compound_statement "{\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              }" { (expression_statement "iVar7 = *piVar3;" (assignment_expression "iVar7 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }" if (parenthesized_expression "(iVar6 < iVar7)" ( (binary_expression "iVar6 < iVar7" identifier < identifier) )) (compound_statement "{\n                  iVar6 = iVar7;\n                }" { (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) })) }) while (parenthesized_expression "(piVar3 != piVar1 + iVar8 + iVar4)" ( (binary_expression "piVar3 != piVar1 + iVar8 + iVar4" identifier != (binary_expression "piVar1 + iVar8 + iVar4" (binary_expression "piVar1 + iVar8" identifier + identifier) + identifier)) )) ;) (expression_statement "iVar7 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar7 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);" (assignment_expression "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2)" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = (binary_expression "iVar6 + iVar5 / 2 + -(iVar2 / 2)" (binary_expression "iVar6 + iVar5 / 2" identifier + (binary_expression "iVar5 / 2" identifier / number_literal)) + (unary_expression "-(iVar2 / 2)" - (parenthesized_expression "(iVar2 / 2)" ( (binary_expression "iVar2 / 2" identifier / number_literal) ))))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }" { (expression_statement "iVar4 = iVar2 + iVar4;" (assignment_expression "iVar4 = iVar2 + iVar4" identifier = (binary_expression "iVar2 + iVar4" identifier + identifier)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[iVar4] = iVar5 + iVar6 + iVar7;" (assignment_expression "piVar1[iVar4] = iVar5 + iVar6 + iVar7" (subscript_expression "piVar1[iVar4]" identifier [ identifier ]) = (binary_expression "iVar5 + iVar6 + iVar7" (binary_expression "iVar5 + iVar6" identifier + identifier) + identifier)) ;) (if_statement "if (iVar8 == iVar2) break;" if (parenthesized_expression "(iVar8 == iVar2)" ( (binary_expression "iVar8 == iVar2" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) })) (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" identifier = (cast_expression "(undefined4 *)puVar11[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;) (goto_statement "goto joined_r0x0004d634;" goto statement_identifier ;) })) (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[8] = -(iVar2 / 2) + iVar5 / 2;" (assignment_expression "piVar10[8] = -(iVar2 / 2) + iVar5 / 2" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = (binary_expression "-(iVar2 / 2) + iVar5 / 2" (unary_expression "-(iVar2 / 2)" - (parenthesized_expression "(iVar2 / 2)" ( (binary_expression "iVar2 / 2" identifier / number_literal) ))) + (binary_expression "iVar5 / 2" identifier / number_literal))) ;) })) (labeled_statement "LAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];" statement_identifier : (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" identifier = (cast_expression "(undefined4 *)puVar11[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;)) }))) (labeled_statement "joined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;" statement_identifier : (if_statement "if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;" if (parenthesized_expression "((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))" ( (binary_expression "(puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0)" (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" ( (binary_expression "puVar11 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar10 = (int *)*puVar11, piVar10 == (int *)0x0)" ( (comma_expression "piVar10 = (int *)*puVar11, piVar10 == (int *)0x0" (assignment_expression "piVar10 = (int *)*puVar11" identifier = (cast_expression "(int *)*puVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) , (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (break_statement "break;" break ;))) (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) comment comment (expression_statement "(*(code *)PTR_g_free_000a7b48)(piVar1);" (call_expression "(*(code *)PTR_g_free_000a7b48)(piVar1)" (parenthesized_expression "(*(code *)PTR_g_free_000a7b48)" ( (pointer_expression "*(code *)PTR_g_free_000a7b48" * (cast_expression "(code *)PTR_g_free_000a7b48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void columns_alloc_vert(Columns *cols,gint ourheight,widget_dim_fn_t get_height)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  GList *pGVar11;\n  int in_t9;\n  \n  piVar1 = (int *)(**(code **)(in_t9 + 0x5a768))(4);\n  pGVar11 = cols->children;\n  *piVar1 = 0;\n  if (pGVar11 != (GList *)0x0) {\n    piVar10 = (int *)pGVar11->data;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(in_t9 + 0x5a588))(piVar1);\n  return;\n}\n\n" (function_definition "void columns_alloc_vert(Columns *cols,gint ourheight,widget_dim_fn_t get_height)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  GList *pGVar11;\n  int in_t9;\n  \n  piVar1 = (int *)(**(code **)(in_t9 + 0x5a768))(4);\n  pGVar11 = cols->children;\n  *piVar1 = 0;\n  if (pGVar11 != (GList *)0x0) {\n    piVar10 = (int *)pGVar11->data;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(in_t9 + 0x5a588))(piVar1);\n  return;\n}" primitive_type (function_declarator "columns_alloc_vert(Columns *cols,gint ourheight,widget_dim_fn_t get_height)" identifier (parameter_list "(Columns *cols,gint ourheight,widget_dim_fn_t get_height)" ( (parameter_declaration "Columns *cols" type_identifier (pointer_declarator "*cols" * identifier)) , (parameter_declaration "gint ourheight" type_identifier identifier) , (parameter_declaration "widget_dim_fn_t get_height" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  GList *pGVar11;\n  int in_t9;\n  \n  piVar1 = (int *)(**(code **)(in_t9 + 0x5a768))(4);\n  pGVar11 = cols->children;\n  *piVar1 = 0;\n  if (pGVar11 != (GList *)0x0) {\n    piVar10 = (int *)pGVar11->data;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(in_t9 + 0x5a588))(piVar1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "GList *pGVar11;" type_identifier (pointer_declarator "*pGVar11" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)(**(code **)(in_t9 + 0x5a768))(4);" (assignment_expression "piVar1 = (int *)(**(code **)(in_t9 + 0x5a768))(4)" identifier = (cast_expression "(int *)(**(code **)(in_t9 + 0x5a768))(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x5a768))(4)" (parenthesized_expression "(**(code **)(in_t9 + 0x5a768))" ( (pointer_expression "**(code **)(in_t9 + 0x5a768)" * (pointer_expression "*(code **)(in_t9 + 0x5a768)" * (cast_expression "(code **)(in_t9 + 0x5a768)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x5a768)" ( (binary_expression "in_t9 + 0x5a768" identifier + number_literal) ))))) )) (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "pGVar11 = cols->children;" (assignment_expression "pGVar11 = cols->children" identifier = (field_expression "cols->children" identifier -> field_identifier)) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (if_statement "if (pGVar11 != (GList *)0x0) {\n    piVar10 = (int *)pGVar11->data;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" if (parenthesized_expression "(pGVar11 != (GList *)0x0)" ( (binary_expression "pGVar11 != (GList *)0x0" identifier != (cast_expression "(GList *)0x0" ( (type_descriptor "GList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar10 = (int *)pGVar11->data;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" { (expression_statement "piVar10 = (int *)pGVar11->data;" (assignment_expression "piVar10 = (int *)pGVar11->data" identifier = (cast_expression "(int *)pGVar11->data" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pGVar11->data" identifier -> field_identifier))) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (if_statement "if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" { (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (do_statement "do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );" do (compound_statement "{\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }\n        if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      }" { (if_statement "if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }\n        else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);\n          if (iVar9 < 2) goto code_r0x0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          pGVar11 = pGVar11->next;\n        }" { (if_statement "if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" if (parenthesized_expression "(1 < iVar9)" ( (binary_expression "1 < iVar9" number_literal < identifier) )) (compound_statement "{\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" { (expression_statement "piVar3 = piVar1 + 1;" (assignment_expression "piVar3 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (do_statement "do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);" do (compound_statement "{\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            }" { (expression_statement "iVar5 = *piVar3;" (assignment_expression "iVar5 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }" if (parenthesized_expression "(*piVar1 < iVar5)" ( (binary_expression "*piVar1 < iVar5" (pointer_expression "*piVar1" * identifier) < identifier) )) (compound_statement "{\n                *piVar1 = iVar5;\n              }" { (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" * identifier) = identifier) ;) })) }) while (parenthesized_expression "(piVar1 + iVar9 != piVar3)" ( (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" identifier + identifier) != identifier) )) ;) })) (expression_statement "iVar9 = piVar10[5];" (assignment_expression "iVar9 = piVar10[5]" identifier = (subscript_expression "piVar10[5]" identifier [ number_literal ])) ;) (expression_statement "piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4);" (assignment_expression "piVar1 = (int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4)" identifier = (cast_expression "(int *)(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x5a458))(piVar1,iVar9,4)" (parenthesized_expression "(**(code **)(in_t9 + 0x5a458))" ( (pointer_expression "**(code **)(in_t9 + 0x5a458)" * (pointer_expression "*(code **)(in_t9 + 0x5a458)" * (cast_expression "(code **)(in_t9 + 0x5a458)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x5a458)" ( (binary_expression "in_t9 + 0x5a458" identifier + number_literal) ))))) )) (argument_list "(piVar1,iVar9,4)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (iVar9 < 2) goto code_r0x0004d630;" if (parenthesized_expression "(iVar9 < 2)" ( (binary_expression "iVar9 < 2" identifier < number_literal) )) (goto_statement "goto code_r0x0004d630;" goto statement_identifier ;)) (expression_statement "piVar10 = piVar1 + 1;" (assignment_expression "piVar10 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (do_statement "do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);" do (compound_statement "{\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          }" { (expression_statement "piVar3 = piVar10 + 1;" (assignment_expression "piVar3 = piVar10 + 1" identifier = (binary_expression "piVar10 + 1" identifier + number_literal)) ;) (expression_statement "*piVar10 = *piVar1;" (assignment_expression "*piVar10 = *piVar1" (pointer_expression "*piVar10" * identifier) = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "piVar10 = piVar3;" (assignment_expression "piVar10 = piVar3" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 + iVar9 != piVar3)" ( (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" identifier + identifier) != identifier) )) ;) (expression_statement "pGVar11 = pGVar11->next;" (assignment_expression "pGVar11 = pGVar11->next" identifier = (field_expression "pGVar11->next" identifier -> field_identifier)) ;) }) (else_clause "else {\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(in_t9 + 0x5a6c0))();\n          if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }\n        }" { (expression_statement "iVar5 = (**(code **)(in_t9 + 0x5a6c0))();" (assignment_expression "iVar5 = (**(code **)(in_t9 + 0x5a6c0))()" identifier = (call_expression "(**(code **)(in_t9 + 0x5a6c0))()" (parenthesized_expression "(**(code **)(in_t9 + 0x5a6c0))" ( (pointer_expression "**(code **)(in_t9 + 0x5a6c0)" * (pointer_expression "*(code **)(in_t9 + 0x5a6c0)" * (cast_expression "(code **)(in_t9 + 0x5a6c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x5a6c0)" ( (binary_expression "in_t9 + 0x5a6c0" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }\n          else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\ncode_r0x0004d630:\n            pGVar11 = pGVar11->next;\n          }" { (labeled_statement "code_r0x0004d630:\n            pGVar11 = pGVar11->next;" statement_identifier : (expression_statement "pGVar11 = pGVar11->next;" (assignment_expression "pGVar11 = pGVar11->next" identifier = (field_expression "pGVar11->next" identifier -> field_identifier)) ;)) }) (else_clause "else {\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }" else (compound_statement "{\n            iVar2 = (*(code *)ourheight)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }\n            iVar4 = piVar10[1];\n            iVar6 = 0;\n            piVar3 = piVar1 + iVar4;\n            do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);\n            iVar7 = cols->spacing;\n            piVar10[10] = iVar2;\n            piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n            iVar2 = 0;\n            while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }\n            pGVar11 = pGVar11->next;\n          }" { (expression_statement "iVar2 = (*(code *)ourheight)(piVar10);" (assignment_expression "iVar2 = (*(code *)ourheight)(piVar10)" identifier = (call_expression "(*(code *)ourheight)(piVar10)" (parenthesized_expression "(*(code *)ourheight)" ( (pointer_expression "*(code *)ourheight" * (cast_expression "(code *)ourheight" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar10)" ( identifier )))) ;) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) (if_statement "if ((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }" if (parenthesized_expression "((piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2))" ( (binary_expression "(piVar10[4] != 0) && (iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)" (parenthesized_expression "(piVar10[4] != 0)" ( (binary_expression "piVar10[4] != 0" (subscript_expression "piVar10[4]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2)" ( (comma_expression "iVar5 = (*(code *)ourheight)(), iVar5 <= iVar2" (assignment_expression "iVar5 = (*(code *)ourheight)()" identifier = (call_expression "(*(code *)ourheight)()" (parenthesized_expression "(*(code *)ourheight)" ( (pointer_expression "*(code *)ourheight" * (cast_expression "(code *)ourheight" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar5 <= iVar2" identifier <= identifier)) ))) )) (compound_statement "{\n              iVar5 = iVar2;\n            }" { (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar8 = piVar10[2];" (assignment_expression "iVar8 = piVar10[2]" identifier = (subscript_expression "piVar10[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar8 = iVar9 - piVar10[1];\n            }" { (expression_statement "iVar8 = iVar9 - piVar10[1];" (assignment_expression "iVar8 = iVar9 - piVar10[1]" identifier = (binary_expression "iVar9 - piVar10[1]" identifier - (subscript_expression "piVar10[1]" identifier [ number_literal ]))) ;) })) (if_statement "if (iVar8 < 1) {\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\n              piVar10[10] = iVar2;\n              piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n              FUN_0004d630();\n              return;\n            }" { (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[8] = -(iVar2 / 2) + iVar5 / 2;" (assignment_expression "piVar10[8] = -(iVar2 / 2) + iVar5 / 2" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = (binary_expression "-(iVar2 / 2) + iVar5 / 2" (unary_expression "-(iVar2 / 2)" - (parenthesized_expression "(iVar2 / 2)" ( (binary_expression "iVar2 / 2" identifier / number_literal) ))) + (binary_expression "iVar5 / 2" identifier / number_literal))) ;) (expression_statement "FUN_0004d630();" (call_expression "FUN_0004d630()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = piVar1 + iVar4;" (assignment_expression "piVar3 = piVar1 + iVar4" identifier = (binary_expression "piVar1 + iVar4" identifier + identifier)) ;) (do_statement "do {\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            } while (piVar3 != piVar1 + iVar8 + iVar4);" do (compound_statement "{\n              iVar7 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }\n            }" { (expression_statement "iVar7 = *piVar3;" (assignment_expression "iVar7 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 < iVar7) {\n                iVar6 = iVar7;\n              }" if (parenthesized_expression "(iVar6 < iVar7)" ( (binary_expression "iVar6 < iVar7" identifier < identifier) )) (compound_statement "{\n                iVar6 = iVar7;\n              }" { (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) })) }) while (parenthesized_expression "(piVar3 != piVar1 + iVar8 + iVar4)" ( (binary_expression "piVar3 != piVar1 + iVar8 + iVar4" identifier != (binary_expression "piVar1 + iVar8 + iVar4" (binary_expression "piVar1 + iVar8" identifier + identifier) + identifier)) )) ;) (expression_statement "iVar7 = cols->spacing;" (assignment_expression "iVar7 = cols->spacing" identifier = (field_expression "cols->spacing" identifier -> field_identifier)) ;) (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);" (assignment_expression "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2)" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = (binary_expression "iVar6 + iVar5 / 2 + -(iVar2 / 2)" (binary_expression "iVar6 + iVar5 / 2" identifier + (binary_expression "iVar5 / 2" identifier / number_literal)) + (unary_expression "-(iVar2 / 2)" - (parenthesized_expression "(iVar2 / 2)" ( (binary_expression "iVar2 / 2" identifier / number_literal) ))))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              iVar4 = iVar2 + iVar4;\n              iVar2 = iVar2 + 1;\n              piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n              if (iVar8 == iVar2) break;\n              iVar4 = piVar10[1];\n            }" { (expression_statement "iVar4 = iVar2 + iVar4;" (assignment_expression "iVar4 = iVar2 + iVar4" identifier = (binary_expression "iVar2 + iVar4" identifier + identifier)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[iVar4] = iVar5 + iVar6 + iVar7;" (assignment_expression "piVar1[iVar4] = iVar5 + iVar6 + iVar7" (subscript_expression "piVar1[iVar4]" identifier [ identifier ]) = (binary_expression "iVar5 + iVar6 + iVar7" (binary_expression "iVar5 + iVar6" identifier + identifier) + identifier)) ;) (if_statement "if (iVar8 == iVar2) break;" if (parenthesized_expression "(iVar8 == iVar2)" ( (binary_expression "iVar8 == iVar2" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) })) (expression_statement "pGVar11 = pGVar11->next;" (assignment_expression "pGVar11 = pGVar11->next" identifier = (field_expression "pGVar11->next" identifier -> field_identifier)) ;) }))) }))) (if_statement "if ((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))\n        break;" if (parenthesized_expression "((pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0))" ( (binary_expression "(pGVar11 == (GList *)0x0) || (piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0)" (parenthesized_expression "(pGVar11 == (GList *)0x0)" ( (binary_expression "pGVar11 == (GList *)0x0" identifier == (cast_expression "(GList *)0x0" ( (type_descriptor "GList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0)" ( (comma_expression "piVar10 = (int *)pGVar11->data, piVar10 == (int *)0x0" (assignment_expression "piVar10 = (int *)pGVar11->data" identifier = (cast_expression "(int *)pGVar11->data" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pGVar11->data" identifier -> field_identifier))) , (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) comment comment (expression_statement "(**(code **)(in_t9 + 0x5a588))(piVar1);" (call_expression "(**(code **)(in_t9 + 0x5a588))(piVar1)" (parenthesized_expression "(**(code **)(in_t9 + 0x5a588))" ( (pointer_expression "**(code **)(in_t9 + 0x5a588)" * (pointer_expression "*(code **)(in_t9 + 0x5a588)" * (cast_expression "(code **)(in_t9 + 0x5a588)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x5a588)" ( (binary_expression "in_t9 + 0x5a588" identifier + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004d5c0(int param_1,code *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    \n                    \n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}\n\n" (function_definition "void FUN_0004d5c0(int param_1,code *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    \n                    \n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}" primitive_type (function_declarator "FUN_0004d5c0(int param_1,code *param_2)" identifier (parameter_list "(int param_1,code *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    \n                    \n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4)" identifier = (cast_expression "(int *)(*(code *)PTR_g_malloc_000a7d28)(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_malloc_000a7d28)(4)" (parenthesized_expression "(*(code *)PTR_g_malloc_000a7d28)" ( (pointer_expression "*(code *)PTR_g_malloc_000a7d28" * (cast_expression "(code *)PTR_g_malloc_000a7d28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "puVar11 = *(undefined4 **)(param_1 + 0x14);" (assignment_expression "puVar11 = *(undefined4 **)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x14)" * (cast_expression "(undefined4 **)(param_1 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (if_statement "if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" if (parenthesized_expression "(puVar11 != (undefined4 *)0x0)" ( (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" { (expression_statement "piVar10 = (int *)*puVar11;" (assignment_expression "piVar10 = (int *)*puVar11" identifier = (cast_expression "(int *)*puVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (if_statement "if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" { (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (do_statement "do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );" do (compound_statement "{\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      }" { (if_statement "if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }" { (if_statement "if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" if (parenthesized_expression "(1 < iVar9)" ( (binary_expression "1 < iVar9" number_literal < identifier) )) (compound_statement "{\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" { (expression_statement "piVar3 = piVar1 + 1;" (assignment_expression "piVar3 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (do_statement "do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);" do (compound_statement "{\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            }" { (expression_statement "iVar5 = *piVar3;" (assignment_expression "iVar5 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }" if (parenthesized_expression "(*piVar1 < iVar5)" ( (binary_expression "*piVar1 < iVar5" (pointer_expression "*piVar1" * identifier) < identifier) )) (compound_statement "{\n                *piVar1 = iVar5;\n              }" { (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" * identifier) = identifier) ;) })) }) while (parenthesized_expression "(piVar1 + iVar9 != piVar3)" ( (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" identifier + identifier) != identifier) )) ;) })) (expression_statement "iVar9 = piVar10[5];" (assignment_expression "iVar9 = piVar10[5]" identifier = (subscript_expression "piVar10[5]" identifier [ number_literal ])) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" identifier = (cast_expression "(int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" (parenthesized_expression "(*(code *)PTR_g_realloc_n_000a7a18)" ( (pointer_expression "*(code *)PTR_g_realloc_n_000a7a18" * (cast_expression "(code *)PTR_g_realloc_n_000a7a18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1,iVar9,4)" ( identifier , identifier , number_literal ))))) ;) (if_statement "if (iVar9 < 2) goto LAB_0004d630;" if (parenthesized_expression "(iVar9 < 2)" ( (binary_expression "iVar9 < 2" identifier < number_literal) )) (goto_statement "goto LAB_0004d630;" goto statement_identifier ;)) (expression_statement "piVar10 = piVar1 + 1;" (assignment_expression "piVar10 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (do_statement "do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);" do (compound_statement "{\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          }" { (expression_statement "piVar3 = piVar10 + 1;" (assignment_expression "piVar3 = piVar10 + 1" identifier = (binary_expression "piVar10 + 1" identifier + number_literal)) ;) (expression_statement "*piVar10 = *piVar1;" (assignment_expression "*piVar10 = *piVar1" (pointer_expression "*piVar10" * identifier) = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "piVar10 = piVar3;" (assignment_expression "piVar10 = piVar3" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 + iVar9 != piVar3)" ( (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" identifier + identifier) != identifier) )) ;) (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" identifier = (cast_expression "(undefined4 *)puVar11[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" else (compound_statement "{\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" { (expression_statement "iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();" (assignment_expression "iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_visible_000a7c80)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_visible_000a7c80)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_visible_000a7c80" * (cast_expression "(code *)PTR_gtk_widget_get_visible_000a7c80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }" { (expression_statement "iVar2 = (*param_2)(piVar10);" (assignment_expression "iVar2 = (*param_2)(piVar10)" identifier = (call_expression "(*param_2)(piVar10)" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(piVar10)" ( identifier )))) ;) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) (if_statement "if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }" if (parenthesized_expression "((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2))" ( (binary_expression "(piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)" (parenthesized_expression "(piVar10[4] != 0)" ( (binary_expression "piVar10[4] != 0" (subscript_expression "piVar10[4]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar5 = (*param_2)(), iVar5 <= iVar2)" ( (comma_expression "iVar5 = (*param_2)(), iVar5 <= iVar2" (assignment_expression "iVar5 = (*param_2)()" identifier = (call_expression "(*param_2)()" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "()" ( )))) , (binary_expression "iVar5 <= iVar2" identifier <= identifier)) ))) )) (compound_statement "{\n              iVar5 = iVar2;\n            }" { (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar8 = piVar10[2];" (assignment_expression "iVar8 = piVar10[2]" identifier = (subscript_expression "piVar10[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar8 = iVar9 - piVar10[1];\n            }" { (expression_statement "iVar8 = iVar9 - piVar10[1];" (assignment_expression "iVar8 = iVar9 - piVar10[1]" identifier = (binary_expression "iVar9 - piVar10[1]" identifier - (subscript_expression "piVar10[1]" identifier [ number_literal ]))) ;) })) (if_statement "if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }" { (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = piVar1 + iVar4;" (assignment_expression "piVar3 = piVar1 + iVar4" identifier = (binary_expression "piVar1 + iVar4" identifier + identifier)) ;) (do_statement "do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);" do (compound_statement "{\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              }" { (expression_statement "iVar7 = *piVar3;" (assignment_expression "iVar7 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }" if (parenthesized_expression "(iVar6 < iVar7)" ( (binary_expression "iVar6 < iVar7" identifier < identifier) )) (compound_statement "{\n                  iVar6 = iVar7;\n                }" { (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) })) }) while (parenthesized_expression "(piVar3 != piVar1 + iVar8 + iVar4)" ( (binary_expression "piVar3 != piVar1 + iVar8 + iVar4" identifier != (binary_expression "piVar1 + iVar8 + iVar4" (binary_expression "piVar1 + iVar8" identifier + identifier) + identifier)) )) ;) (expression_statement "iVar7 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar7 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);" (assignment_expression "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2)" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = (binary_expression "iVar6 + iVar5 / 2 + -(iVar2 / 2)" (binary_expression "iVar6 + iVar5 / 2" identifier + (binary_expression "iVar5 / 2" identifier / number_literal)) + (unary_expression "-(iVar2 / 2)" - (parenthesized_expression "(iVar2 / 2)" ( (binary_expression "iVar2 / 2" identifier / number_literal) ))))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }" { (expression_statement "iVar4 = iVar2 + iVar4;" (assignment_expression "iVar4 = iVar2 + iVar4" identifier = (binary_expression "iVar2 + iVar4" identifier + identifier)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[iVar4] = iVar5 + iVar6 + iVar7;" (assignment_expression "piVar1[iVar4] = iVar5 + iVar6 + iVar7" (subscript_expression "piVar1[iVar4]" identifier [ identifier ]) = (binary_expression "iVar5 + iVar6 + iVar7" (binary_expression "iVar5 + iVar6" identifier + identifier) + identifier)) ;) (if_statement "if (iVar8 == iVar2) break;" if (parenthesized_expression "(iVar8 == iVar2)" ( (binary_expression "iVar8 == iVar2" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) })) (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" identifier = (cast_expression "(undefined4 *)puVar11[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;) (goto_statement "goto joined_r0x0004d634;" goto statement_identifier ;) })) (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar10[8] = -(iVar2 / 2) + iVar5 / 2;" (assignment_expression "piVar10[8] = -(iVar2 / 2) + iVar5 / 2" (subscript_expression "piVar10[8]" identifier [ number_literal ]) = (binary_expression "-(iVar2 / 2) + iVar5 / 2" (unary_expression "-(iVar2 / 2)" - (parenthesized_expression "(iVar2 / 2)" ( (binary_expression "iVar2 / 2" identifier / number_literal) ))) + (binary_expression "iVar5 / 2" identifier / number_literal))) ;) })) (labeled_statement "LAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];" statement_identifier : (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" identifier = (cast_expression "(undefined4 *)puVar11[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;)) }))) (labeled_statement "joined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;" statement_identifier : (if_statement "if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;" if (parenthesized_expression "((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))" ( (binary_expression "(puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0)" (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" ( (binary_expression "puVar11 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar10 = (int *)*puVar11, piVar10 == (int *)0x0)" ( (comma_expression "piVar10 = (int *)*puVar11, piVar10 == (int *)0x0" (assignment_expression "piVar10 = (int *)*puVar11" identifier = (cast_expression "(int *)*puVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) , (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (break_statement "break;" break ;))) (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (expression_statement "(*(code *)PTR_g_free_000a7b48)(piVar1);" (call_expression "(*(code *)PTR_g_free_000a7b48)(piVar1)" (parenthesized_expression "(*(code *)PTR_g_free_000a7b48)" ( (pointer_expression "*(code *)PTR_g_free_000a7b48" * (cast_expression "(code *)PTR_g_free_000a7b48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) , (binary_expression IDENT <= IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression (binary_expression IDENT + IDENT) + IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression IDENT + (binary_expression IDENT / LIT)) + (unary_expression - (parenthesized_expression ( (binary_expression IDENT / LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (binary_expression (binary_expression IDENT + IDENT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression IDENT / LIT) ))) + (binary_expression IDENT / LIT))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (break_statement break ;))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0004d5c0(int param_1,code *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    \n                    \n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004d5c0(int param_1,code *param_2)" (identifier "FUN_0004d5c0") (parameter_list "(int param_1,code *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "code *param_2" (type_identifier "code") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  undefined4 *puVar11;\n  \n  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);\n  puVar11 = *(undefined4 **)(param_1 + 0x14);\n  *piVar1 = 0;\n  if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }\n                    \n                    \n  (*(code *)PTR_g_free_000a7b48)(piVar1);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (expression_statement "piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR_g_malloc_000a7d28)(4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_g_malloc_000a7d28)(4)" (parenthesized_expression "(*(code *)PTR_g_malloc_000a7d28)" (( "(") (pointer_expression "*(code *)PTR_g_malloc_000a7d28" (* "*") (cast_expression "(code *)PTR_g_malloc_000a7d28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_malloc_000a7d28"))) () ")")) (argument_list "(4)" (( "(") (number_literal "4") () ")"))))) (; ";")) (expression_statement "puVar11 = *(undefined4 **)(param_1 + 0x14);" (assignment_expression "puVar11 = *(undefined4 **)(param_1 + 0x14)" (identifier "puVar11") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (puVar11 != (undefined4 *)0x0) {\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" (if "if") (parenthesized_expression "(puVar11 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar11 != (undefined4 *)0x0" (identifier "puVar11") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    piVar10 = (int *)*puVar11;\n    iVar9 = 1;\n    if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }\n  }" ({ "{") (expression_statement "piVar10 = (int *)*puVar11;" (assignment_expression "piVar10 = (int *)*puVar11" (identifier "piVar10") (= "=") (cast_expression "(int *)*puVar11" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")))) (; ";")) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (if_statement "if (piVar10 != (int *)0x0) {\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(piVar10 != (int *)0x0)" (( "(") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar5 = *piVar10;\n      do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );\n    }" ({ "{") (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" (identifier "iVar5") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (do_statement "do {\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      } while( true );" (do "do") (compound_statement "{\n        if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }\njoined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;\n        iVar5 = *piVar10;\n      }" ({ "{") (if_statement "if (iVar5 == 0) {\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }\n        else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }\n          iVar9 = piVar10[5];\n          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);\n          if (iVar9 < 2) goto LAB_0004d630;\n          piVar10 = piVar1 + 1;\n          do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);\n          puVar11 = (undefined4 *)puVar11[1];\n        }" ({ "{") (if_statement "if (1 < iVar9) {\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" (if "if") (parenthesized_expression "(1 < iVar9)" (( "(") (binary_expression "1 < iVar9" (number_literal "1") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n            piVar3 = piVar1 + 1;\n            do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);\n          }" ({ "{") (expression_statement "piVar3 = piVar1 + 1;" (assignment_expression "piVar3 = piVar1 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            } while (piVar1 + iVar9 != piVar3);" (do "do") (compound_statement "{\n              iVar5 = *piVar3;\n              piVar3 = piVar3 + 1;\n              if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }\n            }" ({ "{") (expression_statement "iVar5 = *piVar3;" (assignment_expression "iVar5 = *piVar3" (identifier "iVar5") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*piVar1 < iVar5) {\n                *piVar1 = iVar5;\n              }" (if "if") (parenthesized_expression "(*piVar1 < iVar5)" (( "(") (binary_expression "*piVar1 < iVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n                *piVar1 = iVar5;\n              }" ({ "{") (expression_statement "*piVar1 = iVar5;" (assignment_expression "*piVar1 = iVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(piVar1 + iVar9 != piVar3)" (( "(") (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" (identifier "piVar1") (+ "+") (identifier "iVar9")) (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar9 = piVar10[5];" (assignment_expression "iVar9 = piVar10[5]" (identifier "iVar9") (= "=") (subscript_expression "piVar10[5]" (identifier "piVar10") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4)" (parenthesized_expression "(*(code *)PTR_g_realloc_n_000a7a18)" (( "(") (pointer_expression "*(code *)PTR_g_realloc_n_000a7a18" (* "*") (cast_expression "(code *)PTR_g_realloc_n_000a7a18" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_realloc_n_000a7a18"))) () ")")) (argument_list "(piVar1,iVar9,4)" (( "(") (identifier "piVar1") (, ",") (identifier "iVar9") (, ",") (number_literal "4") () ")"))))) (; ";")) (if_statement "if (iVar9 < 2) goto LAB_0004d630;" (if "if") (parenthesized_expression "(iVar9 < 2)" (( "(") (binary_expression "iVar9 < 2" (identifier "iVar9") (< "<") (number_literal "2")) () ")")) (goto_statement "goto LAB_0004d630;" (goto "goto") (statement_identifier "LAB_0004d630") (; ";"))) (expression_statement "piVar10 = piVar1 + 1;" (assignment_expression "piVar10 = piVar1 + 1" (identifier "piVar10") (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          } while (piVar1 + iVar9 != piVar3);" (do "do") (compound_statement "{\n            piVar3 = piVar10 + 1;\n            *piVar10 = *piVar1;\n            piVar10 = piVar3;\n          }" ({ "{") (expression_statement "piVar3 = piVar10 + 1;" (assignment_expression "piVar3 = piVar10 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar10 + 1" (identifier "piVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*piVar10 = *piVar1;" (assignment_expression "*piVar10 = *piVar1" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "piVar10 = piVar3;" (assignment_expression "piVar10 = piVar3" (identifier "piVar10") (= "=") (identifier "piVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 + iVar9 != piVar3)" (( "(") (binary_expression "piVar1 + iVar9 != piVar3" (binary_expression "piVar1 + iVar9" (identifier "piVar1") (+ "+") (identifier "iVar9")) (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)puVar11[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}")) (else_clause "else {\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" (else "else") (compound_statement "{\n          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();\n          if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }\nLAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];\n        }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();" (assignment_expression "iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)()" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_gtk_widget_get_visible_000a7c80)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_visible_000a7c80)" (( "(") (pointer_expression "*(code *)PTR_gtk_widget_get_visible_000a7c80" (* "*") (cast_expression "(code *)PTR_gtk_widget_get_visible_000a7c80" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_widget_get_visible_000a7c80"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar2 = (*param_2)(piVar10);\n            iVar5 = iVar2;\n            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }\n            iVar8 = piVar10[2];\n            if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }\n            if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }\n            piVar10[10] = iVar2;\n            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;\n          }" ({ "{") (expression_statement "iVar2 = (*param_2)(piVar10);" (assignment_expression "iVar2 = (*param_2)(piVar10)" (identifier "iVar2") (= "=") (call_expression "(*param_2)(piVar10)" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "(piVar10)" (( "(") (identifier "piVar10") () ")")))) (; ";")) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" (identifier "iVar5") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {\n              iVar5 = iVar2;\n            }" (if "if") (parenthesized_expression "((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2))" (( "(") (binary_expression "(piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)" (parenthesized_expression "(piVar10[4] != 0)" (( "(") (binary_expression "piVar10[4] != 0" (subscript_expression "piVar10[4]" (identifier "piVar10") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = (*param_2)(), iVar5 <= iVar2)" (( "(") (comma_expression "iVar5 = (*param_2)(), iVar5 <= iVar2" (assignment_expression "iVar5 = (*param_2)()" (identifier "iVar5") (= "=") (call_expression "(*param_2)()" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar5 <= iVar2" (identifier "iVar5") (<= "<=") (identifier "iVar2"))) () ")"))) () ")")) (compound_statement "{\n              iVar5 = iVar2;\n            }" ({ "{") (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" (identifier "iVar5") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (expression_statement "iVar8 = piVar10[2];" (assignment_expression "iVar8 = piVar10[2]" (identifier "iVar8") (= "=") (subscript_expression "piVar10[2]" (identifier "piVar10") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (iVar8 == 0) {\n              iVar8 = iVar9 - piVar10[1];\n            }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar8 = iVar9 - piVar10[1];\n            }" ({ "{") (expression_statement "iVar8 = iVar9 - piVar10[1];" (assignment_expression "iVar8 = iVar9 - piVar10[1]" (identifier "iVar8") (= "=") (binary_expression "iVar9 - piVar10[1]" (identifier "iVar9") (- "-") (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))) (if_statement "if (0 < iVar8) {\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }" (if "if") (parenthesized_expression "(0 < iVar8)" (( "(") (binary_expression "0 < iVar8" (number_literal "0") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n              iVar4 = piVar10[1];\n              iVar6 = 0;\n              piVar3 = piVar1 + iVar4;\n              do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);\n              iVar7 = *(int *)(param_1 + 0x1c);\n              piVar10[10] = iVar2;\n              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);\n              iVar2 = 0;\n              while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }\n              puVar11 = (undefined4 *)puVar11[1];\n              goto joined_r0x0004d634;\n            }" ({ "{") (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" (identifier "iVar4") (= "=") (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = piVar1 + iVar4;" (assignment_expression "piVar3 = piVar1 + iVar4" (identifier "piVar3") (= "=") (binary_expression "piVar1 + iVar4" (identifier "piVar1") (+ "+") (identifier "iVar4"))) (; ";")) (do_statement "do {\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              } while (piVar3 != piVar1 + iVar8 + iVar4);" (do "do") (compound_statement "{\n                iVar7 = *piVar3;\n                piVar3 = piVar3 + 1;\n                if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }\n              }" ({ "{") (expression_statement "iVar7 = *piVar3;" (assignment_expression "iVar7 = *piVar3" (identifier "iVar7") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar6 < iVar7) {\n                  iVar6 = iVar7;\n                }" (if "if") (parenthesized_expression "(iVar6 < iVar7)" (( "(") (binary_expression "iVar6 < iVar7" (identifier "iVar6") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n                  iVar6 = iVar7;\n                }" ({ "{") (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" (identifier "iVar6") (= "=") (identifier "iVar7")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(piVar3 != piVar1 + iVar8 + iVar4)" (( "(") (binary_expression "piVar3 != piVar1 + iVar8 + iVar4" (identifier "piVar3") (!= "!=") (binary_expression "piVar1 + iVar8 + iVar4" (binary_expression "piVar1 + iVar8" (identifier "piVar1") (+ "+") (identifier "iVar8")) (+ "+") (identifier "iVar4"))) () ")")) (; ";")) (expression_statement "iVar7 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar7 = *(int *)(param_1 + 0x1c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" (identifier "piVar10") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);" (assignment_expression "piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2)" (subscript_expression "piVar10[8]" (identifier "piVar10") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "iVar6 + iVar5 / 2 + -(iVar2 / 2)" (binary_expression "iVar6 + iVar5 / 2" (identifier "iVar6") (+ "+") (binary_expression "iVar5 / 2" (identifier "iVar5") (/ "/") (number_literal "2"))) (+ "+") (unary_expression "-(iVar2 / 2)" (- "-") (parenthesized_expression "(iVar2 / 2)" (( "(") (binary_expression "iVar2 / 2" (identifier "iVar2") (/ "/") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n                iVar4 = iVar2 + iVar4;\n                iVar2 = iVar2 + 1;\n                piVar1[iVar4] = iVar5 + iVar6 + iVar7;\n                if (iVar8 == iVar2) break;\n                iVar4 = piVar10[1];\n              }" ({ "{") (expression_statement "iVar4 = iVar2 + iVar4;" (assignment_expression "iVar4 = iVar2 + iVar4" (identifier "iVar4") (= "=") (binary_expression "iVar2 + iVar4" (identifier "iVar2") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1[iVar4] = iVar5 + iVar6 + iVar7;" (assignment_expression "piVar1[iVar4] = iVar5 + iVar6 + iVar7" (subscript_expression "piVar1[iVar4]" (identifier "piVar1") ([ "[") (identifier "iVar4") (] "]")) (= "=") (binary_expression "iVar5 + iVar6 + iVar7" (binary_expression "iVar5 + iVar6" (identifier "iVar5") (+ "+") (identifier "iVar6")) (+ "+") (identifier "iVar7"))) (; ";")) (if_statement "if (iVar8 == iVar2) break;" (if "if") (parenthesized_expression "(iVar8 == iVar2)" (( "(") (binary_expression "iVar8 == iVar2" (identifier "iVar8") (== "==") (identifier "iVar2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = piVar10[1];" (assignment_expression "iVar4 = piVar10[1]" (identifier "iVar4") (= "=") (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)puVar11[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")))) (; ";")) (goto_statement "goto joined_r0x0004d634;" (goto "goto") (statement_identifier "joined_r0x0004d634") (; ";")) (} "}"))) (expression_statement "piVar10[10] = iVar2;" (assignment_expression "piVar10[10] = iVar2" (subscript_expression "piVar10[10]" (identifier "piVar10") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar10[8] = -(iVar2 / 2) + iVar5 / 2;" (assignment_expression "piVar10[8] = -(iVar2 / 2) + iVar5 / 2" (subscript_expression "piVar10[8]" (identifier "piVar10") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "-(iVar2 / 2) + iVar5 / 2" (unary_expression "-(iVar2 / 2)" (- "-") (parenthesized_expression "(iVar2 / 2)" (( "(") (binary_expression "iVar2 / 2" (identifier "iVar2") (/ "/") (number_literal "2")) () ")"))) (+ "+") (binary_expression "iVar5 / 2" (identifier "iVar5") (/ "/") (number_literal "2")))) (; ";")) (} "}"))) (labeled_statement "LAB_0004d630:\n          puVar11 = (undefined4 *)puVar11[1];" (statement_identifier "LAB_0004d630") (: ":") (expression_statement "puVar11 = (undefined4 *)puVar11[1];" (assignment_expression "puVar11 = (undefined4 *)puVar11[1]" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)puVar11[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")))) (; ";"))) (} "}")))) (labeled_statement "joined_r0x0004d634:\n        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;" (statement_identifier "joined_r0x0004d634") (: ":") (if_statement "if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))\n        break;" (if "if") (parenthesized_expression "((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))" (( "(") (binary_expression "(puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0)" (parenthesized_expression "(puVar11 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar11 == (undefined4 *)0x0" (identifier "puVar11") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(piVar10 = (int *)*puVar11, piVar10 == (int *)0x0)" (( "(") (comma_expression "piVar10 = (int *)*puVar11, piVar10 == (int *)0x0" (assignment_expression "piVar10 = (int *)*puVar11" (identifier "piVar10") (= "=") (cast_expression "(int *)*puVar11" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")))) (, ",") (binary_expression "piVar10 == (int *)0x0" (identifier "piVar10") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";")))) (expression_statement "iVar5 = *piVar10;" (assignment_expression "iVar5 = *piVar10" (identifier "iVar5") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "(*(code *)PTR_g_free_000a7b48)(piVar1);" (call_expression "(*(code *)PTR_g_free_000a7b48)(piVar1)" (parenthesized_expression "(*(code *)PTR_g_free_000a7b48)" (( "(") (pointer_expression "*(code *)PTR_g_free_000a7b48" (* "*") (cast_expression "(code *)PTR_g_free_000a7b48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_free_000a7b48"))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (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) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) condition: (parenthesized_expression (true))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(int param_1,code *param_2)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int *piVar10;
  undefined4 *puVar11;
  
  piVar1 = (int *)(*(code *)PTR_g_malloc_000a7d28)(4);
  puVar11 = *(undefined4 **)(param_1 + 0x14);
  *piVar1 = 0;
  if (puVar11 != (undefined4 *)0x0) {
    piVar10 = (int *)*puVar11;
    iVar9 = 1;
    if (piVar10 != (int *)0x0) {
      iVar5 = *piVar10;
      do {
        if (iVar5 == 0) {
          if (1 < iVar9) {
            piVar3 = piVar1 + 1;
            do {
              iVar5 = *piVar3;
              piVar3 = piVar3 + 1;
              if (*piVar1 < iVar5) {
                *piVar1 = iVar5;
              }
            } while (piVar1 + iVar9 != piVar3);
          }
          iVar9 = piVar10[5];
          piVar1 = (int *)(*(code *)PTR_g_realloc_n_000a7a18)(piVar1,iVar9,4);
          if (iVar9 < 2) goto LAB_0004d630;
          piVar10 = piVar1 + 1;
          do {
            piVar3 = piVar10 + 1;
            *piVar10 = *piVar1;
            piVar10 = piVar3;
          } while (piVar1 + iVar9 != piVar3);
          puVar11 = (undefined4 *)puVar11[1];
        }
        else {
          iVar5 = (*(code *)PTR_gtk_widget_get_visible_000a7c80)();
          if (iVar5 != 0) {
            iVar2 = (*param_2)(piVar10);
            iVar5 = iVar2;
            if ((piVar10[4] != 0) && (iVar5 = (*param_2)(), iVar5 <= iVar2)) {
              iVar5 = iVar2;
            }
            iVar8 = piVar10[2];
            if (iVar8 == 0) {
              iVar8 = iVar9 - piVar10[1];
            }
            if (0 < iVar8) {
              iVar4 = piVar10[1];
              iVar6 = 0;
              piVar3 = piVar1 + iVar4;
              do {
                iVar7 = *piVar3;
                piVar3 = piVar3 + 1;
                if (iVar6 < iVar7) {
                  iVar6 = iVar7;
                }
              } while (piVar3 != piVar1 + iVar8 + iVar4);
              iVar7 = *(int *)(param_1 + 0x1c);
              piVar10[10] = iVar2;
              piVar10[8] = iVar6 + iVar5 / 2 + -(iVar2 / 2);
              iVar2 = 0;
              while( true ) {
                iVar4 = iVar2 + iVar4;
                iVar2 = iVar2 + 1;
                piVar1[iVar4] = iVar5 + iVar6 + iVar7;
                if (iVar8 == iVar2) break;
                iVar4 = piVar10[1];
              }
              puVar11 = (undefined4 *)puVar11[1];
              goto joined_r0x0004d634;
            }
            piVar10[10] = iVar2;
            piVar10[8] = -(iVar2 / 2) + iVar5 / 2;
          }
LAB_0004d630:
          puVar11 = (undefined4 *)puVar11[1];
        }
joined_r0x0004d634:
        if ((puVar11 == (undefined4 *)0x0) || (piVar10 = (int *)*puVar11, piVar10 == (int *)0x0))
        break;
        iVar5 = *piVar10;
      } while( true );
    }
  }
                    /* WARNING: Could not recover jumptable at 0x0004d76c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_g_free_000a7b48)(piVar1);
  return;
}

