Can u give me completed auto bypass ?? i not understand la 


















cr

UINT Offset = 0;
UINT Stride = 0;
bool wallhack = false;
typedef HRESULT (WINAPI* tDrawIndexedPrimitive)(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount);
tDrawIndexedPrimitive oDrawIndexedPrimitive = NULL;
LPDIRECT3DDEVICE9 pDevice;
LPDIRECT3DVERTEXBUFFER9 Stream_Data;
HRESULT WINAPI hkDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{ //myfile << "DIP is hooked\n";
if(pDevice->GetStreamSource(0, &Stream_Data, &Offset, &Stride) == D3D_OK)
Stream_Data->Release();
if(wallhack)
{
if((Stride == 52 || Stride == 32 ))
{
pDevice->SetRenderState(D3DRS_ZENABLE, FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, TRUE);
}
}
return oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
DWORD WINAPI LoopFunction(LPVOID param)
{
while (1) {
if (GetAsyncKeyState(VK_PRIOR)&1)
{
wallhack = true;
}
Sleep(100);
if (GetAsyncKeyState(VK_NEXT)&1)
wallhack = false;
Sleep(10);
}
}