Decompile fn_19370 (NaviDataEntry::Reset)

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

- fn_19370 NaviDataEntry::Reset: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-29 03:02:55 +00:00
commit bdd504eb67
2 changed files with 10 additions and 0 deletions

View file

@ -31,6 +31,8 @@ struct NaviLink {
}; };
struct NaviDataEntry { struct NaviDataEntry {
void Reset();
/* 0000 */ int previous; /* 0000 */ int previous;
/* 0004 */ CNavi_Link* link; /* 0004 */ CNavi_Link* link;
/* 0008 */ int cost; /* 0008 */ int cost;

View file

@ -115,6 +115,14 @@ int CNavigationManager::SaveCurrentTarget() {
CNaviData::CNaviData() : info(nullptr), cellX(0), cellY(0), range(50000) { CNaviData::CNaviData() : info(nullptr), cellX(0), cellY(0), range(50000) {
} }
// OFFSET: 0x00B88510
// FUNCTION: fn_19370
void NaviDataEntry::Reset() {
this->previous = -1;
this->link = nullptr;
this->cost = 0;
}
// OFFSET: 0x00B88530 // OFFSET: 0x00B88530
// FUNCTION: fn_19371 // FUNCTION: fn_19371
CNaviData::~CNaviData() { CNaviData::~CNaviData() {