From 4ccc60cf0f46d8ccbaf08615c3640f901ed4853e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 16:47:35 +0000 Subject: [PATCH] Decompile fn_12946 (UIOpenRoulletteWnd::SendMsg) Batch #13432 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_12946 UIOpenRoulletteWnd::SendMsg: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Window/UIOpenRoulletteWnd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/UI/Window/UIOpenRoulletteWnd.cpp b/Source/UI/Window/UIOpenRoulletteWnd.cpp index ba60bc44..e05f20fd 100644 --- a/Source/UI/Window/UIOpenRoulletteWnd.cpp +++ b/Source/UI/Window/UIOpenRoulletteWnd.cpp @@ -47,8 +47,7 @@ int UIOpenRoulletteWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, if (a == 192 && g_windowMgr.unknown_0464 == nullptr) { RouletteOpenPacket packet; packet.id = ID_CZ_REQ_OPEN_ROULETTE; - CRagConnection& connection = GetRagConnection(); - connection.Send(g_packetLengths.FixedLength(packet.id), &packet); + GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packet.id), &packet); } return 0;