
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int reallyclose(void *frontend)

{
  char *title;
  int iVar1;
  undefined4 uVar2;
  void *pvVar3;
  GtkWidget *parentwin;
  
  title = dupcat(appname," Exit Confirmation",0);
  iVar1 = string_width("Most of the width of the above text");
  uVar2 = gtk_widget_get_type();
  pvVar3 = get_window();
  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);
  iVar1 = messagebox(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,
                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0);
  safefree(title);
  return iVar1;
}



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

undefined4 FUN_00047ef0(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);
  uVar2 = FUN_000501c0("Most of the width of the above text");
  uVar3 = gtk_widget_get_type();
  uVar4 = FUN_00051c10(param_1);
  uVar3 = g_type_check_instance_cast(uVar4,uVar3);
  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,
                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);
  FUN_0002c6a0(uVar1);
  return uVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001a360
ADD EBX,0x598eb
SUB ESP,0x10
PUSH 0x0
LEA EAX,[EBX + 0xfffd6241]
PUSH EAX
LEA EAX,[EBX + 0xfffff608]
PUSH dword ptr [EAX]
CALL 0x0002bf70
MOV ESI,EAX
LEA EAX,[EBX + 0xfffd6a30]
MOV dword ptr [ESP],EAX
CALL 0x000501c0
MOV EDI,EAX
CALL 0x00018530
MOV EBP,EAX
POP EAX
PUSH dword ptr [ESP + 0x2c]
CALL 0x00051c10
POP EDX
POP ECX
PUSH EBP
PUSH EAX
CALL 0x00018580
POP EBP
POP EDX
LEA EDX,[EBX + 0xfffceb1d]
PUSH 0x0
PUSH 0x0
PUSH -0x1
PUSH 0x6e
PUSH EDX
LEA EDX,[EBX + 0xfffceb19]
PUSH 0x1
PUSH 0x1
PUSH 0x79
PUSH EDX
LEA EDX,[EBX + 0xfffd6a54]
PUSH 0x0
PUSH EDI
PUSH EDX
PUSH ESI
PUSH EAX
CALL 0x00047910
ADD ESP,0x34
PUSH ESI
MOV EDI,EAX
CALL 0x0002c6a0
ADD ESP,0x1c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00047ef0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 FUN_00047ef0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00047ef0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);" (assignment_expression "uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0)" identifier = (call_expression "FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0)" identifier (argument_list "(PTR_s_pterm_000a0dec," Exit Confirmation",0)" ( identifier , (string_literal "" Exit Confirmation"" " string_content ") , number_literal )))) ;) (expression_statement "uVar2 = FUN_000501c0("Most of the width of the above text");" (assignment_expression "uVar2 = FUN_000501c0("Most of the width of the above text")" identifier = (call_expression "FUN_000501c0("Most of the width of the above text")" identifier (argument_list "("Most of the width of the above text")" ( (string_literal ""Most of the width of the above text"" " string_content ") )))) ;) (expression_statement "uVar3 = gtk_widget_get_type();" (assignment_expression "uVar3 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = FUN_00051c10(param_1);" (assignment_expression "uVar4 = FUN_00051c10(param_1)" identifier = (call_expression "FUN_00051c10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = g_type_check_instance_cast(uVar4,uVar3);" (assignment_expression "uVar3 = g_type_check_instance_cast(uVar4,uVar3)" identifier = (call_expression "g_type_check_instance_cast(uVar4,uVar3)" identifier (argument_list "(uVar4,uVar3)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);" (assignment_expression "uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" identifier = (call_expression "FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" identifier (argument_list "(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" ( identifier , identifier , (string_literal ""Are you sure you want to close this session?"" " string_content ") , identifier , number_literal , (pointer_expression "&DAT_000702fd" & identifier) , number_literal , number_literal , number_literal , (pointer_expression "&DAT_00070301" & identifier) , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_0002c6a0(uVar1);" (call_expression "FUN_0002c6a0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint reallyclose(void *frontend)\n\n{\n  char *title;\n  int iVar1;\n  undefined4 uVar2;\n  void *pvVar3;\n  GtkWidget *parentwin;\n  \n  title = dupcat(appname," Exit Confirmation",0);\n  iVar1 = string_width("Most of the width of the above text");\n  uVar2 = gtk_widget_get_type();\n  pvVar3 = get_window();\n  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);\n  iVar1 = messagebox(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,\n                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0);\n  safefree(title);\n  return iVar1;\n}\n\n" comment comment comment (function_definition "int reallyclose(void *frontend)\n\n{\n  char *title;\n  int iVar1;\n  undefined4 uVar2;\n  void *pvVar3;\n  GtkWidget *parentwin;\n  \n  title = dupcat(appname," Exit Confirmation",0);\n  iVar1 = string_width("Most of the width of the above text");\n  uVar2 = gtk_widget_get_type();\n  pvVar3 = get_window();\n  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);\n  iVar1 = messagebox(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,\n                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0);\n  safefree(title);\n  return iVar1;\n}" primitive_type (function_declarator "reallyclose(void *frontend)" identifier (parameter_list "(void *frontend)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) ))) (compound_statement "{\n  char *title;\n  int iVar1;\n  undefined4 uVar2;\n  void *pvVar3;\n  GtkWidget *parentwin;\n  \n  title = dupcat(appname," Exit Confirmation",0);\n  iVar1 = string_width("Most of the width of the above text");\n  uVar2 = gtk_widget_get_type();\n  pvVar3 = get_window();\n  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);\n  iVar1 = messagebox(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,\n                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0);\n  safefree(title);\n  return iVar1;\n}" { (declaration "char *title;" primitive_type (pointer_declarator "*title" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "GtkWidget *parentwin;" type_identifier (pointer_declarator "*parentwin" * identifier) ;) (expression_statement "title = dupcat(appname," Exit Confirmation",0);" (assignment_expression "title = dupcat(appname," Exit Confirmation",0)" identifier = (call_expression "dupcat(appname," Exit Confirmation",0)" identifier (argument_list "(appname," Exit Confirmation",0)" ( identifier , (string_literal "" Exit Confirmation"" " string_content ") , number_literal )))) ;) (expression_statement "iVar1 = string_width("Most of the width of the above text");" (assignment_expression "iVar1 = string_width("Most of the width of the above text")" identifier = (call_expression "string_width("Most of the width of the above text")" identifier (argument_list "("Most of the width of the above text")" ( (string_literal ""Most of the width of the above text"" " string_content ") )))) ;) (expression_statement "uVar2 = gtk_widget_get_type();" (assignment_expression "uVar2 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "pvVar3 = get_window();" (assignment_expression "pvVar3 = get_window()" identifier = (call_expression "get_window()" identifier (argument_list "()" ( )))) ;) (expression_statement "parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);" (assignment_expression "parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2)" identifier = (cast_expression "(GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2)" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "g_type_check_instance_cast(pvVar3,uVar2)" identifier (argument_list "(pvVar3,uVar2)" ( identifier , identifier ))))) ;) (expression_statement "iVar1 = messagebox(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,\n                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0);" (assignment_expression "iVar1 = messagebox(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,\n                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0)" identifier = (call_expression "messagebox(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,\n                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0)" identifier (argument_list "(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,\n                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0)" ( identifier , identifier , (string_literal ""Are you sure you want to close this session?"" " string_content ") , identifier , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "safefree(title);" (call_expression "safefree(title)" identifier (argument_list "(title)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00047ef0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_00047ef0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00047ef0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);" (assignment_expression "uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0)" identifier = (call_expression "FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0)" identifier (argument_list "(PTR_s_pterm_000a0dec," Exit Confirmation",0)" ( identifier , (string_literal "" Exit Confirmation"" " string_content ") , number_literal )))) ;) (expression_statement "uVar2 = FUN_000501c0("Most of the width of the above text");" (assignment_expression "uVar2 = FUN_000501c0("Most of the width of the above text")" identifier = (call_expression "FUN_000501c0("Most of the width of the above text")" identifier (argument_list "("Most of the width of the above text")" ( (string_literal ""Most of the width of the above text"" " string_content ") )))) ;) (expression_statement "uVar3 = gtk_widget_get_type();" (assignment_expression "uVar3 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = FUN_00051c10(param_1);" (assignment_expression "uVar4 = FUN_00051c10(param_1)" identifier = (call_expression "FUN_00051c10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = g_type_check_instance_cast(uVar4,uVar3);" (assignment_expression "uVar3 = g_type_check_instance_cast(uVar4,uVar3)" identifier = (call_expression "g_type_check_instance_cast(uVar4,uVar3)" identifier (argument_list "(uVar4,uVar3)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);" (assignment_expression "uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" identifier = (call_expression "FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" identifier (argument_list "(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" ( identifier , identifier , (string_literal ""Are you sure you want to close this session?"" " string_content ") , identifier , number_literal , (pointer_expression "&DAT_000702fd" & identifier) , number_literal , number_literal , number_literal , (pointer_expression "&DAT_00070301" & identifier) , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_0002c6a0(uVar1);" (call_expression "FUN_0002c6a0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (string_literal " string_content ") , IDENT , LIT , (pointer_expression & IDENT) , LIT , LIT , LIT , (pointer_expression & IDENT) , LIT , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00047ef0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_00047ef0(undefined4 param_1)" (identifier "FUN_00047ef0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  \n  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);\n  uVar2 = FUN_000501c0("Most of the width of the above text");\n  uVar3 = gtk_widget_get_type();\n  uVar4 = FUN_00051c10(param_1);\n  uVar3 = g_type_check_instance_cast(uVar4,uVar3);\n  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);\n  FUN_0002c6a0(uVar1);\n  return uVar2;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);" (assignment_expression "uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0)" (identifier "uVar1") (= "=") (call_expression "FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0)" (identifier "FUN_0002bf70") (argument_list "(PTR_s_pterm_000a0dec," Exit Confirmation",0)" (( "(") (identifier "PTR_s_pterm_000a0dec") (, ",") (string_literal "" Exit Confirmation"" (" """) (string_content " Exit Confirmation") (" """)) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_000501c0("Most of the width of the above text");" (assignment_expression "uVar2 = FUN_000501c0("Most of the width of the above text")" (identifier "uVar2") (= "=") (call_expression "FUN_000501c0("Most of the width of the above text")" (identifier "FUN_000501c0") (argument_list "("Most of the width of the above text")" (( "(") (string_literal ""Most of the width of the above text"" (" """) (string_content "Most of the width of the above text") (" """)) () ")")))) (; ";")) (expression_statement "uVar3 = gtk_widget_get_type();" (assignment_expression "uVar3 = gtk_widget_get_type()" (identifier "uVar3") (= "=") (call_expression "gtk_widget_get_type()" (identifier "gtk_widget_get_type") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar4 = FUN_00051c10(param_1);" (assignment_expression "uVar4 = FUN_00051c10(param_1)" (identifier "uVar4") (= "=") (call_expression "FUN_00051c10(param_1)" (identifier "FUN_00051c10") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar3 = g_type_check_instance_cast(uVar4,uVar3);" (assignment_expression "uVar3 = g_type_check_instance_cast(uVar4,uVar3)" (identifier "uVar3") (= "=") (call_expression "g_type_check_instance_cast(uVar4,uVar3)" (identifier "g_type_check_instance_cast") (argument_list "(uVar4,uVar3)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar3") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);" (assignment_expression "uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" (identifier "uVar2") (= "=") (call_expression "FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" (identifier "FUN_00047910") (argument_list "(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,\n                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (string_literal ""Are you sure you want to close this session?"" (" """) (string_content "Are you sure you want to close this session?") (" """)) (, ",") (identifier "uVar2") (, ",") (number_literal "0") (, ",") (pointer_expression "&DAT_000702fd" (& "&") (identifier "DAT_000702fd")) (, ",") (number_literal "0x79") (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (pointer_expression "&DAT_00070301" (& "&") (identifier "DAT_00070301")) (, ",") (number_literal "0x6e") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_0002c6a0(uVar1);" (call_expression "FUN_0002c6a0(uVar1)" (identifier "FUN_0002c6a0") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int function_1(void *frontend)

{
  char *title;
  int iVar1;
  type_1 uVar2;
  void *pvVar3;
  type_2 *parentwin;
  
  title = var_1(appname," Exit Confirmation",0);
  iVar1 = var_2("Most of the width of the above text");
  uVar2 = var_3();
  pvVar3 = var_4();
  parentwin = (type_2 *)var_5(pvVar3,uVar2);
  iVar1 = var_6(parentwin,title,"Are you sure you want to close this session?",iVar1,0,0x702fd,
                     0x79,1,1,0x70301,0x6e,0xffffffff,0,0);
  var_7(title);
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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 (identifier) (string_literal (string_content)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (string_literal (string_content)) (identifier) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (number_literal) (number_literal) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

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

undefined4 MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  
  uVar1 = FUN_0002bf70(PTR_s_pterm_000a0dec," Exit Confirmation",0);
  uVar2 = FUN_000501c0("Most of the width of the above text");
  uVar3 = gtk_widget_get_type();
  uVar4 = FUN_00051c10(param_1);
  uVar3 = g_type_check_instance_cast(uVar4,uVar3);
  uVar2 = FUN_00047910(uVar3,uVar1,"Are you sure you want to close this session?",uVar2,0,
                       &DAT_000702fd,0x79,1,1,&DAT_00070301,0x6e,0xffffffff,0,0);
  FUN_0002c6a0(uVar1);
  return uVar2;
}

