Compare commits
4 Commits
clr-fix-at
...
2.0.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8335eb04f | ||
|
|
994335c6b0 | ||
| 68b4863f52 | |||
| 06f89955d3 |
@@ -182,14 +182,12 @@ public sealed class GameObjectHandler : DisposableMediatorSubscriberBase, IHighP
|
|||||||
|
|
||||||
if (nextAddr != IntPtr.Zero && !PtrGuard.LooksLikePtr(nextAddr))
|
if (nextAddr != IntPtr.Zero && !PtrGuard.LooksLikePtr(nextAddr))
|
||||||
{
|
{
|
||||||
Logger.LogWarning("[{this}] _getAddress returned non-pointer: 0x{addr:X}", this, (ulong)nextAddr);
|
|
||||||
nextAddr = IntPtr.Zero;
|
nextAddr = IntPtr.Zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nextAddr != IntPtr.Zero &&
|
if (nextAddr != IntPtr.Zero &&
|
||||||
!PtrGuard.IsReadable(nextAddr, (nuint)sizeof(FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject)))
|
!PtrGuard.IsReadable(nextAddr, (nuint)sizeof(FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject)))
|
||||||
{
|
{
|
||||||
Logger.LogWarning("[{this}] Address not readable: 0x{addr:X}", this, (ulong)nextAddr);
|
|
||||||
nextAddr = IntPtr.Zero;
|
nextAddr = IntPtr.Zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user