Skip to content

Commit

Permalink
Fix for 6.55.
Browse files Browse the repository at this point in the history
  • Loading branch information
awgil committed Jan 16, 2024
1 parent d59f3e7 commit b190f8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions BossMod/Network/PacketInterceptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ public bool Active

public unsafe PacketInterceptor()
{
// alternative signature: E8 ?? ?? ?? ?? 84 C0 0F 85 ?? ?? ?? ?? 48 8D 35 - seem to be changing from build to build
_fetchHook = Service.Hook.HookFromSignature<FetchReceivedPacketDelegate>("E8 ?? ?? ?? ?? 84 C0 0F 85 ?? ?? ?? ?? 44 0F B6 64 24", FetchReceivedPacketDetour);
// alternative signatures - seem to be changing from build to build:
// - E8 ?? ?? ?? ?? 84 C0 0F 85 ?? ?? ?? ?? 48 8D 35
// - E8 ?? ?? ?? ?? 84 C0 0F 85 ?? ?? ?? ?? 44 0F B6 64 24
_fetchHook = Service.Hook.HookFromSignature<FetchReceivedPacketDelegate>("E8 ?? ?? ?? ?? 84 C0 0F 85 ?? ?? ?? ?? 48 8D 35", FetchReceivedPacketDetour);
Service.Log($"[NPI] FetchReceivedPacket address = 0x{_fetchHook.Address:X}");

// potentially useful sigs from dalamud:
Expand Down

0 comments on commit b190f8d

Please sign in to comment.