Decompile 3 functions in Source/Contents/Items/ItemInfo.cpp, Source/Contents/Items/ItemInfo.h

Batch #1209 by ragnarok-clanker: 0 byte-identical, 3 confirmed by peer review.

- fn_06571 ItemInfo::operator<: logic confirmed by peer review
- fn_06609 ItemInfo::SetName: logic confirmed by peer review
- fn_06610 ItemInfo::SetItemId: logic confirmed by peer review

Peer-reviewed-by: Kisuka, eAthena
Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-27 21:09:14 +00:00
commit 82a645387c
2 changed files with 41 additions and 1 deletions

View file

@ -42,7 +42,10 @@ struct alignas(8) ItemInfo {
ItemInfo& operator=(const ItemInfo& other);
void Reset();
std::uint32_t Assign(const RawItemData& item);
ItemInfo& AssignBasic(const RawItemData& item);
bool operator<(const ItemInfo& other) const;
bool SetName(const char* name);
void SetItemId(int value);
/* 0000 */ std::uint32_t unknown_0000[4];
/* 0010 */ std::int32_t quantity;
/* 0014 */ std::uint32_t unknown_0014[2];