Decompile 2 functions in Source/UI/Buttons/UIBasicButton.cpp, Source/UI/Buttons/UIBitmapButton.cpp, ...

Batch #1102 by ragnarok-clanker: 2 byte-identical, 0 confirmed by peer review.

- fn_16953 UIWindow::Root: byte-identical
- fn_16983 UIWindow::Invalidate: byte-identical (already on main)

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-27 18:04:02 +00:00
commit e9b6837e97
38 changed files with 158 additions and 177 deletions

View file

@ -24,7 +24,7 @@ void InputFocus::Set(UIWindow* value) {
// FUNCTION: fn_17257
void InputFocus::First() {
if (this->window) {
UIWindow* parent = static_cast<UIWindow*>(this->window->parent);
UIWindow* parent = this->window->parent;
for (UIWindow* child : parent->m_children) {
if (!child->Slot05()) {
@ -54,7 +54,7 @@ void InputFocus::Next() {
return;
}
UIWindow* parent = static_cast<UIWindow*>(this->window->parent);
UIWindow* parent = this->window->parent;
bool found = false;
for (UIWindow* child : parent->m_children) {
@ -85,7 +85,7 @@ void InputFocus::Advance() {
return;
}
UIWindow* parent = static_cast<UIWindow*>(this->window->parent);
UIWindow* parent = this->window->parent;
bool found = false;
for (UIWindow* child : parent->m_children) {