From 1ad36345532409c5ead37fed83a657d8b3fe0380 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 12:05:50 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/UILapineScrollBar.cpp, Source/UI/UIIngredientInfoWnd.h Batch #1375 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_04149 UIIngredientInfoWnd::Slot10: logic confirmed by peer review - fn_04152 UIIngredientInfoWnd::Move: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/UI/UILapineScrollBar.cpp --- Source/UI/UIIngredientInfoWnd.h | 12 ++++++++++++ Source/UI/UILapineScrollBar.cpp | 13 +++++++++++++ data/compile.json | 1 + 3 files changed, 26 insertions(+) create mode 100644 Source/UI/UIIngredientInfoWnd.h create mode 100644 Source/UI/UILapineScrollBar.cpp diff --git a/Source/UI/UIIngredientInfoWnd.h b/Source/UI/UIIngredientInfoWnd.h new file mode 100644 index 00000000..047fc64e --- /dev/null +++ b/Source/UI/UIIngredientInfoWnd.h @@ -0,0 +1,12 @@ +#ifndef RAGNAROK_SOURCE_UI_UIINGREDIENTINFOWND_H +#define RAGNAROK_SOURCE_UI_UIINGREDIENTINFOWND_H + +#include "UI/Window/UIFrameWnd.h" + +class UIIngredientInfoWnd : public UIFrameWnd { +public: + void Move(int x, int y) override; + void Slot10(int argument1, int argument2, std::intptr_t argument3) override; +}; + +#endif diff --git a/Source/UI/UILapineScrollBar.cpp b/Source/UI/UILapineScrollBar.cpp new file mode 100644 index 00000000..b0c5d198 --- /dev/null +++ b/Source/UI/UILapineScrollBar.cpp @@ -0,0 +1,13 @@ +#include "UI/UIIngredientInfoWnd.h" + +// OFFSET: 0x005FF810 +// FUNCTION: fn_04149 +void UIIngredientInfoWnd::Slot10(int argument1, int argument2, std::intptr_t argument3) { + this->parent->Slot10(argument1, argument2, argument3); +} + +// OFFSET: 0x005FF910 +// FUNCTION: fn_04152 +void UIIngredientInfoWnd::Move(int x, int y) { + UIWindow::Move(x, y); +} diff --git a/data/compile.json b/data/compile.json index a7b018fb..a9135275 100644 --- a/data/compile.json +++ b/data/compile.json @@ -608,6 +608,7 @@ "Source/UI/Text/UITextViewerLinks.cpp": 2, "Source/UI/Text/UITextViewerMessages.cpp": 2, "Source/UI/Text/UITransBalloonText.cpp": 2, + "Source/UI/UILapineScrollBar.cpp": 2, "Source/UI/UIStaticBitmap.cpp": 2, "Source/UI/Window/FrameFocus.cpp": 2, "Source/UI/Window/FrameTextCache.cpp": 2,