DropOnPetBar
function · ui · orchestration
- Address
0x4bce00· 73 bytes, up to0x4bce48- Signature
void __fastcall (uint32_t *payload, uint32_t slot)- Meaning
- Drops a pet action payload on a slot and puts a displaced word back on the cursor
- Confidence
- verified, proof one
- Finding
- ui/petbar#picking-up-and-dropping-pet-actions
Finding: Picking up and dropping pet actions in ui: the pet bar and the form bar
PickupPetAction(index) drops a held pet action onto the slot, or with an empty cursor puts the slot's
action on the cursor (0x494e20) and, for a spell slot only, blanks the slot's spell id and sends it.
A drop runs 0x4bc9a0(target, &word, send). It ignores a word equal to the slot's, refuses a passive
spell without a message, and empties another slot holding the same type and action, giving it the
displaced word. A displaced reaction or command with no duplicate goes to the first slot that is not
one and has no spell id, and with none nothing happens. The result is sent as CMSG_PET_SET_ACTION
(372): pet guid and one or two u32 slot, u32 word pairs, then PET_BAR_UPDATE.
The derivation is in the doc.
Callers 3
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.