From 8b1570ee8ec4e7e1a10aee650f77185dcee6d1a9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 15:55:05 +0000 Subject: [PATCH] Decompile 2 functions in Source/Client/Session.cpp Batch #12489 by Toshiro: 2 byte-identical, 0 confirmed by peer review. - fn_23463 CSession::FindItem1730: byte-identical - fn_23475 CSession::FindItem1738: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Client/Session.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Client/Session.cpp b/Source/Client/Session.cpp index 4d25fc8f..7c40515f 100644 --- a/Source/Client/Session.cpp +++ b/Source/Client/Session.cpp @@ -1637,9 +1637,9 @@ const char* CSession::GetMonsterRmaName(int job) const { // OFFSET: 0x00DE08F0 // FUNCTION: fn_23463 ITEM_INFO CSession::FindItem1730(std::uint32_t id) const { - for (const ITEM_INFO& item : this->unknown_1730) { - if (item.unknown_0000[1] == id) { - return item; + for (auto item = this->unknown_1730.begin(); item != this->unknown_1730.end(); ++item) { + if (item->unknown_0000[1] == id) { + return *item; } } @@ -1715,9 +1715,9 @@ const char* CSession::GetHotkeyDescription(int index) const { // OFFSET: 0x00DE0EB0 // FUNCTION: fn_23475 ITEM_INFO CSession::FindItem1738(std::uint32_t id) const { - for (const ITEM_INFO& item : this->unknown_1738) { - if (item.unknown_0000[1] == id) { - return item; + for (auto item = this->unknown_1738.begin(); item != this->unknown_1738.end(); ++item) { + if (item->unknown_0000[1] == id) { + return *item; } }