
void button_clicked(GtkButton *button,gpointer data)

{
  undefined4 uVar1;
  GtkWidget *w;
  uctrl *puVar2;
  
  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();
  w = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1);
  puVar2 = dlg_find_bywidget((dlgparam *)data,w);
  (*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(void **)((int)data + 8),1);
  return;
}



void FUN_000af6b0(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  int *piVar2;
  
  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();
  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);
  piVar2 = (int *)FUN_000af168(param_2,uVar1);
  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);
  return;
}


lui gp,0x8
addiu gp,gp,-0x6400
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s1,a0,zero
or s0,a1,zero
lw t9,-0x6c74(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a1,v0,zero
or a0,s1,zero
lw t9,-0x6c8c(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a1,v0,zero
or a0,s0,zero
lw t9,-0x76e8(gp)
addiu t9,t9,-0xe98
bal 0x000af168
_nop
lw gp,0x10(sp)
lw a0,0x0(v0)
lw t9,0x10(a0)
li a3,0x1
lw a2,0x8(s0)
or a1,s0,zero
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_000af6b0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}\n\n" (function_definition "void FUN_000af6b0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}" primitive_type (function_declarator "FUN_000af6b0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_0012263c" * (cast_expression "(code *)PTR_gtk_widget_get_type_0012263c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00122624" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00122624" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar1)" ( identifier , identifier )))) ;) (expression_statement "piVar2 = (int *)FUN_000af168(param_2,uVar1);" (assignment_expression "piVar2 = (int *)FUN_000af168(param_2,uVar1)" identifier = (cast_expression "(int *)FUN_000af168(param_2,uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000af168(param_2,uVar1)" identifier (argument_list "(param_2,uVar1)" ( identifier , identifier ))))) ;) (expression_statement "(**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);" (call_expression "(**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1)" (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_2,*(undefined4 *)(param_2 + 8),1)" ( (pointer_expression "*piVar2" * identifier) , identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void button_clicked(GtkButton *button,gpointer data)\n\n{\n  undefined4 uVar1;\n  GtkWidget *w;\n  uctrl *puVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  w = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1);\n  puVar2 = dlg_find_bywidget((dlgparam *)data,w);\n  (*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(void **)((int)data + 8),1);\n  return;\n}\n\n" (function_definition "void button_clicked(GtkButton *button,gpointer data)\n\n{\n  undefined4 uVar1;\n  GtkWidget *w;\n  uctrl *puVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  w = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1);\n  puVar2 = dlg_find_bywidget((dlgparam *)data,w);\n  (*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(void **)((int)data + 8),1);\n  return;\n}" primitive_type (function_declarator "button_clicked(GtkButton *button,gpointer data)" identifier (parameter_list "(GtkButton *button,gpointer data)" ( (parameter_declaration "GtkButton *button" type_identifier (pointer_declarator "*button" * identifier)) , (parameter_declaration "gpointer data" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  GtkWidget *w;\n  uctrl *puVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  w = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1);\n  puVar2 = dlg_find_bywidget((dlgparam *)data,w);\n  (*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(void **)((int)data + 8),1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "GtkWidget *w;" type_identifier (pointer_declarator "*w" * identifier) ;) (declaration "uctrl *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_0012263c" * (cast_expression "(code *)PTR_gtk_widget_get_type_0012263c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "w = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1);" (assignment_expression "w = (GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1)" identifier = (cast_expression "(GtkWidget *)(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1)" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)(button,uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00122624" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00122624" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(button,uVar1)" ( identifier , identifier ))))) ;) (expression_statement "puVar2 = dlg_find_bywidget((dlgparam *)data,w);" (assignment_expression "puVar2 = dlg_find_bywidget((dlgparam *)data,w)" identifier = (call_expression "dlg_find_bywidget((dlgparam *)data,w)" identifier (argument_list "((dlgparam *)data,w)" ( (cast_expression "(dlgparam *)data" ( (type_descriptor "dlgparam *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (expression_statement "(*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(void **)((int)data + 8),1);" (call_expression "(*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(void **)((int)data + 8),1)" (parenthesized_expression "(*(puVar2->ctrl->generic).handler)" ( (pointer_expression "*(puVar2->ctrl->generic).handler" * (field_expression "(puVar2->ctrl->generic).handler" (parenthesized_expression "(puVar2->ctrl->generic)" ( (field_expression "puVar2->ctrl->generic" (field_expression "puVar2->ctrl" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) )) (argument_list "(puVar2->ctrl,data,*(void **)((int)data + 8),1)" ( (field_expression "puVar2->ctrl" identifier -> field_identifier) , identifier , (pointer_expression "*(void **)((int)data + 8)" * (cast_expression "(void **)((int)data + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (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 ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000af6b0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}\n\n" (function_definition "void FUN_000af6b0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}" primitive_type (function_declarator "FUN_000af6b0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)()" identifier = (call_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)" ( (pointer_expression "*(code *)PTR_gtk_widget_get_type_0012263c" * (cast_expression "(code *)PTR_gtk_widget_get_type_0012263c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1)" identifier = (call_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)" ( (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00122624" * (cast_expression "(code *)PTR_g_type_check_instance_cast_00122624" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,uVar1)" ( identifier , identifier )))) ;) (expression_statement "piVar2 = (int *)FUN_000af168(param_2,uVar1);" (assignment_expression "piVar2 = (int *)FUN_000af168(param_2,uVar1)" identifier = (cast_expression "(int *)FUN_000af168(param_2,uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000af168(param_2,uVar1)" identifier (argument_list "(param_2,uVar1)" ( identifier , identifier ))))) ;) (expression_statement "(**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);" (call_expression "(**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1)" (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_2,*(undefined4 *)(param_2 + 8),1)" ( (pointer_expression "*piVar2" * identifier) , identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (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 ( )))) ;) (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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (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 (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 ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000af6b0(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000af6b0(undefined4 param_1,int param_2)" (identifier "FUN_000af6b0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();\n  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);\n  piVar2 = (int *)FUN_000af168(param_2,uVar1);\n  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();" (assignment_expression "uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)()" (parenthesized_expression "(*(code *)PTR_gtk_widget_get_type_0012263c)" (( "(") (pointer_expression "*(code *)PTR_gtk_widget_get_type_0012263c" (* "*") (cast_expression "(code *)PTR_gtk_widget_get_type_0012263c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gtk_widget_get_type_0012263c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);" (assignment_expression "uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1)" (parenthesized_expression "(*(code *)PTR_g_type_check_instance_cast_00122624)" (( "(") (pointer_expression "*(code *)PTR_g_type_check_instance_cast_00122624" (* "*") (cast_expression "(code *)PTR_g_type_check_instance_cast_00122624" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_g_type_check_instance_cast_00122624"))) () ")")) (argument_list "(param_1,uVar1)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "piVar2 = (int *)FUN_000af168(param_2,uVar1);" (assignment_expression "piVar2 = (int *)FUN_000af168(param_2,uVar1)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_000af168(param_2,uVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000af168(param_2,uVar1)" (identifier "FUN_000af168") (argument_list "(param_2,uVar1)" (( "(") (identifier "param_2") (, ",") (identifier "uVar1") () ")"))))) (; ";")) (expression_statement "(**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);" (call_expression "(**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1)" (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_2,*(undefined4 *)(param_2 + 8),1)" (( "(") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (, ",") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *button,type_2 data)

{
  type_3 uVar1;
  type_4 *w;
  type_5 *puVar2;
  
  uVar1 = (*(type_6 *)PTR_gtk_widget_get_type_0012263c)();
  w = (type_4 *)(*(type_6 *)PTR_g_type_check_instance_cast_00122624)(button,uVar1);
  puVar2 = var_1((type_7 *)data,w);
  (*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(void **)((int)data + 8),1);
  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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (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)))) (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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) 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: (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)))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  int *piVar2;
  
  uVar1 = (*(code *)PTR_gtk_widget_get_type_0012263c)();
  uVar1 = (*(code *)PTR_g_type_check_instance_cast_00122624)(param_1,uVar1);
  piVar2 = (int *)FUN_000af168(param_2,uVar1);
  (**(code **)(*piVar2 + 0x10))(*piVar2,param_2,*(undefined4 *)(param_2 + 8),1);
  return;
}

