Decompile fn_17124 (UIWindowMgr::RegisterNamedWindow)

Batch #1049 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_17124 UIWindowMgr::RegisterNamedWindow: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-27 12:14:55 +00:00
commit 4e5f7335ff
2 changed files with 10 additions and 1 deletions

View file

@ -621,3 +621,11 @@ UIWindowMgr::~UIWindowMgr() {
this->savedRectangles.clear();
}
// OFFSET: 0x00A8B840
// FUNCTION: fn_17124
void UIWindowMgr::RegisterNamedWindow(std::string name, UIWindow* window) {
if (this->namedWindows.find(name) == this->namedWindows.end()) {
this->namedWindows[name] = window;
}
}