s_resistancesRows
global · unassigned
- Address
0xc0d530· 12 bytes, up to0xc0d53b- Type
uint32_t[3]- Meaning
- Holds pointers to the Resistances rows in record order: capacity, count and array
- Confidence
- verified, proof two
- Finding
- dbc#damage-class-check
Finding: Damage class check in dbc
0x53f510 builds a pointer array over the Resistances rows, in record order, once the tables are loaded. A table of other
than 7 rows prints Warning: The Resistances table has the wrong number of entries, and at most 7 rows
are taken. The array at 0xc0d530 is sized to that count and holds a pointer to each row in record
order, and 0x855808 takes the position of the last row whose Flags (+0x4) has bit 0; with none it
stays −1.
The derivation is in the doc.