From 00fe6a04fa5c8d7e410ee4ebd9bc10663efddaf1 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 04:57:59 +0000 Subject: [PATCH] Decompile fn_09913 (UIRefiningWnd::Slot26) Batch #11847 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_09913 UIRefiningWnd::Slot26: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/UIRefiningWnd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UI/UIRefiningWnd.cpp b/Source/UI/UIRefiningWnd.cpp index 4a061c2e..4f7b13c1 100644 --- a/Source/UI/UIRefiningWnd.cpp +++ b/Source/UI/UIRefiningWnd.cpp @@ -33,19 +33,19 @@ #pragma pack(push, 1) struct RefiningSelectPacket { - /* 0000 */ std::uint16_t id; + /* 0000 */ std::int16_t id; /* 0002 */ std::uint16_t index; }; struct RefiningRequestPacket { - /* 0000 */ std::uint16_t id; + /* 0000 */ std::int16_t id; /* 0002 */ std::uint16_t index; /* 0004 */ std::uint32_t materialId; /* 0008 */ unsigned char useCatalyst; }; struct RefiningClosePacket { - /* 0000 */ std::uint16_t id; + /* 0000 */ std::int16_t id; }; #pragma pack(pop) @@ -415,7 +415,7 @@ void UIRefining_Notice::Paint() { // OFFSET: 0x007F72A0 // FUNCTION: fn_09913 void UIRefiningWnd::Slot26(int x, int y) { - if (this->item.unknown_0000[1] != 0 && static_cast(x - 109) <= 46 && static_cast(y - 201) <= 46) { + if (this->item.unknown_0000[1] > 0 && static_cast(x - 109) <= 46 && static_cast(y - 201) <= 46) { this->Reset(); } }