From 9e15423f818bb28b5b23bea7b72fa3fb8e2c066f Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 18:45:15 +0000 Subject: [PATCH] Decompile fn_17174 (UIWindowMgr::CycleWindowVisibilityTwice) Batch #8541 by dori: 1 byte-identical, 0 confirmed by peer review. - fn_17174 UIWindowMgr::CycleWindowVisibilityTwice: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Window/UIWindowMgr.h | 1 + Source/UI/Window/WindowMgrState.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Source/UI/Window/UIWindowMgr.h b/Source/UI/Window/UIWindowMgr.h index ec15ab44..b9aac10c 100644 --- a/Source/UI/Window/UIWindowMgr.h +++ b/Source/UI/Window/UIWindowMgr.h @@ -550,6 +550,7 @@ public: int LoadReplayReserved(const std::vector& data); int LoadReplayWindows(const std::vector& data); void CycleWindowVisibility(int unused); + void CycleWindowVisibilityTwice(); void BroadcastMessage21(); bool HasModalWindow(); int TranslateHotkey(int key, int keyData); diff --git a/Source/UI/Window/WindowMgrState.cpp b/Source/UI/Window/WindowMgrState.cpp index 91faff14..1d88aeda 100644 --- a/Source/UI/Window/WindowMgrState.cpp +++ b/Source/UI/Window/WindowMgrState.cpp @@ -1150,3 +1150,10 @@ void UIWindowMgr::RestoreHiddenWindows() { this->CloseWindow(it->first + 216); } } + +// OFFSET: 0x00A91E80 +// FUNCTION: fn_17174 +void UIWindowMgr::CycleWindowVisibilityTwice() { + this->CycleWindowVisibility(4); + this->CycleWindowVisibility(4); +}