CHEATS GAMES
Solid & Active Platinian
hope someone helps, i'm new to game hacking
i have a game that i can cut speed using buttons but how would i do that to change speed using slider
i have a game that i can cut speed using buttons but how would i do that to change speed using slider
C++:
void (*orig_Update) (void* instance);
void Update(void* instance) {
if (instance != NULL && sliderValue > 1) {
*(float*)((uint64_t)instance + 0xC0);
*(float*)((uint64_t)instance + 0xBC);
}
return orig_Update(instance);
}
C++:
MSHookFunction((void *) getAbsoluteAddress(targetLibName, string2Offset(OBFUSCATE_KEY("0x556A90", '?'))), (void *) Update, (void **) &orig_Update);
C++:
case 1:
if (value >= 1) {
sliderValue = value;
}
break;