Skip to content

Commit

Permalink
Rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
AsgardXIV committed Jan 30, 2025
1 parent 9939750 commit 82a8c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Brio/Game/Actor/ActorVFXService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public ActorVFXService(ISigScanner scanner)
var vfxCreateAddress = scanner.ScanText("E8 ?? ?? ?? ?? 48 8B D8 48 85 C0 74 ?? 0F B6 57 ?? 48 8B C8 C0 EA");
_createActorVfx = (delegate* unmanaged<string, NativeGameObject*, NativeGameObject*, float, byte, ushort, byte, nint>)vfxCreateAddress;

var cleanupRenderAddress = scanner.ScanText("48 89 5C 24 ?? 57 48 83 EC ?? 48 8D 05 ?? ?? ?? ?? 48 8B D9 48 89 01 8B FA 48 8D 05 ?? ?? ?? ?? 48 89 81 ?? ?? ?? ?? 48 8B 89 ?? ?? ?? ?? 48 85 C9 74 ?? 48 8B 01 48 8B D3");
_vfxDtor = (delegate* unmanaged<nint, void>)cleanupRenderAddress;
var vfxDetourAddress = scanner.ScanText("48 89 5C 24 ?? 57 48 83 EC ?? 48 8D 05 ?? ?? ?? ?? 48 8B D9 48 89 01 8B FA 48 8D 05 ?? ?? ?? ?? 48 89 81 ?? ?? ?? ?? 48 8B 89 ?? ?? ?? ?? 48 85 C9 74 ?? 48 8B 01 48 8B D3");
_vfxDtor = (delegate* unmanaged<nint, void>)vfxDetourAddress;
}

public nint CreateActorVFX(string vfxName, IGameObject actor, IGameObject? target = null)
Expand Down

0 comments on commit 82a8c7d

Please sign in to comment.