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

void set_window_background(gui_data *inst)

{
  undefined4 uVar1;
  GtkWidget *pGVar2;
  
  pGVar2 = inst->area;
  if (pGVar2 != (GtkWidget *)0x0) {
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);
    set_gtk_widget_background(pGVar2,inst->cols + 0x102);
  }
  pGVar2 = inst->window;
  if (pGVar2 != (GtkWidget *)0x0) {
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);
    set_gtk_widget_background(pGVar2,inst->cols + 0x102);
    return;
  }
  return;
}



void set_window_background(int *param_1)

{
  undefined4 uVar1;
  int iVar2;
  
  iVar2 = param_1[1];
  if (iVar2 != 0) {
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);
    set_gtk_widget_background(uVar1,param_1 + 0x322);
  }
  iVar2 = *param_1;
  if (iVar2 != 0) {
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);
    set_gtk_widget_background(uVar1,param_1 + 0x322);
    return;
  }
  return;
}


lui gp,0x6
addiu gp,gp,0x4b4
addu gp,gp,t9
addiu sp,sp,-0x28
sw s1,0x20(sp)
sw gp,0x10(sp)
sw s0,0x1c(sp)
sw ra,0x24(sp)
lw s1,0x4(a0)
beq s1,zero,0x000b8e60
_or s0,a0,zero
lw t9,-0x6c98(gp)
jalr t9
_nop
or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x6cb0(gp)
jalr t9
_or a1,v0,zero
addiu a1,s0,0xc88
lw gp,0x10(sp)
lw t9,-0x7574(gp)
bal 0x000b8cf0
_or a0,v0,zero
lw gp,0x10(sp)
lw s1,0x0(s0)
beq s1,zero,0x000b8eac
_lw t9,-0x6c98(gp)
jalr t9
_nop
or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x6cb0(gp)
jalr t9
_or a1,v0,zero
addiu a1,s0,0xc88
lw gp,0x10(sp)
or a0,v0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7574(gp)
b 0x000b8cf0
_addiu sp,sp,0x28
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void set_window_background(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void set_window_background(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_window_background(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,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 "(iVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "set_gtk_widget_background(uVar1,param_1 + 0x322);" (call_expression "set_gtk_widget_background(uVar1,param_1 + 0x322)" identifier (argument_list "(uVar1,param_1 + 0x322)" ( identifier , (binary_expression "param_1 + 0x322" identifier + number_literal) ))) ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,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 "(iVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "set_gtk_widget_background(uVar1,param_1 + 0x322);" (call_expression "set_gtk_widget_background(uVar1,param_1 + 0x322)" identifier (argument_list "(uVar1,param_1 + 0x322)" ( identifier , (binary_expression "param_1 + 0x322" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_window_background(gui_data *inst)\n\n{\n  undefined4 uVar1;\n  GtkWidget *pGVar2;\n  \n  pGVar2 = inst->area;\n  if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n  }\n  pGVar2 = inst->window;\n  if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void set_window_background(gui_data *inst)\n\n{\n  undefined4 uVar1;\n  GtkWidget *pGVar2;\n  \n  pGVar2 = inst->area;\n  if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n  }\n  pGVar2 = inst->window;\n  if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_window_background(gui_data *inst)" identifier (parameter_list "(gui_data *inst)" ( (parameter_declaration "gui_data *inst" type_identifier (pointer_declarator "*inst" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  GtkWidget *pGVar2;\n  \n  pGVar2 = inst->area;\n  if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n  }\n  pGVar2 = inst->window;\n  if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "GtkWidget *pGVar2;" type_identifier (pointer_declarator "*pGVar2" * identifier) ;) (expression_statement "pGVar2 = inst->area;" (assignment_expression "pGVar2 = inst->area" identifier = (field_expression "inst->area" identifier -> field_identifier)) ;) (if_statement "if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n  }" if (parenthesized_expression "(pGVar2 != (GtkWidget *)0x0)" ( (binary_expression "pGVar2 != (GtkWidget *)0x0" identifier != (cast_expression "(GtkWidget *)0x0" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);" (assignment_expression "pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1)" identifier = (cast_expression "(GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1)" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,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 "(pGVar2,uVar1)" ( identifier , identifier ))))) ;) (expression_statement "set_gtk_widget_background(pGVar2,inst->cols + 0x102);" (call_expression "set_gtk_widget_background(pGVar2,inst->cols + 0x102)" identifier (argument_list "(pGVar2,inst->cols + 0x102)" ( identifier , (binary_expression "inst->cols + 0x102" (field_expression "inst->cols" identifier -> field_identifier) + number_literal) ))) ;) })) (expression_statement "pGVar2 = inst->window;" (assignment_expression "pGVar2 = inst->window" identifier = (field_expression "inst->window" identifier -> field_identifier)) ;) (if_statement "if (pGVar2 != (GtkWidget *)0x0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n    return;\n  }" if (parenthesized_expression "(pGVar2 != (GtkWidget *)0x0)" ( (binary_expression "pGVar2 != (GtkWidget *)0x0" identifier != (cast_expression "(GtkWidget *)0x0" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);\n    set_gtk_widget_background(pGVar2,inst->cols + 0x102);\n    return;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1);" (assignment_expression "pGVar2 = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1)" identifier = (cast_expression "(GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,uVar1)" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(pGVar2,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 "(pGVar2,uVar1)" ( identifier , identifier ))))) ;) (expression_statement "set_gtk_widget_background(pGVar2,inst->cols + 0x102);" (call_expression "set_gtk_widget_background(pGVar2,inst->cols + 0x102)" identifier (argument_list "(pGVar2,inst->cols + 0x102)" ( identifier , (binary_expression "inst->cols + 0x102" (field_expression "inst->cols" identifier -> field_identifier) + number_literal) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void set_window_background(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void set_window_background(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "set_window_background(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,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 "(iVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "set_gtk_widget_background(uVar1,param_1 + 0x322);" (call_expression "set_gtk_widget_background(uVar1,param_1 + 0x322)" identifier (argument_list "(uVar1,param_1 + 0x322)" ( identifier , (binary_expression "param_1 + 0x322" identifier + number_literal) ))) ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" * (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,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 "(iVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "set_gtk_widget_background(uVar1,param_1 + 0x322);" (call_expression "set_gtk_widget_background(uVar1,param_1 + 0x322)" identifier (argument_list "(uVar1,param_1 + 0x322)" ( identifier , (binary_expression "param_1 + 0x322" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void set_window_background(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "set_window_background(int *param_1)" (identifier "set_window_background") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  iVar2 = param_1[1];\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }\n  iVar2 = *param_1;\n  if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" (( "(") (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" (* "*") (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_widget_get_type_00112618"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,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 "(iVar2,uVar1)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "set_gtk_widget_background(uVar1,param_1 + 0x322);" (call_expression "set_gtk_widget_background(uVar1,param_1 + 0x322)" (identifier "set_gtk_widget_background") (argument_list "(uVar1,param_1 + 0x322)" (( "(") (identifier "uVar1") (, ",") (binary_expression "param_1 + 0x322" (identifier "param_1") (+ "+") (number_literal "0x322")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar2 != 0) {\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();\n    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);\n    set_gtk_widget_background(uVar1,param_1 + 0x322);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_gtk_widget_get_type_00112618)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_00112618)" (( "(") (pointer_expression "*(code *)PTR_gtk_widget_get_type_00112618" (* "*") (cast_expression "(code *)PTR_gtk_widget_get_type_00112618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_widget_get_type_00112618"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,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 "(iVar2,uVar1)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "set_gtk_widget_background(uVar1,param_1 + 0x322);" (call_expression "set_gtk_widget_background(uVar1,param_1 + 0x322)" (identifier "set_gtk_widget_background") (argument_list "(uVar1,param_1 + 0x322)" (( "(") (identifier "uVar1") (, ",") (binary_expression "param_1 + 0x322" (identifier "param_1") (+ "+") (number_literal "0x322")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *inst)

{
  type_2 uVar1;
  type_3 *var_1;
  
  var_1 = inst->area;
  if (var_1 != (type_3 *)0x0) {
    uVar1 = (*(type_4 *)PTR_gtk_widget_get_type_00112618)();
    var_1 = (type_3 *)(*(type_4 *)PTR_g_type_check_instance_cast_00112600)(var_1,uVar1);
    var_2(var_1,inst->cols + 0x102);
  }
  var_1 = inst->window;
  if (var_1 != (type_3 *)0x0) {
    uVar1 = (*(type_4 *)PTR_gtk_widget_get_type_00112618)();
    var_1 = (type_3 *)(*(type_4 *)PTR_g_type_check_instance_cast_00112600)(var_1,uVar1);
    var_2(var_1,inst->cols + 0x102);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (return_statement))))

void MASKED(int *param_1)

{
  undefined4 uVar1;
  int iVar2;
  
  iVar2 = param_1[1];
  if (iVar2 != 0) {
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);
    set_gtk_widget_background(uVar1,param_1 + 0x322);
  }
  iVar2 = *param_1;
  if (iVar2 != 0) {
    uVar1 = (*(code *)PTR_gtk_widget_get_type_00112618)();
    uVar1 = (*(code *)PTR_g_type_check_instance_cast_00112600)(iVar2,uVar1);
    set_gtk_widget_background(uVar1,param_1 + 0x322);
    return;
  }
  return;
}

