From c481028a7ba97fe411ca375d6c30ff7717ca966d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 13:02:13 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/Items/ItemReformMgr.cpp, Source/Contents/Items/ItemReformMgr.h Batch #5545 by willerthal: 0 byte-identical, 2 confirmed by peer review. - fn_04074 ItemReformInfo::ItemReformInfo: logic confirmed by peer review - fn_04084 CItemReformMgr::HasItem: logic confirmed by peer review Peer-reviewed-by: Yommy, tayoba, SapitoSucio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Items/ItemReformMgr.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/Contents/Items/ItemReformMgr.cpp b/Source/Contents/Items/ItemReformMgr.cpp index 52eeeee1a..769cf892a 100644 --- a/Source/Contents/Items/ItemReformMgr.cpp +++ b/Source/Contents/Items/ItemReformMgr.cpp @@ -19,6 +19,9 @@ CItemReformMgr* g_itemReformMgr = nullptr; static const char kItemReformSystemPath[] = "LuaFiles514\\Lua Files\\ItemReform\\ItemReformSystem.lub"; // OFFSET: 0x005F92A0 +// FUNCTION: fn_04074 +ItemReformInfo::ItemReformInfo() { +} // OFFSET: 0x005F91D0 @@ -37,6 +40,10 @@ void CItemReformMgr::NullSub() { // OFFSET: 0x005F9FF0 // OFFSET: 0x005FA140 +// FUNCTION: fn_04084 +bool CItemReformMgr::HasItem(int itemId) { + return this->m_reformItemList.find(itemId) != this->m_reformItemList.end(); +} static void ReformError(std::uint64_t id, const char* format) { ShowErrorDialog(FormatOwnedString(format, id), 0);