mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-27 07:44:02 +08:00
fix
This commit is contained in:
parent
99f88ea238
commit
7b61703dcb
@ -17,7 +17,7 @@ bool InsertArtemisHook() {
|
||||
for (auto addr : Util::SearchMemory(bytes, sizeof(bytes), PAGE_EXECUTE, processStartAddress, processStopAddress)) {
|
||||
HookParam hp;
|
||||
hp.address = addr + 1;
|
||||
hp.offset=get_reg(regs::rdi);
|
||||
hp.offset=get_reg(regs::rdx);
|
||||
hp.type = USING_STRING | CODEC_UTF8 | NO_CONTEXT;
|
||||
ConsoleOutput("INSERT Artemis Hook ");
|
||||
return NewHook(hp, "Artemis");
|
||||
|
Loading…
Reference in New Issue
Block a user