From e921062684276a08f969e562a8c2fcfb46220ac0 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 20 Oct 2018 15:01:43 -0400 Subject: [PATCH] fix marine heart hook --- 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 e37a02e..444dd57 100644 --- a/vnrhook/engine/engine.cc +++ b/vnrhook/engine/engine.cc @@ -11442,7 +11442,7 @@ bool InsertMarineHeartHook() 0x6a, 0x00, // 0040d1e3 |. 6a 00 push 0x0 ; |width = 0x0 0x8b,0x46, 0x04, 0x8b,0x46, 0x04, // 0040d1e5 |. 8b46 04 mov eax,dword ptr ds:[esi+0x4] ; | 0x50, // 0040d1e8 |. 50 push eax ; |height - 0xe8, 0x00,0xfa,0x06,0x00 // 0040d1e9 |. e8 00fa0600 call ; \createfonta + 0xe8//, 0x00,0xfa,0x06,0x00 // 0040d1e9 |. e8 00fa0600 call ; \createfonta }; enum { addr_offset = 0x0040d160 - 0x0040d1c6 }; // distance to the beginning of the function ULONG range = min(processStopAddress - processStartAddress, MAX_REL_ADDR);