mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
fix: correctly persist sigged jmp calls
This commit is contained in:
parent
ea2277ae8f
commit
fee4b1c32a
2 changed files with 3 additions and 3 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue