Skip to content

Commit

Permalink
Update AgentDebug.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Caraxi committed May 30, 2024
1 parent 3e24a61 commit 35b5508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Debugging/AgentDebug.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public override void Draw() {

private void SetupLogging() {
agentGetLog = new List<(AgentId, ulong, ulong)>();
getAgentByInternalIdHook ??= Common.Hook(AgentModule.Addresses.GetAgentByInternalID.Value, new GetAgentByInternalIDDelegate(GetAgentByInternalIDDetour));
getAgentByInternalIdHook ??= Common.Hook(AgentModule.Addresses.GetAgentByInternalId.Value, new GetAgentByInternalIDDelegate(GetAgentByInternalIDDetour));
getAgentByInternalId2Hook ??= Common.Hook("E8 ?? ?? ?? ?? 48 85 C0 74 12 0F BF 80", new GetAgentByInternalIDDelegate(GetAgentByInternalIDDetour));
getAgentByInternalIdHook?.Enable();
getAgentByInternalId2Hook?.Enable();
Expand Down

0 comments on commit 35b5508

Please sign in to comment.