From 38760bdfdc98c3c95f17a8fbbab45baf1f1e642e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 00:32:22 +0000 Subject: [PATCH] Decompile fn_09855 (SendMacroUserInfoPacket) Batch #12759 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_09855 SendMacroUserInfoPacket: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/UIMacroUserInfoWnd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/UI/UIMacroUserInfoWnd.cpp b/Source/UI/UIMacroUserInfoWnd.cpp index 847910e2..62f29def 100644 --- a/Source/UI/UIMacroUserInfoWnd.cpp +++ b/Source/UI/UIMacroUserInfoWnd.cpp @@ -433,7 +433,7 @@ void UIMacroReporterWnd::Slot11() { // FUNCTION: fn_09855 void __stdcall SendMacroUserInfoPacket(std::uint16_t first, std::uint16_t second, std::uint8_t third) { struct Packet { - std::uint16_t id; + std::int16_t id; std::uint16_t first; std::uint16_t second; std::uint8_t third; @@ -441,7 +441,8 @@ void __stdcall SendMacroUserInfoPacket(std::uint16_t first, std::uint16_t second CRagConnection* connection = &GetRagConnection(); const PacketLengths& lengths = reinterpret_cast(GetRagConnection()); - connection->Send(lengths.FixedLength(packet.id), &packet); + const int length = lengths.FixedLength(packet.id); + connection->Send(length, &packet); } // OFFSET: 0x007F0490