From a2859b32951cf5282cf32f9f0e918d2908a4ffec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Tue, 10 Dec 2024 02:43:59 +0800 Subject: [PATCH] . --- cpp/LunaHook/LunaHook/engines/mages/mages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);