diff --git a/texthook/engine/engine.cc b/texthook/engine/engine.cc index 9749b13..6df2afd 100644 --- a/texthook/engine/engine.cc +++ b/texthook/engine/engine.cc @@ -16576,7 +16576,7 @@ void InsertMonoHook(HMODULE h) { HookParam hp = {}; hp.address = addr; - hp.type = USING_UNICODE; + hp.type = USING_UNICODE | FULL_STRING; hp.offset = 4; hp.text_fun = [](DWORD esp_base, HookParam*, BYTE, DWORD* data, DWORD* split, DWORD* len) { diff --git a/texthook/engine/match64.cc b/texthook/engine/match64.cc index 28f9e5e..90cf81d 100644 --- a/texthook/engine/match64.cc +++ b/texthook/engine/match64.cc @@ -89,7 +89,7 @@ namespace Engine { HookParam hp = {}; hp.address = addr; - hp.type = USING_STRING | USING_UNICODE; + hp.type = USING_STRING | USING_UNICODE | FULL_STRING; hp.offset = -0x20; // rcx hp.padding = 20; hp.length_fun = [](uintptr_t, uintptr_t data)