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:
parent
77dd49c297
commit
8b1570ee8e
1 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue