From b9dd4b9683a2d33ac8da7d38fc932b8226d8af0f Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 10:59:10 +0000 Subject: [PATCH] Decompile fn_16914 (UIWindow::UIWindow) Batch #16896 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_16914 UIWindow::UIWindow: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/UI/Window/UIWindow.cpp b/Source/UI/Window/UIWindow.cpp index e686b7b08..57ec476f7 100644 --- a/Source/UI/Window/UIWindow.cpp +++ b/Source/UI/Window/UIWindow.cpp @@ -161,7 +161,9 @@ int __fastcall sub_5C22F0(const int* object) { // OFFSET: 0x00A79A90 // FUNCTION: fn_16914 UIWindow::UIWindow(unsigned char cached) - : parent(nullptr), hasTextBackground(0), textBackgroundColor(0), renderLayer(4), m_dirty(1), m_uid(++g_windowUid), m_cached(cached), m_clip(0) { + : parent(nullptr), hasTextBackground(0), textBackgroundColor(0), renderLayer(4), m_dirty(1), m_clip(0) { + this->m_uid = ++g_windowUid; + this->m_cached = cached; } // OFFSET: 0x00A79E90