From 5841d4db8abd30f540cbc3250b90657706a82c62 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Sun, 1 Dec 2024 20:27:56 -0500 Subject: [PATCH] Display decoded rlwinm info to hover tooltip --- objdiff-gui/src/views/function_diff.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/objdiff-gui/src/views/function_diff.rs b/objdiff-gui/src/views/function_diff.rs index 168ed7e..9734c7e 100644 --- a/objdiff-gui/src/views/function_diff.rs +++ b/objdiff-gui/src/views/function_diff.rs @@ -149,6 +149,10 @@ fn ins_hover_ui( ui.colored_label(appearance.highlight_color, "Extern".to_string()); } } + + if let Some(demangled) = rlwinmdec::decode(&ins.formatted) { + ui.colored_label(appearance.highlight_color, &demangled); + } }); }