RewriteMissReasons
function · spell · orchestration
- Address
0x6e8d10· 104 bytes, up to0x6e8d77- Signature
void __fastcall (void *record, void *visual, void *list, void *reasons)- Meaning
- Stores 0x624f20 of each missed unit and its reason over the reason, which leaves it unchanged
- Confidence
- verified, proof one
- Finding
- spell/go#missile-and-impact-legs
Finding: Missile and impact legs in spell: go
A speed above 0 or NaN, with a casting unit, launches missiles: 0x6e8a50 for the hits; for any
misses 0x6e8d10, which stores 0x624f20 (unit, reason) over each reason, leaving it unchanged,
then 0x6e8a50 for the misses with their reasons and second bytes; then 0x60c9b0 on the unit when
the visual's +0x18 is nonzero and the cast kit is absent or its +0x8 is not above 0. A speed of 0
or below plays impacts at once: 0x6e8bf0 for the hits, 0x6e8cb0 on the casting unit for each
reflect whose second byte is 0. Both play the kit the visual's +0xc names with 0x60edf0 (unit,
record, kit, 1, 0) and call 0x60ea70 (unit, 0) when 0x6ea280 gives 2.
The derivation is in the doc.
Callers 1
- HandleSpellGo spell
Callees 2
- ClntObjMgrObjectPtr objectlayer
- CGUnit_C::PassMissReason objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.