mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-22 02:09:24 +08:00
fix: add friend by wxid . close #148
This commit is contained in:
parent
926babbc66
commit
a777f05512
@ -131,13 +131,17 @@ int ContactMgr::AddFriendByWxid(wchar_t *wxid,wchar_t* msg) {
|
|||||||
WeChatString w_msg(msg);
|
WeChatString w_msg(msg);
|
||||||
DWORD instance =0;
|
DWORD instance =0;
|
||||||
Unkown null_obj={0,0,0,0,0,0xF};
|
Unkown null_obj={0,0,0,0,0,0xF};
|
||||||
|
// EDI,0xE ESI,0 all
|
||||||
|
// EDI,0xE ESI,8 only chat
|
||||||
|
// EDI,0xE ESI,1 no let look
|
||||||
|
// EDI,0xE ESI,2 no look
|
||||||
__asm{
|
__asm{
|
||||||
PUSHAD
|
PUSHAD
|
||||||
PUSHFD
|
PUSHFD
|
||||||
CALL contact_mgr_addr
|
CALL contact_mgr_addr
|
||||||
MOV dword ptr [instance],EAX
|
MOV dword ptr [instance],EAX
|
||||||
MOV EDI,0x6
|
MOV EDI,0xE
|
||||||
MOV ESI,0
|
MOV ESI,0x8
|
||||||
MOV EAX,0x2
|
MOV EAX,0x2
|
||||||
SUB ESP,0x18
|
SUB ESP,0x18
|
||||||
MOV EAX,ESP
|
MOV EAX,ESP
|
||||||
@ -150,8 +154,8 @@ int ContactMgr::AddFriendByWxid(wchar_t *wxid,wchar_t* msg) {
|
|||||||
MOV ECX,ESP
|
MOV ECX,ESP
|
||||||
PUSH EAX
|
PUSH EAX
|
||||||
CALL fn1_addr
|
CALL fn1_addr
|
||||||
PUSH 0x0
|
PUSH ESI
|
||||||
PUSH 0x6
|
PUSH EDI
|
||||||
MOV EAX,w_msg
|
MOV EAX,w_msg
|
||||||
|
|
||||||
SUB ESP,0x14
|
SUB ESP,0x14
|
||||||
|
Loading…
Reference in New Issue
Block a user