From 287a203e413277e13b74a2559b4c4e58c512182d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sun, 8 Nov 2026 05:29:17 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Window/WindowMouseHit.cpp, Source/UI/Layout/WindowCoordinates.h Batch #14897 by SapitoSucio: 2 byte-identical, 0 confirmed by peer review. - fn_45428 WindowScreenPosition: byte-identical - fn_45429 WindowScreenBounds: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Layout/WindowCoordinates.h | 4 ++-- Source/UI/Window/WindowMouseHit.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UI/Layout/WindowCoordinates.h b/Source/UI/Layout/WindowCoordinates.h index 25724e644..09ff3df4d 100644 --- a/Source/UI/Layout/WindowCoordinates.h +++ b/Source/UI/Layout/WindowCoordinates.h @@ -3,9 +3,9 @@ class UIWindow; -void WindowScreenPosition(const UIWindow* window, int& x, int& y); +void __stdcall WindowScreenPosition(const UIWindow* window, int& x, int& y); -void WindowScreenBounds(const UIWindow* window, int& left, int& top, int& right, int& bottom); +void __stdcall WindowScreenBounds(const UIWindow* window, int& left, int& top, int& right, int& bottom); bool WindowBoundsOverlap(const int first[4], const int second[4]); diff --git a/Source/UI/Window/WindowMouseHit.cpp b/Source/UI/Window/WindowMouseHit.cpp index 9613eaff6..8eca26dbe 100644 --- a/Source/UI/Window/WindowMouseHit.cpp +++ b/Source/UI/Window/WindowMouseHit.cpp @@ -70,7 +70,7 @@ __declspec(noinline) UIWindow* UIWindowMgr::FindRenderedUid(std::uint32_t uid) { // OFFSET: 0x00A91B70 // FUNCTION: fn_45428 -void WindowScreenPosition(const UIWindow* window, int& x, int& y) { +void __stdcall WindowScreenPosition(const UIWindow* window, int& x, int& y) { int horizontal = 0; int vertical = 0; @@ -85,7 +85,7 @@ void WindowScreenPosition(const UIWindow* window, int& x, int& y) { // OFFSET: 0x00A91BA0 // FUNCTION: fn_45429 -void WindowScreenBounds(const UIWindow* window, int& left, int& top, int& right, int& bottom) { +void __stdcall WindowScreenBounds(const UIWindow* window, int& left, int& top, int& right, int& bottom) { bottom = 0; right = 0; top = 0;