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
This commit is contained in:
ragnarok-clanker 2026-10-29 00:12:01 +00:00
commit 449db892c5
2 changed files with 30 additions and 0 deletions

16
Source/UI/Text/UIAchWnd.h Normal file
View file

@ -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

View file

@ -8,6 +8,8 @@
#include "UI/Lists/UIScrollBar.h" #include "UI/Lists/UIScrollBar.h"
#include "UI/Buttons/UITextButton.h" #include "UI/Buttons/UITextButton.h"
#include "UI/Text/UITextViewer.h" #include "UI/Text/UITextViewer.h"
#include "UI/Text/UIAchWnd.h"
#include "UI/Window/UIWindowMgr.h"
#include <algorithm> #include <algorithm>
@ -112,6 +114,18 @@ void UITextViewer::Slot25(int, int) {
void UITextViewer::Slot26(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 // OFFSET: 0x007B7A10
// FUNCTION: fn_09233 // FUNCTION: fn_09233
void UITextViewer::Slot31(int, int) { void UITextViewer::Slot31(int, int) {