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

@ -126,13 +126,13 @@ void WindowDialogs::RestoreInput() {
}
if (this->input) {
static_cast<UIWindow*>(this->input)->Slot24(child->Slot06() == this->input);
this->input->Slot24(child->Slot06() == this->input);
}
this->input = child->Slot06();
if (this->input) {
static_cast<UIWindow*>(this->input)->Slot23();
this->input->Slot23();
}
return;
@ -168,13 +168,13 @@ int WindowDialogs::Confirm(
this->dialog.retirement.rendered.push_front(box);
if (this->capture) {
this->suspendedRoots.insert(static_cast<UIWindow*>(this->capture)->Root());
this->suspendedRoots.insert(this->capture->Root());
}
this->capture = nullptr;
if (this->input) {
static_cast<UIWindow*>(this->input)->Slot24(0);
this->input->Slot24(0);
}
this->input = nullptr;