if (VirtualTable(vDrawIndexedPrimitive) != NULL)
{
RealDrawIndexedPrimitive = (rDrawIndexedPrimitive) SafeDetouring( (PBYTE)VirtualTable(vDrawIndexedPrimitive),(PBYTE)DrawIndexedPrimitive, 7 );
}
HRESULT WINAPI DrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, DIP1)
{
_asm nop;
if (Runing)
{
pDevice->SetRenderState(D3DRS_FOGENABLE, false);
pDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCCOLOR); //HD Mode
}
if (GetAsyncKeyState(VK_NUMPAD1)&1) { Runing = !Runing; }
return RealDrawIndexedPrimitive(pDevice, DIP2);
_asm JMP[DrawIndexedPrimitive];
}

if (pDevice->SetStreamSource(bla bla bla) == D3D_OK)
{
StreamData->Release(); <---this is
}
71C8B6B1 8BFF MOV EDI,EDI ; DIP 71C8B6B3 55 PUSH EBP 71C8B6B4 8BEC MOV EBP,ESP 71C8B6B6 6A FF PUSH -1 71C8B6B8 68 28BEDF71 PUSH d3d9.71DFBE28
and arun823 ill try that out, ty 
_asm JMP[DrawIndexedPrimitive];

