Monday, December 24, 2012

WarZ structs offsets

class 3dRenderer
{
public:
    unsigned char __PAD0001[0x8];

    HWND hwnd;            // 0x0008 (Size: 0x0004)

    unsigned char __PAD0002[0xC];

    int windowW;                    // 0x0018 (Size: 0x0004)
    int windowH;                    // 0x001C (Size: 0x0004)

    unsigned char __PAD0003[0x14];

    HWND hwnd2;      // 0x0034 (Size: 0x0004)

    unsigned char __PAD0004[0x8];

    int refreshRate;                // 0x0040 (Size: 0x0004)

    unsigned char __PAD0005[0xC];

    void * pd3ddev;     // 0x0050 (Size: 0x0004)
};
 

3dRenderer * r3dRenderer = ( 3dRenderer *)( *( PDWORD )( dwModBase + 0xDCDEF4 ) );
 

Ditulis Oleh : techexe // 12:57 PM
Kategori: