
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void unifontsel_draw_preview_text_inner(unifont_drawctx *dctx,unifontsel_internal *fs)

{
  ushort uVar1;
  undefined4 uVar2;
  GtkWidget *pGVar3;
  char *pcVar4;
  unifont *puVar5;
  anon_enum_32 aVar6;
  char *pcVar7;
  _func_unifont_ptr_GtkWidget_ptr_char_ptr_int_int_int_int *p_Var8;
  fontinfo *pfVar9;
  _func_char_ptr_GtkWidget_ptr_char_ptr_int *p_Var10;
  double dVar11;
  double dVar12;
  
  pfVar9 = fs->selected;
  if (pfVar9 == (fontinfo *)0x0) {
    aVar6 = dctx->type;
    pcVar4 = (char *)0x0;
    puVar5 = (unifont *)0x0;
  }
  else {
    p_Var10 = pfVar9->fontclass->scale_fontname;
    uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);
    pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);
    p_Var8 = pfVar9->fontclass->create;
    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);
    pcVar7 = pcVar4;
    if (pcVar4 == (char *)0x0) {
      pcVar7 = pfVar9->realname;
    }
    puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);
    aVar6 = dctx->type;
  }
  if (aVar6 == ADDRTYPE_UNSPEC) {
    uVar1 = (fs->preview_bg).red;
    dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);
    dVar11 = (double)uVar1 / dVar12;
    (*(code *)PTR_cairo_set_source_rgb_001124e8)
              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),
               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12);
    (*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr);
    uVar1 = (fs->preview_fg).red;
    dVar11 = (double)uVar1 / dVar12;
    (*(code *)PTR_cairo_set_source_rgb_001124e8)
              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),
               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12);
  }
  if (puVar5 != (unifont *)0x0) {
    (*pfVar9->fontclass->draw_text)
              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,
               puVar5->width);
    (*pfVar9->fontclass->draw_text)
              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)
               ,0x29,0,0,puVar5->width);
    (*pfVar9->fontclass->draw_text)
              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,
               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width);
    (*pfVar9->fontclass->destroy)(puVar5);
  }
  (*(code *)PTR_safefree_001112f0)(pcVar4);
  return;
}



void FUN_000afaec(int *param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  code *pcVar7;
  double dVar8;
  double dVar9;
  
  piVar6 = *(int **)(param_2 + 0x70);
  if (piVar6 == (int *)0x0) {
    iVar5 = *param_1;
    iVar3 = 0;
    iVar4 = 0;
  }
  else {
    pcVar7 = *(code **)(piVar6[0xb] + 0x20);
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);
    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));
    pcVar7 = *(code **)piVar6[0xb];
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);
    iVar4 = iVar3;
    if (iVar3 == 0) {
      iVar4 = *piVar6;
    }
    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);
    iVar5 = *param_1;
  }
  if (iVar5 == 0) {
    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);
    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;
    (*(code *)PTR_cairo_set_source_rgb_001124e8)
              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)
               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,
               (double)*(ushort *)(param_2 + 0x60) / dVar9);
    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);
    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;
    (*(code *)PTR_cairo_set_source_rgb_001124e8)
              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)
               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,
               (double)*(ushort *)(param_2 + 0x54) / dVar9);
  }
  if (iVar4 != 0) {
    (**(code **)(piVar6[0xb] + 0x10))
              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,
               *(undefined4 *)(iVar4 + 8));
    (**(code **)(piVar6[0xb] + 0x10))
              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),
               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));
    (**(code **)(piVar6[0xb] + 0x10))
              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),
               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));
    (**(code **)(piVar6[0xb] + 8))(iVar4);
  }
  (*(code *)PTR_safefree_001112f0)(iVar3);
  return;
}


lui gp,0x7
addiu gp,gp,-0x683c
addu gp,gp,t9
addiu sp,sp,-0x50
sdc1 f20,0x48(sp)
sw s1,0x34(sp)
sw gp,0x28(sp)
sw s3,0x3c(sp)
or s3,a0,zero
sw s2,0x38(sp)
sw ra,0x44(sp)
sw s4,0x40(sp)
sw s0,0x30(sp)
lw s1,0x70(a1)
beq s1,zero,0x000afcdc
_or s2,a1,zero
lw v0,0x2c(s1)
lw t9,-0x6c98(gp)
jalr t9
_lw s4,0x20(v0)
lw gp,0x28(sp)
or a1,v0,zero
lw a0,0x4(s2)
lw t9,-0x6cb0(gp)
jalr t9
_or s0,v0,zero
or t9,s4,zero
lw a2,0x74(s2)
or a0,v0,zero
jalr t9
_lw a1,0x0(s1)
or a1,s0,zero
lw gp,0x28(sp)
or s4,v0,zero
lw v1,0x2c(s1)
lw a0,0x4(s2)
lw t9,-0x6cb0(gp)
jalr t9
_lw s0,0x0(v1)
beq s4,zero,0x000afda8
_nop
or a1,s4,zero
or a3,zero,zero
sw zero,0x14(sp)
or a2,zero,zero
sw zero,0x10(sp)
or t9,s0,zero
jalr t9
_or a0,v0,zero
or s0,v0,zero
lw v0,0x0(s3)
beq v0,zero,0x000afcec
_lw gp,0x28(sp)
beq s0,zero,0x000afcb0
_li s2,0x29
lw v0,0x8(s0)
lw v1,0x2c(s1)
or a2,zero,zero
lw a3,0x10(s0)
or a1,s0,zero
sw v0,0x20(sp)
lw v0,-0x7fbc(gp)
sw s2,0x14(sp)
sw zero,0x1c(sp)
addiu v0,v0,-0x7d54
sw zero,0x18(sp)
sw v0,0x10(sp)
lw t9,0x10(v1)
jalr t9
_or a0,s3,zero
or a2,zero,zero
lw gp,0x28(sp)
or a1,s0,zero
lw v0,0x8(s0)
or a0,s3,zero
lw v1,0x2c(s1)
lw t0,0x10(s0)
lw a3,0xc(s0)
sw v0,0x20(sp)
lw v0,-0x7fbc(gp)
sw s2,0x14(sp)
sw zero,0x1c(sp)
addiu v0,v0,-0x7cac
sw zero,0x18(sp)
sw v0,0x10(sp)
lw t9,0x10(v1)
jalr t9
_addu a3,t0,a3
li t1,0x2a
lw gp,0x28(sp)
or a2,zero,zero
lw v1,0x8(s0)
or a0,s3,zero
lw t0,0x2c(s1)
or a1,s0,zero
lw v0,0xc(s0)
lw a3,0x10(s0)
sw v1,0x20(sp)
lw v1,-0x7fbc(gp)
sll v0,v0,0x1
sw t1,0x14(sp)
sw zero,0x1c(sp)
addiu v1,v1,-0x7c04
sw zero,0x18(sp)
sw v1,0x10(sp)
lw t9,0x10(t0)
jalr t9
_addu a3,v0,a3
lw v0,0x2c(s1)
lw t9,0x8(v0)
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
ldc1 f20,0x48(sp)
or a0,s4,zero
lw ra,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
lw t9,-0x7fc0(gp)
jr t9
_addiu sp,sp,0x50
lw v0,0x0(s3)
or s4,zero,zero
bne v0,zero,0x000afbc0
_or s0,zero,zero
lhu v1,0x60(s2)
lhu v0,0x5e(s2)
lhu a1,0x5c(s2)
mtc1 v1,f0
lw v1,-0x7fbc(gp)
lw a0,0xc(s3)
mtc1 a1,f4
lw t9,-0x6dc8(gp)
ldc1 f20,-0x7ab0(v1)
cvt.d.W f2,f0
mtc1 v0,f0
cvt.d.W f4,f4
div.D f2,f2,f20
cvt.d.W f0,f0
sdc1 f2,0x18(sp)
div.D f2,f4,f20
div.D f0,f0,f20
mfc1 a3,f2
mfhc1 a2,f2
jalr t9
_sdc1 f0,0x10(sp)
lw gp,0x28(sp)
lw t9,-0x720c(gp)
jalr t9
_lw a0,0xc(s3)
lhu v1,0x54(s2)
lhu v0,0x52(s2)
lhu a1,0x50(s2)
mtc1 v1,f0
lw a0,0xc(s3)
lw gp,0x28(sp)
mtc1 a1,f4
lw t9,-0x6dc8(gp)
cvt.d.W f2,f0
mtc1 v0,f0
cvt.d.W f4,f4
div.D f2,f2,f20
cvt.d.W f0,f0
sdc1 f2,0x18(sp)
div.D f2,f4,f20
div.D f0,f0,f20
mfc1 a3,f2
mfhc1 a2,f2
jalr t9
_sdc1 f0,0x10(sp)
b 0x000afbc0
_lw gp,0x28(sp)
b 0x000afb94
_lw a1,0x0(s1)
(translation_unit "void FUN_000afaec(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}\n\n" (function_definition "void FUN_000afaec(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}" primitive_type (function_declarator "FUN_000afaec(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (expression_statement "piVar6 = *(int **)(param_2 + 0x70);" (assignment_expression "piVar6 = *(int **)(param_2 + 0x70)" identifier = (pointer_expression "*(int **)(param_2 + 0x70)" * (cast_expression "(int **)(param_2 + 0x70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" else (compound_statement "{\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" { (expression_statement "pcVar7 = *(code **)(piVar6[0xb] + 0x20);" (assignment_expression "pcVar7 = *(code **)(piVar6[0xb] + 0x20)" identifier = (pointer_expression "*(code **)(piVar6[0xb] + 0x20)" * (cast_expression "(code **)(piVar6[0xb] + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x20)" ( (binary_expression "piVar6[0xb] + 0x20" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 4),uVar1)" ( (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));" (assignment_expression "iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" identifier = (call_expression "(*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" ( identifier , (pointer_expression "*piVar6" * identifier) , (pointer_expression "*(undefined4 *)(param_2 + 0x74)" * (cast_expression "(undefined4 *)(param_2 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) )))) ;) (expression_statement "pcVar7 = *(code **)piVar6[0xb];" (assignment_expression "pcVar7 = *(code **)piVar6[0xb]" identifier = (pointer_expression "*(code **)piVar6[0xb]" * (cast_expression "(code **)piVar6[0xb]" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "piVar6[0xb]" identifier [ number_literal ])))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 4),uVar1)" ( (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar4 = *piVar6;\n    }" { (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) })) (expression_statement "iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);" (assignment_expression "iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0)" identifier = (call_expression "(*pcVar7)(uVar1,iVar4,0,0,0,0)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar1,iVar4,0,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (if_statement "if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }" { (expression_statement "dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);" (assignment_expression "dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0)" identifier = (pointer_expression "*(double *)(PTR_DAT_001112f4 + -0x7ab0)" * (cast_expression "(double *)(PTR_DAT_001112f4 + -0x7ab0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f4 + -0x7ab0)" ( (binary_expression "PTR_DAT_001112f4 + -0x7ab0" identifier + number_literal) ))))) ;) (expression_statement "dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;" (assignment_expression "dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9" identifier = (binary_expression "(double)*(ushort *)(param_2 + 0x5c) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x5c)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x5c)" * (cast_expression "(ushort *)(param_2 + 0x5c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) / identifier)) ;) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" ( (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" * (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (pointer_expression "*(ushort *)(param_2 + 0x5c)" * (cast_expression "(ushort *)(param_2 + 0x5c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) , (cast_expression "(int)((ulonglong)dVar8 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)dVar8 >> 0x20)" ( (binary_expression "(ulonglong)dVar8 >> 0x20" (cast_expression "(ulonglong)dVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (call_expression "SUB84(dVar8,0)" identifier (argument_list "(dVar8,0)" ( identifier , number_literal ))) , (binary_expression "(double)*(ushort *)(param_2 + 0x5e) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x5e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x5e)" * (cast_expression "(ushort *)(param_2 + 0x5e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5e)" ( (binary_expression "param_2 + 0x5e" identifier + number_literal) ))))) / identifier) , (binary_expression "(double)*(ushort *)(param_2 + 0x60) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x60)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x60)" * (cast_expression "(ushort *)(param_2 + 0x60)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x60)" ( (binary_expression "param_2 + 0x60" identifier + number_literal) ))))) / identifier) ))) ;) (expression_statement "(*(code *)PTR_cairo_paint_001120a4)(param_1[3]);" (call_expression "(*(code *)PTR_cairo_paint_001120a4)(param_1[3])" (parenthesized_expression "(*(code *)PTR_cairo_paint_001120a4)" ( (pointer_expression "*(code *)PTR_cairo_paint_001120a4" * (cast_expression "(code *)PTR_cairo_paint_001120a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) (expression_statement "dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;" (assignment_expression "dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9" identifier = (binary_expression "(double)*(ushort *)(param_2 + 0x50) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x50)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x50)" * (cast_expression "(ushort *)(param_2 + 0x50)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) / identifier)) ;) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" ( (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" * (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (pointer_expression "*(ushort *)(param_2 + 0x50)" * (cast_expression "(ushort *)(param_2 + 0x50)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) )))) , (cast_expression "(int)((ulonglong)dVar8 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)dVar8 >> 0x20)" ( (binary_expression "(ulonglong)dVar8 >> 0x20" (cast_expression "(ulonglong)dVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (call_expression "SUB84(dVar8,0)" identifier (argument_list "(dVar8,0)" ( identifier , number_literal ))) , (binary_expression "(double)*(ushort *)(param_2 + 0x52) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x52)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x52)" * (cast_expression "(ushort *)(param_2 + 0x52)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x52)" ( (binary_expression "param_2 + 0x52" identifier + number_literal) ))))) / identifier) , (binary_expression "(double)*(ushort *)(param_2 + 0x54) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x54)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x54)" * (cast_expression "(ushort *)(param_2 + 0x54)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) / identifier) ))) ;) })) (if_statement "if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }" { (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" ( (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" * (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" * (cast_expression "(code **)(piVar6[0xb] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x10)" ( (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) , (binary_expression "PTR_DAT_001112f4 + -0x7d54" identifier + number_literal) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" ( (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" * (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" * (cast_expression "(code **)(piVar6[0xb] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x10)" ( (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8))" ( identifier , identifier , number_literal , (binary_expression "*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc)" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) , (binary_expression "PTR_DAT_001112f4 + -0x7cac" identifier + number_literal) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" ( (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" * (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" * (cast_expression "(code **)(piVar6[0xb] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x10)" ( (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8))" ( identifier , identifier , number_literal , (binary_expression "*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10)" (binary_expression "*(int *)(iVar4 + 0xc) * 2" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) , (binary_expression "PTR_DAT_001112f4 + -0x7c04" identifier + number_literal) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(piVar6[0xb] + 8))(iVar4);" (call_expression "(**(code **)(piVar6[0xb] + 8))(iVar4)" (parenthesized_expression "(**(code **)(piVar6[0xb] + 8))" ( (pointer_expression "**(code **)(piVar6[0xb] + 8)" * (pointer_expression "*(code **)(piVar6[0xb] + 8)" * (cast_expression "(code **)(piVar6[0xb] + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 8)" ( (binary_expression "piVar6[0xb] + 8" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR_safefree_001112f0)(iVar3);" (call_expression "(*(code *)PTR_safefree_001112f0)(iVar3)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid unifontsel_draw_preview_text_inner(unifont_drawctx *dctx,unifontsel_internal *fs)\n\n{\n  ushort uVar1;\n  undefined4 uVar2;\n  GtkWidget *pGVar3;\n  char *pcVar4;\n  unifont *puVar5;\n  anon_enum_32 aVar6;\n  char *pcVar7;\n  _func_unifont_ptr_GtkWidget_ptr_char_ptr_int_int_int_int *p_Var8;\n  fontinfo *pfVar9;\n  _func_char_ptr_GtkWidget_ptr_char_ptr_int *p_Var10;\n  double dVar11;\n  double dVar12;\n  \n  pfVar9 = fs->selected;\n  if (pfVar9 == (fontinfo *)0x0) {\n    aVar6 = dctx->type;\n    pcVar4 = (char *)0x0;\n    puVar5 = (unifont *)0x0;\n  }\n  else {\n    p_Var10 = pfVar9->fontclass->scale_fontname;\n    uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);\n    p_Var8 = pfVar9->fontclass->create;\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar7 = pcVar4;\n    if (pcVar4 == (char *)0x0) {\n      pcVar7 = pfVar9->realname;\n    }\n    puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);\n    aVar6 = dctx->type;\n  }\n  if (aVar6 == ADDRTYPE_UNSPEC) {\n    uVar1 = (fs->preview_bg).red;\n    dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12);\n    (*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr);\n    uVar1 = (fs->preview_fg).red;\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12);\n  }\n  if (puVar5 != (unifont *)0x0) {\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width);\n    (*pfVar9->fontclass->destroy)(puVar5);\n  }\n  (*(code *)PTR_safefree_001112f0)(pcVar4);\n  return;\n}\n\n" comment (function_definition "void unifontsel_draw_preview_text_inner(unifont_drawctx *dctx,unifontsel_internal *fs)\n\n{\n  ushort uVar1;\n  undefined4 uVar2;\n  GtkWidget *pGVar3;\n  char *pcVar4;\n  unifont *puVar5;\n  anon_enum_32 aVar6;\n  char *pcVar7;\n  _func_unifont_ptr_GtkWidget_ptr_char_ptr_int_int_int_int *p_Var8;\n  fontinfo *pfVar9;\n  _func_char_ptr_GtkWidget_ptr_char_ptr_int *p_Var10;\n  double dVar11;\n  double dVar12;\n  \n  pfVar9 = fs->selected;\n  if (pfVar9 == (fontinfo *)0x0) {\n    aVar6 = dctx->type;\n    pcVar4 = (char *)0x0;\n    puVar5 = (unifont *)0x0;\n  }\n  else {\n    p_Var10 = pfVar9->fontclass->scale_fontname;\n    uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);\n    p_Var8 = pfVar9->fontclass->create;\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar7 = pcVar4;\n    if (pcVar4 == (char *)0x0) {\n      pcVar7 = pfVar9->realname;\n    }\n    puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);\n    aVar6 = dctx->type;\n  }\n  if (aVar6 == ADDRTYPE_UNSPEC) {\n    uVar1 = (fs->preview_bg).red;\n    dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12);\n    (*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr);\n    uVar1 = (fs->preview_fg).red;\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12);\n  }\n  if (puVar5 != (unifont *)0x0) {\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width);\n    (*pfVar9->fontclass->destroy)(puVar5);\n  }\n  (*(code *)PTR_safefree_001112f0)(pcVar4);\n  return;\n}" primitive_type (function_declarator "unifontsel_draw_preview_text_inner(unifont_drawctx *dctx,unifontsel_internal *fs)" identifier (parameter_list "(unifont_drawctx *dctx,unifontsel_internal *fs)" ( (parameter_declaration "unifont_drawctx *dctx" type_identifier (pointer_declarator "*dctx" * identifier)) , (parameter_declaration "unifontsel_internal *fs" type_identifier (pointer_declarator "*fs" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  undefined4 uVar2;\n  GtkWidget *pGVar3;\n  char *pcVar4;\n  unifont *puVar5;\n  anon_enum_32 aVar6;\n  char *pcVar7;\n  _func_unifont_ptr_GtkWidget_ptr_char_ptr_int_int_int_int *p_Var8;\n  fontinfo *pfVar9;\n  _func_char_ptr_GtkWidget_ptr_char_ptr_int *p_Var10;\n  double dVar11;\n  double dVar12;\n  \n  pfVar9 = fs->selected;\n  if (pfVar9 == (fontinfo *)0x0) {\n    aVar6 = dctx->type;\n    pcVar4 = (char *)0x0;\n    puVar5 = (unifont *)0x0;\n  }\n  else {\n    p_Var10 = pfVar9->fontclass->scale_fontname;\n    uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);\n    p_Var8 = pfVar9->fontclass->create;\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar7 = pcVar4;\n    if (pcVar4 == (char *)0x0) {\n      pcVar7 = pfVar9->realname;\n    }\n    puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);\n    aVar6 = dctx->type;\n  }\n  if (aVar6 == ADDRTYPE_UNSPEC) {\n    uVar1 = (fs->preview_bg).red;\n    dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12);\n    (*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr);\n    uVar1 = (fs->preview_fg).red;\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12);\n  }\n  if (puVar5 != (unifont *)0x0) {\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width);\n    (*pfVar9->fontclass->destroy)(puVar5);\n  }\n  (*(code *)PTR_safefree_001112f0)(pcVar4);\n  return;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "GtkWidget *pGVar3;" type_identifier (pointer_declarator "*pGVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "unifont *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "anon_enum_32 aVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "_func_unifont_ptr_GtkWidget_ptr_char_ptr_int_int_int_int *p_Var8;" type_identifier (pointer_declarator "*p_Var8" * identifier) ;) (declaration "fontinfo *pfVar9;" type_identifier (pointer_declarator "*pfVar9" * identifier) ;) (declaration "_func_char_ptr_GtkWidget_ptr_char_ptr_int *p_Var10;" type_identifier (pointer_declarator "*p_Var10" * identifier) ;) (declaration "double dVar11;" primitive_type identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (expression_statement "pfVar9 = fs->selected;" (assignment_expression "pfVar9 = fs->selected" identifier = (field_expression "fs->selected" identifier -> field_identifier)) ;) (if_statement "if (pfVar9 == (fontinfo *)0x0) {\n    aVar6 = dctx->type;\n    pcVar4 = (char *)0x0;\n    puVar5 = (unifont *)0x0;\n  }\n  else {\n    p_Var10 = pfVar9->fontclass->scale_fontname;\n    uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);\n    p_Var8 = pfVar9->fontclass->create;\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar7 = pcVar4;\n    if (pcVar4 == (char *)0x0) {\n      pcVar7 = pfVar9->realname;\n    }\n    puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);\n    aVar6 = dctx->type;\n  }" if (parenthesized_expression "(pfVar9 == (fontinfo *)0x0)" ( (binary_expression "pfVar9 == (fontinfo *)0x0" identifier == (cast_expression "(fontinfo *)0x0" ( (type_descriptor "fontinfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    aVar6 = dctx->type;\n    pcVar4 = (char *)0x0;\n    puVar5 = (unifont *)0x0;\n  }" { (expression_statement "aVar6 = dctx->type;" (assignment_expression "aVar6 = dctx->type" identifier = (field_expression "dctx->type" identifier -> field_identifier)) ;) (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = (unifont *)0x0;" (assignment_expression "puVar5 = (unifont *)0x0" identifier = (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    p_Var10 = pfVar9->fontclass->scale_fontname;\n    uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);\n    p_Var8 = pfVar9->fontclass->create;\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar7 = pcVar4;\n    if (pcVar4 == (char *)0x0) {\n      pcVar7 = pfVar9->realname;\n    }\n    puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);\n    aVar6 = dctx->type;\n  }" else (compound_statement "{\n    p_Var10 = pfVar9->fontclass->scale_fontname;\n    uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);\n    p_Var8 = pfVar9->fontclass->create;\n    pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);\n    pcVar7 = pcVar4;\n    if (pcVar4 == (char *)0x0) {\n      pcVar7 = pfVar9->realname;\n    }\n    puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);\n    aVar6 = dctx->type;\n  }" { (expression_statement "p_Var10 = pfVar9->fontclass->scale_fontname;" (assignment_expression "p_Var10 = pfVar9->fontclass->scale_fontname" identifier = (field_expression "pfVar9->fontclass->scale_fontname" (field_expression "pfVar9->fontclass" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar2 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);" (assignment_expression "pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2)" identifier = (cast_expression "(GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2)" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((fs->u).window,uVar2)" ( (field_expression "(fs->u).window" (parenthesized_expression "(fs->u)" ( (field_expression "fs->u" identifier -> field_identifier) )) . field_identifier) , identifier ))))) ;) (expression_statement "pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize);" (assignment_expression "pcVar4 = (*p_Var10)(pGVar3,pfVar9->realname,fs->selsize)" identifier = (call_expression "(*p_Var10)(pGVar3,pfVar9->realname,fs->selsize)" (parenthesized_expression "(*p_Var10)" ( (pointer_expression "*p_Var10" * identifier) )) (argument_list "(pGVar3,pfVar9->realname,fs->selsize)" ( identifier , (field_expression "pfVar9->realname" identifier -> field_identifier) , (field_expression "fs->selsize" identifier -> field_identifier) )))) ;) (expression_statement "p_Var8 = pfVar9->fontclass->create;" (assignment_expression "p_Var8 = pfVar9->fontclass->create" identifier = (field_expression "pfVar9->fontclass->create" (field_expression "pfVar9->fontclass" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2);" (assignment_expression "pGVar3 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2)" identifier = (cast_expression "(GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2)" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)((fs->u).window,uVar2)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((fs->u).window,uVar2)" ( (field_expression "(fs->u).window" (parenthesized_expression "(fs->u)" ( (field_expression "fs->u" identifier -> field_identifier) )) . field_identifier) , identifier ))))) ;) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar7 = pfVar9->realname;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar7 = pfVar9->realname;\n    }" { (expression_statement "pcVar7 = pfVar9->realname;" (assignment_expression "pcVar7 = pfVar9->realname" identifier = (field_expression "pfVar9->realname" identifier -> field_identifier)) ;) })) (expression_statement "puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0);" (assignment_expression "puVar5 = (*p_Var8)(pGVar3,pcVar7,0,0,0,0)" identifier = (call_expression "(*p_Var8)(pGVar3,pcVar7,0,0,0,0)" (parenthesized_expression "(*p_Var8)" ( (pointer_expression "*p_Var8" * identifier) )) (argument_list "(pGVar3,pcVar7,0,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "aVar6 = dctx->type;" (assignment_expression "aVar6 = dctx->type" identifier = (field_expression "dctx->type" identifier -> field_identifier)) ;) }))) (if_statement "if (aVar6 == ADDRTYPE_UNSPEC) {\n    uVar1 = (fs->preview_bg).red;\n    dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12);\n    (*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr);\n    uVar1 = (fs->preview_fg).red;\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12);\n  }" if (parenthesized_expression "(aVar6 == ADDRTYPE_UNSPEC)" ( (binary_expression "aVar6 == ADDRTYPE_UNSPEC" identifier == identifier) )) (compound_statement "{\n    uVar1 = (fs->preview_bg).red;\n    dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12);\n    (*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr);\n    uVar1 = (fs->preview_fg).red;\n    dVar11 = (double)uVar1 / dVar12;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12);\n  }" { (expression_statement "uVar1 = (fs->preview_bg).red;" (assignment_expression "uVar1 = (fs->preview_bg).red" identifier = (field_expression "(fs->preview_bg).red" (parenthesized_expression "(fs->preview_bg)" ( (field_expression "fs->preview_bg" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);" (assignment_expression "dVar12 = *(double *)(PTR_DAT_001112f4 + -0x7ab0)" identifier = (pointer_expression "*(double *)(PTR_DAT_001112f4 + -0x7ab0)" * (cast_expression "(double *)(PTR_DAT_001112f4 + -0x7ab0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f4 + -0x7ab0)" ( (binary_expression "PTR_DAT_001112f4 + -0x7ab0" identifier + number_literal) ))))) ;) (expression_statement "dVar11 = (double)uVar1 / dVar12;" (assignment_expression "dVar11 = (double)uVar1 / dVar12" identifier = (binary_expression "(double)uVar1 / dVar12" (cast_expression "(double)uVar1" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" ( (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" * (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_bg).green / dVar12,(double)(fs->preview_bg).blue / dVar12)" ( (field_expression "(dctx->u).cairo.cr" (field_expression "(dctx->u).cairo" (parenthesized_expression "(dctx->u)" ( (field_expression "dctx->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier , (cast_expression "(int)((ulonglong)dVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)dVar11 >> 0x20)" ( (binary_expression "(ulonglong)dVar11 >> 0x20" (cast_expression "(ulonglong)dVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (call_expression "SUB84(dVar11,0)" identifier (argument_list "(dVar11,0)" ( identifier , number_literal ))) , (binary_expression "(double)(fs->preview_bg).green / dVar12" (cast_expression "(double)(fs->preview_bg).green" ( (type_descriptor "double" primitive_type) ) (field_expression "(fs->preview_bg).green" (parenthesized_expression "(fs->preview_bg)" ( (field_expression "fs->preview_bg" identifier -> field_identifier) )) . field_identifier)) / identifier) , (binary_expression "(double)(fs->preview_bg).blue / dVar12" (cast_expression "(double)(fs->preview_bg).blue" ( (type_descriptor "double" primitive_type) ) (field_expression "(fs->preview_bg).blue" (parenthesized_expression "(fs->preview_bg)" ( (field_expression "fs->preview_bg" identifier -> field_identifier) )) . field_identifier)) / identifier) ))) ;) (expression_statement "(*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr);" (call_expression "(*(code *)PTR_cairo_paint_001120a4)((dctx->u).cairo.cr)" (parenthesized_expression "(*(code *)PTR_cairo_paint_001120a4)" ( (pointer_expression "*(code *)PTR_cairo_paint_001120a4" * (cast_expression "(code *)PTR_cairo_paint_001120a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((dctx->u).cairo.cr)" ( (field_expression "(dctx->u).cairo.cr" (field_expression "(dctx->u).cairo" (parenthesized_expression "(dctx->u)" ( (field_expression "dctx->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (expression_statement "uVar1 = (fs->preview_fg).red;" (assignment_expression "uVar1 = (fs->preview_fg).red" identifier = (field_expression "(fs->preview_fg).red" (parenthesized_expression "(fs->preview_fg)" ( (field_expression "fs->preview_fg" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "dVar11 = (double)uVar1 / dVar12;" (assignment_expression "dVar11 = (double)uVar1 / dVar12" identifier = (binary_expression "(double)uVar1 / dVar12" (cast_expression "(double)uVar1" ( (type_descriptor "double" primitive_type) ) identifier) / identifier)) ;) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              ((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" ( (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" * (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((dctx->u).cairo.cr,uVar1,(int)((ulonglong)dVar11 >> 0x20),SUB84(dVar11,0),\n               (double)(fs->preview_fg).green / dVar12,(double)(fs->preview_fg).blue / dVar12)" ( (field_expression "(dctx->u).cairo.cr" (field_expression "(dctx->u).cairo" (parenthesized_expression "(dctx->u)" ( (field_expression "dctx->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier , (cast_expression "(int)((ulonglong)dVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)dVar11 >> 0x20)" ( (binary_expression "(ulonglong)dVar11 >> 0x20" (cast_expression "(ulonglong)dVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (call_expression "SUB84(dVar11,0)" identifier (argument_list "(dVar11,0)" ( identifier , number_literal ))) , (binary_expression "(double)(fs->preview_fg).green / dVar12" (cast_expression "(double)(fs->preview_fg).green" ( (type_descriptor "double" primitive_type) ) (field_expression "(fs->preview_fg).green" (parenthesized_expression "(fs->preview_fg)" ( (field_expression "fs->preview_fg" identifier -> field_identifier) )) . field_identifier)) / identifier) , (binary_expression "(double)(fs->preview_fg).blue / dVar12" (cast_expression "(double)(fs->preview_fg).blue" ( (type_descriptor "double" primitive_type) ) (field_expression "(fs->preview_fg).blue" (parenthesized_expression "(fs->preview_fg)" ( (field_expression "fs->preview_fg" identifier -> field_identifier) )) . field_identifier)) / identifier) ))) ;) })) (if_statement "if (puVar5 != (unifont *)0x0) {\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width);\n    (*pfVar9->fontclass->destroy)(puVar5);\n  }" if (parenthesized_expression "(puVar5 != (unifont *)0x0)" ( (binary_expression "puVar5 != (unifont *)0x0" identifier != (cast_expression "(unifont *)0x0" ( (type_descriptor "unifont *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width);\n    (*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width);\n    (*pfVar9->fontclass->destroy)(puVar5);\n  }" { (expression_statement "(*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width);" (call_expression "(*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width)" (parenthesized_expression "(*pfVar9->fontclass->draw_text)" ( (pointer_expression "*pfVar9->fontclass->draw_text" * (field_expression "pfVar9->fontclass->draw_text" (field_expression "pfVar9->fontclass" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(dctx,puVar5,0,puVar5->ascent,(wchar_t *)(PTR_DAT_001112f4 + -0x7d54),0x29,0,0,\n               puVar5->width)" ( identifier , identifier , number_literal , (field_expression "puVar5->ascent" identifier -> field_identifier) , (cast_expression "(wchar_t *)(PTR_DAT_001112f4 + -0x7d54)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f4 + -0x7d54)" ( (binary_expression "PTR_DAT_001112f4 + -0x7d54" identifier + number_literal) ))) , number_literal , number_literal , number_literal , (field_expression "puVar5->width" identifier -> field_identifier) ))) ;) (expression_statement "(*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width);" (call_expression "(*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width)" (parenthesized_expression "(*pfVar9->fontclass->draw_text)" ( (pointer_expression "*pfVar9->fontclass->draw_text" * (field_expression "pfVar9->fontclass->draw_text" (field_expression "pfVar9->fontclass" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(dctx,puVar5,0,puVar5->ascent + puVar5->height,(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)\n               ,0x29,0,0,puVar5->width)" ( identifier , identifier , number_literal , (binary_expression "puVar5->ascent + puVar5->height" (field_expression "puVar5->ascent" identifier -> field_identifier) + (field_expression "puVar5->height" identifier -> field_identifier)) , (cast_expression "(wchar_t *)(PTR_DAT_001112f4 + -0x7cac)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f4 + -0x7cac)" ( (binary_expression "PTR_DAT_001112f4 + -0x7cac" identifier + number_literal) ))) , number_literal , number_literal , number_literal , (field_expression "puVar5->width" identifier -> field_identifier) ))) ;) (expression_statement "(*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width);" (call_expression "(*pfVar9->fontclass->draw_text)\n              (dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width)" (parenthesized_expression "(*pfVar9->fontclass->draw_text)" ( (pointer_expression "*pfVar9->fontclass->draw_text" * (field_expression "pfVar9->fontclass->draw_text" (field_expression "pfVar9->fontclass" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(dctx,puVar5,0,puVar5->height * 2 + puVar5->ascent,\n               (wchar_t *)(PTR_DAT_001112f4 + -0x7c04),0x2a,0,0,puVar5->width)" ( identifier , identifier , number_literal , (binary_expression "puVar5->height * 2 + puVar5->ascent" (binary_expression "puVar5->height * 2" (field_expression "puVar5->height" identifier -> field_identifier) * number_literal) + (field_expression "puVar5->ascent" identifier -> field_identifier)) , (cast_expression "(wchar_t *)(PTR_DAT_001112f4 + -0x7c04)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f4 + -0x7c04)" ( (binary_expression "PTR_DAT_001112f4 + -0x7c04" identifier + number_literal) ))) , number_literal , number_literal , number_literal , (field_expression "puVar5->width" identifier -> field_identifier) ))) ;) (expression_statement "(*pfVar9->fontclass->destroy)(puVar5);" (call_expression "(*pfVar9->fontclass->destroy)(puVar5)" (parenthesized_expression "(*pfVar9->fontclass->destroy)" ( (pointer_expression "*pfVar9->fontclass->destroy" * (field_expression "pfVar9->fontclass->destroy" (field_expression "pfVar9->fontclass" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(puVar5)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR_safefree_001112f0)(pcVar4);" (call_expression "(*(code *)PTR_safefree_001112f0)(pcVar4)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000afaec(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}\n\n" (function_definition "void FUN_000afaec(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}" primitive_type (function_declarator "FUN_000afaec(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (expression_statement "piVar6 = *(int **)(param_2 + 0x70);" (assignment_expression "piVar6 = *(int **)(param_2 + 0x70)" identifier = (pointer_expression "*(int **)(param_2 + 0x70)" * (cast_expression "(int **)(param_2 + 0x70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" else (compound_statement "{\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" { (expression_statement "pcVar7 = *(code **)(piVar6[0xb] + 0x20);" (assignment_expression "pcVar7 = *(code **)(piVar6[0xb] + 0x20)" identifier = (pointer_expression "*(code **)(piVar6[0xb] + 0x20)" * (cast_expression "(code **)(piVar6[0xb] + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x20)" ( (binary_expression "piVar6[0xb] + 0x20" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 4),uVar1)" ( (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));" (assignment_expression "iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" identifier = (call_expression "(*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" ( identifier , (pointer_expression "*piVar6" * identifier) , (pointer_expression "*(undefined4 *)(param_2 + 0x74)" * (cast_expression "(undefined4 *)(param_2 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) )))) ;) (expression_statement "pcVar7 = *(code **)piVar6[0xb];" (assignment_expression "pcVar7 = *(code **)piVar6[0xb]" identifier = (pointer_expression "*(code **)piVar6[0xb]" * (cast_expression "(code **)piVar6[0xb]" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "piVar6[0xb]" identifier [ number_literal ])))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_2 + 4),uVar1)" ( (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar4 = *piVar6;\n    }" { (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) })) (expression_statement "iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);" (assignment_expression "iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0)" identifier = (call_expression "(*pcVar7)(uVar1,iVar4,0,0,0,0)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar1,iVar4,0,0,0,0)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (if_statement "if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }" { (expression_statement "dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);" (assignment_expression "dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0)" identifier = (pointer_expression "*(double *)(PTR_DAT_001112f4 + -0x7ab0)" * (cast_expression "(double *)(PTR_DAT_001112f4 + -0x7ab0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f4 + -0x7ab0)" ( (binary_expression "PTR_DAT_001112f4 + -0x7ab0" identifier + number_literal) ))))) ;) (expression_statement "dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;" (assignment_expression "dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9" identifier = (binary_expression "(double)*(ushort *)(param_2 + 0x5c) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x5c)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x5c)" * (cast_expression "(ushort *)(param_2 + 0x5c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) / identifier)) ;) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" ( (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" * (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (pointer_expression "*(ushort *)(param_2 + 0x5c)" * (cast_expression "(ushort *)(param_2 + 0x5c)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) , (cast_expression "(int)((ulonglong)dVar8 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)dVar8 >> 0x20)" ( (binary_expression "(ulonglong)dVar8 >> 0x20" (cast_expression "(ulonglong)dVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (call_expression "SUB84(dVar8,0)" identifier (argument_list "(dVar8,0)" ( identifier , number_literal ))) , (binary_expression "(double)*(ushort *)(param_2 + 0x5e) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x5e)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x5e)" * (cast_expression "(ushort *)(param_2 + 0x5e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5e)" ( (binary_expression "param_2 + 0x5e" identifier + number_literal) ))))) / identifier) , (binary_expression "(double)*(ushort *)(param_2 + 0x60) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x60)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x60)" * (cast_expression "(ushort *)(param_2 + 0x60)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x60)" ( (binary_expression "param_2 + 0x60" identifier + number_literal) ))))) / identifier) ))) ;) (expression_statement "(*(code *)PTR_cairo_paint_001120a4)(param_1[3]);" (call_expression "(*(code *)PTR_cairo_paint_001120a4)(param_1[3])" (parenthesized_expression "(*(code *)PTR_cairo_paint_001120a4)" ( (pointer_expression "*(code *)PTR_cairo_paint_001120a4" * (cast_expression "(code *)PTR_cairo_paint_001120a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) (expression_statement "dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;" (assignment_expression "dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9" identifier = (binary_expression "(double)*(ushort *)(param_2 + 0x50) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x50)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x50)" * (cast_expression "(ushort *)(param_2 + 0x50)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) / identifier)) ;) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" ( (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" * (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9)" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) , (pointer_expression "*(ushort *)(param_2 + 0x50)" * (cast_expression "(ushort *)(param_2 + 0x50)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) )))) , (cast_expression "(int)((ulonglong)dVar8 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)dVar8 >> 0x20)" ( (binary_expression "(ulonglong)dVar8 >> 0x20" (cast_expression "(ulonglong)dVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (call_expression "SUB84(dVar8,0)" identifier (argument_list "(dVar8,0)" ( identifier , number_literal ))) , (binary_expression "(double)*(ushort *)(param_2 + 0x52) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x52)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x52)" * (cast_expression "(ushort *)(param_2 + 0x52)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x52)" ( (binary_expression "param_2 + 0x52" identifier + number_literal) ))))) / identifier) , (binary_expression "(double)*(ushort *)(param_2 + 0x54) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x54)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(ushort *)(param_2 + 0x54)" * (cast_expression "(ushort *)(param_2 + 0x54)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) ))))) / identifier) ))) ;) })) (if_statement "if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }" { (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" ( (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" * (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" * (cast_expression "(code **)(piVar6[0xb] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x10)" ( (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8))" ( identifier , identifier , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) , (binary_expression "PTR_DAT_001112f4 + -0x7d54" identifier + number_literal) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" ( (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" * (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" * (cast_expression "(code **)(piVar6[0xb] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x10)" ( (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8))" ( identifier , identifier , number_literal , (binary_expression "*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc)" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) , (binary_expression "PTR_DAT_001112f4 + -0x7cac" identifier + number_literal) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" ( (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" * (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" * (cast_expression "(code **)(piVar6[0xb] + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 0x10)" ( (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8))" ( identifier , identifier , number_literal , (binary_expression "*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10)" (binary_expression "*(int *)(iVar4 + 0xc) * 2" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) , (binary_expression "PTR_DAT_001112f4 + -0x7c04" identifier + number_literal) , number_literal , number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(piVar6[0xb] + 8))(iVar4);" (call_expression "(**(code **)(piVar6[0xb] + 8))(iVar4)" (parenthesized_expression "(**(code **)(piVar6[0xb] + 8))" ( (pointer_expression "**(code **)(piVar6[0xb] + 8)" * (pointer_expression "*(code **)(piVar6[0xb] + 8)" * (cast_expression "(code **)(piVar6[0xb] + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar6[0xb] + 8)" ( (binary_expression "piVar6[0xb] + 8" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR_safefree_001112f0)(iVar3);" (call_expression "(*(code *)PTR_safefree_001112f0)(iVar3)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (call_expression IDENT (argument_list ( IDENT , LIT ))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (call_expression IDENT (argument_list ( IDENT , LIT ))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) / IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( IDENT , IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , LIT , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( IDENT , IDENT , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT + LIT) , LIT , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( IDENT , IDENT , LIT , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT + LIT) , LIT , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) )) (argument_list ( IDENT ))) ;) })) (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_000afaec(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000afaec(int *param_1,int param_2)" (identifier "FUN_000afaec") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  code *pcVar7;\n  double dVar8;\n  double dVar9;\n  \n  piVar6 = *(int **)(param_2 + 0x70);\n  if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }\n  if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }\n  if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }\n  (*(code *)PTR_safefree_001112f0)(iVar3);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "double dVar8;" (primitive_type "double") (identifier "dVar8") (; ";")) (declaration "double dVar9;" (primitive_type "double") (identifier "dVar9") (; ";")) (expression_statement "piVar6 = *(int **)(param_2 + 0x70);" (assignment_expression "piVar6 = *(int **)(param_2 + 0x70)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(param_2 + 0x70)" (* "*") (cast_expression "(int **)(param_2 + 0x70)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x70)" (( "(") (binary_expression "param_2 + 0x70" (identifier "param_2") (+ "+") (number_literal "0x70")) () ")"))))) (; ";")) (if_statement "if (piVar6 == (int *)0x0) {\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }\n  else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" (if "if") (parenthesized_expression "(piVar6 == (int *)0x0)" (( "(") (binary_expression "piVar6 == (int *)0x0" (identifier "piVar6") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar5 = *param_1;\n    iVar3 = 0;\n    iVar4 = 0;\n  }" ({ "{") (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" (else "else") (compound_statement "{\n    pcVar7 = *(code **)(piVar6[0xb] + 0x20);\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));\n    pcVar7 = *(code **)piVar6[0xb];\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);\n    iVar4 = iVar3;\n    if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }\n    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);\n    iVar5 = *param_1;\n  }" ({ "{") (expression_statement "pcVar7 = *(code **)(piVar6[0xb] + 0x20);" (assignment_expression "pcVar7 = *(code **)(piVar6[0xb] + 0x20)" (identifier "pcVar7") (= "=") (pointer_expression "*(code **)(piVar6[0xb] + 0x20)" (* "*") (cast_expression "(code **)(piVar6[0xb] + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar6[0xb] + 0x20)" (( "(") (binary_expression "piVar6[0xb] + 0x20" (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" (( "(") (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" (* "*") (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_widget_get_type_00112618"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" (( "(") (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" (* "*") (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_type_check_instance_cast_00112600"))) () ")")) (argument_list "(*(undefined4 *)(param_2 + 4),uVar1)" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));" (assignment_expression "iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" (identifier "iVar3") (= "=") (call_expression "(*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74))" (( "(") (identifier "uVar2") (, ",") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x74)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x74)" (( "(") (binary_expression "param_2 + 0x74" (identifier "param_2") (+ "+") (number_literal "0x74")) () ")")))) () ")")))) (; ";")) (expression_statement "pcVar7 = *(code **)piVar6[0xb];" (assignment_expression "pcVar7 = *(code **)piVar6[0xb]" (identifier "pcVar7") (= "=") (pointer_expression "*(code **)piVar6[0xb]" (* "*") (cast_expression "(code **)piVar6[0xb]" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]"))))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)" (( "(") (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00112600" (* "*") (cast_expression "(code *)PTR_g_type_check_instance_cast_00112600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_type_check_instance_cast_00112600"))) () ")")) (argument_list "(*(undefined4 *)(param_2 + 4),uVar1)" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) {\n      iVar4 = *piVar6;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = *piVar6;\n    }" ({ "{") (expression_statement "iVar4 = *piVar6;" (assignment_expression "iVar4 = *piVar6" (identifier "iVar4") (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (} "}"))) (expression_statement "iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);" (assignment_expression "iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0)" (identifier "iVar4") (= "=") (call_expression "(*pcVar7)(uVar1,iVar4,0,0,0,0)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(uVar1,iVar4,0,0,0,0)" (( "(") (identifier "uVar1") (, ",") (identifier "iVar4") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")))) (if_statement "if (iVar5 == 0) {\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);\n    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);\n    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);\n    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;\n    (*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);\n  }" ({ "{") (expression_statement "dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);" (assignment_expression "dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0)" (identifier "dVar9") (= "=") (pointer_expression "*(double *)(PTR_DAT_001112f4 + -0x7ab0)" (* "*") (cast_expression "(double *)(PTR_DAT_001112f4 + -0x7ab0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_001112f4 + -0x7ab0)" (( "(") (binary_expression "PTR_DAT_001112f4 + -0x7ab0" (identifier "PTR_DAT_001112f4") (+ "+") (number_literal "-0x7ab0")) () ")"))))) (; ";")) (expression_statement "dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;" (assignment_expression "dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9" (identifier "dVar8") (= "=") (binary_expression "(double)*(ushort *)(param_2 + 0x5c) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x5c)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(ushort *)(param_2 + 0x5c)" (* "*") (cast_expression "(ushort *)(param_2 + 0x5c)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")"))))) (/ "/") (identifier "dVar9"))) (; ";")) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" (( "(") (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" (* "*") (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_cairo_set_source_rgb_001124e8"))) () ")")) (argument_list "(param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,\n               (double)*(ushort *)(param_2 + 0x60) / dVar9)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (pointer_expression "*(ushort *)(param_2 + 0x5c)" (* "*") (cast_expression "(ushort *)(param_2 + 0x5c)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")")))) (, ",") (cast_expression "(int)((ulonglong)dVar8 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)dVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)dVar8 >> 0x20" (cast_expression "(ulonglong)dVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "dVar8")) (>> ">>") (number_literal "0x20")) () ")"))) (, ",") (call_expression "SUB84(dVar8,0)" (identifier "SUB84") (argument_list "(dVar8,0)" (( "(") (identifier "dVar8") (, ",") (number_literal "0") () ")"))) (, ",") (binary_expression "(double)*(ushort *)(param_2 + 0x5e) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x5e)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(ushort *)(param_2 + 0x5e)" (* "*") (cast_expression "(ushort *)(param_2 + 0x5e)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5e)" (( "(") (binary_expression "param_2 + 0x5e" (identifier "param_2") (+ "+") (number_literal "0x5e")) () ")"))))) (/ "/") (identifier "dVar9")) (, ",") (binary_expression "(double)*(ushort *)(param_2 + 0x60) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x60)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(ushort *)(param_2 + 0x60)" (* "*") (cast_expression "(ushort *)(param_2 + 0x60)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x60)" (( "(") (binary_expression "param_2 + 0x60" (identifier "param_2") (+ "+") (number_literal "0x60")) () ")"))))) (/ "/") (identifier "dVar9")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_cairo_paint_001120a4)(param_1[3]);" (call_expression "(*(code *)PTR_cairo_paint_001120a4)(param_1[3])" (parenthesized_expression "(*(code *)PTR_cairo_paint_001120a4)" (( "(") (pointer_expression "*(code *)PTR_cairo_paint_001120a4" (* "*") (cast_expression "(code *)PTR_cairo_paint_001120a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_cairo_paint_001120a4"))) () ")")) (argument_list "(param_1[3])" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (expression_statement "dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;" (assignment_expression "dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9" (identifier "dVar8") (= "=") (binary_expression "(double)*(ushort *)(param_2 + 0x50) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x50)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(ushort *)(param_2 + 0x50)" (* "*") (cast_expression "(ushort *)(param_2 + 0x50)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")"))))) (/ "/") (identifier "dVar9"))) (; ";")) (expression_statement "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9);" (call_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)\n              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9)" (parenthesized_expression "(*(code *)PTR_cairo_set_source_rgb_001124e8)" (( "(") (pointer_expression "*(code *)PTR_cairo_set_source_rgb_001124e8" (* "*") (cast_expression "(code *)PTR_cairo_set_source_rgb_001124e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_cairo_set_source_rgb_001124e8"))) () ")")) (argument_list "(param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)\n               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,\n               (double)*(ushort *)(param_2 + 0x54) / dVar9)" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (pointer_expression "*(ushort *)(param_2 + 0x50)" (* "*") (cast_expression "(ushort *)(param_2 + 0x50)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")")))) (, ",") (cast_expression "(int)((ulonglong)dVar8 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)dVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)dVar8 >> 0x20" (cast_expression "(ulonglong)dVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "dVar8")) (>> ">>") (number_literal "0x20")) () ")"))) (, ",") (call_expression "SUB84(dVar8,0)" (identifier "SUB84") (argument_list "(dVar8,0)" (( "(") (identifier "dVar8") (, ",") (number_literal "0") () ")"))) (, ",") (binary_expression "(double)*(ushort *)(param_2 + 0x52) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x52)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(ushort *)(param_2 + 0x52)" (* "*") (cast_expression "(ushort *)(param_2 + 0x52)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x52)" (( "(") (binary_expression "param_2 + 0x52" (identifier "param_2") (+ "+") (number_literal "0x52")) () ")"))))) (/ "/") (identifier "dVar9")) (, ",") (binary_expression "(double)*(ushort *)(param_2 + 0x54) / dVar9" (cast_expression "(double)*(ushort *)(param_2 + 0x54)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(ushort *)(param_2 + 0x54)" (* "*") (cast_expression "(ushort *)(param_2 + 0x54)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")"))))) (/ "/") (identifier "dVar9")) () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar4 != 0) {\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));\n    (**(code **)(piVar6[0xb] + 8))(iVar4);\n  }" ({ "{") (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" (( "(") (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" (* "*") (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" (* "*") (cast_expression "(code **)(piVar6[0xb] + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar6[0xb] + 0x10)" (( "(") (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,\n               *(undefined4 *)(iVar4 + 8))" (( "(") (identifier "param_1") (, ",") (identifier "iVar4") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (binary_expression "PTR_DAT_001112f4 + -0x7d54" (identifier "PTR_DAT_001112f4") (+ "+") (number_literal "-0x7d54")) (, ",") (number_literal "0x29") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" (( "(") (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" (* "*") (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" (* "*") (cast_expression "(code **)(piVar6[0xb] + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar6[0xb] + 0x10)" (( "(") (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),\n               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8))" (( "(") (identifier "param_1") (, ",") (identifier "iVar4") (, ",") (number_literal "0") (, ",") (binary_expression "*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc)" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) (, ",") (binary_expression "PTR_DAT_001112f4 + -0x7cac" (identifier "PTR_DAT_001112f4") (+ "+") (number_literal "-0x7cac")) (, ",") (number_literal "0x29") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));" (call_expression "(**(code **)(piVar6[0xb] + 0x10))\n              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8))" (parenthesized_expression "(**(code **)(piVar6[0xb] + 0x10))" (( "(") (pointer_expression "**(code **)(piVar6[0xb] + 0x10)" (* "*") (pointer_expression "*(code **)(piVar6[0xb] + 0x10)" (* "*") (cast_expression "(code **)(piVar6[0xb] + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar6[0xb] + 0x10)" (( "(") (binary_expression "piVar6[0xb] + 0x10" (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),\n               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8))" (( "(") (identifier "param_1") (, ",") (identifier "iVar4") (, ",") (number_literal "0") (, ",") (binary_expression "*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10)" (binary_expression "*(int *)(iVar4 + 0xc) * 2" (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (* "*") (number_literal "2")) (+ "+") (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "PTR_DAT_001112f4 + -0x7c04" (identifier "PTR_DAT_001112f4") (+ "+") (number_literal "-0x7c04")) (, ",") (number_literal "0x2a") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(piVar6[0xb] + 8))(iVar4);" (call_expression "(**(code **)(piVar6[0xb] + 8))(iVar4)" (parenthesized_expression "(**(code **)(piVar6[0xb] + 8))" (( "(") (pointer_expression "**(code **)(piVar6[0xb] + 8)" (* "*") (pointer_expression "*(code **)(piVar6[0xb] + 8)" (* "*") (cast_expression "(code **)(piVar6[0xb] + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar6[0xb] + 8)" (( "(") (binary_expression "piVar6[0xb] + 8" (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_safefree_001112f0)(iVar3);" (call_expression "(*(code *)PTR_safefree_001112f0)(iVar3)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_001112f0" (* "*") (cast_expression "(code *)PTR_safefree_001112f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_001112f0"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (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)))) (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (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: (subscript_expression argument: (identifier) index: (number_literal)))))) (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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)))))) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (number_literal) (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (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)))))) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  code *pcVar7;
  double dVar8;
  double dVar9;
  
  piVar6 = *(int **)(param_2 + 0x70);
  if (piVar6 == (int *)0x0) {
    iVar5 = *param_1;
    iVar3 = 0;
    iVar4 = 0;
  }
  else {
    pcVar7 = *(code **)(piVar6[0xb] + 0x20);
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);
    iVar3 = (*pcVar7)(uVar2,*piVar6,*(undefined4 *)(param_2 + 0x74));
    pcVar7 = *(code **)piVar6[0xb];
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(*(undefined4 *)(param_2 + 4),uVar1);
    iVar4 = iVar3;
    if (iVar3 == 0) {
      iVar4 = *piVar6;
    }
    iVar4 = (*pcVar7)(uVar1,iVar4,0,0,0,0);
    iVar5 = *param_1;
  }
  if (iVar5 == 0) {
    dVar9 = *(double *)(PTR_DAT_001112f4 + -0x7ab0);
    dVar8 = (double)*(ushort *)(param_2 + 0x5c) / dVar9;
    (*(code *)PTR_cairo_set_source_rgb_001124e8)
              (param_1[3],*(ushort *)(param_2 + 0x5c),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)
               ,(double)*(ushort *)(param_2 + 0x5e) / dVar9,
               (double)*(ushort *)(param_2 + 0x60) / dVar9);
    (*(code *)PTR_cairo_paint_001120a4)(param_1[3]);
    dVar8 = (double)*(ushort *)(param_2 + 0x50) / dVar9;
    (*(code *)PTR_cairo_set_source_rgb_001124e8)
              (param_1[3],*(ushort *)(param_2 + 0x50),(int)((ulonglong)dVar8 >> 0x20),SUB84(dVar8,0)
               ,(double)*(ushort *)(param_2 + 0x52) / dVar9,
               (double)*(ushort *)(param_2 + 0x54) / dVar9);
  }
  if (iVar4 != 0) {
    (**(code **)(piVar6[0xb] + 0x10))
              (param_1,iVar4,0,*(undefined4 *)(iVar4 + 0x10),PTR_DAT_001112f4 + -0x7d54,0x29,0,0,
               *(undefined4 *)(iVar4 + 8));
    (**(code **)(piVar6[0xb] + 0x10))
              (param_1,iVar4,0,*(int *)(iVar4 + 0x10) + *(int *)(iVar4 + 0xc),
               PTR_DAT_001112f4 + -0x7cac,0x29,0,0,*(undefined4 *)(iVar4 + 8));
    (**(code **)(piVar6[0xb] + 0x10))
              (param_1,iVar4,0,*(int *)(iVar4 + 0xc) * 2 + *(int *)(iVar4 + 0x10),
               PTR_DAT_001112f4 + -0x7c04,0x2a,0,0,*(undefined4 *)(iVar4 + 8));
    (**(code **)(piVar6[0xb] + 8))(iVar4);
  }
  (*(code *)PTR_safefree_001112f0)(iVar3);
  return;
}

