chore: update signatures

This commit is contained in:
Anna 2024-06-26 14:16:40 -04:00
parent 40de971de6
commit 6e4b2aa4fc
Signed by: anna
GPG Key ID: D0943384CD9F87D1

View File

@ -24,11 +24,11 @@ namespace Tourist {
public GameFunctions(Plugin plugin) {
this.Plugin = plugin;
var vistaUnlockedPtr = this.Plugin.SigScanner.ScanText("E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 8B CE E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 44 8B 7C 24");
var vistaUnlockedPtr = this.Plugin.SigScanner.ScanText("E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 8B 4C 24 70 E8");
this.VistaUnlockedHook = this.Plugin.GameInteropProvider.HookFromAddress<VistaUnlockedDelegate>(vistaUnlockedPtr, this.OnVistaUnlock);
this.VistaUnlockedHook.Enable();
var maskPtr = this.Plugin.SigScanner.GetStaticAddressFromSig("8B EA 48 8D 0D ?? ?? ?? ?? 8B D3");
var maskPtr = this.Plugin.SigScanner.GetStaticAddressFromSig("44 8B F2 48 8D 0D ?? ?? ?? ?? 8B D7");
this.SightseeingMaskPointer = maskPtr;
var createVfxPtr = this.Plugin.SigScanner.ScanText("E8 ?? ?? ?? ?? F3 0F 10 35 ?? ?? ?? ?? 48 89 43 08");