FindSpellIdByName
function · spell · unreached
- Address
0x6e30a0· 140 bytes, up to0x6e312b- Signature
int32_t __fastcall (const char *name)- Meaning
- Returns the id of the first spell whose localized name matches ignoring case, else -1; only unreached code calls it
- Confidence
- verified, proof one
- Finding
- spell/cooldowns#spell-id-by-name
Finding: Spell id by name in spell: cooldowns
0x6e30a0(name) returns the id of the first Spell.dbc record, in the store's record order, for
which 0x64a4c0(localized name, name, 0x7fffffff) returns 0. With none it passes Unknown Spell '%s' and the name to 0x63cd00 and returns −1. Its one caller is 0x6e5af8, in the unreached
0x6e5ad0 (cast), so nothing live reaches it.
The derivation is in the doc.
Callers 1
- CastSpellByNameText spell
Callees 2
- ConsoleWriteA console
- SStrCmpI storm
Calls and jumps by a bare address, from tables/calls.tsv.