Decompile 2 functions in Source/UI/GameSettings/GameSettingsUI.cpp, Source/UI/GameSettings/GameSettingsUI.h, ...

Batch #6956 by alisonrag: 2 byte-identical, 0 confirmed by peer review.

- fn_17278 UIWindowMgr::sub_AAB090: byte-identical
- fn_17279 UIWindowMgr::sub_AAB0B0: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-31 02:49:19 +00:00
commit f5ee9dc0d9
3 changed files with 26 additions and 1 deletions

View file

@ -1382,6 +1382,26 @@ void ToggleGameSettingsTab4() {
settings->SelectTab4();
}
// OFFSET: 0x00AAB070
// OFFSET: 0x00AAB090
// FUNCTION: fn_17278
void UIWindowMgr::sub_AAB090() {
CUIGameSettingsUI* settings = static_cast<CUIGameSettingsUI*>(this->LookupWindow(0x271E));
if (settings) {
settings->sub_A43BA0();
}
}
// OFFSET: 0x00AAB0B0
// FUNCTION: fn_17279
void UIWindowMgr::sub_AAB0B0() {
CUIGameSettingsUI* settings = static_cast<CUIGameSettingsUI*>(this->LookupWindow(0x271E));
if (settings) {
settings->sub_A43C70();
}
}
// OFFSET: 0x00A1BFD0
// FUNCTION: fn_15374
template <>
@ -1453,7 +1473,7 @@ bool GameSettingsUI::CUIListPage::SetOptionChecked(int id) {
// OFFSET: 0x00A43590
// FUNCTION: fn_16031
void CUIGameSettingsUI::sub_A43590(int id) {
__declspec(noinline) void CUIGameSettingsUI::sub_A43590(int id) {
for (GameSettingsUI::CUIListPage* page : this->m_pages) {
for (GameSettingsUI::CUIOptionItem* item : page->m_optionList->items) {
if (item->m_optionId == id) {

View file

@ -261,6 +261,8 @@ public:
void sub_A433B0();
void sub_A433C0();
void sub_A43590(int id);
void sub_A43BA0();
void sub_A43C70();
/* 00B8 */ unsigned char unknown_00B8[0x1C];
/* 00D8 */ CUIControl* m_titleBar;

View file

@ -457,6 +457,9 @@ public:
void SaveShortcutItems();
void SaveUIRectInfo();
UIWindow* LookupWindow(int id);
void sub_AAB070(int option);
void sub_AAB090();
void sub_AAB0B0();
UIWindow* EnsureWindow(int id);
void GetMiniPartyUsableArea(RECT* area);
UIWindow* FindSnapExcludedWindow(int cell);