benilla-re systems structs docs

LoadPageTextMaterials

function · ui · primitive

Address
0x54b640 · 547 bytes, up to 0x54b862
Signature
void __thiscall (void *this)
Meaning
Loads PageTextMaterial.dbc, checking 2 fields and 8 bytes a record, and indexes the rows by id
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.

Callers 1

Callees 9

Calls and jumps by a bare address, from tables/calls.tsv.