benilla-re systems structs docs

s_castFailureArmIndexTable

global · spell

Address
0x6e22ec · 143 bytes, up to 0x6e237a
Type
uint8_t[143]
Meaning
Maps reasons 2 to 0x90 to their text-filling case in the failure reporter
Confidence
verified, proof one
Finding
spell/failures#record-name-arms

Finding: Record name arms in spell: failures

A second switch fills the text's format from a record named by the arguments; the text is the format and the result goes to a second 1024-byte buffer. 0x19 to 0x1b: field 2 of the ItemSubClassMask.dbc row equal to (argument 1, argument 2), else field 10 of 0x6e2380's ItemSubClass.dbc row. 0x31: 0x6e2380(6, 1 << argument 1). 0x5d: AreaTable.dbc field 11 by argument 1. 0x5e: SpellFocusObject.dbc field 1. 0x8d: SpellMechanic.dbc field 1. 0x90: SkillLine.dbc field 3, or UNKNOWN with no row, formatted with argument 2 after it. A name is read in the locale's column. Any other missing row leaves the format unfilled.

The derivation is in the doc.