Credits:Code:DWORD GetDEVC(int vtableNUM) //this will find the device after every reset { DWORD asd = FindPattern(base, 0x1280000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx"); memcpy(&VTableStart, (void*)(asd+2), 4); return VTableStart[vtableNUM]; }
Hawkins