From 381f73a4eb17c679e51c0873194e336e2231f601 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 11:51:09 +0000 Subject: [PATCH] Decompile fn_13667 (NormalItemSlotWindow::IsValid) Batch #13211 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_13667 NormalItemSlotWindow::IsValid: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/UserData/NormalItemSlots.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Contents/UserData/NormalItemSlots.cpp b/Source/Contents/UserData/NormalItemSlots.cpp index 59508bf8..fe3bbe77 100644 --- a/Source/Contents/UserData/NormalItemSlots.cpp +++ b/Source/Contents/UserData/NormalItemSlots.cpp @@ -26,7 +26,10 @@ void NormalItemSlotWindow::Reset() { // OFFSET: 0x009A6000 // FUNCTION: fn_13667 int NormalItemSlotWindow::IsValid() const { - if (this->width != 290 || this->height > 175 || this->height < 43 || (this->height - 10) % 33 != 0 || (this->height == 175 && !g_session.ItemSlotActive())) { + if (this->width != 290 || this->height > 175) { + return 0; + } + if (this->height < 43 || (this->height - 10) % 33 != 0 || (this->height == 175 && !g_session.ItemSlotActive())) { return 0; }