Ok, done some research and found this in XRenderD3D9.dll:
There's the Device offset: 0x1F7A8 and the EndScene offset: 0xA8
But I don't know how to get the Device pointer.
Ofc credits to JujuBoSc1 for posting the 3.7.0.0 offsets which helped my search!
Edit: Yea why bother when you can just detour Direct3DCreate9!