Decompile 3 functions in Source/UI/GameSettings/GameSettingsUI.cpp, Source/UI/GameSettings/GameSettingsUI.h, ...
Batch #5054 by youko: 0 byte-identical, 3 confirmed by peer review. - fn_15945 GameSettingsUI::CUIGroupEmblem::SetEnabled: logic confirmed by peer review - fn_15946 GameSettingsUI::CUIGroupLogInOut::SetEnabled: logic confirmed by peer review - fn_16005 GameSettingsUI::CUIGroupLogInOut::OnSelect: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy, alisonrag 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
31d4ac787c
commit
bfa96efe70
1 changed files with 16 additions and 0 deletions
|
|
@ -767,8 +767,20 @@ void CUIGroupSound::SetBgmEnabled(bool enabled) {
|
|||
// OFFSET: 0x00A3F4C0
|
||||
|
||||
// OFFSET: 0x00A3F560
|
||||
// FUNCTION: fn_15945
|
||||
void CUIGroupEmblem::SetEnabled(bool enabled) {
|
||||
g_serviceOptions.Set(0xF3, enabled);
|
||||
g_windowMgr.SendNotice(3, 0, 0, 0, 0, 0);
|
||||
g_windowMgr.SendNotice(1, reinterpret_cast<std::intptr_t>(LookupMessage(enabled ? 0xDC7 : 0xDC8)), 0x64FFFF, 0, 0, 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A3F5C0
|
||||
// FUNCTION: fn_15946
|
||||
void CUIGroupLogInOut::SetEnabled(bool enabled) {
|
||||
g_serviceOptions.Set(0xA5, enabled);
|
||||
g_windowMgr.SendNotice(3, 0, 0, 0, 0, 0);
|
||||
g_windowMgr.SendNotice(1, reinterpret_cast<std::intptr_t>(LookupMessage(enabled ? 0x414 : 0x415)), 0x64FFFF, 0, 0, 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A3F6B0
|
||||
// FUNCTION: fn_15948
|
||||
|
|
@ -792,6 +804,10 @@ void CUIGroupEmblem::OnSelect(CUIRadioButton* button) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00A41E90
|
||||
// FUNCTION: fn_16005
|
||||
void CUIGroupLogInOut::OnSelect(CUIRadioButton* button) {
|
||||
this->SetEnabled(button == this->m_onButton);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A41F30
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue