benilla-re systems structs docs

s_maskCharacters

global · ui

Address
0x806458 · 8 bytes, up to 0x80645f
Type
char[8]
Meaning
Holds the mask characters !@#$%^&*
Confidence
verified, proof one
Finding
ui/chatfilter#masking

Finding: Masking in ui: the spam and profanity filters

0x4a1a60(text, useCache) replaces each match of each profanity pattern with the next character of !@#$%^&*, one byte for one byte of the match. The next-character index 0xb6e5f0 is shared by the whole process: it starts at 0, advances after every replaced byte and wraps at 8, so the mask continues from one match, line and caller to the next. All patterns of the list are applied in list order, not in text order, and every occurrence of each is masked.

The derivation is in the doc.