-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pattern to be compatible with 1.30.4
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#pragma once | ||
#define OPCODE_JMP 0xEB | ||
|
||
#define MEMORY_PATTERN_A L"\x74\x00\xC6\x44\x24\x28\x00\x00\x00\x00\x00\x00\x00\x48" | ||
#define MEMORY_SIGNATURE_A L"x?xxxxx??????x" | ||
#define MEMORY_PATTERN_B L"\x74\x00\xC7\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0F" | ||
#define MEMORY_SIGNATURE_B L"x?xx?????????x" | ||
#define MEMORY_PATTERN_A L"\x74\x5F\xC6\x44\x24\x28\x00\x41\xB8\x35\x00\x00\x00\x48\x8D\x00\x00\x00\x00\x00\x48\x8D\x4C\x24\x30\xE8\x00\x00\x00\x00\x0F\xB6\x44\x24\x28\x88\x06\x48\x8D\x4E\x08\x48\xC7\x41\x18\x0F\x00\x00\x00\x4C\x89\x61\x10" | ||
#define MEMORY_SIGNATURE_A L"xxxxxxxxxxxxxxx?????xxxxxx????xxxxxxxxxxxxxxxxxxxxxxx" | ||
#define MEMORY_PATTERN_B L"\x74\x0B\xC7\x04\x25\x00\x00\x00\x00\x39\x05\x00\x00\x0F\xB6\x45\xE0\x88\x06\x48\x8D\x4E\x08\x48\x8D\x55\xE8\xE8\x00\x00\x00\x00\x90\x48\x8D\x4D\xE8\xE8" | ||
#define MEMORY_SIGNATURE_B L"xxxxxxxxxxxxxxxxxxxxxxxxxxxx????xxxxxx" | ||
|
||
#define TARGET_PROCESS_NAME L"eu4.exe" | ||
#define TARGET_MODULE_NAME L"eu4.exe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
>eu4.exe | ||
00000000013930E7:74->EB | ||
00000000013932D7:74->EB |