From a978df26550feaf73b603ef0c73939332a71063c Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Fri, 31 Aug 2018 12:17:48 -0400 Subject: [PATCH] dont split mono strings --- vnrhook/engine/engine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnrhook/engine/engine.cc b/vnrhook/engine/engine.cc index 446059f..f6d9a43 100644 --- a/vnrhook/engine/engine.cc +++ b/vnrhook/engine/engine.cc @@ -16458,7 +16458,7 @@ static void SpecialHookMonoString(DWORD esp_base, HookParam *hp, BYTE, DWORD *da break; if (!s) s = hp->address; - *split = s; + if (hp->type & USING_SPLIT) *split = s; } }