benilla-re systems structs docs

ClassifyInputLanguage

function · unassigned

Address
0x42c1a0 · 167 bytes, up to 0x42c246
Meaning
Classifies the active input method and keyboard layout as 0 roman, 1 Japanese, 2 Korean or 3 Chinese
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.

Callers 1

Callees 4

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