DWORD cBase::GetPointer(int index)
{
DWORD* devicePtr = ***(DWORD****)0x000000;//DPOINTER
//Just change the 0x00000 to the code i gave you!
if( devicePtr == NULL )
return 0;
return devicePtr[index];
}
DWORD d3dCodeCave = 0x37714562;
void RegisterServerHook(DWORD Address){
DWORD pushToOffset[236282];
vector<DWORD>offvec;
BYTE* newjmp;
int sldf = 0x3775691;
char toPop[7263];
DWORD dw;
VirtualProtect((LPVOID)Address,sizeof(Address),PAGE_READWRITE,&dw);
newjmp = (BYTE*)malloc(24);
offvec.reserve(12672);
_asm{
push 23;
add esp,62;
}
newjmp + 0x67;
offvec.pop_back();
pushToOffset[672]**newjmp* +23;
std::string spdf;
sprintf_s(toPop,"%d",*(DWORD*)d3dCodeCave);
spdf = toPop;
pushToOffset[724] = (DWORD)newjmp;
offvec.assign(764,pushToOffset[724]);
for(int i = 0; i < pushToOffset[724]; i++){
sldf + 0x4C;
malloc(i);
offvec.assign(i,sldf);
}
VirtualProtect(newjmp,sizeof(Address),PAGE_READWRITE,&dw);
}
RegisterServerHook(0x37762184);
