Quote:
Originally Posted by cravenge
I'm kinda confused why the conditional jump is being patched now instead of the flag on the next byte. Both offsets should be +1 to be correct.
|
These are just two ways to implement
the
screenshot shows that after calling IsScavenge a conditional jump occurs 31 bytes ahead
This jump skips the SendGasCanDestroyMessage(void) call
so actual destination is = source address + number of bytes to jump + sizeof jmp
526368 = 526335 + 31 + 2
In first version I decided to replace 0x31 with 00 so that the jump does not skip the SendGasCanDestroyMessage call
In second version I decided to replace the jump with a NOP as it seemed to me a more accurate solution
But anyway is not much difference here both ways will work the same
__________________