Update dllmain.cpp

This commit is contained in:
gzygood
2025-05-19 19:48:05 +08:00
committed by GitHub
parent 2fa1270d4c
commit 2003730b38

View File

@@ -166,7 +166,7 @@ void HookStart(HMODULE hModule)
return; return;
} }
g_imgbase = (uint64_t)weixin_dll_base; g_imgbase = (uint64_t)weixin_dll_base;
g_hook_offset = 0x0C0A9A6;// 这个是4.0.5.7的 4.0.3.43 = 0x0BC91A6 g_hook_offset = 0x0C0A9A6;// 这个是4.0.5.7的 4.0.3.43 = 0x0BC91A6 4.0.5.13=0xC0CC76
//读取Hook点原机器码 //读取Hook点原机器码
uint64_t hook_addr = g_imgbase + g_hook_offset; uint64_t hook_addr = g_imgbase + g_hook_offset;