ReadInitialSpells
function · objectlayer · primitive
- Address
0x5e6510· 358 bytes, up to0x5e6675- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Reads the initial spell list and the spell cooldowns
- Confidence
- verified, proof one
- Finding
- objectlayer/playercombat#spell-book-messages
Finding: Spell book messages in objectlayer: player spells and combat
0x12b (0x5e61c0) reads a u16 spell and an i16 and learns it with notification; with no player
yet, the pair is appended to the initial list. 0x12c reads an old and a new u16 spell, calls
0x4e5e60 and 0x4b2f50 with them, then unlearns the old silently and learns the new, or
replaces the id in the initial list. 0x12a reads a byte, the initial list (u16 spell and i16
each) and the cooldowns: u16 spell, u16 item, u16 category, i32 spell time and i32 category time,
whose bit 31 is a flag. 0x129 reads the 120 action buttons into 0xc4c2b4.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- CDataStore::GetUInt8 base
- CDataStore::GetInt16 base
- CDataStore::GetUInt16 base
- CDataStore::GetInt32 base
- RoundInitialSpellCountToStep objectlayer
- GrowInitialSpellArray objectlayer
- SetSpellCooldownRemaining spell
Calls and jumps by a bare address, from tables/calls.tsv.