
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void dlg_error_msg(void *dlg,char *msg)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = gtk_window_get_type();
  uVar1 = g_type_check_instance_cast(*(undefined4 *)((int)dlg + 0x18),uVar1);
  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,msg);
  uVar2 = gtk_dialog_get_type();
  uVar2 = g_type_check_instance_cast(uVar1,uVar2);
  gtk_dialog_run(uVar2);
  gtk_widget_destroy(uVar1);
  post_main();
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0005abf0(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = gtk_window_get_type();
  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);
  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);
  uVar2 = gtk_dialog_get_type();
  uVar2 = g_type_check_instance_cast(uVar1,uVar2);
  gtk_dialog_run(uVar2);
  gtk_widget_destroy(uVar1);
  FUN_00057f20();
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0001b410
ADD EBX,0x6abad
SUB ESP,0x4
CALL 0x0001af80
SUB ESP,0x8
PUSH EAX
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x18]
CALL 0x00019590
POP EDX
LEA EDX,[EBX + 0xfffc5303]
POP ECX
PUSH dword ptr [ESP + 0x1c]
PUSH EDX
PUSH 0x2
PUSH 0x3
PUSH 0x3
PUSH EAX
CALL 0x0001ab90
ADD ESP,0x20
MOV ESI,EAX
CALL 0x0001a3e0
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00019590
MOV dword ptr [ESP],EAX
CALL 0x0001a710
MOV dword ptr [ESP],ESI
CALL 0x0001b070
CALL 0x00057f20
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005abf0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}\n\n" comment (function_definition "void FUN_0005abf0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}" primitive_type (function_declarator "FUN_0005abf0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" identifier = (call_expression "gtk_window_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);" (assignment_expression "uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1)" identifier = (call_expression "g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),uVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);" (assignment_expression "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2)" identifier = (call_expression "gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2)" identifier (argument_list "(uVar1,3,3,2,&DAT_0008aaa7,param_2)" ( identifier , number_literal , number_literal , number_literal , (pointer_expression "&DAT_0008aaa7" & identifier) , identifier )))) ;) (expression_statement "uVar2 = gtk_dialog_get_type();" (assignment_expression "uVar2 = gtk_dialog_get_type()" identifier = (call_expression "gtk_dialog_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = g_type_check_instance_cast(uVar1,uVar2);" (assignment_expression "uVar2 = g_type_check_instance_cast(uVar1,uVar2)" identifier = (call_expression "g_type_check_instance_cast(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier )))) ;) (expression_statement "gtk_dialog_run(uVar2);" (call_expression "gtk_dialog_run(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "gtk_widget_destroy(uVar1);" (call_expression "gtk_widget_destroy(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00057f20();" (call_expression "FUN_00057f20()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid dlg_error_msg(void *dlg,char *msg)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)((int)dlg + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,msg);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  post_main();\n  return;\n}\n\n" comment comment (function_definition "void dlg_error_msg(void *dlg,char *msg)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)((int)dlg + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,msg);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  post_main();\n  return;\n}" primitive_type (function_declarator "dlg_error_msg(void *dlg,char *msg)" identifier (parameter_list "(void *dlg,char *msg)" ( (parameter_declaration "void *dlg" primitive_type (pointer_declarator "*dlg" * identifier)) , (parameter_declaration "char *msg" primitive_type (pointer_declarator "*msg" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)((int)dlg + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,msg);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  post_main();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" identifier = (call_expression "gtk_window_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = g_type_check_instance_cast(*(undefined4 *)((int)dlg + 0x18),uVar1);" (assignment_expression "uVar1 = g_type_check_instance_cast(*(undefined4 *)((int)dlg + 0x18),uVar1)" identifier = (call_expression "g_type_check_instance_cast(*(undefined4 *)((int)dlg + 0x18),uVar1)" identifier (argument_list "(*(undefined4 *)((int)dlg + 0x18),uVar1)" ( (pointer_expression "*(undefined4 *)((int)dlg + 0x18)" * (cast_expression "(undefined4 *)((int)dlg + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)dlg + 0x18)" ( (binary_expression "(int)dlg + 0x18" (cast_expression "(int)dlg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier )))) ;) (expression_statement "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,msg);" (assignment_expression "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,msg)" identifier = (call_expression "gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,msg)" identifier (argument_list "(uVar1,3,3,2,&DAT_0008aaa7,msg)" ( identifier , number_literal , number_literal , number_literal , (pointer_expression "&DAT_0008aaa7" & identifier) , identifier )))) ;) (expression_statement "uVar2 = gtk_dialog_get_type();" (assignment_expression "uVar2 = gtk_dialog_get_type()" identifier = (call_expression "gtk_dialog_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = g_type_check_instance_cast(uVar1,uVar2);" (assignment_expression "uVar2 = g_type_check_instance_cast(uVar1,uVar2)" identifier = (call_expression "g_type_check_instance_cast(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier )))) ;) (expression_statement "gtk_dialog_run(uVar2);" (call_expression "gtk_dialog_run(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "gtk_widget_destroy(uVar1);" (call_expression "gtk_widget_destroy(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "post_main();" (call_expression "post_main()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005abf0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}\n\n" (function_definition "void FUN_0005abf0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}" primitive_type (function_declarator "FUN_0005abf0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" identifier = (call_expression "gtk_window_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);" (assignment_expression "uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1)" identifier = (call_expression "g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),uVar1)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);" (assignment_expression "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2)" identifier = (call_expression "gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2)" identifier (argument_list "(uVar1,3,3,2,&DAT_0008aaa7,param_2)" ( identifier , number_literal , number_literal , number_literal , (pointer_expression "&DAT_0008aaa7" & identifier) , identifier )))) ;) (expression_statement "uVar2 = gtk_dialog_get_type();" (assignment_expression "uVar2 = gtk_dialog_get_type()" identifier = (call_expression "gtk_dialog_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = g_type_check_instance_cast(uVar1,uVar2);" (assignment_expression "uVar2 = g_type_check_instance_cast(uVar1,uVar2)" identifier = (call_expression "g_type_check_instance_cast(uVar1,uVar2)" identifier (argument_list "(uVar1,uVar2)" ( identifier , identifier )))) ;) (expression_statement "gtk_dialog_run(uVar2);" (call_expression "gtk_dialog_run(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "gtk_widget_destroy(uVar1);" (call_expression "gtk_widget_destroy(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00057f20();" (call_expression "FUN_00057f20()" identifier (argument_list "()" ( ))) ;) (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 IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , (pointer_expression & IDENT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005abf0(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005abf0(int param_1,undefined4 param_2)" (identifier "FUN_0005abf0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = gtk_window_get_type();\n  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);\n  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);\n  uVar2 = gtk_dialog_get_type();\n  uVar2 = g_type_check_instance_cast(uVar1,uVar2);\n  gtk_dialog_run(uVar2);\n  gtk_widget_destroy(uVar1);\n  FUN_00057f20();\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar1 = gtk_window_get_type();" (assignment_expression "uVar1 = gtk_window_get_type()" (identifier "uVar1") (= "=") (call_expression "gtk_window_get_type()" (identifier "gtk_window_get_type") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);" (assignment_expression "uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1)" (identifier "uVar1") (= "=") (call_expression "g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1)" (identifier "g_type_check_instance_cast") (argument_list "(*(undefined4 *)(param_1 + 0x18),uVar1)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);" (assignment_expression "uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2)" (identifier "uVar1") (= "=") (call_expression "gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2)" (identifier "gtk_message_dialog_new") (argument_list "(uVar1,3,3,2,&DAT_0008aaa7,param_2)" (( "(") (identifier "uVar1") (, ",") (number_literal "3") (, ",") (number_literal "3") (, ",") (number_literal "2") (, ",") (pointer_expression "&DAT_0008aaa7" (& "&") (identifier "DAT_0008aaa7")) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar2 = gtk_dialog_get_type();" (assignment_expression "uVar2 = gtk_dialog_get_type()" (identifier "uVar2") (= "=") (call_expression "gtk_dialog_get_type()" (identifier "gtk_dialog_get_type") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = g_type_check_instance_cast(uVar1,uVar2);" (assignment_expression "uVar2 = g_type_check_instance_cast(uVar1,uVar2)" (identifier "uVar2") (= "=") (call_expression "g_type_check_instance_cast(uVar1,uVar2)" (identifier "g_type_check_instance_cast") (argument_list "(uVar1,uVar2)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "gtk_dialog_run(uVar2);" (call_expression "gtk_dialog_run(uVar2)" (identifier "gtk_dialog_run") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "gtk_widget_destroy(uVar1);" (call_expression "gtk_widget_destroy(uVar1)" (identifier "gtk_widget_destroy") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "FUN_00057f20();" (call_expression "FUN_00057f20()" (identifier "FUN_00057f20") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(void *dlg,char *msg)

{
  type_1 uVar1;
  type_1 uVar2;
  
  uVar1 = var_1();
  uVar1 = var_2(*(type_1 *)((int)dlg + 0x18),uVar1);
  uVar1 = var_3(uVar1,3,3,2,&DAT_0008aaa7,msg);
  uVar2 = var_4();
  uVar2 = var_2(uVar1,uVar2);
  var_5(uVar2);
  var_6(uVar1);
  var_7();
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = gtk_window_get_type();
  uVar1 = g_type_check_instance_cast(*(undefined4 *)(param_1 + 0x18),uVar1);
  uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_0008aaa7,param_2);
  uVar2 = gtk_dialog_get_type();
  uVar2 = g_type_check_instance_cast(uVar1,uVar2);
  gtk_dialog_run(uVar2);
  gtk_widget_destroy(uVar1);
  FUN_00057f20();
  return;
}

