diff --git a/Ashita.dll b/Ashita.dll index 67b8110..3db7829 100644 Binary files a/Ashita.dll and b/Ashita.dll differ diff --git a/injector.exe b/injector.exe index 3f3b628..32c3898 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 763b0f2..2e2437c 100644 --- a/plugins/ADK/AS_Memory.h +++ b/plugins/ADK/AS_Memory.h @@ -50,7 +50,7 @@ namespace Ashita * @param {uintptr_t} count - The result count to use if the pattern is found multiple times. * @returns {uintptr_t} The address where the pattern was located, 0 otherwise. */ - static uintptr_t FindPattern(std::vector data, uintptr_t baseAddress, const char* pattern, uintptr_t offset, uintptr_t count) + static uintptr_t FindPattern(const std::vector& data, uintptr_t baseAddress, const char* pattern, uintptr_t offset, uintptr_t count) { // Ensure the incoming pattern is properly aligned.. if (strlen(pattern) % 2 > 0)