From c679be366f5344f6c639e8aacd50838b449bca6b Mon Sep 17 00:00:00 2001 From: Changhua Date: Sat, 1 Jun 2024 11:17:34 +0800 Subject: [PATCH] Fix typo --- WeChatFerry/spy/receive_msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeChatFerry/spy/receive_msg.cpp b/WeChatFerry/spy/receive_msg.cpp index 8a225a4..53cb55d 100644 --- a/WeChatFerry/spy/receive_msg.cpp +++ b/WeChatFerry/spy/receive_msg.cpp @@ -110,7 +110,7 @@ void UnListenMessage() return; } - status = MH_DisableHook(&recvMsgCallAddr); + status = MH_DisableHook(&funcRecvMsg); if (status != MH_OK) { LOG_ERROR("MH_DisableHook failed: {}", to_string(status)); return;