From 449db892c587903a2a216c38d5fdf81de062f404 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 29 Oct 2026 00:12:01 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Text/UITextViewer.cpp, Source/UI/Text/UIAchWnd.h Batch #1951 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_09231 UIAchListWnd::Slot31: logic confirmed by peer review - fn_09232 UIAchTab::Slot31: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker Reviewed-by: ragnarok-clanker --- Source/UI/Text/UIAchWnd.h | 16 ++++++++++++++++ Source/UI/Text/UITextViewer.cpp | 14 ++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 Source/UI/Text/UIAchWnd.h diff --git a/Source/UI/Text/UIAchWnd.h b/Source/UI/Text/UIAchWnd.h new file mode 100644 index 0000000..788d573 --- /dev/null +++ b/Source/UI/Text/UIAchWnd.h @@ -0,0 +1,16 @@ +#ifndef RAGNAROK_SOURCE_UI_TEXT_UIACHWND_H +#define RAGNAROK_SOURCE_UI_TEXT_UIACHWND_H + +#include "UI/Window/UIWindow.h" + +class UIAchListWnd : public UIWindow { +public: + void Slot31(int x, int y) override; +}; + +class UIAchTab : public UIWindow { +public: + void Slot31(int x, int y) override; +}; + +#endif diff --git a/Source/UI/Text/UITextViewer.cpp b/Source/UI/Text/UITextViewer.cpp index 4036fa7..130a65c 100644 --- a/Source/UI/Text/UITextViewer.cpp +++ b/Source/UI/Text/UITextViewer.cpp @@ -8,6 +8,8 @@ #include "UI/Lists/UIScrollBar.h" #include "UI/Buttons/UITextButton.h" #include "UI/Text/UITextViewer.h" +#include "UI/Text/UIAchWnd.h" +#include "UI/Window/UIWindowMgr.h" #include @@ -112,6 +114,18 @@ void UITextViewer::Slot25(int, int) { void UITextViewer::Slot26(int, int) { } +// OFFSET: 0x007B79F0 +// FUNCTION: fn_09231 +void UIAchListWnd::Slot31(int, int) { + g_windowMgr.ReleaseCapture(); +} + +// OFFSET: 0x007B7A00 +// FUNCTION: fn_09232 +void UIAchTab::Slot31(int, int) { + g_windowMgr.ReleaseCapture(); +} + // OFFSET: 0x007B7A10 // FUNCTION: fn_09233 void UITextViewer::Slot31(int, int) {