benilla-re systems structs docs

AppendCasedWord

function · ui · primitive

Address
0x49b8b0 · 132 bytes, up to 0x49b933
Meaning
Appends a substitute to the output with each character's case taken from the source word
Confidence
verified, proof one
Finding
ui/chatlanguage#stamping-the-case

Finding: Stamping the case in ui: languages in chat

0x49b8b0(dst, source, substitute, dstSize) appends the substitute to the output one character at a time for as long as the source word has characters: a character is upper-cased when the source character at the same position is an upper-case letter and lower-cased otherwise. The output word is as long as the shorter of the source and the substitute, within the remaining space, so a digit in the source gives a lower-case letter and a word that fell to a shorter key is as long as that key.

The derivation is in the doc.

Callers 1

Callees 3

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