InitItemQualityColours
function · ui · orchestration
- Address
0x5291d0· 71 bytes, up to0x529216- Signature
void __cdecl ()- Meaning
- Stores the seven item quality colours, grey to cream
- Confidence
- verified, proof one
- Finding
- ui/tooltipcontent#the-colours
Finding: The colours in ui: Tooltip lines, colours and sizing
Builders pass a pointer to a packed 0xAARRGGBB dword, never the value. The pointers live in .data and
are filled by one small initializer each. Gold 0xffffd200 is the default name and description colour,
white the ordinary line, red the failed requirement, green the on-use and learnable line, gray the
inactive one. The quality table has seven entries for Poor to Artifact.
| pointer | value | colour |
|---|---|---|
0xc0d3e8 | 0xffffd200 | gold |
0xc0cf60 | 0xffffffff | white |
0xc0d390, 0xc0d3a8 | 0xffff2020 | red |
0xc0d398 | 0xffff0000 | pure red |
0xc0d3ac | 0xff00ff00 | green |
0xc0d3c4 | 0xff808080 | gray |
0xc0d368 | 0xffffff97 | pale cream |
0xc0d3c8 + 4·q | 9d9d9d, ffffff, 1eff00, 0070dd, a335ee, ff8000, e6cc80 | quality 0 to 6 |
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.