benilla-re systems structs docs

CSimpleEditBox::ToggleInputLanguage

function · ui · orchestration

Address
0x77ac40 · 20 bytes, up to 0x77ac53
Meaning
Asks the input method to switch to native mode when the index is 0, else off
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 1

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