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.
This commit is contained in:
ragnarok-clanker 2026-11-06 11:51:09 +00:00
commit 381f73a4eb

View file

@ -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;
}