ActionSlotMacroExists
function · ui · primitive
- Address
0x4e5030· 29 bytes, up to0x4e504c- Signature
bool __fastcall (uint32_t slot)- Meaning
- Answers whether a macro word's id is in the macro id table
- 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 6
- GetActionSlotUsable ui
- GetActionSlotSpell ui
- PickupActionSlot ui
- PlaceOnActionSlot ui
- GetActionSlotTexture ui
- ActionSlotHasContent ui
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.