From 6418ca1d3fffa082436629897d3090b567cdae70 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 01:00:05 +0000 Subject: [PATCH] Decompile fn_19713 (UIEntryQueueWnd::Slot11) Batch #4101 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_19713 UIEntryQueueWnd::Slot11: byte-identical Merged automatically: every function is byte-identical to the original. Adds to the build: Source/UI/EntryQueue/UIEntryQueueWnd.cpp --- Source/UI/EntryQueue/UIEntryQueueWnd.cpp | 12 ++++++++++++ Source/UI/EntryQueue/UIEntryQueueWnd.h | 21 +++++++++++++++++++++ data/compile.json | 1 + 3 files changed, 34 insertions(+) create mode 100644 Source/UI/EntryQueue/UIEntryQueueWnd.cpp create mode 100644 Source/UI/EntryQueue/UIEntryQueueWnd.h diff --git a/Source/UI/EntryQueue/UIEntryQueueWnd.cpp b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp new file mode 100644 index 00000000..018273ff --- /dev/null +++ b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp @@ -0,0 +1,12 @@ +#include "UI/EntryQueue/UIEntryQueueWnd.h" + +// OFFSET: 0x00BA7B90 +// FUNCTION: fn_19713 +void UIEntryQueueWnd::Slot11() { + if (this->saved) { + this->saved->x = this->geometry.x; + this->saved->y = this->geometry.y; + this->saved->width = this->geometry.width; + this->saved->height = this->geometry.height; + } +} diff --git a/Source/UI/EntryQueue/UIEntryQueueWnd.h b/Source/UI/EntryQueue/UIEntryQueueWnd.h new file mode 100644 index 00000000..49f35354 --- /dev/null +++ b/Source/UI/EntryQueue/UIEntryQueueWnd.h @@ -0,0 +1,21 @@ +#ifndef RAGNAROK_SOURCE_UI_ENTRYQUEUE_UIENTRYQUEUEWND_H +#define RAGNAROK_SOURCE_UI_ENTRYQUEUE_UIENTRYQUEUEWND_H + +#include "Contents/UserData/NormalItemSlots.h" +#include "UI/Window/UIFrameWnd.h" + +#include + +class UIEntryQueueWnd : public UIFrameWnd { +public: + void Slot11() override; + + /* 00B4 */ unsigned char unknown_00B4[0x44]; + /* 0100 */ WindowPlacement* saved; +}; + +#if defined(_WIN32) && !defined(_WIN64) +static_assert(offsetof(UIEntryQueueWnd, saved) == 0x100); +#endif + +#endif diff --git a/data/compile.json b/data/compile.json index ea67190d..b4a8d8ab 100644 --- a/data/compile.json +++ b/data/compile.json @@ -749,6 +749,7 @@ "Source/UI/Edit/UIEditLinks.cpp": 2, "Source/UI/Edit/UIEditVariants.cpp": 2, "Source/UI/Enchant/UIEnchantUI.cpp": 2, + "Source/UI/EntryQueue/UIEntryQueueWnd.cpp": 2, "Source/UI/Exchange/UIExchangeUI.cpp": 2, "Source/UI/FrameSkin.cpp": 2, "Source/UI/GameSettings/GameSettingsUI.cpp": 2,