benilla-re systems structs docs

s_cases77abb0

global · ui

Address
0x77ac1c · 16 bytes, up to 0x77ac2b
Type
void *[4]
Meaning
Holds the arms that map a classified language to the edit box's language index
Confidence
verified, proof one
Finding
ui/inputlanguage#the-language-index

Finding: The language index in ui: the edit box input language

EditBox:GetInputLanguage() returns one of ROMAN, KOREAN, CHINESE, JAPANESE, read from the edit box's language index at +0x3d0; EditBox:ToggleInputLanguage() returns nothing and asks the operating system's input method to switch its conversion mode. The index is 0 (ROMAN) from construction and changes only when the input method reports an event: it comes from the active keyboard layout's primary language and the conversion mode, never from the client's locale.

The derivation is in the doc.