0 Members and 1 Guest are viewing this topic.
static const int hook_addrs[] = {0x100B66C8, 0x100B6988, // Clickpad / Touchpad 3.1 0x100EAAAC, 0x100EADC4, // CX 3.1 0x100E72CC, 0x100E75E4, // CM 3.1 0x101122b8, 0x100eb288, // Clickpad / Touchpad 3.6 0x10111cfc, 0x1011201C}; // CX 3.6#define HOOK_ADDR (nl_osvalue((int*)hook_addrs, sizeof(hook_addrs)/sizeof(hook_addrs[0])))static const int hook_values[] = {0xe92d47f0, 0xe92d47f0, 0xE59F1030, 0xE59F1030, 0xE59F1030, 0xE59F1030, 0xE59F1030, 0xE59F1030, 0xE59F1030, 0xE59F1030};#define HOOK_VALUE (nl_osvalue((int*)hook_values, sizeof(hook_values)/sizeof(hook_values[0])))HOOK_DEFINE(hook_nclock) { if(!*noMiniClock) mini_nclock(1); HOOK_RESTORE_RETURN(hook_nclock);}