benilla-re systems structs docs

s_filterLists

global · unassigned

Address
0xce8918 · 60 bytes, up to 0xce8953
Type
uint32_t[15]
Meaning
Holds five capacity, count, base triples of word lists: server spam, spam, reserved, profanity, profane names
Confidence
verified, proof one
Finding
ui/chatfilter#the-word-lists

Finding: The word lists in ui: the spam and profanity filters

The filters match compiled regular expressions held in five arrays of 16-byte entries, each array a {capacity, count, base} triple. The spam filter reads the SpamMessages list and then the list pushed by the server; the masker reads the ChatProfanity list; the character name validator reads NamesReserved, ChatProfanity and NamesProfanity. The four file lists are loaded once at start-up from the DBC files of those names; the server list is empty until the server sends opcode 0x332. A row that does not compile is skipped, so a list's count is the number of rows that compiled.

The derivation is in the doc.