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.
This commit is contained in:
ragnarok-clanker 2026-11-10 15:53:15 +00:00
commit a494f4ea70
2 changed files with 12 additions and 12 deletions

View file

@ -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<CUIDropDownBox*>(this->dropDownBoxWnd);
if (!popup || popup->geometry.visible == 0) {
return false;
}
popup->Detach();
popup->Show(0);
return true;
}

View file

@ -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<CUIDropDownBox*>(this->dropDownBoxWnd)->Detach();
this->dropDownBoxWnd->Show(0);
return true;
}
// OFFSET: 0x00A8CA20
// FUNCTION: fn_17139
bool UIWindowMgr::ProcessEnterKey() {