IsSpellTargeting
function · spell · orchestration
- Address
0x6e48a0· 13 bytes, up to0x6e48ac- Signature
uint32_t __cdecl (void)- Meaning
- Returns 1 while the targeting word 0xcecac0 is nonzero
- Confidence
- verified, proof one
- Finding
- spell/checks#targeting-state-predicates
Finding: Targeting-state predicates in spell: checks
The targeting word 0xcecac0 (targeting) is nonzero while a spell awaits a target. 0x6e48a0
returns whether it is. 0x6e48e0 returns the pending spell id (block +0x10) while it is, else 0.
0x6e48b0 returns 1 while targeting for a caster other than the active player (block +0x08).
0x6e4900 and 0x6e4920 cancel targeting through 0x6e4940(cl 1, dl 1, reason 0x1c) when
0x6e48a0, or 0x6e48b0, holds; the cancel, for the active player's own pending cast, signals
SPELLCAST_FAILED (339).
The derivation is in the doc.
Callers 27
- AdmitPickUnit ui
- AdmitPickCandidate ui
- BuildPickFlags ui
- CGWorldFrame::OnUpdate ui
- UpdateGroundReticle ui
- CGWorldFrame::ClassifyHoveredObject ui
- SelectObjectByClick ui
- CancelTargetingOrRotatePlacement ui
- CGGameUI::SelectTarget ui
- ClickInventorySlot ui
- Script::ShowInventorySellCursor ui
- Script::PingLocation ui
- Script::PickupContainerItem ui
- Script::ShowContainerSellCursor ui
- Script::ShowMerchantSellCursor ui
- Script::ShowBuybackSellCursor ui
- Script::ShowRepairCursor ui
- Script::Jump input
- CInputControl::SetCommands input
- IsSpellTargetingForOtherCaster spell
- StopSpellTargeting spell
- CancelCast spell
- TryCastSpell spell
- Script::SpellIsTargeting spell
- Script::SpellTargetUnit spell
- Script::SpellStopTargeting spell
- CGNamePlateFrame::OnMouseMove ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.