diff --git a/src/send_message_mgr.cc b/src/send_message_mgr.cc index 9a7f8fb..09f53eb 100644 --- a/src/send_message_mgr.cc +++ b/src/send_message_mgr.cc @@ -9,7 +9,6 @@ SendMessageMgr::SendMessageMgr(DWORD base):BaseMgr(base) {} SendMessageMgr::~SendMessageMgr() {} int SendMessageMgr::SendText(wchar_t* wxid, wchar_t* msg) { int success = -1; - unsigned long long msgid = 0; WeChatString to_user(wxid); WeChatString text_msg(msg); wchar_t** msg_pptr = &text_msg.ptr; @@ -32,19 +31,12 @@ int SendMessageMgr::SendText(wchar_t* wxid, wchar_t* msg) { LEA ECX,chat_msg CALL send_text_msg_addr MOV success,EAX - LEA ECX,msgid - MOV EDI,dword ptr[EAX +0x2b0] - MOV ESI,dword ptr[EAX+0x2b4] - MOV [ECX],EDI - MOV [ECX + 0x4],ESI ADD ESP,0x18 LEA ECX,chat_msg CALL free_chat_msg_addr POPFD POPAD } - SPDLOG_INFO("SendText code = {}",msgid); - SPDLOG_INFO("global log with source info"); return success; } int SendMessageMgr::SendAtText(wchar_t* chat_room_id, wchar_t** wxids, int len,