Decompile fn_22560 (CPc::~CPc)

Batch #7871 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_22560 CPc::~CPc: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, secret, Snow
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-10-31 12:25:08 +00:00
commit 0dabf5ba03

View file

@ -80,6 +80,21 @@ CPc::CPc() : footprintPosition() {
}
// OFFSET: 0x00DA7BA0
// FUNCTION: fn_22560
CPc::~CPc() {
for (int i = 0; i < 9; ++i) {
if (this->equipSprites[i] != nullptr) {
this->equipSprites[i]->Unlock();
}
if (this->equipActions[i] != nullptr) {
this->equipActions[i]->Unlock();
}
}
if (this->unknown_0490 != nullptr) {
g_windowMgr.Schedule(this->unknown_0490);
this->unknown_0490 = nullptr;
}
}
// OFFSET: 0x00DAFE50
// FUNCTION: fn_22606