Decompile 3 functions in Source/UI/GameSettings/GameSettingsUI.cpp, Source/UI/GameSettings/GameSettingsUI.h
Batch #7176 by superintelligence: 0 byte-identical, 3 confirmed by peer review. - fn_15344 CUIListBoxEx<GameSettingsUI::CUIComboItem,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::CUIListBoxEx<GameSettingsUI::CUIComboItem,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >: logic confirmed by peer review - fn_15345 CUIListBoxEx<GameSettingsUI::CUIOptionItem,TALKTYPE>::CUIListBoxEx<GameSettingsUI::CUIOptionItem,TALKTYPE>: logic confirmed by peer review - fn_15991 GameSettingsUI::CUIGroupLogInOut::Slot16: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag, Lumen 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
4eeb8cb9f1
commit
82ca1216c9
1 changed files with 25 additions and 0 deletions
|
|
@ -1689,8 +1689,20 @@ CUIListBoxEx<GameSettingsUI::CUIComboItem, RenderBackend>::CUIListBoxEx(UIWindow
|
|||
}
|
||||
|
||||
// OFFSET: 0x00A198E0
|
||||
// FUNCTION: fn_15344
|
||||
template <>
|
||||
CUIListBoxEx<GameSettingsUI::CUIComboItem, std::string>::CUIListBoxEx(UIWindowContext& context)
|
||||
: CUIControl(context), scrollBar(nullptr), itemWidth(0), rowHeight(0), itemX(0), itemY(0), unknown_00C4(0), selected(static_cast<unsigned int>(-1)),
|
||||
unknown_00E0(1), rebind(0) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A19AA0
|
||||
// FUNCTION: fn_15345
|
||||
template <>
|
||||
CUIListBoxEx<GameSettingsUI::CUIOptionItem, TALKTYPE>::CUIListBoxEx(UIWindowContext& context)
|
||||
: CUIControl(context), scrollBar(nullptr), itemWidth(0), rowHeight(0), itemX(0), itemY(0), unknown_00C4(0), selected(static_cast<unsigned int>(-1)),
|
||||
unknown_00E0(1), rebind(0) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A41B60
|
||||
// FUNCTION: fn_15995
|
||||
|
|
@ -1708,3 +1720,16 @@ void GameSettingsUI::CUIGroupSound::Slot16() {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00A41560
|
||||
// FUNCTION: fn_15991
|
||||
void GameSettingsUI::CUIGroupLogInOut::Slot16() {
|
||||
const char* title = LookupMessage(0x107D);
|
||||
this->m_title->SetText(title, std::strlen(title));
|
||||
const char* onText = LookupMessage(0x1033);
|
||||
this->m_onText->SetText(onText, std::strlen(onText));
|
||||
const char* offText = LookupMessage(0x1034);
|
||||
this->m_offText->SetText(offText, std::strlen(offText));
|
||||
const std::uint8_t source[] = {0x8A, 0xF1, 0x02, 0x9E, 0x0A, 0x49, 0x18, 0x76, 0xD1, 0x97, 0x42, 0x95, 0x0A, 0x27};
|
||||
thread_local EncryptedName<sizeof(source), 0x03772763F96D9DA5ULL> tooltip(source);
|
||||
const char* tooltipText = tooltip.Text();
|
||||
this->m_title->SetTooltip(tooltipText, std::strlen(tooltipText));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue