benilla-re systems structs docs

BuildQualityBlock

function · unassigned · primitive

Address
0x641820 · 297 bytes, up to 0x641948
Signature
void __fastcall (void *block, void *record)
Meaning
Fills the quality block from the matched row, the bias row and the option tables
Confidence
verified, proof one
Finding
console/hardware#quality-block

Finding: Quality block in console: hardware

0x641820 fills a block of 0x41 bytes at 0xc4e678 from the matched row and the bias row. Each value reads a column of the row; the columns with a table add twice the column value to a bias word of the bias row and index the table. The bias words are 0 for a slow processor and 1 for a fast one (the two rows at 0x8655d8).

blockrow columntable and indexsetting
+0x00+0x0c0x8656c4 at 2 · column + bias 0farclip
+0x04+0x100x865610 at the columnlodDist
+0x08+0x14the columnshadowLevel
+0x0c+0x180x865620 at the columnfrillDensity
+0x10+0x1cthe columnfullAlpha
+0x14+0x200x865630 at 2 · column + bias 1doodadAnim
+0x15+0x24nonzerotrilinear
+0x18+0x28the columnMaxLights

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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