😉 Combat Arms Asm Bypass - Shit Works :O
Enjoy or GTFO
Bypass Thread
Useful D3D Hooking
Credits:
@OpKilts
@BadBurrito
alot of people are gonna say "You leecher, you stole this" all i say is STFU...
Bypass Thread
Code:
#define ADDR_BYPASS 0x5381D9
void WriteMemory(void *address, void *bytes, int byteSize)
{
DWORD NewProtection;
VirtualProtect(address, byteSize, PAGE_EXECUTE_READWRITE, &NewProtection);
memcpy(address, bytes, byteSize);
VirtualProtect(address, byteSize, NewProtection, &NewProtection);
}
DWORD WINAPI dwHookRoutine( LPVOID lpArgs )
{
WriteMemory((VOID*)0x5381D9, (VOID*)"\xE9\x19\x01\x00\x00\x90", 6 );
/*DO YOUR HOOK HERE!*/
return 0;
}
BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
{
if( ul_reason_for_call == DLL_PROCESS_ATTACH)
{
CreateThread( 0, 0, &dwHookRoutine, 0, 0, 0 );
}
return TRUE;
}
Code:
#define D3DvTableAddress_Lenght 0x128000 #define D3DvTableAddress_Pattern "\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86" #define D3DvTableAddress_Mask "xx????xx????xx"
@OpKilts
@BadBurrito
alot of people are gonna say "You leecher, you stole this" all i say is STFU...



