From 928192efbc2f81fc38794a53f1dcfb6040065bfb Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 26 Jun 2024 17:04:15 -0400 Subject: [PATCH] chore: update signatures --- client/ExtraChat/GameFunctions.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/ExtraChat/GameFunctions.cs b/client/ExtraChat/GameFunctions.cs index ce8feb4..ef52b4c 100644 --- a/client/ExtraChat/GameFunctions.cs +++ b/client/ExtraChat/GameFunctions.cs @@ -23,10 +23,10 @@ internal unsafe class GameFunctions : IDisposable { [Signature("4D 85 C0 74 08 45 8B C1")] private readonly delegate* unmanaged _resolvePayloads; - // [Signature("E8 ?? ?? ?? ?? 48 8B D0 48 8D 4D E0 E8 ?? ?? ?? ?? 41 B0 01")] + // [Signature("E8 ?? ?? ?? ?? 48 8B D0 48 8D 4D F0 E8 ?? ?? ?? ?? EB 6C")] // private readonly delegate* unmanaged _step1; - [Signature("E8 ?? ?? ?? ?? 0F B7 7F 08")] + [Signature("E8 ?? ?? ?? ?? 0F B7 7F 08 48 8B CE")] private readonly delegate* unmanaged _step2; [Signature("E8 ?? ?? ?? ?? 49 8B 45 00 49 8B CD FF 50 68")] @@ -59,7 +59,7 @@ internal unsafe class GameFunctions : IDisposable { private delegate byte ShouldDoNameLookupDelegate(IntPtr agent); [Signature( - "E8 ?? ?? ?? ?? 84 C0 75 1A 8B 93", + "48 89 5C 24 ?? 57 48 83 EC 20 48 8B D9 40 32 FF 48 8B 49 10", DetourName = nameof(ShouldDoNameLookupDetour) )] private Hook ShouldDoNameLookupHook { get; init; } @@ -67,7 +67,7 @@ internal unsafe class GameFunctions : IDisposable { private delegate ulong GetChatColourDelegate(IntPtr a1, int a2); [Signature( - "E8 ?? ?? ?? ?? 48 8B 4B 10 B2 01 89 83", + "E8 ?? ?? ?? ?? 39 83 ?? ?? ?? ?? 0F 84 ?? ?? ?? ?? 66 66 0F 1F 84 00", DetourName = nameof(GetChatColourDetour) )] private Hook GetChatColourHook { get; init; }