0x4b2c50
function · ui · primitive
- Address
0x4b2c50· 760 bytes, up to0x4b2f47- Meaning
- Removes a spell from the spell book's display list; not read here
- Confidence
- inferred
- 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 2
- ReplaceSpellInBook ui
- CGPlayer_C::UnlearnSpell objectlayer
Callees 10
- DwordArrayReserve loadingscreen
- 0x4368c0 unassigned
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- GrowableArrayChunk glue
- RoundUpToChunk glue
- SortSpellBook ui
- CGUnit_C::FindSkillLineAbility objectlayer
- FindSkillRaceClassInfo spell
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.