GetCursorSpell
function · ui · orchestration
- Address
0x494e10· 6 bytes, up to0x494e15- Meaning
- Returns a ui global dword the unlearn compares with the spell
- Confidence
- verified, proof one
- Finding
- objectlayer/playercombat#unlearning-a-spell
Finding: Unlearning a spell in objectlayer: player spells and combat
0x5e9fe0(spell, silent) removes a spell from its skill line's node and from its tab's array,
compacting each. A spell without Attributes 0x20 and with no tab above 0 shows
ERR_SPELL_UNLEARNED_S unless silent or its Attributes byte has 0x80. Then it calls
0x4b2c50(spell, 0) and 0x4e5e20(spell), without silent also 0x4d7d40 and 0x4f2f10, clears
0xc4d770 when it held the spell, and calls 0x494df0 when 0x494e10() returns it.
The derivation is in the doc.
Callers 6
- PickupBookSpell ui
- CastBookSpell ui
- UseActionSlot ui
- PickupActionSlot ui
- PlaceOnActionSlot ui
- CGPlayer_C::UnlearnSpell objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.