s_extraChatColorCount
global · ui
- Address
0xb4e500· 4 bytes, up to0xb4e503- Type
uint32_t- Meaning
- Holds the number of extra channel colour entries
- Confidence
- verified, proof one
- Finding
- ui/chatcolors#the-colour-registry
Finding: The colour registry in ui: chat colours
The live registry is 94 entries of 0x43 bytes at 0xb4e518: a 64-byte name, then red, green and blue as
bytes. A second array of 0x43-byte entries, ten of them, named CHANNEL1 to CHANNEL10, is held
by pointer at 0xb4e504 with its count at 0xb4e500. The start-up copies the 94 static entries at
0x804710 (name and colour, tables/chat_types.tsv) and then colours every extra entry with the live
CHANNEL entry's bytes, so the extras start as ffc0c0. The file loader overwrites colours by
name afterwards (chatwindows).
The derivation is in the doc.