HandleSpellFailedOtherPacket
function · spell · orchestration
- Address
0x6e8e40· 106 bytes, up to0x6e8ea9- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Handles opcode 0x2a6: calls 0x60d040 and 0x614150 on the unit with the spell id
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- spell/failures#spell-failure-packets
Finding: Spell failure packets in spell: failures
SMSG_SPELL_FAILURE (0x133) carries a u64 caster GUID, a u32 spell id and a u8 reason. For
a known unit, 0x6e8d80 calls 0x60d040(spell, 1, 1) and 0x614150(spell, 0), passes the spell and
the unit to 0x458a50, calls 0x6ea080 (cast) when the unit is the active player and the
reason is 0x2f, 0x30 or 0x31, then 0x60fc50 and, when 0x611590(1) holds, 0x60fb60(0, 1). It
shows no message and fires STOP_AUTOREPEAT_SPELL on the 0x6ea080 leg, and other events and sends through its callees (What the failure handler signals). SMSG_SPELL_FAILED_OTHER (0x2a6), a u64 GUID and a u32
spell id, makes 0x6e8e40 call only the first two. Both return 1. The names are the server's.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- CDataStore::GetInt32 base
- CDataStore::GetGuid base
- ClntObjMgrObjectPtr objectlayer
- UnitClearPrecastSpell objectlayer
- CGUnit_C::StopSpellKits objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.