Help How To Compile

Posts 1–3 of 3 · Page 1 of 1
Help How To Compile
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??" );
how to turn that into a exe in c++
you have it all wrong....i suggest start looking on you tube for lessons i did and they have this programer teaching you c++ basics i just started programing and i kno thats wrong soz
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us