GetMacroSlotSpell
function · ui · primitive
- Address
0x4e5ba0· 70 bytes, up to0x4e5be5- Signature
int32_t __fastcall (uint32_t slot, uint32_t *book)- Meaning
- Returns a macro slot's cached spell and book selector, or 0 without the record
- Confidence
- verified, proof one
- Finding
- ui/actionbar#slot-to-spell
Finding: Slot to spell in ui: action bars
0x4e5a50(slot, &book) returns the spell a slot stands for and writes book. A spell slot returns its
word with book 0. A macro slot, when 0x4e5030 finds its id and 0x4f0f40 its record, returns the
record's cached spell (+0x564: 0, -1 or a spell id) and writes the record's book selector (+0x568:
0 the player's book, 1 the pet's). An item slot returns the first on-use spell of the item's template
and writes book 0. Anything else returns 0 and leaves book unwritten, a macro that is missing
included.
The derivation is in the doc.
Callers 1
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.