SetPetModeState
function · ui · orchestration
- Address
0x4bc930· 7 bytes, up to0x4bc936- Signature
void __fastcall (uint32_t state)- Meaning
- Stores the whole pet mode word
- 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 2
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.