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

void saved_session_freedata(GtkMenuItem *item,gpointer data)

{
  undefined4 uVar1;
  void *ptr;
  
  uVar1 = g_type_check_instance_cast(item,0x50);
  ptr = (void *)g_object_get_data(uVar1,"user-data");
  safefree(ptr);
  return;
}



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

void FUN_00050c00(undefined4 param_1)

{
  undefined4 uVar1;
  
  uVar1 = g_type_check_instance_cast(param_1,0x50);
  uVar1 = g_object_get_data(uVar1,"user-data");
  FUN_0002c6a0(uVar1);
  return;
}


PUSH EBX
CALL 0x0001a360
ADD EBX,0x50bde
SUB ESP,0x10
PUSH 0x50
PUSH dword ptr [ESP + 0x1c]
CALL 0x00018580
POP EDX
LEA EDX,[EBX + 0xfffd6063]
POP ECX
PUSH EDX
PUSH EAX
CALL 0x00019e20
MOV dword ptr [ESP],EAX
CALL 0x0002c6a0
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00050c00(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}\n\n" comment (function_definition "void FUN_00050c00(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00050c00(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = g_type_check_instance_cast(param_1,0x50);" (assignment_expression "uVar1 = g_type_check_instance_cast(param_1,0x50)" identifier = (call_expression "g_type_check_instance_cast(param_1,0x50)" identifier (argument_list "(param_1,0x50)" ( identifier , number_literal )))) ;) (expression_statement "uVar1 = g_object_get_data(uVar1,"user-data");" (assignment_expression "uVar1 = g_object_get_data(uVar1,"user-data")" identifier = (call_expression "g_object_get_data(uVar1,"user-data")" identifier (argument_list "(uVar1,"user-data")" ( identifier , (string_literal ""user-data"" " string_content ") )))) ;) (expression_statement "FUN_0002c6a0(uVar1);" (call_expression "FUN_0002c6a0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (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 saved_session_freedata(GtkMenuItem *item,gpointer data)\n\n{\n  undefined4 uVar1;\n  void *ptr;\n  \n  uVar1 = g_type_check_instance_cast(item,0x50);\n  ptr = (void *)g_object_get_data(uVar1,"user-data");\n  safefree(ptr);\n  return;\n}\n\n" comment comment (function_definition "void saved_session_freedata(GtkMenuItem *item,gpointer data)\n\n{\n  undefined4 uVar1;\n  void *ptr;\n  \n  uVar1 = g_type_check_instance_cast(item,0x50);\n  ptr = (void *)g_object_get_data(uVar1,"user-data");\n  safefree(ptr);\n  return;\n}" primitive_type (function_declarator "saved_session_freedata(GtkMenuItem *item,gpointer data)" identifier (parameter_list "(GtkMenuItem *item,gpointer data)" ( (parameter_declaration "GtkMenuItem *item" type_identifier (pointer_declarator "*item" * identifier)) , (parameter_declaration "gpointer data" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  void *ptr;\n  \n  uVar1 = g_type_check_instance_cast(item,0x50);\n  ptr = (void *)g_object_get_data(uVar1,"user-data");\n  safefree(ptr);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "void *ptr;" primitive_type (pointer_declarator "*ptr" * identifier) ;) (expression_statement "uVar1 = g_type_check_instance_cast(item,0x50);" (assignment_expression "uVar1 = g_type_check_instance_cast(item,0x50)" identifier = (call_expression "g_type_check_instance_cast(item,0x50)" identifier (argument_list "(item,0x50)" ( identifier , number_literal )))) ;) (expression_statement "ptr = (void *)g_object_get_data(uVar1,"user-data");" (assignment_expression "ptr = (void *)g_object_get_data(uVar1,"user-data")" identifier = (cast_expression "(void *)g_object_get_data(uVar1,"user-data")" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "g_object_get_data(uVar1,"user-data")" identifier (argument_list "(uVar1,"user-data")" ( identifier , (string_literal ""user-data"" " string_content ") ))))) ;) (expression_statement "safefree(ptr);" (call_expression "safefree(ptr)" identifier (argument_list "(ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00050c00(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00050c00(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00050c00(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = g_type_check_instance_cast(param_1,0x50);" (assignment_expression "uVar1 = g_type_check_instance_cast(param_1,0x50)" identifier = (call_expression "g_type_check_instance_cast(param_1,0x50)" identifier (argument_list "(param_1,0x50)" ( identifier , number_literal )))) ;) (expression_statement "uVar1 = g_object_get_data(uVar1,"user-data");" (assignment_expression "uVar1 = g_object_get_data(uVar1,"user-data")" identifier = (call_expression "g_object_get_data(uVar1,"user-data")" identifier (argument_list "(uVar1,"user-data")" ( identifier , (string_literal ""user-data"" " string_content ") )))) ;) (expression_statement "FUN_0002c6a0(uVar1);" (call_expression "FUN_0002c6a0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00050c00(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00050c00(undefined4 param_1)" (identifier "FUN_00050c00") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = g_type_check_instance_cast(param_1,0x50);\n  uVar1 = g_object_get_data(uVar1,"user-data");\n  FUN_0002c6a0(uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = g_type_check_instance_cast(param_1,0x50);" (assignment_expression "uVar1 = g_type_check_instance_cast(param_1,0x50)" (identifier "uVar1") (= "=") (call_expression "g_type_check_instance_cast(param_1,0x50)" (identifier "g_type_check_instance_cast") (argument_list "(param_1,0x50)" (( "(") (identifier "param_1") (, ",") (number_literal "0x50") () ")")))) (; ";")) (expression_statement "uVar1 = g_object_get_data(uVar1,"user-data");" (assignment_expression "uVar1 = g_object_get_data(uVar1,"user-data")" (identifier "uVar1") (= "=") (call_expression "g_object_get_data(uVar1,"user-data")" (identifier "g_object_get_data") (argument_list "(uVar1,"user-data")" (( "(") (identifier "uVar1") (, ",") (string_literal ""user-data"" (" """) (string_content "user-data") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0002c6a0(uVar1);" (call_expression "FUN_0002c6a0(uVar1)" (identifier "FUN_0002c6a0") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (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(type_1 *item,type_2 data)

{
  type_3 uVar1;
  void *ptr;
  
  uVar1 = var_1(item,0x50);
  ptr = (void *)var_2(uVar1,"user-data");
  var_3(ptr);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  
  uVar1 = g_type_check_instance_cast(param_1,0x50);
  uVar1 = g_object_get_data(uVar1,"user-data");
  FUN_0002c6a0(uVar1);
  return;
}

