s_petBar
global · ui
- Address
0xb71438· 40 bytes, up to0xb7145f- Type
uint32_t[10]- Meaning
- Holds the ten pet bar slot words
- 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.