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.
This commit is contained in:
ragnarok-clanker 2026-11-05 15:55:05 +00:00
commit 8b1570ee8e

View file

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