benilla-re systems structs docs

s_itemSubClassMaskRows

global · dbc

Address
0xc0dba4 · 4 bytes, up to 0xc0dba7
Type
uint32_t
Meaning
Holds the ItemSubClassMask.dbc rows, 0x30 bytes each
Confidence
verified, proof one
Finding
ui/tooltipspellreq#the-required-item

Finding: The required item in ui: Spell tooltip requirements and description

A spell that requires an equipped item class and subclass mask (+0xe8, +0xec) adds SPELL_EQUIPPED_ITEM with a name for the requirement, with wrap 1: white when the player has such an item equipped, red when not, and for the pet always met. A compact tooltip leaves out a met line and uses SPELL_EQUIPPED_ITEM_NOSPACE for an unmet one. A spell whose target flags (+0x34) have bit 0x10, one with a negative class, and one with an empty mask has no line. The name is the group name of the item-subclass-mask table when its row matches the class and the whole mask; otherwise the long names of every matching item subclass, joined with commas, each falling back to the display name.

The derivation is in the doc.