From da1ca57cb77d63e578eb8f11918de660487139ca 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, 14 Jan 2025 19:28:20 +0800 Subject: [PATCH] . --- cpp/LunaHook/LunaHook/engine32/TYPEMOON.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/LunaHook/LunaHook/engine32/TYPEMOON.cpp b/cpp/LunaHook/LunaHook/engine32/TYPEMOON.cpp index 6af14f52..a62e4304 100644 --- a/cpp/LunaHook/LunaHook/engine32/TYPEMOON.cpp +++ b/cpp/LunaHook/LunaHook/engine32/TYPEMOON.cpp @@ -151,7 +151,7 @@ bool TYPEMOON::attach_function() if (!addr) return false; HookParam hp; - hp.address = 0x44CC80; + hp.address = addr; hp.type = USING_STRING | NO_CONTEXT; hp.text_fun = [](hook_context *context, HookParam *hp, TextBuffer *buffer, uintptr_t *split) {