From 58376c90087d36a1d06d2ef589f50614b3ab54a7 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 08:33:15 +0000 Subject: [PATCH] Decompile fn_19612 (CNavigationManager::sub_B995D0) Batch #13155 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_19612 CNavigationManager::sub_B995D0: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/NavigationRoute.cpp | 34 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Source/Contents/NavigationRoute.cpp b/Source/Contents/NavigationRoute.cpp index 38a7b24a7..456a8e760 100644 --- a/Source/Contents/NavigationRoute.cpp +++ b/Source/Contents/NavigationRoute.cpp @@ -720,29 +720,29 @@ bool CNavigationManager::sub_B99030(std::string name, int type, unsigned char mo // OFFSET: 0x00B995D0 // FUNCTION: fn_19612 bool CNavigationManager::sub_B995D0(std::string name, int type, bool flag) { - if (static_cast(type) > 4) { - return false; - } + if (static_cast(type) <= 4) { + this->unknown_1264 = name; + this->unknown_1248 = flag; + this->unknown_1260 = type; + g_navigationManager.UpdateSearchResults(); - this->unknown_1264 = name; - this->unknown_1248 = flag; - this->unknown_1260 = type; - g_navigationManager.UpdateSearchResults(); - - if (!this->unknown_1248) { - if (g_windowMgr.window_4F174 == nullptr) { - g_windowMgr.EnsureWindow(203); - } else { - g_windowMgr.window_4F174->SendMsg(nullptr, 6, 200, 0, 0, 0); - if (g_windowMgr.modal != nullptr) { - static_cast(g_windowMgr.modal)->RefreshWorldMapLevels(); + if (!this->unknown_1248) { + if (g_windowMgr.window_4F174 == nullptr) { + g_windowMgr.EnsureWindow(203); + } else { + g_windowMgr.window_4F174->SendMsg(nullptr, 6, 200, 0, 0, 0); + if (g_windowMgr.modal != nullptr) { + static_cast(g_windowMgr.modal)->RefreshWorldMapLevels(); + } } + + g_windowMgr.Promote(g_windowMgr.window_4F174); } - g_windowMgr.Promote(g_windowMgr.window_4F174); + return true; } - return true; + return false; } // OFFSET: 0x00B996D0