benilla-re systems structs docs

IsNotSpaceOrLetterS

function · ui · orchestration

Address
0x508ad0 · 24 bytes, up to 0x508ae7
Signature
uint32_t __fastcall (char c)
Meaning
Returns 0 for a space, S or s and 1 for any other byte
Confidence
verified, proof one
Finding
ui/chatsend#the-drunk-hs-next-byte

Finding: The drunk h's next byte in ui: sending chat

0x508ad0(c) answers 0 for a space, S or s and 1 for any other byte, the terminating 0 included. The drunk transform asks it about the byte after an s or S that starts a word, and an answer of 0 skips that letter's draw: such a letter followed by a space, s or S never gains an h, while one at the end of the text still draws.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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