benilla-re systems structs docs

WriteSpellCastTargets

function · spell · orchestration

Address
0x7e4e10 · 192 bytes, up to 0x7e4ecf
Meaning
Writes a cast target block: a 16-bit mask, then the guids, positions and text the mask names
Confidence
verified, proof one
Finding
spell/cast#cast-request-packets

Finding: Cast request packets in spell: cast

0x6e54f0(record, flag) sends one of three requests, each ending in the target block.

opcodewhenbody before the targets
CMSG_USE_ITEM (0xab)+0x00 differs from +0x08u8 bag, u8 slot, u8 spell index
CMSG_CAST_SPELL (0x12e)the caster is the active playeru32 spell
CMSG_PET_CAST_SPELL (0x1f0)otherwiseu64 caster guid, u32 spell

The target block is a u16 mask (+0x14); a packed guid of +0x18 when the mask has any of 0x8a02; a packed guid of +0x20 for 0x1010; three floats +0x30 to +0x38 for 0x20; three floats +0x3c to +0x44 for 0x40; and 128 raw bytes from +0x70 for 0x2000. A packed guid is a mask byte, then each nonzero byte of the guid from the lowest, mask bit i for byte i.

The derivation is in the doc.

Callers 1

Callees 4

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