From ca9312044217462beb720fe0b973cb0bd9467a3d Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Mon, 6 Sep 2021 02:03:22 -0600 Subject: [PATCH] better search in old horkeye --- texthook/engine/engine.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/texthook/engine/engine.cc b/texthook/engine/engine.cc index f5052b2..0bf7d7d 100644 --- a/texthook/engine/engine.cc +++ b/texthook/engine/engine.cc @@ -14011,6 +14011,9 @@ bool InsertHorkEyeHook() return true; } + memcpy(spDefault.pattern, Array{ 0xcc, 0xcc, 0xcc, XX, 0xec }, spDefault.length = 5); + spDefault.offset = 3; + const BYTE bytes2[] = { 0x83, 0xec, XX, // sub esp,??