Decompile fn_17860 (CPathFinder::CPathFinder)

Batch #1332 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_17860 CPathFinder::CPathFinder: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-28 10:29:49 +00:00
commit dc2de404c9
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,10 @@
#include "Contents/TerrainPathSearch.h"
// OFFSET: 0x00AD7E70
// FUNCTION: fn_17860
CPathFinder::CPathFinder() : useNodePool(false) {
}
// OFFSET: 0x00AD9840
// FUNCTION: fn_17885
void CPathFinder::Reset() {

View file

@ -26,12 +26,14 @@ public:
class CPathFinder {
public:
CPathFinder();
/* 0000 */ C3dAttr* attr;
/* 0004 */ int destinationX;
/* 0008 */ int destinationY;
/* 000C */ int nodeCount;
/* 0010 */ MovementPathNode nodes[150];
/* 1078 */ std::uint8_t unknown_1078[8];
/* 1078 */ std::map<int, MovementRouteInterpolation> unknown_1078;
/* 1080 */ bool useNodePool;
/* 1084 */ std::vector<MovementPathNode> nodePool;
/* 1090 */ std::map<int, MovementPathNode*> nodeMap;