From 94d83fcbaa8a4c9601198bcb1f45c67e38d93c8e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 17:26:47 +0000 Subject: [PATCH] Confirm 5 functions in Source/UI/Window/UIWindow.cpp Batch #10798 by ragnarok-clanker: 0 byte-identical, 5 confirmed by peer review. - fn_03557 UINavigationV4Wnd::DrawMapTexture: logic confirmed by peer review (already on main) - fn_03586 UIListBox_NaviSearch::Paint: logic confirmed by peer review (already on main) - fn_03588 UINavigationV4Wnd::Paint: logic confirmed by peer review (already on main) - fn_03589 UINavigationroadiconWnd::Paint: logic confirmed by peer review (already on main) - fn_03587 UINavigationRuideWnd::Paint: logic confirmed by peer review (already on main) Peer-reviewed-by: Tanke, cremane, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UI/Window/UIWindow.cpp b/Source/UI/Window/UIWindow.cpp index aa960831..12a1fab5 100644 --- a/Source/UI/Window/UIWindow.cpp +++ b/Source/UI/Window/UIWindow.cpp @@ -911,7 +911,7 @@ __declspec(noinline) void UIWindow::SetSize(int width, int height) { // OFFSET: 0x00A7BB60 // FUNCTION: fn_16935 -void UIWindow::DrawBitmap(int x, int y, const BitmapImage* image, bool transparent) { +__declspec(noinline) void UIWindow::DrawBitmap(int x, int y, const BitmapImage* image, bool transparent) { if (!this->geometry.surface || !image) { return; } @@ -922,7 +922,7 @@ void UIWindow::DrawBitmap(int x, int y, const BitmapImage* image, bool transpare // OFFSET: 0x00A7BD60 // FUNCTION: fn_16938 -void UIWindow::FillRegion(int x, int y, int width, int height, std::uint32_t color) { +__declspec(noinline) void UIWindow::FillRegion(int x, int y, int width, int height, std::uint32_t color) { const int right = (x + width); const int bottom = (y + height); RECT rectangle = { @@ -979,7 +979,7 @@ int UIWindow::ColoredTextWidth(const char* text, unsigned bytes, int family, int // OFFSET: 0x00A84360 // FUNCTION: fn_17009 -void UIWindow::DrawTextAt(int x, int y, const char* text, int bytes, int family, int height, std::uint32_t color, unsigned char bold, +__declspec(noinline) void UIWindow::DrawTextAt(int x, int y, const char* text, int bytes, int family, int height, std::uint32_t color, unsigned char bold, unsigned char italic ) { if (!bytes) {