These are chat archives for EasyHook/EasyHook

26th
Sep 2016
Nikolaj Mariager
@TinkerWorX
Sep 26 2016 21:54
I swear, finding a good place to get assembly support is impossible. :P
Trying to come up with the instructions needed to move whatever is in edx into a pointer.
If I recall correct, it's something like
mov <ptr>, r1
mov edx, (r1)
If I wanted to restore r1 it'd be something like
push r1
mov <ptr>, r1
mov edx, (r1)
pop r1
Nikolaj Mariager
@TinkerWorX
Sep 26 2016 22:18
This does the trick:
push eax
mov eax, <ptr>
mov [eax], edx
pop eax
Thanks for being my rubber duck. ;)