
void colourchoose_response(GtkDialog *dialog,gint response_id,gpointer data)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined *puVar7;
  double dVar8;
  GdkRGBA rgba;
  
  puVar7 = PTR___stack_chk_guard_00112630;
  iVar1 = *(int *)PTR___stack_chk_guard_00112630;
  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50);
  piVar3 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68);
  if (response_id == -5) {
    uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();
    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);
    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);
    *(undefined1 *)((int)data + 0xf) = 1;
    dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20);
    *(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8);
    *(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8);
    *(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8);
  }
  else {
    *(undefined1 *)((int)data + 0xf) = 0;
  }
  (**(code **)(*piVar3 + 0x10))(*piVar3,data,*(undefined4 *)((int)data + 8),4);
  iVar4 = (*(code *)PTR_gtk_widget_get_type_00112618)();
  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog);
  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar2);
  if (iVar1 == *(int *)puVar7) {
    return;
  }
  puVar7 = PTR___stack_chk_fail_001122c8;
  (*(code *)PTR___stack_chk_fail_001122c8)();
  uVar5 = (**(code **)(puVar7 + 0x6e4f4))();
  iVar1 = (**(code **)(puVar7 + 0x6de60))(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);
  if (iVar4 == -3) {
    uVar5 = (**(code **)(puVar7 + 0x6e208))();
    uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);
    uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5);
    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();
    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6);
    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar5);
    (**(code **)(puVar7 + 0x6e18c))(uVar5);
  }
  uVar5 = (**(code **)(puVar7 + 0x6e50c))();
  uVar2 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);
  (**(code **)(puVar7 + 0x6e214))(uVar2);
  return;
}



void FUN_000a3f78(undefined4 param_1,int param_2,int param_3)

{
  undefined4 uVar1;
  int *piVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  undefined4 uVar6;
  undefined *puVar7;
  double dVar8;
  double local_40;
  double local_38;
  double local_30;
  int local_1c;
  
  puVar7 = PTR___stack_chk_guard_00112630;
  local_1c = *(int *)PTR___stack_chk_guard_00112630;
  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);
  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);
  if (param_2 == -5) {
    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);
    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);
    *(undefined1 *)(param_3 + 0xf) = 1;
    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);
    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);
    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);
    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);
  }
  else {
    *(undefined1 *)(param_3 + 0xf) = 0;
  }
  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);
  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();
  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);
  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);
  if (local_1c == *(int *)puVar7) {
    return;
  }
  puVar7 = PTR___stack_chk_fail_001122c8;
  (*(code *)PTR___stack_chk_fail_001122c8)();
  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();
  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);
  if (iVar3 == -3) {
    uVar4 = (**(code **)(puVar7 + 0x6e208))();
    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);
    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);
    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();
    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);
    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);
    (**(code **)(puVar7 + 0x6e18c))(uVar4);
  }
  uVar4 = (**(code **)(puVar7 + 0x6e50c))();
  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);
                    /* WARNING: Could not recover jumptable at 0x000a41a4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar7 + 0x6e214))(uVar1);
  return;
}


lui gp,0x7
addiu gp,gp,0x5338
addu gp,gp,t9
addiu sp,sp,-0x58
lw t9,-0x6cb0(gp)
sw s1,0x44(sp)
lw s1,-0x6c80(gp)
sw s4,0x50(sp)
or s4,a1,zero
li a1,0x50
sw gp,0x10(sp)
sw ra,0x54(sp)
sw s3,0x4c(sp)
sw s2,0x48(sp)
or s2,a0,zero
sw s0,0x40(sp)
or s0,a2,zero
lw v0,0x0(s1)
sw v0,0x3c(sp)
jalr t9
_nop
lw gp,0x10(sp)
or a0,v0,zero
lw a1,-0x7fb8(gp)
lw t9,-0x7344(gp)
jalr t9
_addiu a1,a1,0x6a68
li v1,-0x5
lw gp,0x10(sp)
beq s4,v1,0x000a4078
_or s3,v0,zero
sb zero,0xf(s0)
lw v0,0x0(s3)
li a3,0x4
lw a2,0x8(s0)
or a1,s0,zero
lw t9,0x10(v0)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lw t9,-0x6c98(gp)
jalr t9
_nop
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x6cb0(gp)
jalr t9
_or a1,v0,zero
lw gp,0x10(sp)
lw t9,-0x6f90(gp)
jalr t9
_or a0,v0,zero
lw v1,0x3c(sp)
lw v0,0x0(s1)
bne v1,v0,0x000a4100
_lw gp,0x10(sp)
lw ra,0x54(sp)
lw s4,0x50(sp)
lw s3,0x4c(sp)
lw s2,0x48(sp)
lw s1,0x44(sp)
lw s0,0x40(sp)
jr ra
_addiu sp,sp,0x58
lw t9,-0x6c1c(gp)
jalr t9
_nop
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x6cb0(gp)
jalr t9
_or a1,v0,zero
addiu a1,sp,0x18
lw gp,0x10(sp)
lw t9,-0x6fcc(gp)
jalr t9
_or a0,v0,zero
li v0,0x1
lw gp,0x10(sp)
sb v0,0xf(s0)
ldc1 f4,0x18(sp)
lw v0,-0x7fb8(gp)
ldc1 f2,0x20(sp)
ldc1 f6,0x7f20(v0)
ldc1 f0,0x28(sp)
mul.D f4,f4,f6
mul.D f2,f2,f6
mul.D f0,f0,f6
trunc.w.D f4,f4
trunc.w.D f2,f2
trunc.w.D f0,f0
mfc1 a0,f4
mfc1 v1,f2
sb a0,0xc(s0)
sb v1,0xd(s0)
mfc1 v0,f0
b 0x000a3ff8
_sb v0,0xe(s0)
lw t9,-0x6fe8(gp)
jalr t9
_nop
lui gp,0x7
addiu gp,gp,0x51a4
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x6cb0(gp)
sw s1,0x1c(sp)
or s1,a1,zero
li a1,0x50
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s0,0x18(sp)
or s0,a0,zero
jalr t9
_sw s2,0x20(sp)
lw gp,0x10(sp)
or a0,v0,zero
lw a1,-0x7fb8(gp)
lw t9,-0x7344(gp)
jalr t9
_addiu a1,a1,0x6a68
li v1,-0x3
beq s1,v1,0x000a41ac
_lw gp,0x10(sp)
lw t9,-0x6c98(gp)
jalr t9
_nop
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x6cb0(gp)
jalr t9
_or a1,v0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x6f90(gp)
jr t9
_addiu sp,sp,0x28
lw t9,-0x6f9c(gp)
jalr t9
_or s2,v0,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x6cb0(gp)
jalr t9
_or a1,v0,zero
lw gp,0x10(sp)
lw t9,-0x704c(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lw t9,-0x71c8(gp)
jalr t9
_or s1,v0,zero
lw gp,0x10(sp)
or a1,v0,zero
lw t9,-0x6cb0(gp)
jalr t9
_lw a0,0x10(s2)
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x7090(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lw t9,-0x7018(gp)
jalr t9
_or a0,s1,zero
b 0x000a4168
_lw gp,0x10(sp)
(translation_unit "void FUN_000a3f78(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    /* WARNING: Could not recover jumptable at 0x000a41a4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_000a3f78(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    /* WARNING: Could not recover jumptable at 0x000a41a4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_000a3f78(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    /* WARNING: Could not recover jumptable at 0x000a41a4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double local_40;" primitive_type identifier ;) (declaration "double local_38;" primitive_type identifier ;) (declaration "double local_30;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar7 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar7 = PTR___stack_chk_guard_00112630" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00112630;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00112630" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00112630" * (cast_expression "(int *)PTR___stack_chk_guard_00112630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50)" (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 "(param_1,0x50)" ( identifier , number_literal )))) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" identifier = (cast_expression "(int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" (parenthesized_expression "(*(code *)PTR_g_object_get_data_00111f6c)" ( (pointer_expression "*(code *)PTR_g_object_get_data_00111f6c" * (cast_expression "(code *)PTR_g_object_get_data_00111f6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,PTR_DAT_001112f8 + 0x6a68)" ( identifier , (binary_expression "PTR_DAT_001112f8 + 0x6a68" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" if (parenthesized_expression "(param_2 == -5)" ( (binary_expression "param_2 == -5" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)()" identifier = (call_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)()" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)" ( (pointer_expression "*(code *)PTR_gtk_color_chooser_get_type_00112694" * (cast_expression "(code *)PTR_gtk_color_chooser_get_type_00112694" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,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 "(param_1,uVar1)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);" (call_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40)" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)" ( (pointer_expression "*(code *)PTR_gtk_color_chooser_get_rgba_001122e4" * (cast_expression "(code *)PTR_gtk_color_chooser_get_rgba_001122e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,&local_40)" ( identifier , (pointer_expression "&local_40" & identifier) ))) ;) (expression_statement "*(undefined1 *)(param_3 + 0xf) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0xf) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0xf)" * (cast_expression "(undefined1 *)(param_3 + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xf)" ( (binary_expression "param_3 + 0xf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);" (assignment_expression "dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20)" identifier = (pointer_expression "*(double *)(PTR_DAT_001112f8 + 0x7f20)" * (cast_expression "(double *)(PTR_DAT_001112f8 + 0x7f20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f8 + 0x7f20)" ( (binary_expression "PTR_DAT_001112f8 + 0x7f20" identifier + number_literal) ))))) ;) (expression_statement "*(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xc)" * (cast_expression "(char *)(param_3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = (cast_expression "(char)(int)(local_40 * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(local_40 * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_40 * dVar8)" ( (binary_expression "local_40 * dVar8" identifier * identifier) ))))) ;) (expression_statement "*(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xd)" * (cast_expression "(char *)(param_3 + 0xd)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xd)" ( (binary_expression "param_3 + 0xd" identifier + number_literal) )))) = (cast_expression "(char)(int)(local_38 * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(local_38 * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_38 * dVar8)" ( (binary_expression "local_38 * dVar8" identifier * identifier) ))))) ;) (expression_statement "*(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xe)" * (cast_expression "(char *)(param_3 + 0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xe)" ( (binary_expression "param_3 + 0xe" identifier + number_literal) )))) = (cast_expression "(char)(int)(local_30 * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(local_30 * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_30 * dVar8)" ( (binary_expression "local_30 * dVar8" identifier * identifier) ))))) ;) }) (else_clause "else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" else (compound_statement "{\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" { (expression_statement "*(undefined1 *)(param_3 + 0xf) = 0;" (assignment_expression "*(undefined1 *)(param_3 + 0xf) = 0" (pointer_expression "*(undefined1 *)(param_3 + 0xf)" * (cast_expression "(undefined1 *)(param_3 + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xf)" ( (binary_expression "param_3 + 0xf" identifier + number_literal) )))) = number_literal) ;) }))) (expression_statement "(**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);" (call_expression "(**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4)" (parenthesized_expression "(**(code **)(*piVar2 + 0x10))" ( (pointer_expression "**(code **)(*piVar2 + 0x10)" * (pointer_expression "*(code **)(*piVar2 + 0x10)" * (cast_expression "(code **)(*piVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x10)" ( (binary_expression "*piVar2 + 0x10" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4)" ( (pointer_expression "*piVar2" * identifier) , identifier , (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "iVar3 = (*(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 "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1)" (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 "(param_1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);" (call_expression "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar1)" (parenthesized_expression "(*(code *)PTR_gtk_widget_destroy_00112320)" ( (pointer_expression "*(code *)PTR_gtk_widget_destroy_00112320" * (cast_expression "(code *)PTR_gtk_widget_destroy_00112320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (if_statement "if (local_1c == *(int *)puVar7) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar7)" ( (binary_expression "local_1c == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar7 = PTR___stack_chk_fail_001122c8;" (assignment_expression "puVar7 = PTR___stack_chk_fail_001122c8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" * (cast_expression "(code *)PTR___stack_chk_fail_001122c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e4f4))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e4f4))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);" (assignment_expression "iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" identifier = (call_expression "(**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" (parenthesized_expression "(**(code **)(puVar7 + 0x6de60))" ( (pointer_expression "**(code **)(puVar7 + 0x6de60)" * (pointer_expression "*(code **)(puVar7 + 0x6de60)" * (cast_expression "(code **)(puVar7 + 0x6de60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6de60)" ( (binary_expression "puVar7 + 0x6de60" identifier + number_literal) ))))) )) (argument_list "(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" ( identifier , (binary_expression "*(int *)(puVar7 + 0x6d1ec) + 0x6a68" (pointer_expression "*(int *)(puVar7 + 0x6d1ec)" * (cast_expression "(int *)(puVar7 + 0x6d1ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x6d1ec)" ( (binary_expression "puVar7 + 0x6d1ec" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }" if (parenthesized_expression "(iVar3 == -3)" ( (binary_expression "iVar3 == -3" identifier == number_literal) )) (compound_statement "{\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }" { (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e208))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e208))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e208))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e208))" ( (pointer_expression "**(code **)(puVar7 + 0x6e208)" * (pointer_expression "*(code **)(puVar7 + 0x6e208)" * (cast_expression "(code **)(puVar7 + 0x6e208)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e208)" ( (binary_expression "puVar7 + 0x6e208" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(uVar1,uVar4)" ( identifier , identifier )))) ;) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e158))(uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e158))" ( (pointer_expression "**(code **)(puVar7 + 0x6e158)" * (pointer_expression "*(code **)(puVar7 + 0x6e158)" * (cast_expression "(code **)(puVar7 + 0x6e158)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e158)" ( (binary_expression "puVar7 + 0x6e158" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6dfdc))();" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6dfdc))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6dfdc))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6dfdc))" ( (pointer_expression "**(code **)(puVar7 + 0x6dfdc)" * (pointer_expression "*(code **)(puVar7 + 0x6dfdc)" * (cast_expression "(code **)(puVar7 + 0x6dfdc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6dfdc)" ( (binary_expression "puVar7 + 0x6dfdc" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + 0x10),uVar6)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" * (cast_expression "(undefined4 *)(iVar5 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);" (call_expression "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e114))" ( (pointer_expression "**(code **)(puVar7 + 0x6e114)" * (pointer_expression "*(code **)(puVar7 + 0x6e114)" * (cast_expression "(code **)(puVar7 + 0x6e114)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e114)" ( (binary_expression "puVar7 + 0x6e114" identifier + number_literal) ))))) )) (argument_list "(uVar6,uVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e18c))(uVar4);" (call_expression "(**(code **)(puVar7 + 0x6e18c))(uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e18c))" ( (pointer_expression "**(code **)(puVar7 + 0x6e18c)" * (pointer_expression "*(code **)(puVar7 + 0x6e18c)" * (cast_expression "(code **)(puVar7 + 0x6e18c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e18c)" ( (binary_expression "puVar7 + 0x6e18c" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) })) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e50c))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e50c))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e50c))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e50c))" ( (pointer_expression "**(code **)(puVar7 + 0x6e50c)" * (pointer_expression "*(code **)(puVar7 + 0x6e50c)" * (cast_expression "(code **)(puVar7 + 0x6e50c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e50c)" ( (binary_expression "puVar7 + 0x6e50c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);" (assignment_expression "uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(uVar1,uVar4)" ( identifier , identifier )))) ;) comment comment (expression_statement "(**(code **)(puVar7 + 0x6e214))(uVar1);" (call_expression "(**(code **)(puVar7 + 0x6e214))(uVar1)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e214))" ( (pointer_expression "**(code **)(puVar7 + 0x6e214)" * (pointer_expression "*(code **)(puVar7 + 0x6e214)" * (cast_expression "(code **)(puVar7 + 0x6e214)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e214)" ( (binary_expression "puVar7 + 0x6e214" identifier + number_literal) ))))) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void colourchoose_response(GtkDialog *dialog,gint response_id,gpointer data)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  GdkRGBA rgba;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  iVar1 = *(int *)PTR___stack_chk_guard_00112630;\n  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50);\n  piVar3 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68);\n  if (response_id == -5) {\n    uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);\n    *(undefined1 *)((int)data + 0xf) = 1;\n    dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20);\n    *(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8);\n    *(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8);\n    *(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8);\n  }\n  else {\n    *(undefined1 *)((int)data + 0xf) = 0;\n  }\n  (**(code **)(*piVar3 + 0x10))(*piVar3,data,*(undefined4 *)((int)data + 8),4);\n  iVar4 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar2);\n  if (iVar1 == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar5 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar1 = (**(code **)(puVar7 + 0x6de60))(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar4 == -3) {\n    uVar5 = (**(code **)(puVar7 + 0x6e208))();\n    uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n    uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar5);\n    (**(code **)(puVar7 + 0x6e18c))(uVar5);\n  }\n  uVar5 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar2 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n  (**(code **)(puVar7 + 0x6e214))(uVar2);\n  return;\n}\n\n" (function_definition "void colourchoose_response(GtkDialog *dialog,gint response_id,gpointer data)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  GdkRGBA rgba;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  iVar1 = *(int *)PTR___stack_chk_guard_00112630;\n  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50);\n  piVar3 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68);\n  if (response_id == -5) {\n    uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);\n    *(undefined1 *)((int)data + 0xf) = 1;\n    dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20);\n    *(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8);\n    *(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8);\n    *(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8);\n  }\n  else {\n    *(undefined1 *)((int)data + 0xf) = 0;\n  }\n  (**(code **)(*piVar3 + 0x10))(*piVar3,data,*(undefined4 *)((int)data + 8),4);\n  iVar4 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar2);\n  if (iVar1 == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar5 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar1 = (**(code **)(puVar7 + 0x6de60))(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar4 == -3) {\n    uVar5 = (**(code **)(puVar7 + 0x6e208))();\n    uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n    uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar5);\n    (**(code **)(puVar7 + 0x6e18c))(uVar5);\n  }\n  uVar5 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar2 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n  (**(code **)(puVar7 + 0x6e214))(uVar2);\n  return;\n}" primitive_type (function_declarator "colourchoose_response(GtkDialog *dialog,gint response_id,gpointer data)" identifier (parameter_list "(GtkDialog *dialog,gint response_id,gpointer data)" ( (parameter_declaration "GtkDialog *dialog" type_identifier (pointer_declarator "*dialog" * identifier)) , (parameter_declaration "gint response_id" type_identifier identifier) , (parameter_declaration "gpointer data" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  GdkRGBA rgba;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  iVar1 = *(int *)PTR___stack_chk_guard_00112630;\n  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50);\n  piVar3 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68);\n  if (response_id == -5) {\n    uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);\n    *(undefined1 *)((int)data + 0xf) = 1;\n    dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20);\n    *(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8);\n    *(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8);\n    *(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8);\n  }\n  else {\n    *(undefined1 *)((int)data + 0xf) = 0;\n  }\n  (**(code **)(*piVar3 + 0x10))(*piVar3,data,*(undefined4 *)((int)data + 8),4);\n  iVar4 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar2);\n  if (iVar1 == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar5 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar1 = (**(code **)(puVar7 + 0x6de60))(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar4 == -3) {\n    uVar5 = (**(code **)(puVar7 + 0x6e208))();\n    uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n    uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar5);\n    (**(code **)(puVar7 + 0x6e18c))(uVar5);\n  }\n  uVar5 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar2 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n  (**(code **)(puVar7 + 0x6e214))(uVar2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "GdkRGBA rgba;" type_identifier identifier ;) (expression_statement "puVar7 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar7 = PTR___stack_chk_guard_00112630" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_00112630;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_00112630" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00112630" * (cast_expression "(int *)PTR___stack_chk_guard_00112630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50)" (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 "(dialog,0x50)" ( identifier , number_literal )))) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68)" identifier = (cast_expression "(int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_object_get_data_00111f6c)(uVar2,PTR_E1_202__001112f8 + 0x6a68)" (parenthesized_expression "(*(code *)PTR_g_object_get_data_00111f6c)" ( (pointer_expression "*(code *)PTR_g_object_get_data_00111f6c" * (cast_expression "(code *)PTR_g_object_get_data_00111f6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,PTR_E1_202__001112f8 + 0x6a68)" ( identifier , (binary_expression "PTR_E1_202__001112f8 + 0x6a68" identifier + number_literal) ))))) ;) (if_statement "if (response_id == -5) {\n    uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);\n    *(undefined1 *)((int)data + 0xf) = 1;\n    dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20);\n    *(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8);\n    *(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8);\n    *(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8);\n  }\n  else {\n    *(undefined1 *)((int)data + 0xf) = 0;\n  }" if (parenthesized_expression "(response_id == -5)" ( (binary_expression "response_id == -5" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);\n    *(undefined1 *)((int)data + 0xf) = 1;\n    dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20);\n    *(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8);\n    *(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8);\n    *(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();" (assignment_expression "uVar2 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)()" identifier = (call_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)()" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)" ( (pointer_expression "*(code *)PTR_gtk_color_chooser_get_type_00112694" * (cast_expression "(code *)PTR_gtk_color_chooser_get_type_00112694" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(dialog,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 "(dialog,uVar2)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);" (call_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba)" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)" ( (pointer_expression "*(code *)PTR_gtk_color_chooser_get_rgba_001122e4" * (cast_expression "(code *)PTR_gtk_color_chooser_get_rgba_001122e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,&rgba)" ( identifier , (pointer_expression "&rgba" & identifier) ))) ;) (expression_statement "*(undefined1 *)((int)data + 0xf) = 1;" (assignment_expression "*(undefined1 *)((int)data + 0xf) = 1" (pointer_expression "*(undefined1 *)((int)data + 0xf)" * (cast_expression "(undefined1 *)((int)data + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xf)" ( (binary_expression "(int)data + 0xf" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20);" (assignment_expression "dVar8 = *(double *)(PTR_E1_202__001112f8 + 0x7f20)" identifier = (pointer_expression "*(double *)(PTR_E1_202__001112f8 + 0x7f20)" * (cast_expression "(double *)(PTR_E1_202__001112f8 + 0x7f20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_E1_202__001112f8 + 0x7f20)" ( (binary_expression "PTR_E1_202__001112f8 + 0x7f20" identifier + number_literal) ))))) ;) (expression_statement "*(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8);" (assignment_expression "*(char *)((int)data + 0xc) = (char)(int)(rgba.red * dVar8)" (pointer_expression "*(char *)((int)data + 0xc)" * (cast_expression "(char *)((int)data + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xc)" ( (binary_expression "(int)data + 0xc" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)(int)(rgba.red * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(rgba.red * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(rgba.red * dVar8)" ( (binary_expression "rgba.red * dVar8" (field_expression "rgba.red" identifier . field_identifier) * identifier) ))))) ;) (expression_statement "*(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8);" (assignment_expression "*(char *)((int)data + 0xd) = (char)(int)(rgba.green * dVar8)" (pointer_expression "*(char *)((int)data + 0xd)" * (cast_expression "(char *)((int)data + 0xd)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xd)" ( (binary_expression "(int)data + 0xd" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)(int)(rgba.green * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(rgba.green * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(rgba.green * dVar8)" ( (binary_expression "rgba.green * dVar8" (field_expression "rgba.green" identifier . field_identifier) * identifier) ))))) ;) (expression_statement "*(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8);" (assignment_expression "*(char *)((int)data + 0xe) = (char)(int)(rgba.blue * dVar8)" (pointer_expression "*(char *)((int)data + 0xe)" * (cast_expression "(char *)((int)data + 0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xe)" ( (binary_expression "(int)data + 0xe" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)(int)(rgba.blue * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(rgba.blue * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(rgba.blue * dVar8)" ( (binary_expression "rgba.blue * dVar8" (field_expression "rgba.blue" identifier . field_identifier) * identifier) ))))) ;) }) (else_clause "else {\n    *(undefined1 *)((int)data + 0xf) = 0;\n  }" else (compound_statement "{\n    *(undefined1 *)((int)data + 0xf) = 0;\n  }" { (expression_statement "*(undefined1 *)((int)data + 0xf) = 0;" (assignment_expression "*(undefined1 *)((int)data + 0xf) = 0" (pointer_expression "*(undefined1 *)((int)data + 0xf)" * (cast_expression "(undefined1 *)((int)data + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 0xf)" ( (binary_expression "(int)data + 0xf" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) }))) (expression_statement "(**(code **)(*piVar3 + 0x10))(*piVar3,data,*(undefined4 *)((int)data + 8),4);" (call_expression "(**(code **)(*piVar3 + 0x10))(*piVar3,data,*(undefined4 *)((int)data + 8),4)" (parenthesized_expression "(**(code **)(*piVar3 + 0x10))" ( (pointer_expression "**(code **)(*piVar3 + 0x10)" * (pointer_expression "*(code **)(*piVar3 + 0x10)" * (cast_expression "(code **)(*piVar3 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x10)" ( (binary_expression "*piVar3 + 0x10" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(*piVar3,data,*(undefined4 *)((int)data + 8),4)" ( (pointer_expression "*piVar3" * identifier) , identifier , (pointer_expression "*(undefined4 *)((int)data + 8)" * (cast_expression "(undefined4 *)((int)data + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 8)" ( (binary_expression "(int)data + 8" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal ))) ;) (expression_statement "iVar4 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "iVar4 = (*(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)(dialog);" (assignment_expression "uVar2 = (*(code *)PTR_g_type_check_instance_cast_00112600)(dialog)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(dialog)" (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 "(dialog)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar2);" (call_expression "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar2)" (parenthesized_expression "(*(code *)PTR_gtk_widget_destroy_00112320)" ( (pointer_expression "*(code *)PTR_gtk_widget_destroy_00112320" * (cast_expression "(code *)PTR_gtk_widget_destroy_00112320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2)" ( identifier ))) ;) (if_statement "if (iVar1 == *(int *)puVar7) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar7)" ( (binary_expression "iVar1 == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar7 = PTR___stack_chk_fail_001122c8;" (assignment_expression "puVar7 = PTR___stack_chk_fail_001122c8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" * (cast_expression "(code *)PTR___stack_chk_fail_001122c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar5 = (**(code **)(puVar7 + 0x6e4f4))();" (assignment_expression "uVar5 = (**(code **)(puVar7 + 0x6e4f4))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "iVar1 = (**(code **)(puVar7 + 0x6de60))(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);" (assignment_expression "iVar1 = (**(code **)(puVar7 + 0x6de60))(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" identifier = (call_expression "(**(code **)(puVar7 + 0x6de60))(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" (parenthesized_expression "(**(code **)(puVar7 + 0x6de60))" ( (pointer_expression "**(code **)(puVar7 + 0x6de60)" * (pointer_expression "*(code **)(puVar7 + 0x6de60)" * (cast_expression "(code **)(puVar7 + 0x6de60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6de60)" ( (binary_expression "puVar7 + 0x6de60" identifier + number_literal) ))))) )) (argument_list "(uVar5,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" ( identifier , (binary_expression "*(int *)(puVar7 + 0x6d1ec) + 0x6a68" (pointer_expression "*(int *)(puVar7 + 0x6d1ec)" * (cast_expression "(int *)(puVar7 + 0x6d1ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x6d1ec)" ( (binary_expression "puVar7 + 0x6d1ec" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar4 == -3) {\n    uVar5 = (**(code **)(puVar7 + 0x6e208))();\n    uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n    uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar5);\n    (**(code **)(puVar7 + 0x6e18c))(uVar5);\n  }" if (parenthesized_expression "(iVar4 == -3)" ( (binary_expression "iVar4 == -3" identifier == number_literal) )) (compound_statement "{\n    uVar5 = (**(code **)(puVar7 + 0x6e208))();\n    uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);\n    uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar5);\n    (**(code **)(puVar7 + 0x6e18c))(uVar5);\n  }" { (expression_statement "uVar5 = (**(code **)(puVar7 + 0x6e208))();" (assignment_expression "uVar5 = (**(code **)(puVar7 + 0x6e208))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e208))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e208))" ( (pointer_expression "**(code **)(puVar7 + 0x6e208)" * (pointer_expression "*(code **)(puVar7 + 0x6e208)" * (cast_expression "(code **)(puVar7 + 0x6e208)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e208)" ( (binary_expression "puVar7 + 0x6e208" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);" (assignment_expression "uVar5 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(uVar2,uVar5)" ( identifier , identifier )))) ;) (expression_statement "uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5);" (assignment_expression "uVar5 = (**(code **)(puVar7 + 0x6e158))(uVar5)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e158))(uVar5)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e158))" ( (pointer_expression "**(code **)(puVar7 + 0x6e158)" * (pointer_expression "*(code **)(puVar7 + 0x6e158)" * (cast_expression "(code **)(puVar7 + 0x6e158)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e158)" ( (binary_expression "puVar7 + 0x6e158" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6dfdc))();" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6dfdc))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6dfdc))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6dfdc))" ( (pointer_expression "**(code **)(puVar7 + 0x6dfdc)" * (pointer_expression "*(code **)(puVar7 + 0x6dfdc)" * (cast_expression "(code **)(puVar7 + 0x6dfdc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6dfdc)" ( (binary_expression "puVar7 + 0x6dfdc" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6);" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar1 + 0x10),uVar6)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar1 + 0x10),uVar6)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar5);" (call_expression "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar5)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e114))" ( (pointer_expression "**(code **)(puVar7 + 0x6e114)" * (pointer_expression "*(code **)(puVar7 + 0x6e114)" * (cast_expression "(code **)(puVar7 + 0x6e114)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e114)" ( (binary_expression "puVar7 + 0x6e114" identifier + number_literal) ))))) )) (argument_list "(uVar6,uVar5)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e18c))(uVar5);" (call_expression "(**(code **)(puVar7 + 0x6e18c))(uVar5)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e18c))" ( (pointer_expression "**(code **)(puVar7 + 0x6e18c)" * (pointer_expression "*(code **)(puVar7 + 0x6e18c)" * (cast_expression "(code **)(puVar7 + 0x6e18c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e18c)" ( (binary_expression "puVar7 + 0x6e18c" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier ))) ;) })) (expression_statement "uVar5 = (**(code **)(puVar7 + 0x6e50c))();" (assignment_expression "uVar5 = (**(code **)(puVar7 + 0x6e50c))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e50c))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e50c))" ( (pointer_expression "**(code **)(puVar7 + 0x6e50c)" * (pointer_expression "*(code **)(puVar7 + 0x6e50c)" * (cast_expression "(code **)(puVar7 + 0x6e50c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e50c)" ( (binary_expression "puVar7 + 0x6e50c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5);" (assignment_expression "uVar2 = (**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar2,uVar5)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(uVar2,uVar5)" ( identifier , identifier )))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e214))(uVar2);" (call_expression "(**(code **)(puVar7 + 0x6e214))(uVar2)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e214))" ( (pointer_expression "**(code **)(puVar7 + 0x6e214)" * (pointer_expression "*(code **)(puVar7 + 0x6e214)" * (cast_expression "(code **)(puVar7 + 0x6e214)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e214)" ( (binary_expression "puVar7 + 0x6e214" identifier + number_literal) ))))) )) (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000a3f78(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    \n                    \n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_000a3f78(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    \n                    \n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_000a3f78(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    \n                    \n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double local_40;" primitive_type identifier ;) (declaration "double local_38;" primitive_type identifier ;) (declaration "double local_30;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar7 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar7 = PTR___stack_chk_guard_00112630" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00112630;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00112630" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00112630" * (cast_expression "(int *)PTR___stack_chk_guard_00112630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50)" (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 "(param_1,0x50)" ( identifier , number_literal )))) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" identifier = (cast_expression "(int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" (parenthesized_expression "(*(code *)PTR_g_object_get_data_00111f6c)" ( (pointer_expression "*(code *)PTR_g_object_get_data_00111f6c" * (cast_expression "(code *)PTR_g_object_get_data_00111f6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,PTR_DAT_001112f8 + 0x6a68)" ( identifier , (binary_expression "PTR_DAT_001112f8 + 0x6a68" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" if (parenthesized_expression "(param_2 == -5)" ( (binary_expression "param_2 == -5" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)()" identifier = (call_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)()" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)" ( (pointer_expression "*(code *)PTR_gtk_color_chooser_get_type_00112694" * (cast_expression "(code *)PTR_gtk_color_chooser_get_type_00112694" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,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 "(param_1,uVar1)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);" (call_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40)" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)" ( (pointer_expression "*(code *)PTR_gtk_color_chooser_get_rgba_001122e4" * (cast_expression "(code *)PTR_gtk_color_chooser_get_rgba_001122e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,&local_40)" ( identifier , (pointer_expression "&local_40" & identifier) ))) ;) (expression_statement "*(undefined1 *)(param_3 + 0xf) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0xf) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0xf)" * (cast_expression "(undefined1 *)(param_3 + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xf)" ( (binary_expression "param_3 + 0xf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);" (assignment_expression "dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20)" identifier = (pointer_expression "*(double *)(PTR_DAT_001112f8 + 0x7f20)" * (cast_expression "(double *)(PTR_DAT_001112f8 + 0x7f20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001112f8 + 0x7f20)" ( (binary_expression "PTR_DAT_001112f8 + 0x7f20" identifier + number_literal) ))))) ;) (expression_statement "*(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xc)" * (cast_expression "(char *)(param_3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = (cast_expression "(char)(int)(local_40 * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(local_40 * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_40 * dVar8)" ( (binary_expression "local_40 * dVar8" identifier * identifier) ))))) ;) (expression_statement "*(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xd)" * (cast_expression "(char *)(param_3 + 0xd)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xd)" ( (binary_expression "param_3 + 0xd" identifier + number_literal) )))) = (cast_expression "(char)(int)(local_38 * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(local_38 * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_38 * dVar8)" ( (binary_expression "local_38 * dVar8" identifier * identifier) ))))) ;) (expression_statement "*(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xe)" * (cast_expression "(char *)(param_3 + 0xe)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xe)" ( (binary_expression "param_3 + 0xe" identifier + number_literal) )))) = (cast_expression "(char)(int)(local_30 * dVar8)" ( (type_descriptor "char" primitive_type) ) (cast_expression "(int)(local_30 * dVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_30 * dVar8)" ( (binary_expression "local_30 * dVar8" identifier * identifier) ))))) ;) }) (else_clause "else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" else (compound_statement "{\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" { (expression_statement "*(undefined1 *)(param_3 + 0xf) = 0;" (assignment_expression "*(undefined1 *)(param_3 + 0xf) = 0" (pointer_expression "*(undefined1 *)(param_3 + 0xf)" * (cast_expression "(undefined1 *)(param_3 + 0xf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xf)" ( (binary_expression "param_3 + 0xf" identifier + number_literal) )))) = number_literal) ;) }))) (expression_statement "(**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);" (call_expression "(**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4)" (parenthesized_expression "(**(code **)(*piVar2 + 0x10))" ( (pointer_expression "**(code **)(*piVar2 + 0x10)" * (pointer_expression "*(code **)(*piVar2 + 0x10)" * (cast_expression "(code **)(*piVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x10)" ( (binary_expression "*piVar2 + 0x10" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4)" ( (pointer_expression "*piVar2" * identifier) , identifier , (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "iVar3 = (*(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 "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1)" (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 "(param_1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);" (call_expression "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar1)" (parenthesized_expression "(*(code *)PTR_gtk_widget_destroy_00112320)" ( (pointer_expression "*(code *)PTR_gtk_widget_destroy_00112320" * (cast_expression "(code *)PTR_gtk_widget_destroy_00112320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (if_statement "if (local_1c == *(int *)puVar7) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar7)" ( (binary_expression "local_1c == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar7 = PTR___stack_chk_fail_001122c8;" (assignment_expression "puVar7 = PTR___stack_chk_fail_001122c8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" * (cast_expression "(code *)PTR___stack_chk_fail_001122c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e4f4))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e4f4))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);" (assignment_expression "iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" identifier = (call_expression "(**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" (parenthesized_expression "(**(code **)(puVar7 + 0x6de60))" ( (pointer_expression "**(code **)(puVar7 + 0x6de60)" * (pointer_expression "*(code **)(puVar7 + 0x6de60)" * (cast_expression "(code **)(puVar7 + 0x6de60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6de60)" ( (binary_expression "puVar7 + 0x6de60" identifier + number_literal) ))))) )) (argument_list "(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" ( identifier , (binary_expression "*(int *)(puVar7 + 0x6d1ec) + 0x6a68" (pointer_expression "*(int *)(puVar7 + 0x6d1ec)" * (cast_expression "(int *)(puVar7 + 0x6d1ec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x6d1ec)" ( (binary_expression "puVar7 + 0x6d1ec" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }" if (parenthesized_expression "(iVar3 == -3)" ( (binary_expression "iVar3 == -3" identifier == number_literal) )) (compound_statement "{\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }" { (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e208))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e208))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e208))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e208))" ( (pointer_expression "**(code **)(puVar7 + 0x6e208)" * (pointer_expression "*(code **)(puVar7 + 0x6e208)" * (cast_expression "(code **)(puVar7 + 0x6e208)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e208)" ( (binary_expression "puVar7 + 0x6e208" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(uVar1,uVar4)" ( identifier , identifier )))) ;) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e158))(uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e158))" ( (pointer_expression "**(code **)(puVar7 + 0x6e158)" * (pointer_expression "*(code **)(puVar7 + 0x6e158)" * (cast_expression "(code **)(puVar7 + 0x6e158)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e158)" ( (binary_expression "puVar7 + 0x6e158" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6dfdc))();" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6dfdc))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6dfdc))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6dfdc))" ( (pointer_expression "**(code **)(puVar7 + 0x6dfdc)" * (pointer_expression "*(code **)(puVar7 + 0x6dfdc)" * (cast_expression "(code **)(puVar7 + 0x6dfdc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6dfdc)" ( (binary_expression "puVar7 + 0x6dfdc" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + 0x10),uVar6)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" * (cast_expression "(undefined4 *)(iVar5 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);" (call_expression "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e114))" ( (pointer_expression "**(code **)(puVar7 + 0x6e114)" * (pointer_expression "*(code **)(puVar7 + 0x6e114)" * (cast_expression "(code **)(puVar7 + 0x6e114)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e114)" ( (binary_expression "puVar7 + 0x6e114" identifier + number_literal) ))))) )) (argument_list "(uVar6,uVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e18c))(uVar4);" (call_expression "(**(code **)(puVar7 + 0x6e18c))(uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e18c))" ( (pointer_expression "**(code **)(puVar7 + 0x6e18c)" * (pointer_expression "*(code **)(puVar7 + 0x6e18c)" * (cast_expression "(code **)(puVar7 + 0x6e18c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e18c)" ( (binary_expression "puVar7 + 0x6e18c" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier ))) ;) })) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e50c))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e50c))()" identifier = (call_expression "(**(code **)(puVar7 + 0x6e50c))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e50c))" ( (pointer_expression "**(code **)(puVar7 + 0x6e50c)" * (pointer_expression "*(code **)(puVar7 + 0x6e50c)" * (cast_expression "(code **)(puVar7 + 0x6e50c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e50c)" ( (binary_expression "puVar7 + 0x6e50c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);" (assignment_expression "uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" ( (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" * (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" * (cast_expression "(code **)(puVar7 + 0x6e4f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e4f4)" ( (binary_expression "puVar7 + 0x6e4f4" identifier + number_literal) ))))) )) (argument_list "(uVar1,uVar4)" ( identifier , identifier )))) ;) (expression_statement "(**(code **)(puVar7 + 0x6e214))(uVar1);" (call_expression "(**(code **)(puVar7 + 0x6e214))(uVar1)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e214))" ( (pointer_expression "**(code **)(puVar7 + 0x6e214)" * (pointer_expression "*(code **)(puVar7 + 0x6e214)" * (cast_expression "(code **)(puVar7 + 0x6e214)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x6e214)" ( (binary_expression "puVar7 + 0x6e214" identifier + number_literal) ))))) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 ( IDENT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT * IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT * IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT * IDENT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000a3f78(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    \n                    \n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000a3f78(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_000a3f78") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  double dVar8;\n  double local_40;\n  double local_38;\n  double local_30;\n  int local_1c;\n  \n  puVar7 = PTR___stack_chk_guard_00112630;\n  local_1c = *(int *)PTR___stack_chk_guard_00112630;\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);\n  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);\n  if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);\n  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);\n  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);\n  if (local_1c == *(int *)puVar7) {\n    return;\n  }\n  puVar7 = PTR___stack_chk_fail_001122c8;\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();\n  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);\n  if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }\n  uVar4 = (**(code **)(puVar7 + 0x6e50c))();\n  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n                    \n                    \n  (**(code **)(puVar7 + 0x6e214))(uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "double dVar8;" (primitive_type "double") (identifier "dVar8") (; ";")) (declaration "double local_40;" (primitive_type "double") (identifier "local_40") (; ";")) (declaration "double local_38;" (primitive_type "double") (identifier "local_38") (; ";")) (declaration "double local_30;" (primitive_type "double") (identifier "local_30") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar7 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar7 = PTR___stack_chk_guard_00112630" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_guard_00112630")) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00112630;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00112630" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00112630" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00112630" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00112630")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50)" (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 "(param_1,0x50)" (( "(") (identifier "param_1") (, ",") (number_literal "0x50") () ")")))) (; ";")) (expression_statement "piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68)" (parenthesized_expression "(*(code *)PTR_g_object_get_data_00111f6c)" (( "(") (pointer_expression "*(code *)PTR_g_object_get_data_00111f6c" (* "*") (cast_expression "(code *)PTR_g_object_get_data_00111f6c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_object_get_data_00111f6c"))) () ")")) (argument_list "(uVar1,PTR_DAT_001112f8 + 0x6a68)" (( "(") (identifier "uVar1") (, ",") (binary_expression "PTR_DAT_001112f8 + 0x6a68" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x6a68")) () ")"))))) (; ";")) (if_statement "if (param_2 == -5) {\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }\n  else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" (if "if") (parenthesized_expression "(param_2 == -5)" (( "(") (binary_expression "param_2 == -5" (identifier "param_2") (== "==") (number_literal "-5")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);\n    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);\n    *(undefined1 *)(param_3 + 0xf) = 1;\n    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);\n    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);\n    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);\n    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)()" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_type_00112694)" (( "(") (pointer_expression "*(code *)PTR_gtk_color_chooser_get_type_00112694" (* "*") (cast_expression "(code *)PTR_gtk_color_chooser_get_type_00112694" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_color_chooser_get_type_00112694"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,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 "(param_1,uVar1)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);" (call_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40)" (parenthesized_expression "(*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)" (( "(") (pointer_expression "*(code *)PTR_gtk_color_chooser_get_rgba_001122e4" (* "*") (cast_expression "(code *)PTR_gtk_color_chooser_get_rgba_001122e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_color_chooser_get_rgba_001122e4"))) () ")")) (argument_list "(uVar1,&local_40)" (( "(") (identifier "uVar1") (, ",") (pointer_expression "&local_40" (& "&") (identifier "local_40")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_3 + 0xf) = 1;" (assignment_expression "*(undefined1 *)(param_3 + 0xf) = 1" (pointer_expression "*(undefined1 *)(param_3 + 0xf)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0xf)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xf)" (( "(") (binary_expression "param_3 + 0xf" (identifier "param_3") (+ "+") (number_literal "0xf")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);" (assignment_expression "dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20)" (identifier "dVar8") (= "=") (pointer_expression "*(double *)(PTR_DAT_001112f8 + 0x7f20)" (* "*") (cast_expression "(double *)(PTR_DAT_001112f8 + 0x7f20)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_001112f8 + 0x7f20)" (( "(") (binary_expression "PTR_DAT_001112f8 + 0x7f20" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x7f20")) () ")"))))) (; ";")) (expression_statement "*(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xc)" (* "*") (cast_expression "(char *)(param_3 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (cast_expression "(char)(int)(local_40 * dVar8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (cast_expression "(int)(local_40 * dVar8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_40 * dVar8)" (( "(") (binary_expression "local_40 * dVar8" (identifier "local_40") (* "*") (identifier "dVar8")) () ")"))))) (; ";")) (expression_statement "*(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xd)" (* "*") (cast_expression "(char *)(param_3 + 0xd)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xd)" (( "(") (binary_expression "param_3 + 0xd" (identifier "param_3") (+ "+") (number_literal "0xd")) () ")")))) (= "=") (cast_expression "(char)(int)(local_38 * dVar8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (cast_expression "(int)(local_38 * dVar8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_38 * dVar8)" (( "(") (binary_expression "local_38 * dVar8" (identifier "local_38") (* "*") (identifier "dVar8")) () ")"))))) (; ";")) (expression_statement "*(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);" (assignment_expression "*(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8)" (pointer_expression "*(char *)(param_3 + 0xe)" (* "*") (cast_expression "(char *)(param_3 + 0xe)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xe)" (( "(") (binary_expression "param_3 + 0xe" (identifier "param_3") (+ "+") (number_literal "0xe")) () ")")))) (= "=") (cast_expression "(char)(int)(local_30 * dVar8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (cast_expression "(int)(local_30 * dVar8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(local_30 * dVar8)" (( "(") (binary_expression "local_30 * dVar8" (identifier "local_30") (* "*") (identifier "dVar8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" (else "else") (compound_statement "{\n    *(undefined1 *)(param_3 + 0xf) = 0;\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_3 + 0xf) = 0;" (assignment_expression "*(undefined1 *)(param_3 + 0xf) = 0" (pointer_expression "*(undefined1 *)(param_3 + 0xf)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0xf)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xf)" (( "(") (binary_expression "param_3 + 0xf" (identifier "param_3") (+ "+") (number_literal "0xf")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "(**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);" (call_expression "(**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4)" (parenthesized_expression "(**(code **)(*piVar2 + 0x10))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x10)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x10)" (* "*") (cast_expression "(code **)(*piVar2 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x10)" (( "(") (binary_expression "*piVar2 + 0x10" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4)" (( "(") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (, ",") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)()" (identifier "iVar3") (= "=") (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 "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(param_1)" (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 "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);" (call_expression "(*(code *)PTR_gtk_widget_destroy_00112320)(uVar1)" (parenthesized_expression "(*(code *)PTR_gtk_widget_destroy_00112320)" (( "(") (pointer_expression "*(code *)PTR_gtk_widget_destroy_00112320" (* "*") (cast_expression "(code *)PTR_gtk_widget_destroy_00112320" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_widget_destroy_00112320"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (if_statement "if (local_1c == *(int *)puVar7) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_1c == *(int *)puVar7)" (( "(") (binary_expression "local_1c == *(int *)puVar7" (identifier "local_1c") (== "==") (pointer_expression "*(int *)puVar7" (* "*") (cast_expression "(int *)puVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar7 = PTR___stack_chk_fail_001122c8;" (assignment_expression "puVar7 = PTR___stack_chk_fail_001122c8" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_fail_001122c8")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_001122c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_001122c8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e4f4))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e4f4))()" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0x6e4f4))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e4f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e4f4)" (( "(") (binary_expression "puVar7 + 0x6e4f4" (identifier "puVar7") (+ "+") (number_literal "0x6e4f4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);" (assignment_expression "iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" (parenthesized_expression "(**(code **)(puVar7 + 0x6de60))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6de60)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6de60)" (* "*") (cast_expression "(code **)(puVar7 + 0x6de60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6de60)" (( "(") (binary_expression "puVar7 + 0x6de60" (identifier "puVar7") (+ "+") (number_literal "0x6de60")) () ")"))))) () ")")) (argument_list "(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68)" (( "(") (identifier "uVar4") (, ",") (binary_expression "*(int *)(puVar7 + 0x6d1ec) + 0x6a68" (pointer_expression "*(int *)(puVar7 + 0x6d1ec)" (* "*") (cast_expression "(int *)(puVar7 + 0x6d1ec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x6d1ec)" (( "(") (binary_expression "puVar7 + 0x6d1ec" (identifier "puVar7") (+ "+") (number_literal "0x6d1ec")) () ")")))) (+ "+") (number_literal "0x6a68")) () ")")))) (; ";")) (if_statement "if (iVar3 == -3) {\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }" (if "if") (parenthesized_expression "(iVar3 == -3)" (( "(") (binary_expression "iVar3 == -3" (identifier "iVar3") (== "==") (number_literal "-3")) () ")")) (compound_statement "{\n    uVar4 = (**(code **)(puVar7 + 0x6e208))();\n    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);\n    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);\n    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();\n    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);\n    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);\n    (**(code **)(puVar7 + 0x6e18c))(uVar4);\n  }" ({ "{") (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e208))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e208))()" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0x6e208))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e208))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e208)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e208)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e208)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e208)" (( "(") (binary_expression "puVar7 + 0x6e208" (identifier "puVar7") (+ "+") (number_literal "0x6e208")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e4f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e4f4)" (( "(") (binary_expression "puVar7 + 0x6e4f4" (identifier "puVar7") (+ "+") (number_literal "0x6e4f4")) () ")"))))) () ")")) (argument_list "(uVar1,uVar4)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0x6e158))(uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e158))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e158)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e158)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e158)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e158)" (( "(") (binary_expression "puVar7 + 0x6e158" (identifier "puVar7") (+ "+") (number_literal "0x6e158")) () ")"))))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6dfdc))();" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6dfdc))()" (identifier "uVar6") (= "=") (call_expression "(**(code **)(puVar7 + 0x6dfdc))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6dfdc))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6dfdc)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6dfdc)" (* "*") (cast_expression "(code **)(puVar7 + 0x6dfdc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6dfdc)" (( "(") (binary_expression "puVar7 + 0x6dfdc" (identifier "puVar7") (+ "+") (number_literal "0x6dfdc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);" (assignment_expression "uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6)" (identifier "uVar6") (= "=") (call_expression "(**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e4f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e4f4)" (( "(") (binary_expression "puVar7 + 0x6e4f4" (identifier "puVar7") (+ "+") (number_literal "0x6e4f4")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar5 + 0x10),uVar6)" (( "(") (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);" (call_expression "(**(code **)(puVar7 + 0x6e114))(uVar6,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e114))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e114)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e114)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e114)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e114)" (( "(") (binary_expression "puVar7 + 0x6e114" (identifier "puVar7") (+ "+") (number_literal "0x6e114")) () ")"))))) () ")")) (argument_list "(uVar6,uVar4)" (( "(") (identifier "uVar6") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar7 + 0x6e18c))(uVar4);" (call_expression "(**(code **)(puVar7 + 0x6e18c))(uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e18c))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e18c)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e18c)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e18c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e18c)" (( "(") (binary_expression "puVar7 + 0x6e18c" (identifier "puVar7") (+ "+") (number_literal "0x6e18c")) () ")"))))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = (**(code **)(puVar7 + 0x6e50c))();" (assignment_expression "uVar4 = (**(code **)(puVar7 + 0x6e50c))()" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0x6e50c))()" (parenthesized_expression "(**(code **)(puVar7 + 0x6e50c))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e50c)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e50c)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e50c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e50c)" (( "(") (binary_expression "puVar7 + 0x6e50c" (identifier "puVar7") (+ "+") (number_literal "0x6e50c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);" (assignment_expression "uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e4f4))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e4f4)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e4f4)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e4f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e4f4)" (( "(") (binary_expression "puVar7 + 0x6e4f4" (identifier "puVar7") (+ "+") (number_literal "0x6e4f4")) () ")"))))) () ")")) (argument_list "(uVar1,uVar4)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar7 + 0x6e214))(uVar1);" (call_expression "(**(code **)(puVar7 + 0x6e214))(uVar1)" (parenthesized_expression "(**(code **)(puVar7 + 0x6e214))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x6e214)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x6e214)" (* "*") (cast_expression "(code **)(puVar7 + 0x6e214)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x6e214)" (( "(") (binary_expression "puVar7 + 0x6e214" (identifier "puVar7") (+ "+") (number_literal "0x6e214")) () ")"))))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *dialog,type_2 var_2,type_3 data)

{
  int var_4;
  type_4 uVar2;
  int *piVar3;
  int var_6;
  type_4 uVar5;
  type_4 uVar6;
  type_5 *var_5;
  double var_3;
  type_6 rgba;
  
  var_5 = PTR___stack_chk_guard_00112630;
  var_4 = *(int *)PTR___stack_chk_guard_00112630;
  uVar2 = (*(type_7 *)PTR_g_type_check_instance_cast_00112600)(dialog,0x50);
  piVar3 = (int *)(*(type_7 *)PTR_g_object_get_data_00111f6c)(uVar2,var_1 + 0x6a68);
  if (var_2 == -5) {
    uVar2 = (*(type_7 *)PTR_gtk_color_chooser_get_type_00112694)();
    uVar2 = (*(type_7 *)PTR_g_type_check_instance_cast_00112600)(dialog,uVar2);
    (*(type_7 *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar2,&rgba);
    *(type_8 *)((int)data + 0xf) = 1;
    var_3 = *(double *)(var_1 + 0x7f20);
    *(char *)((int)data + 0xc) = (char)(int)(rgba.red * var_3);
    *(char *)((int)data + 0xd) = (char)(int)(rgba.green * var_3);
    *(char *)((int)data + 0xe) = (char)(int)(rgba.blue * var_3);
  }
  else {
    *(type_8 *)((int)data + 0xf) = 0;
  }
  (**(type_7 **)(*piVar3 + 0x10))(*piVar3,data,*(type_4 *)((int)data + 8),4);
  var_6 = (*(type_7 *)PTR_gtk_widget_get_type_00112618)();
  uVar2 = (*(type_7 *)PTR_g_type_check_instance_cast_00112600)(dialog);
  (*(type_7 *)PTR_gtk_widget_destroy_00112320)(uVar2);
  if (var_4 == *(int *)var_5) {
    return;
  }
  var_5 = PTR___stack_chk_fail_001122c8;
  (*(type_7 *)PTR___stack_chk_fail_001122c8)();
  uVar5 = (**(type_7 **)(var_5 + 0x6e4f4))();
  var_4 = (**(type_7 **)(var_5 + 0x6de60))(uVar5,*(int *)(var_5 + 0x6d1ec) + 0x6a68);
  if (var_6 == -3) {
    uVar5 = (**(type_7 **)(var_5 + 0x6e208))();
    uVar5 = (**(type_7 **)(var_5 + 0x6e4f4))(uVar2,uVar5);
    uVar5 = (**(type_7 **)(var_5 + 0x6e158))(uVar5);
    uVar6 = (**(type_7 **)(var_5 + 0x6dfdc))();
    uVar6 = (**(type_7 **)(var_5 + 0x6e4f4))(*(type_4 *)(var_4 + 0x10),uVar6);
    (**(type_7 **)(var_5 + 0x6e114))(uVar6,uVar5);
    (**(type_7 **)(var_5 + 0x6e18c))(uVar5);
  }
  uVar5 = (**(type_7 **)(var_5 + 0x6e50c))();
  uVar2 = (**(type_7 **)(var_5 + 0x6e4f4))(uVar2,uVar5);
  (**(type_7 **)(var_5 + 0x6e214))(uVar2);
  return;
}


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

void MASKED(undefined4 param_1,int param_2,int param_3)

{
  undefined4 uVar1;
  int *piVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  undefined4 uVar6;
  undefined *puVar7;
  double dVar8;
  double local_40;
  double local_38;
  double local_30;
  int local_1c;
  
  puVar7 = PTR___stack_chk_guard_00112630;
  local_1c = *(int *)PTR___stack_chk_guard_00112630;
  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,0x50);
  piVar2 = (int *)(*(code *)PTR_g_object_get_data_00111f6c)(uVar1,PTR_DAT_001112f8 + 0x6a68);
  if (param_2 == -5) {
    uVar1 = (*(code *)PTR_gtk_color_chooser_get_type_00112694)();
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1,uVar1);
    (*(code *)PTR_gtk_color_chooser_get_rgba_001122e4)(uVar1,&local_40);
    *(undefined1 *)(param_3 + 0xf) = 1;
    dVar8 = *(double *)(PTR_DAT_001112f8 + 0x7f20);
    *(char *)(param_3 + 0xc) = (char)(int)(local_40 * dVar8);
    *(char *)(param_3 + 0xd) = (char)(int)(local_38 * dVar8);
    *(char *)(param_3 + 0xe) = (char)(int)(local_30 * dVar8);
  }
  else {
    *(undefined1 *)(param_3 + 0xf) = 0;
  }
  (**(code **)(*piVar2 + 0x10))(*piVar2,param_3,*(undefined4 *)(param_3 + 8),4);
  iVar3 = (*(code *)PTR_gtk_widget_get_type_00112618)();
  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(param_1);
  (*(code *)PTR_gtk_widget_destroy_00112320)(uVar1);
  if (local_1c == *(int *)puVar7) {
    return;
  }
  puVar7 = PTR___stack_chk_fail_001122c8;
  (*(code *)PTR___stack_chk_fail_001122c8)();
  uVar4 = (**(code **)(puVar7 + 0x6e4f4))();
  iVar5 = (**(code **)(puVar7 + 0x6de60))(uVar4,*(int *)(puVar7 + 0x6d1ec) + 0x6a68);
  if (iVar3 == -3) {
    uVar4 = (**(code **)(puVar7 + 0x6e208))();
    uVar4 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);
    uVar4 = (**(code **)(puVar7 + 0x6e158))(uVar4);
    uVar6 = (**(code **)(puVar7 + 0x6dfdc))();
    uVar6 = (**(code **)(puVar7 + 0x6e4f4))(*(undefined4 *)(iVar5 + 0x10),uVar6);
    (**(code **)(puVar7 + 0x6e114))(uVar6,uVar4);
    (**(code **)(puVar7 + 0x6e18c))(uVar4);
  }
  uVar4 = (**(code **)(puVar7 + 0x6e50c))();
  uVar1 = (**(code **)(puVar7 + 0x6e4f4))(uVar1,uVar4);
                    /* WARNING: Could not recover jumptable at 0x000a41a4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(puVar7 + 0x6e214))(uVar1);
  return;
}

