ReadLearnedSpell
function · objectlayer · primitive
- Address
0x5e61c0· 368 bytes, up to0x5e632f- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Learns a spell with notification, or appends it to the initial list with no player yet
- 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 8
- CDataStore::GetInt16 base
- CDataStore::GetUInt16 base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGPlayer_C::LearnSpell objectlayer
- SMemAlloc storm
- SMemReAlloc storm
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.