From 37d909cfeede845ace499d08358a51a1d121a676 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 21:45:53 +0000 Subject: [PATCH] Decompile 3 functions in Source/Contents/NavigationRequest.cpp, Source/Contents/NavigationManager.h Batch #1729 by ragnarok-clanker: 3 byte-identical, 0 confirmed by peer review. - fn_19462 CNaviInfo::GetCellY: byte-identical - fn_19463 CNaviInfo::GetIndex: byte-identical - fn_19480 CNaviInfo::Npcs: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/NavigationManager.h | 6 ++++++ Source/Contents/NavigationRequest.cpp | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/Source/Contents/NavigationManager.h b/Source/Contents/NavigationManager.h index 8d156bc8..7c0fcc02 100644 --- a/Source/Contents/NavigationManager.h +++ b/Source/Contents/NavigationManager.h @@ -116,6 +116,12 @@ public: void SetVisited(bool visited); std::vector::iterator LinksBegin(); std::vector::iterator LinksEnd(); + int GetCellY() const; + int GetIndex() const; + CNavi_Link* FindLink(unsigned int key, bool byId); + CNavi_Object* FindNpc(unsigned int key, bool byId); + CNavi_Object* FindNpcAt(int cellX, int cellY); + std::vector* Npcs(); /* 0000 */ int index; /* 0004 */ int type; diff --git a/Source/Contents/NavigationRequest.cpp b/Source/Contents/NavigationRequest.cpp index 8de3c40e..ac760094 100644 --- a/Source/Contents/NavigationRequest.cpp +++ b/Source/Contents/NavigationRequest.cpp @@ -117,3 +117,27 @@ void CNaviInfo::SetVisited(bool visited) { this->visited = visited; } } + +// OFFSET: 0x00B8DF20 +// FUNCTION: fn_19462 +int CNaviInfo::GetCellY() const { + return this->cellY; +} + +// OFFSET: 0x00B8DF30 +// FUNCTION: fn_19463 +int CNaviInfo::GetIndex() const { + return this->index; +} + +// OFFSET: 0x00B8DF40 + +// OFFSET: 0x00B8E640 + +// OFFSET: 0x00B8E6F0 + +// OFFSET: 0x00B8E750 +// FUNCTION: fn_19480 +std::vector* CNaviInfo::Npcs() { + return &this->npcs; +}