From be12661f532c44d4a3431d205c059c29ab2355cd Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 16:45:06 +0000 Subject: [PATCH] Decompile 4 functions in Source/Contents/Configuration/ServiceOptions.cpp Batch #13428 by SapitoSucio: 4 byte-identical, 0 confirmed by peer review. - fn_06368 SendServiceOptionPacket: byte-identical - fn_06381 EnableWhisperBlock: byte-identical - fn_06382 DisableWhisperBlock: byte-identical - fn_06383 SendWhisperBlockPacket: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Configuration/ServiceOptions.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Source/Contents/Configuration/ServiceOptions.cpp b/Source/Contents/Configuration/ServiceOptions.cpp index 4dbe8af3..4418d0f4 100644 --- a/Source/Contents/Configuration/ServiceOptions.cpp +++ b/Source/Contents/Configuration/ServiceOptions.cpp @@ -791,8 +791,7 @@ struct ConfigPacket { void SendServiceOptionPacket() { ServiceOptionPacket packet; packet.id = 0xAE8; - CRagConnection& connection = GetRagConnection(); - connection.Send(g_packetLengths.FixedLength(packet.id), &packet); + GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packet.id), &packet); } // OFFSET: 0x006C5E70 @@ -1200,8 +1199,7 @@ void EnableWhisperBlock() { WhisperBlockPacket packet; packet.id = 0xD0; packet.enabled = 1; - CRagConnection& connection = GetRagConnection(); - connection.Send(g_packetLengths.FixedLength(packet.id), &packet); + GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packet.id), &packet); } // OFFSET: 0x006C63D0 @@ -1210,8 +1208,7 @@ void DisableWhisperBlock() { WhisperBlockPacket packet; packet.id = 0xD0; packet.enabled = 0; - CRagConnection& connection = GetRagConnection(); - connection.Send(g_packetLengths.FixedLength(packet.id), &packet); + GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packet.id), &packet); } // OFFSET: 0x006C6410 @@ -1219,8 +1216,7 @@ void DisableWhisperBlock() { void SendWhisperBlockPacket() { ServiceOptionPacket packet; packet.id = 0xD3; - CRagConnection& connection = GetRagConnection(); - connection.Send(g_packetLengths.FixedLength(packet.id), &packet); + GetRagConnection().Send(reinterpret_cast(GetRagConnection()).FixedLength(packet.id), &packet); } // OFFSET: 0x006C6450