chore: update signatures
This commit is contained in:
parent
40de971de6
commit
6e4b2aa4fc
@ -24,11 +24,11 @@ namespace Tourist {
|
|||||||
public GameFunctions(Plugin plugin) {
|
public GameFunctions(Plugin plugin) {
|
||||||
this.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 = this.Plugin.GameInteropProvider.HookFromAddress<VistaUnlockedDelegate>(vistaUnlockedPtr, this.OnVistaUnlock);
|
||||||
this.VistaUnlockedHook.Enable();
|
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;
|
this.SightseeingMaskPointer = maskPtr;
|
||||||
|
|
||||||
var createVfxPtr = this.Plugin.SigScanner.ScanText("E8 ?? ?? ?? ?? F3 0F 10 35 ?? ?? ?? ?? 48 89 43 08");
|
var createVfxPtr = this.Plugin.SigScanner.ScanText("E8 ?? ?? ?? ?? F3 0F 10 35 ?? ?? ?? ?? 48 89 43 08");
|
||||||
|
Loading…
Reference in New Issue
Block a user