FindItemSubClassByMask
function · spell · primitive
- Address
0x6e2380· 88 bytes, up to0x6e23d7- Signature
void * __fastcall (int32_t itemClass, uint32_t subclassMask)- Meaning
- Returns the first ItemSubClass.dbc row of a class whose subclass bit is set in a mask, or null
- Confidence
- verified, proof one
- Finding
- spell/failures#subclass-by-mask
Finding: Subclass by mask in spell: failures
0x6e2380(class, mask) returns the first ItemSubClass.dbc row, in row order, whose class field
equals class and whose subclass field's bit is set in mask, the bit taken modulo 32; else null.
The derivation is in the doc.
Callers 2
- ReportCastFailure spell
- PetSpellFailedHandler spell
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.