Decompile fn_17750 (CLanguageBase::CLanguageBase)
Batch #9459 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_17750 CLanguageBase::CLanguageBase: logic confirmed by peer review Peer-reviewed-by: secret, meitogi, seumadruga Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
7aef708110
commit
a4a727af23
1 changed files with 4 additions and 3 deletions
|
|
@ -423,11 +423,12 @@ UIRoundBoxTooltipWnd::UIRoundBoxTooltipWnd(UIWindowContext& windows, UIFrameCont
|
|||
}
|
||||
|
||||
// OFFSET: 0x00ACC7F0
|
||||
// FUNCTION: fn_17750
|
||||
CLanguageBase::CLanguageBase()
|
||||
: unknown_0004(), candidateList(nullptr), candidateCount(0), pageSize(0), selection(0),
|
||||
candidateStorage(), text(), unknown_004C(0), cursor(0), anchor(0), composition(), candidate(), unknown_0088(),
|
||||
language(static_cast<std::uint16_t>(reinterpret_cast<std::uintptr_t>(GetKeyboardLayout(0)))), codePage(0), unknown_0094(0),
|
||||
unknown_0098(0), servicePrefix(), alternateLanguage(0), unknown_00B6() {
|
||||
candidateStorage(), text(), cursor(0), anchor(0), composition(), candidate(),
|
||||
language(static_cast<std::uint16_t>(reinterpret_cast<std::uintptr_t>(GetKeyboardLayout(0)))), unknown_0094(0),
|
||||
unknown_0098(0), servicePrefix() {
|
||||
this->codePage = g_inlineCharset ? LanguageCodePage(this->language) : g_textCodePage;
|
||||
|
||||
switch (static_cast<std::uint16_t>(GetUserDefaultLangID() & 0x3FF)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue