benilla-re systems structs docs

MatchSpam

function · ui · primitive

Address
0x4a1ca0 · 911 bytes, up to 0x4a202e
Meaning
Returns whether the text matches a spam pattern of the spam list or the server's list, leaving it unchanged
Confidence
verified, proof one
Finding
ui/chatfilter#the-spam-predicate

Finding: The spam predicate in ui: the spam and profanity filters

When armed, 0x4a1ca0(text, 0, out) matches the text against the spam word lists. It does not change the text. A line that matches is dropped, firing nothing, unless it is a whisper: a whisper with a zero report GUID is dropped too, and one with a report GUID sends opcode 0x331 with that GUID and fires nothing. Every other type is dropped.

The derivation is in the doc.

Callers 1

Callees 9

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