benilla-re systems structs docs

ReadSpellCastTargets

function · spell · orchestration

Address
0x7e4ed0 · 187 bytes, up to 0x7e4f8a
Signature
void __fastcall (void *targets, void *msg)
Meaning
Reads a spell target block: a mask, then guids, points and a string as its bits say
Confidence
verified, proof one
Finding
spell/handlers#target-block

Finding: Target block in spell: handlers

The start and go messages carry a target block after their own fields: a 16-bit mask, then a packed guid when the mask has any of 0x8a02, a packed guid when it has 0x1010, three floats (source point) for 0x20, three floats (destination point) for 0x40, and a string into a 128-byte field for 0x2000, in that order. The reader stores them at +0x14, +0x18, +0x20, +0x30, +0x3c and +0x70 of a record whose first 0x14 bytes the caller fills with the two guids and the spell id.

The derivation is in the doc.

Callers 2

Callees 4

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