From bb3895d424a2ff80d65db4563c9c2f27b2c4c9ba Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 11:58:47 +0000 Subject: [PATCH] Decompile 4 functions in Source/UI/Window/UIMessageBox.cpp, Source/UI/Window/UINoticeWnd.h, ... Batch #1379 by Yommy: 4 byte-identical, 0 confirmed by peer review. - fn_11757 UINoticeWnd::Slot18: byte-identical - fn_11758 UISelectReplayDataWnd::Slot18: byte-identical - fn_11759 UISelectServerWnd::Slot18: byte-identical - fn_11765 UILoginWnd::Paint: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Window/UILoginWnd.h | 11 +++++++++++ Source/UI/Window/UIMessageBox.cpp | 25 ++++++++++++++++++++++++ Source/UI/Window/UINoticeWnd.h | 1 + Source/UI/Window/UISelectReplayDataWnd.h | 11 +++++++++++ Source/UI/Window/UISelectServerWnd.h | 11 +++++++++++ 5 files changed, 59 insertions(+) create mode 100644 Source/UI/Window/UILoginWnd.h create mode 100644 Source/UI/Window/UISelectReplayDataWnd.h create mode 100644 Source/UI/Window/UISelectServerWnd.h diff --git a/Source/UI/Window/UILoginWnd.h b/Source/UI/Window/UILoginWnd.h new file mode 100644 index 0000000..168eebe --- /dev/null +++ b/Source/UI/Window/UILoginWnd.h @@ -0,0 +1,11 @@ +#ifndef RAGNAROK_SOURCE_UI_WINDOW_UILOGINWND_H +#define RAGNAROK_SOURCE_UI_WINDOW_UILOGINWND_H + +#include "UI/Window/UIFrameWnd.h" + +class UILoginWnd : public UIFrameWnd { +public: + void Paint() override; +}; + +#endif diff --git a/Source/UI/Window/UIMessageBox.cpp b/Source/UI/Window/UIMessageBox.cpp index 738f51d..3b4e284 100644 --- a/Source/UI/Window/UIMessageBox.cpp +++ b/Source/UI/Window/UIMessageBox.cpp @@ -2,7 +2,11 @@ #include "Resource/Bitmap/BitmapResource.h" #include "Resource/ResourceMgr.h" #include "UI/Buttons/UIBitmapButton.h" +#include "UI/Window/UILoginWnd.h" #include "UI/Window/UIMessageBox.h" +#include "UI/Window/UINoticeWnd.h" +#include "UI/Window/UISelectReplayDataWnd.h" +#include "UI/Window/UISelectServerWnd.h" #include "UI/UIStaticBitmap.h" #include "UI/Buttons/UITextButton.h" #include "UI/Text/UITextViewer.h" @@ -89,6 +93,27 @@ void UIMessageBox::Paint() { void UIMessageBox::Slot18() { } +// OFFSET: 0x008B7AA0 +// FUNCTION: fn_11757 +void UINoticeWnd::Slot18() { +} + +// OFFSET: 0x008B7AB0 +// FUNCTION: fn_11758 +void UISelectReplayDataWnd::Slot18() { +} + +// OFFSET: 0x008B7AC0 +// FUNCTION: fn_11759 +void UISelectServerWnd::Slot18() { +} + +// OFFSET: 0x008B8610 +// FUNCTION: fn_11765 +void UILoginWnd::Paint() { + this->ClearSurface(0xFFFF00FF); +} + // INLINED void UIMessageBox::FormatCountdown() { char text[512]; diff --git a/Source/UI/Window/UINoticeWnd.h b/Source/UI/Window/UINoticeWnd.h index e9f2b4d..ae7a7bb 100644 --- a/Source/UI/Window/UINoticeWnd.h +++ b/Source/UI/Window/UINoticeWnd.h @@ -5,6 +5,7 @@ class UINoticeWnd : public UIFrameWnd { public: + void Slot18() override; void Slot28(int x, int y) override; }; diff --git a/Source/UI/Window/UISelectReplayDataWnd.h b/Source/UI/Window/UISelectReplayDataWnd.h new file mode 100644 index 0000000..db7ef09 --- /dev/null +++ b/Source/UI/Window/UISelectReplayDataWnd.h @@ -0,0 +1,11 @@ +#ifndef RAGNAROK_SOURCE_UI_WINDOW_UISELECTREPLAYDATAWND_H +#define RAGNAROK_SOURCE_UI_WINDOW_UISELECTREPLAYDATAWND_H + +#include "UI/Window/UIFrameWnd.h" + +class UISelectReplayDataWnd : public UIFrameWnd { +public: + void Slot18() override; +}; + +#endif diff --git a/Source/UI/Window/UISelectServerWnd.h b/Source/UI/Window/UISelectServerWnd.h new file mode 100644 index 0000000..38e28b0 --- /dev/null +++ b/Source/UI/Window/UISelectServerWnd.h @@ -0,0 +1,11 @@ +#ifndef RAGNAROK_SOURCE_UI_WINDOW_UISELECTSERVERWND_H +#define RAGNAROK_SOURCE_UI_WINDOW_UISELECTSERVERWND_H + +#include "UI/Window/UIFrameWnd.h" + +class UISelectServerWnd : public UIFrameWnd { +public: + void Slot18() override; +}; + +#endif