Geek4Ever Master Cheater
Reputation: 1
Joined: 31 Oct 2008 Posts: 353 Location: Milano,Texas
|
Posted: Sun Dec 14, 2008 5:30 pm Post subject: Help How To Compile |
|
|
how do i make this into a exe in c++ and then turns the results into a txt file plz help this is a game addie logger
| Code: | bool bCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
for(;*szMask;++szMask,++pData,++bMask)
if(*szMask=='x' && *pData!=*bMask )
return false;
return (*szMask) == NULL;
}
DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
for(DWORD i=0; i < dwLen; i++)
if( bCompare( (BYTE*)( dwAddress+i ),bMask,szMask) )
return (DWORD)(dwAddress+i);
return 0;
} |
| Code: | DWORD Your Address = FindPattern( 0x400000, 0x5000, ( PBYTE )
"\xA1\x00\x00\x00\x00\x83\xEC\x00\x80\x78\x00\x00", "x????xx?xx??" ); |
|
|