SetPetCommand
function · ui · primitive
- Address
0x4bc960· 30 bytes, up to0x4bc97d- Signature
void __fastcall (uint32_t command)- Meaning
- Replaces the command byte of the pet mode word and signals PET_BAR_UPDATE
- Confidence
- verified, proof one
- Finding
- ui/petbar#pet-state
Finding: Pet state in ui: the pet bar and the form bar
The client keeps the pet's guid at 0xb714a0 (a zero guid is no pet), the tick at which a possession
ends at 0xb714a8, an attack latch at 0xb714b0, ten slot words at 0xb71438 and a mode word at
0xb71468: byte 0 is the reaction (0 passive, 1 defensive, 2 aggressive), byte 1 the command (0 wait,
1 follow), and bit 27 comes only from the server. The slot word is type = byte 3 & 0x3f, action = low 16 bits, bit 31 autocast allowed and bit 30 autocast enabled. Types 1 to 5 are spells, 6 a reaction
and 7 a command; a zero word is an empty slot.
The derivation is in the doc.
Callers 1
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.