Decompile fn_23483 (CSession::GetShopType)

Batch #12496 by Toshiro: 0 byte-identical, 1 confirmed by peer review.

- fn_23483 CSession::GetShopType: logic confirmed by peer review

Peer-reviewed-by: Yommy, dori
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-05 16:05:06 +00:00
commit 1321ea8890

View file

@ -2614,8 +2614,8 @@ const char* CSession::GetMonsterW3dName(int job) const {
// OFFSET: 0x00DE38E0
// FUNCTION: fn_23483
unsigned char CSession::GetShopType(int id) {
auto it = this->m_shops.find(id);
if (it == this->m_shops.end()) {
auto it = this->m_shops.lower_bound(id);
if (it == this->m_shops.end() || it->first != id) {
return 0;
}