NoMercy Master Cheater
Reputation: 1
Joined: 09 Feb 2009 Posts: 289
|
Posted: Wed Sep 23, 2009 8:20 am Post subject: db from AA to c++ |
|
|
hi,
ive got a simple AA script
| Code: | [Enable]
//v56 EMS
// udpated by NoMercy
004A88C1:
db 0f 83
[Disable]
004A88C1:
db 0f 86 |
hmm, ive no idea how to do the db part in c++
i know i could change the db part to opcodes, so ive got this
| Code: | [Enable]
//v56 EMS
004A88C1:
jae 004a8833
[Disable]
004A88C1:
jbe 004a8833 |
i tried this way, and used another source (kitterz)
got thsi in c++
| Code: |
void PinOn(HWND hWnd)
{
SetDlgItemText(hWnd, IDC_TRY, "On" );
*(DWORD*)PinA = 0x004a8833 ; //Fixed jump
*(WORD*)(PinA + 4) = 0x000; //Fixed jump
}
void PinOff(HWND hWnd)
{
SetDlgItemText(hWnd, IDC_TRY, "Off" );
memcpy((void*)PinA, PinTyperC, 6);
} |
pin a is the adress, udpated it
| Code: | | *(WORD*)(PinA + 4) = 0x000; //Fixed jump |
i dont understand this line, so wut does th e00 maen?
thanks[/quote]
|
|