From 4fc9d8260e8be7988db7b26d8e9e554f1374e3ec Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 03:23:36 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Window/WindowOrdering.cpp Batch #12940 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_17184 UIWindowMgr::InvalidateAll: byte-identical - fn_17190 UIWindowMgr::InvalidateFrames: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Window/WindowOrdering.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/UI/Window/WindowOrdering.cpp b/Source/UI/Window/WindowOrdering.cpp index 2cc90c54..12f219a4 100644 --- a/Source/UI/Window/WindowOrdering.cpp +++ b/Source/UI/Window/WindowOrdering.cpp @@ -9,8 +9,8 @@ // OFFSET: 0x00A966E0 // FUNCTION: fn_17184 void UIWindowMgr::InvalidateAll() { - for (UIWindow* window : this->rendered) { - window->InvalidateChildren(); + for (auto it = this->rendered.begin(); it != this->rendered.end(); ++it) { + (*it)->InvalidateChildren(); } } @@ -144,9 +144,9 @@ void UIWindowMgr::InvalidateFrames() { this->unknown_04FC = 1; - for (UIWindow* window : this->rendered) { - if (window->Slot03()) { - window->InvalidateChildren(); + for (auto it = this->rendered.begin(); it != this->rendered.end(); ++it) { + if ((*it)->Slot03()) { + (*it)->InvalidateChildren(); } } }