Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CDisplay {
- public:
- char __pad0[0x588];
- IDirect3D9* m_pDirect3D; // 0x0588
- char __pad1[0x130];
- IDirect3DDevice9* m_pDevice; // 0x06C0
- };
- class CGraphics {
- public:
- char __pad0[0x28];
- int m_nScreenWidth; // 0x0028
- int m_nScreenHeight; // 0x002C
- char __pad1[0x18];
- CCamera* m_pCamera; // 0x0048
- char __pad2[0x298];
- CDisplay* m_pDisplay; // 0x02E8
- };
- g_pDeviceHook = new CHookData(g_pGraphics->m_pDisplay->m_pDevice);
- g_pDeviceHook->HookMethod(&Hooked_Reset, INDEX_RESET);
- g_pDeviceHook->HookMethod(&Hooked_EndScene, INDEX_ENDSCENE);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement