mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
#1190 cast data type
This commit is contained in:
@@ -228,7 +228,7 @@ internal sealed class GameFpsUnlocker : IGameFpsUnlocker
|
||||
|
||||
nuint rip = localMemoryUserAssemblyAddress + (uint)offset;
|
||||
rip += 5;
|
||||
rip += *(uint*)(rip + 2) + 6;
|
||||
rip += (uint)*(int*)(rip + 2) + 6;
|
||||
|
||||
nuint address = userAssembly.Address + (rip - localMemoryUserAssemblyAddress);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user