LaunchSpellMissiles
function · spell · orchestration
- Address
0x6e8a50· 404 bytes, up to0x6e8be3- Signature
void __fastcall (void *unit, void *rec, void *visual, int32_t ammo, int32_t ammoType, void *targets, void *list, void *reasons, void *extras)- Meaning
- Launches a spell missile per listed target, or one at the target location, through 0x60a3d0
- Confidence
- verified, proof one
- Finding
- spell/go#missile-launch
Finding: Missile launch in spell: go
0x6e8a50 (unit, record, visual, ammo display id, ammo type, target record, list, reasons, second
bytes) needs the unit and a nonzero visual +0x18 or display id. It launches one missile per list guid when the list is nonempty, the target mask has 0x802, and
the mask lacks 0x20 and 0x40 or bit 0 of the visual's +0x3c is set: it skips a unit for which
0x605f30 is true and calls 0x60a3d0 (the guid, the target record, display id, ammo type,
is-hit, the reason or 1, the second byte or 0, visual, record, list, 0). Otherwise, with 0x20 or
0x40 in the mask, it launches one missile at a zero guid, reason 1, the reasons pointer last.
The derivation is in the doc.
Callers 1
- HandleSpellGo spell
Callees 3
- ClntObjMgrObjectPtr objectlayer
- IsDeadOrGhost objectlayer
- CGUnit_C::LaunchSpellMissile objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.