SkillColorPointer
function · ui · primitive
- Address
0x529fa0· 54 bytes, up to0x529fd5- Signature
uint32_t * __fastcall (int32_t required, int32_t value)- Meaning
- Returns the colour pointer of a skill value against its requirement: gray, green, yellow, orange or red
- 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 requirement | pointer | colour |
|---|---|---|
| 100 or more | 0xc0cf50 | gray 0xff808080 |
| 50 to 99 | 0xc0d420 | green 0xff40c040 |
| 25 to 49 | 0xc0cf18 | yellow 0xffffff00 |
| 0 to 24 | 0xc0d3a4 | orange 0xffff8040 |
| below 0 | 0xc0d3a8 | red 0xffff2020 |
The derivation is in the doc.
Callers 3
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.