From 8a09560994e89248d6fbb777a97cae730bd80e2e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 10:46:07 +0000 Subject: [PATCH] Decompile fn_22032 (CGameMode::ReceiveWindow95Data) Batch #16885 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_22032 CGameMode::ReceiveWindow95Data: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Client/Mode/GameModeHandlers.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Source/Client/Mode/GameModeHandlers.cpp b/Source/Client/Mode/GameModeHandlers.cpp index b1882bd7a..a47c9ddcb 100644 --- a/Source/Client/Mode/GameModeHandlers.cpp +++ b/Source/Client/Mode/GameModeHandlers.cpp @@ -1239,6 +1239,8 @@ void CGameMode::ReceiveBillingInfo(const unsigned char* packet) { g_windowMgr.SendNotice(UIM_PUSHINTOCHATHISTORY, reinterpret_cast(text), 0xFFFFFF, 0, 0, 0); } +extern template std::uint32_t& std::map::operator[](const std::uint32_t&); + struct ActorMessage32 { /* 0000 */ std::string text; /* 0018 */ std::string extra; @@ -1922,6 +1924,11 @@ void CGameMode::ReceiveRuneRewardSteps(const unsigned char* data) { window->SendMsg(window, UM_REFRESH, 0, 0, 0, 0); } } +using RodexMailTree = std::_Tree, std::allocator>, false>>; +extern template std::_Tree_find_result, void*>*> +RodexMailTree::_Find_lower_bound(const std::int64_t&) const; + // OFFSET: 0x00D66B10 // FUNCTION: fn_22021 void CGameMode::ReceiveRodexMailDeleteResult(int mailId, int result) { @@ -2564,8 +2571,9 @@ void CGameMode::ReceiveWindow95Data(const unsigned char* packet) { return; } + const unsigned char* const source = packet + 8; std::vector data; - data.insert(data.end(), packet + 8, packet + 8 + size); + data.insert(data.end(), source, source + size); if (UIWindow* window = g_windowMgr.EnsureWindow(WID_SELECTCARTWND)) { window->SendMsg(nullptr, UM_SETINFO, reinterpret_cast(data.data()), size, *reinterpret_cast(packet + 4), 0); }