Skip to content

Commit

Permalink
smh
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrog0d authored Aug 31, 2022
1 parent 9a106d1 commit e44fc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Il2CppDumper/KhangSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static bool SearchRegistrations(ulong imagebase, string filename, out ulo

// functions are always aligned to 16 bytes
const int patternLength = 29;
for (int i = 0; i < bytes.Length - patternLength; i += 0x1) {
for (int i = 0; i < bytes.Length - patternLength; i += 0x10) {
if (
bytes[i + 0] == 0x4C && bytes[i + 1] == 0x8D && bytes[i + 2] == 0x0D &&
bytes[i + 7] == 0x4C && bytes[i + 8] == 0x8D && bytes[i + 9] == 0x05 &&
Expand Down

0 comments on commit e44fc7b

Please sign in to comment.