benilla-re systems structs docs

s_platePlayerColor

global · ui

Address
0xcf60e8 · 4 bytes, up to 0xcf60eb
Type
uint32_t
Meaning
Holds the blue ARGB word of a non-hostile player's bar
Confidence
verified, proof one
Finding
ui/nameplates#bar-colour-and-values

Finding: Bar colour and values in ui: the nameplate frame

0x7cbaa0 sets the bar colour: red 0xffff0000 when the unit's reaction toward the player is 1 or less, else blue 0xff0000ff for a player unit, green 0xff00ff00 when the reaction is 4 or more, else yellow 0xffffff00. 0x7cc3d0 sets the bar range 0 to UNIT_FIELD_MAXHEALTH and the value to UNIT_FIELD_HEALTH, so GetValue() is the health and not a fraction; watchers on both fields (0x7cc510) keep them current through 0x7cc570.

The derivation is in the doc.