Decompile 2 functions in Source/Contents/NavigationSource.cpp, Source/Contents/NavigationManager.h

Batch #1754 by Yommy: 2 byte-identical, 0 confirmed by peer review.

- fn_19572 CNavigationManager::ClearCurrentObject: byte-identical
- fn_19577 CNavigationManager::ClearNodes: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-28 22:01:45 +00:00
commit e38b027ea1
2 changed files with 70 additions and 2 deletions

View file

@ -2,7 +2,9 @@
#include "Client/Session.h"
#include "Resource/ResourceMgr.h"
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
// GLOBAL: gl_24627
@ -270,3 +272,34 @@ void CNavigationManager::Reset(bool clearAll) {
this->unknown_12A4 = nullptr;
this->ClearRouteNodes();
}
// OFFSET: 0x00B93110
// OFFSET: 0x00B93670
// OFFSET: 0x00B938F0
// OFFSET: 0x00B94890
// OFFSET: 0x00B94B50
// OFFSET: 0x00B950B0
// OFFSET: 0x00B95260
// FUNCTION: fn_19572
void CNavigationManager::ClearCurrentObject() {
this->currentTarget.type = 0;
this->currentTarget.object = nullptr;
}
// OFFSET: 0x00B95AD0
// OFFSET: 0x00B95AF0
// FUNCTION: fn_19577
void CNavigationManager::ClearNodes() {
this->nodes.clear();
}
// OFFSET: 0x00B95DC0
// OFFSET: 0x00B95FB0