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) {