diff --git a/Ashita.dll b/Ashita.dll index 8b582c4..ff3307d 100644 Binary files a/Ashita.dll and b/Ashita.dll differ diff --git a/injector.exe b/injector.exe index 0dfde7f..1b61448 100644 Binary files a/injector.exe and b/injector.exe differ diff --git a/plugins/ADK/AS_Memory.h b/plugins/ADK/AS_Memory.h index 3af5ca8..94bd550 100644 --- a/plugins/ADK/AS_Memory.h +++ b/plugins/ADK/AS_Memory.h @@ -185,13 +185,13 @@ namespace Ashita return 0; // Walk the pattern and match its data.. - for (size_t y = 0; y < psize - 1; y++) + for (size_t y = 0; y < psize; y++) { if (y == pstart || vpattern[y].second != true) continue; if (data[x - pstart + y] != vpattern[y].first) break; - if (y + 1 == psize - 1) + if (y + 1 == psize) matches.insert(matches.begin(), (uintptr_t)(data + (x - pstart)) + offset); } }