TW BNB V124 按鍵噴射水球 (MFC C++)
本帖最後由 yuanzhan 於 2023-2-13 19:36 編輯bool allmapsw = false;
DWORD WINAPI allmap(LPARAM lplp)
{
while (allmapsw)
{
if (GetAsyncKeyState(VK_DELETE))
{
_asm
{
pushad
mov ecx, 0x00FF9734
mov ecx,
push 05
push 0x0F
mov eax, 0x0192D580
mov eax,
push eax
mov eax, 0x0192D590
mov eax,
push eax
push 0x0F //x
push 0x0F //y
push 0x50
push 0x01
push 0x0F
push - 1
mov eax, 0x007F53B1
call eax
popad
}
}
Sleep(100);
}
return 0;
}
void bnb::OnBnClickedCheck49()
{
if (((CButton*)GetDlgItem(IDC_CHECK49))->GetCheck())
{
allmapsw = true;
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)allmap, NULL, NULL, NULL);
}
else
{
allmapsw = false;
}
}
頁:
[1]