不知道为啥我不能发引用,希望你能看到吧.
微信版本2.9.0.123#define WxAddWxUserParam1 0x13EB348 //添加好友
#define WxAddWxUserCall1 0x52F40 //添加好友
#define WxAddWxUserCall2 0x6F790 //添加好友
#define WxAddWxUserCall3 0x5084E0 //添加好友
#define WxAddWxUserCall4 0x508520 //添加好友
#define WxAddWxUserCall5 0x2CA7B0 //添加好友
#define WxVerifyUserHookAddr 0x19F410VOID StartVerifyUser(wchar_t* pWxid)
{
if (wcslen(curWxId) > 0) return;
wcscpy_s(curWxId, pWxid);
WxString wxWxid = { 0 };
WxString wxNULL = { 0 };
wxWxid.ptr = pWxid;
wxWxid.size = wcslen(pWxid);
wxWxid.capacity = wcslen(pWxid) * 2;
wchar_t* pVerifyContent = NULL;
__asm
{
pushfd;
pushad;
sub esp, 18h;
mov ecx, esp;
lea eax, wxNULL;
push eax;
call addWxUserCall1;
sub esp, 18h;
mov ecx, esp;
lea eax, wxNULL;
push eax;
call addWxUserCall2;
push 6;
sub esp, 14h;
mov ecx, esp;
push - 0x1;
lea eax, pVerifyContent;
push eax;
call addWxUserCall3;
push 1;
sub esp, 14h;
mov ecx, esp;
lea eax, wxWxid;
push eax;
call addWxUserCall4;
mov ecx, eax;
call addWxUserCall5;
popad;
popfd;
}
}
最后于 2020-6-9 10:41
被wx_咣咣编辑
,原因: