From a494f4ea70c71a70812a72e50edc72969ce612ee Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 15:53:15 +0000 Subject: [PATCH] Decompile fn_17133 (UIWindowMgr::CloseDropDown) Batch #16261 by kyoshi: 1 byte-identical, 0 confirmed by peer review. - fn_17133 UIWindowMgr::CloseDropDown: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Lists/UIDropDownBox.cpp | 12 ------------ Source/UI/Window/UIWindowMgr.cpp | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Source/UI/Lists/UIDropDownBox.cpp b/Source/UI/Lists/UIDropDownBox.cpp index 1c0f59241..49a63fb8b 100644 --- a/Source/UI/Lists/UIDropDownBox.cpp +++ b/Source/UI/Lists/UIDropDownBox.cpp @@ -87,15 +87,3 @@ void UIWindowMgr::ShowDropDown(UIWindow* owner, UIWindow* child, int x, int y) { popup->Show(1); } -// OFFSET: 0x00A8C750 -// FUNCTION: fn_17133 -bool UIWindowMgr::CloseDropDown() { - CUIDropDownBox* popup = static_cast(this->dropDownBoxWnd); - if (!popup || popup->geometry.visible == 0) { - return false; - } - - popup->Detach(); - popup->Show(0); - return true; -} diff --git a/Source/UI/Window/UIWindowMgr.cpp b/Source/UI/Window/UIWindowMgr.cpp index 903d7c34b..bfc55ecf0 100644 --- a/Source/UI/Window/UIWindowMgr.cpp +++ b/Source/UI/Window/UIWindowMgr.cpp @@ -2153,6 +2153,18 @@ void UIWindowMgr::CloseMiniPartyWindow(int id) { RefreshPartyWindows(&g_session); } +// OFFSET: 0x00A8C750 +// FUNCTION: fn_17133 +bool UIWindowMgr::CloseDropDown() { + if (!this->dropDownBoxWnd || this->dropDownBoxWnd->geometry.visible == 0) { + return false; + } + + static_cast(this->dropDownBoxWnd)->Detach(); + this->dropDownBoxWnd->Show(0); + return true; +} + // OFFSET: 0x00A8CA20 // FUNCTION: fn_17139 bool UIWindowMgr::ProcessEnterKey() {