benilla-re systems structs docs

s_colorSkillOrange

global · ui

Address
0xc0d3a4 · 4 bytes, up to 0xc0d3a7
Type
uint32_t
Meaning
Holds the orange 0xffff8040 of a skill 0 to 24 above its requirement
Confidence
verified, proof one
Finding
ui/tooltipitemhead#the-skill-colours

Finding: The skill colours in ui: Item name, bind, lock and slot lines

0x529fa0 maps a skill requirement and the player's value to a colour pointer by difficulty. The requirement is in ecx and the value in edx.

value minus requirementpointercolour
100 or more0xc0cf50gray 0xff808080
50 to 990xc0d420green 0xff40c040
25 to 490xc0cf18yellow 0xffffff00
0 to 240xc0d3a4orange 0xffff8040
below 00xc0d3a8red 0xffff2020

The derivation is in the doc.