benilla-re systems structs docs

s_wtfAccountRealmCharFormat

global · glue

Address
0x838708 · 21 bytes, up to 0x83871c
Type
char[21]
Meaning
Holds the format WTF\Account\%s\%s\%s of a character's folder under its account and realm
Confidence
verified, proof one
Finding
glue/select#forced-rename-applier

Finding: Forced rename applier in glue: character select

0x4725f0(name, guid), on the rename reply, finds the guid's record, or does nothing. It moves WTF\Account\<account>\<realm>\<old> to the same path with the new name, then WTF\Account\<account>\<old> likewise (0x42a820, MoveFileW), the account from 0xb41db0 and the realm from GetRealmName. It drops the old name's add-on state (0x51f0b0), loads the new name's (0x51ebe0), copies the name into +0x08 (at most 48 bytes), clears flag 0x4000 and fires CHARACTER_LIST_UPDATE.

The derivation is in the doc.