From 42e9ca461b952480d9cb8b0b7da1b1f0398b2ac5 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 00:19:35 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/UILapineBoxWnd.cpp Batch #12731 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_04165 UIIngredientInfoWnd::Slot28: byte-identical - fn_04168 UIIngredientInfoWnd::Slot32: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/UILapineBoxWnd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/UILapineBoxWnd.cpp b/Source/UI/UILapineBoxWnd.cpp index bdecb293..6db65111 100644 --- a/Source/UI/UILapineBoxWnd.cpp +++ b/Source/UI/UILapineBoxWnd.cpp @@ -89,7 +89,7 @@ void UIIngredientInfoWnd::Slot31(int, int) { void UIIngredientInfoWnd::Slot28(int x, int y) { this->Slot27(x, y); - if (this->tooltip.size() != 0) { + if (this->tooltip.size() > 0) { int tipX = 0; int tipY = -20; this->ToScreen(tipX, tipY); @@ -187,7 +187,7 @@ void UILapineBoxWnd::Slot19() { // OFFSET: 0x00600C00 // FUNCTION: fn_04168 void UIIngredientInfoWnd::Slot32(int, int) { - if (this->item.unknown_0000[1] != 0) { + if (this->item.unknown_0000[1] > 0) { UIWindow* window = g_windowMgr.EnsureWindow(12); window->SendMsg(this, 0x18, reinterpret_cast(&this->item), 0, 0, 0); }