Code:
void OverwriteString(char* string, char* original, uint32_t length)
{
memcpy(reinterpret_cast<void*>(string), reinterpret_cast<void*>(original), length);
memcpy(reinterpret_cast<void*>(string + length), reinterpret_cast<void*>("\x00"), 1);
}
void NoReload()
{
DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
OverwriteString(reinterpret_cast<char*>(CShell +/*String :reload*/), "fire", 4);
OverwriteString(reinterpret_cast<char*>(CShell + /*String :select*/), "fire", 4);
OverwriteString(reinterpret_cast<char*>(CShell +/*String :fire*/), "asdf", 4);
}
[Wall Hack / Seeghost]
Code:
#define WallArray 0x128B8C0
//=======================[Wall Hack]============================//
if (/*Var*/)
{
*(BYTE*)(WallArray + 0xA7) = 256;
}
else
{
*(BYTE*)(WallArray + 0xA7)= 257;
}
//=======================[See Ghosts]============================//
if (/*Var*/)
{
*(BYTE*)(WallArray + 0xB8) =14;
}
else
{
*(BYTE*)(WallArray + 0xB8) =5;
}
anyway proud to see egyptions again in cfw @