benilla-re systems structs docs

s_pageTextMaterialRecords

global · dbc

Address
0xc0da14 · 8 bytes, up to 0xc0da1b
Type
uint32_t[2]
Meaning
Holds the PageTextMaterial.dbc records and their count
Confidence
verified, proof one
Finding
ui/questmaterial#page-material-table

Finding: Page material table in ui: quest page material and the reward error

PageTextMaterial.dbc is loaded at startup. The loader accepts only the signature WDBC, 2 fields and 8 bytes a record, and indexes the rows by id: the highest id is tracked and index[row.id] holds the row. A row is the id (+0) and the name (+4), a pointer into the string block. The store keeps the records, their count, the index and the highest id, -1 until loaded. The names are the file's; no material name occurs in the executable.

The derivation is in the doc.