Decompile fn_23378 (CSession::GetPlayerHeadSprName)

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

- fn_23378 CSession::GetPlayerHeadSprName: logic confirmed by peer review

Peer-reviewed-by: eAthena, youko
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-29 23:20:08 +00:00
commit 1f664e3a48

View file

@ -306,3 +306,10 @@ std::string CSession::GetHeadSprName(int job, int sex, int* head) {
}
// OFFSET: 0x00DDD050
// FUNCTION: fn_23378
std::string CSession::GetPlayerHeadSprName() {
EquipmentResourceMgr* resources = g_equipmentResourceMgr;
const int sex = this->SyncUnknown0E98();
const int job = this->GetDisplayJob();
return resources->GetHeadName(1, job, sex, &this->m_head);
}