benilla-re systems structs docs

CancelCastAndClearCursor

function · ui · orchestration

Address
0x495920 · 24 bytes, up to 0x495937
Meaning
Clears the cursor, then cancels the cast with failed and send set
Confidence
verified, proof one
Finding
spell/cancel#who-cancels-a-cast

Finding: Who cancels a cast in spell: cancel

Each caller passes (failed, send, reason). CMSG_CANCEL_CAST goes out only for send 1.

callerargumentscondition
0x6e4900, 0x6e4920, the attempt1, 1, 0x1ca targeting word is up; for 0x6e4920, cast by another caster
0x6e6e80 (SpellStopCasting)0, 1, 0x1ca spell in flight, no auto-repeat
0x6e6f300, 1, 0x1cthe in-flight spell has Attributes 0x404
0x6e7330 (cast result)0, 0, 0x1cthe result is for the in-flight spell
0x6e1a00 (failure)1, report's third argument is 0, reasonthe failure is for the in-flight spell
0x6e69000, 0, 0x17after its own send
Script::Jump, 0x5150900, 1, 0x1cthe in-flight spell's InterruptFlags bit 0
Script::UseSoulstone, 0x495920, 0x5e99b01, 1, 0x1con their own paths
0x5ecb701, 1, 0x1cthe caster's precast spell +0xc8c has Attributes 0x2
0x6058601, 1, 0x65the unit is the record's target
0x5d86601, 0, 0x1cthe item is the record's
0x5e38c01, 0, 0x17the in-flight item guid matches

The derivation is in the doc.

Callers 2

Callees 2

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