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).
This commit is contained in:
ragnarok-clanker 2026-10-30 14:29:52 +00:00
commit 6ad48c31b5
2 changed files with 14 additions and 0 deletions

View file

@ -5,6 +5,7 @@
#include "Client/Session.h"
#include "Resource/ResourceMgr.h"
#include <cstdio>
#include <cstring>
#include <windows.h>
#include <shlwapi.h>
@ -121,6 +122,16 @@ int CNavigationManager::NodeCount() const {
return static_cast<int>(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) {