benilla-re systems structs docs

s_feedPetSpellId

global · spell

Address
0xcecad8 · 4 bytes, up to 0xcecadb
Type
uint32_t
Meaning
Holds the spell the item-on-pet click casts; 0 at load, written by 0x6ea1d0 and 0x6e7150
Confidence
verified, proof one
Finding
spell/cast#cast-entries

Finding: Cast entries in spell: cast

0x6e5a90(spell, item, guid) casts for the active player: 0x6e4b60(player, spell, item, guid). 0x6e5b10(guid*) binds the object the guid names (mask 1) through 0x6e5b40. 0x6ea1d0(spell) stores the feed spell 0xcecad8. 0x6ea1e0(item, unit) casts it when the item and unit exist, the unit's UNIT_FIELD_PETNUMBER (+0x214 in the unit block) is nonzero, the feed spell has a record, and the unit's creator (+0x20) is the active player; when the cast returns 1 it binds the item.

The derivation is in the doc.