benilla-re systems structs docs

DrunkTransformText

function · ui · primitive

Address
0x508680 · 982 bytes, up to 0x508a55
Meaning
Writes the text a drunk player sends from the source, a strength and a capacity
Confidence
inferred
Finding
ui/chatsend#text-steps
Test
ui::glue4fd_508680_garble_noise_minus_one, ui::glue4fd_508680_garble_threshold_quarter

Finding: Text steps in ui: sending chat

The text goes through four steps before the packet. A dead or ghost player may send only whisper, party, raid, raid leader, raid warning, guild, officer, channel, AFK, DND, battleground and battleground leader (otherwise error 0xef). The tutorial flag 0x16 is set. The text is copied into a 256-byte buffer, expanding %N, %T, %n and %t to the target's name (the next entries). A drunk player's text is run through the drunk transform. Then the escape check runs, and a final gate decides whether the player may send at all.

The derivation is in the doc.

Callers 1

Callees 8

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