From 6ad48c31b57d662ce9cd8afce8afb68bbc6f66f1 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 14:29:52 +0000 Subject: [PATCH] Decompile fn_19622 (CNavigationManager::SetViewIcon) Batch #5676 by zindokar: 0 byte-identical, 1 confirmed by peer review. - fn_19622 CNavigationManager::SetViewIcon: logic confirmed by peer review Peer-reviewed-by: Yommy, Millenium, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/NavigationManager.h | 3 +++ Source/Contents/NavigationRequest.cpp | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/Source/Contents/NavigationManager.h b/Source/Contents/NavigationManager.h index 3425412e..600d5771 100644 --- a/Source/Contents/NavigationManager.h +++ b/Source/Contents/NavigationManager.h @@ -306,6 +306,9 @@ public: void SaveSettings(); int StateCount() const; int NodeCount() const; + void SetViewIcon(int icon); + bool SetViewMode(int mode); + void BuildGridLabels(); bool LoadScript(LuaScript* script); bool BuildRoute(int startX, int startY, int destX, int destY, bool collectCells); bool SavedTargetText(char* out, int size); diff --git a/Source/Contents/NavigationRequest.cpp b/Source/Contents/NavigationRequest.cpp index 87af7df1..cc1137b8 100644 --- a/Source/Contents/NavigationRequest.cpp +++ b/Source/Contents/NavigationRequest.cpp @@ -5,6 +5,7 @@ #include "Client/Session.h" #include "Resource/ResourceMgr.h" +#include #include #include #include @@ -121,6 +122,16 @@ int CNavigationManager::NodeCount() const { return static_cast(this->nodes.size()); } +// OFFSET: 0x00B9C730 +// FUNCTION: fn_19622 +void CNavigationManager::SetViewIcon(int icon) { + this->viewIcon = icon; +} + +// OFFSET: 0x00B9F9B0 + +// OFFSET: 0x00B9F9E0 + // OFFSET: 0x00B97200 // FUNCTION: fn_19598 int CNavigationManager::RequestRoute(int cellX, int cellY) {