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

gint configure_area(GtkWidget *widget,GdkEventConfigure *event,gpointer data)

{
  undefined *puVar1;
  gint gVar2;
  
  puVar1 = PTR_gtk_widget_queue_draw_00079980;
  gVar2 = event->width;
  *(gint *)((int)data + 8) = event->height;
  *(gint *)((int)data + 4) = gVar2;
  (*(code *)puVar1)();
  return 1;
}



undefined4 FUN_0004e3d8(undefined4 param_1,int param_2,int param_3)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR_gtk_widget_queue_draw_00079980;
  uVar2 = *(undefined4 *)(param_2 + 0x14);
  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);
  *(undefined4 *)(param_3 + 4) = uVar2;
  (*(code *)puVar1)();
  return 1;
}


lui gp,0x3
addiu gp,gp,0x2c98
addu gp,gp,t9
addiu sp,sp,-0x20
lw v0,0x18(a1)
lw v1,0x14(a1)
lw t9,-0x76f0(gp)
sw ra,0x1c(sp)
sw gp,0x10(sp)
sw v0,0x8(a2)
jalr t9
_sw v1,0x4(a2)
li v0,0x1
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_0004e3d8(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0004e3d8(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" type_identifier (function_declarator "FUN_0004e3d8(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  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_gtk_widget_queue_draw_00079980;" (assignment_expression "puVar1 = PTR_gtk_widget_queue_draw_00079980" identifier = identifier) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "*(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18)" (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) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_3 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 4) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ngint configure_area(GtkWidget *widget,GdkEventConfigure *event,gpointer data)\n\n{\n  undefined *puVar1;\n  gint gVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  gVar2 = event->width;\n  *(gint *)((int)data + 8) = event->height;\n  *(gint *)((int)data + 4) = gVar2;\n  (*(code *)puVar1)();\n  return 1;\n}\n\n" comment (function_definition "gint configure_area(GtkWidget *widget,GdkEventConfigure *event,gpointer data)\n\n{\n  undefined *puVar1;\n  gint gVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  gVar2 = event->width;\n  *(gint *)((int)data + 8) = event->height;\n  *(gint *)((int)data + 4) = gVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" type_identifier (function_declarator "configure_area(GtkWidget *widget,GdkEventConfigure *event,gpointer data)" identifier (parameter_list "(GtkWidget *widget,GdkEventConfigure *event,gpointer data)" ( (parameter_declaration "GtkWidget *widget" type_identifier (pointer_declarator "*widget" * identifier)) , (parameter_declaration "GdkEventConfigure *event" type_identifier (pointer_declarator "*event" * identifier)) , (parameter_declaration "gpointer data" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  gint gVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  gVar2 = event->width;\n  *(gint *)((int)data + 8) = event->height;\n  *(gint *)((int)data + 4) = gVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "gint gVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_gtk_widget_queue_draw_00079980;" (assignment_expression "puVar1 = PTR_gtk_widget_queue_draw_00079980" identifier = identifier) ;) (expression_statement "gVar2 = event->width;" (assignment_expression "gVar2 = event->width" identifier = (field_expression "event->width" identifier -> field_identifier)) ;) (expression_statement "*(gint *)((int)data + 8) = event->height;" (assignment_expression "*(gint *)((int)data + 8) = event->height" (pointer_expression "*(gint *)((int)data + 8)" * (cast_expression "(gint *)((int)data + 8)" ( (type_descriptor "gint *" 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) )))) = (field_expression "event->height" identifier -> field_identifier)) ;) (expression_statement "*(gint *)((int)data + 4) = gVar2;" (assignment_expression "*(gint *)((int)data + 4) = gVar2" (pointer_expression "*(gint *)((int)data + 4)" * (cast_expression "(gint *)((int)data + 4)" ( (type_descriptor "gint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)data + 4)" ( (binary_expression "(int)data + 4" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0004e3d8(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0004e3d8(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" type_identifier (function_declarator "FUN_0004e3d8(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  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_gtk_widget_queue_draw_00079980;" (assignment_expression "puVar1 = PTR_gtk_widget_queue_draw_00079980" identifier = identifier) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "*(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18)" (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) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_3 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 4) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })))
(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 (pointer_declarator * 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 *)) ) (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) )))) = (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) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0004e3d8(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004e3d8(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_0004e3d8") (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  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_gtk_widget_queue_draw_00079980;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);\n  *(undefined4 *)(param_3 + 4) = uVar2;\n  (*(code *)puVar1)();\n  return 1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = PTR_gtk_widget_queue_draw_00079980;" (assignment_expression "puVar1 = PTR_gtk_widget_queue_draw_00079980" (identifier "puVar1") (= "=") (identifier "PTR_gtk_widget_queue_draw_00079980")) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x14)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "*(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18)" (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")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(param_3 + 4) = uVar2" (pointer_expression "*(undefined4 *)(param_3 + 4)" (* "*") (cast_expression "(undefined4 *)(param_3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (type_identifier) 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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (return_statement (number_literal)))))

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

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR_gtk_widget_queue_draw_00079980;
  uVar2 = *(undefined4 *)(param_2 + 0x14);
  *(undefined4 *)(param_3 + 8) = *(undefined4 *)(param_2 + 0x18);
  *(undefined4 *)(param_3 + 4) = uVar2;
  (*(code *)puVar1)();
  return 1;
}

