rodecomp/Source/UI/Item/UIItemStoreWnd.h
ragnarok-clanker 896f11fd97 Decompile fn_13274 (UIItemStoreWnd::Slot10)
Batch #8310 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_13274 UIItemStoreWnd::Slot10: logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas, dori
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 16:34:29 +00:00

40 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREWND_H
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREWND_H
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Item/UIItemBaseWnd.h"
#include <cstddef>
#include <string>
class UICheckBox;
class UIStaticText;
class UIItemStoreWnd : public UIItemBaseWnd {
public:
void Slot10(int x, int y, std::intptr_t value) override;
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
void Slot11() override;
void Slot25(int x, int y) override;
__declspec(noinline) ITEM_INFO GetItemAt(int x, int y);
void SetTabChecked(int index, bool checked);
void SetTitle(std::string title);
/* 00F0 */ int unknown_00F0;
/* 00F4 */ unsigned char unknown_00F4[0x04];
/* 00F8 */ unsigned char unknown_00F8[0x08];
/* 0100 */ UICheckBox* tabs[8];
/* 0120 */ int unknown_0120[8];
/* 0140 */ unsigned char unknown_0140[0x1C];
/* 015C */ UIStaticText* title;
/* 0160 */ unsigned char unknown_0160[0x04];
/* 0164 */ WindowPlacement* saved;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemStoreWnd, tabs) == 0x100);
static_assert(offsetof(UIItemStoreWnd, saved) == 0x164);
#endif
#endif