s_exhaustionById
global · dbc
- Address
0xc0dd78· 4 bytes, up to0xc0dd7b- Type
uint32_t- Meaning
- Holds the Exhaustion.dbc rows by id
- Confidence
- verified, proof one
- Finding
- ui/rested#exhaustion-table
Finding: Exhaustion table in ui: rested experience functions
Exhaustion.dbc is loaded at startup. The loader accepts only 15 fields and 60 bytes a record; any other layout is a fatal
error. It builds an index by row id: the cell index[row.id] holds the row. The store keeps the index at 0xc0dd78 and the
highest id at 0xc0dd7c, -1 until loaded. A row is the id (+0), a threshold (+4), a factor, a float (+8), two floats
that no Lua function reads (+0xc, +0x10) and the name, one pointer per locale from +0x14.
The derivation is in the doc.