benilla-re systems structs docs

SetCursorSpell

function · ui · orchestration

Address
0x494d20 · 196 bytes, up to 0x494de3
Signature
void __fastcall (uint32_t spellId)
Meaning
Puts a spell on the cursor with its icon as the picture
Confidence
verified, proof one
Finding
ui/cursor#payload-pictures-by-kind

Finding: Payload pictures by kind in ui: the cursor payload

The spell setter 0x494d20(spell) takes the picture from the spell: the attack icon (0x4e6870) when its first effect is 0x4e, the ranged icon (0x4e6990) when its attributes carry the ranged flags, else the name of its spell icon record (ui/actionbar#attack-and-ranged-icons). It does nothing for a spell with no such name. The macro setter 0x494f80(id) returns only for an id with no macro (ui/macros#macro-order). The stabled pet setter 0x495010(index) reads a stable index, where a negative one means the summoned pet, and needs a creature family row with an icon. The pet action setter 0x494e20(word) uses the spell's icon for the five spell kinds and the global named PET_<name>_TEXTURE for the two command kinds.

The derivation is in the doc.

Callers 3

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.