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.
This commit is contained in:
ragnarok-clanker 2026-11-06 00:32:22 +00:00
commit 38760bdfdc

View file

@ -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<const PacketLengths&>(GetRagConnection());
connection->Send(lengths.FixedLength(packet.id), &packet);
const int length = lengths.FixedLength(packet.id);
connection->Send(length, &packet);
}
// OFFSET: 0x007F0490