benilla-re systems structs docs

SetFeedPetSpell

function · spell · orchestration

Address
0x6ea1d0 · 7 bytes, up to 0x6ea1d6
Signature
void __fastcall (uint32_t spell)
Meaning
Stores the spell id the item-on-pet click casts
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.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.