Decompile fn_04259 (CreatePlayerNameDictionary)

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

- fn_04259 CreatePlayerNameDictionary: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-28 12:11:17 +00:00
commit 2830117a5d

View file

@ -99,6 +99,19 @@ void CPlayerNameDictionary::Update() {
CPlayerNameDictionary* g_playerNameDictionary = nullptr;
// OFFSET: 0x0060AE30
// FUNCTION: fn_04259
bool CreatePlayerNameDictionary() {
if (g_playerNameDictionary) {
return false;
}
g_playerNameDictionary = new (std::nothrow) CPlayerNameDictionary();
if (!g_playerNameDictionary) {
return false;
}
return true;
}
// OFFSET: 0x0060AF90
// FUNCTION: fn_04260