benilla-re systems structs docs

SpamFilterCallback

function · client

Address
0x4035b0 · 49 bytes, up to 0x4035e0
Meaning
Stores the spamFilter value in its mirror and prints that it is enabled or disabled
Confidence
verified, proof one
Finding
ui/chatfilter#the-two-options

Finding: The two options in ui: the spam and profanity filters

profanityFilter and spamFilter are CVars registered by 0x402ba0 with default 1. Each has a change callback that converts the new value with SStrToInt, prints Profanity filter enabled or disabled (Spam filter enabled or disabled) to the console and stores the number in a mirror word: 0x843600 for the profanity filter and 0x843604 for the spam filter. The mirrors are 1 in the file. The filters read the mirrors, never the CVar records.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.