diff --git a/cpp/LunaHook/LunaHook/engines/mages/mages.cpp b/cpp/LunaHook/LunaHook/engines/mages/mages.cpp index 638eb477..451a386a 100644 --- a/cpp/LunaHook/LunaHook/engines/mages/mages.cpp +++ b/cpp/LunaHook/LunaHook/engines/mages/mages.cpp @@ -259,7 +259,7 @@ namespace hookmages template void SpecialHookMAGES(hook_context *context, HookParam *hp, TextBuffer *buffer, uintptr_t *split) { - auto edx = (uintptr_t)context->base + offset; // regof(edx, esp_base); + auto edx = (uintptr_t)context->base[offset]; // regof(edx, esp_base); auto s = mages::readString(edx, gametype);