Decompile fn_17865 (CPathFinder::~CPathFinder)

Batch #12207 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_17865 CPathFinder::~CPathFinder: logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas, KWDev, dori
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-11-05 21:12:50 +00:00
commit 51b6a55ea6

View file

@ -4,11 +4,11 @@
// OFFSET: 0x00AD85A0
// FUNCTION: fn_17865
CPathFinder::~CPathFinder() {
this->nodePool.clear();
this->nodePool.erase(this->nodePool.begin(), this->nodePool.end());
this->Reset();
for (auto& [name, cached] : this->attrCache) {
delete cached;
for (auto it = this->attrCache.begin(); it != this->attrCache.end(); ++it) {
delete it->second;
}
this->attrCache.clear();