fix: correctly persist sigged jmp calls

This commit is contained in:
goaaats 2022-06-20 18:14:35 +02:00
parent ea2277ae8f
commit fee4b1c32a
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 3 additions and 3 deletions

View file

@ -320,7 +320,7 @@ namespace Dalamud.Game
var insnByte = Marshal.ReadByte(scanRet);
if (insnByte == 0xE8 || insnByte == 0xE9)
return ReadJmpCallSig(scanRet);
scanRet = ReadJmpCallSig(scanRet);
this.textCache?.Add(signature, scanRet.ToInt64() - this.Module.BaseAddress.ToInt64());