float = 5;
float (*old_speed)(void *instance);
float speed(void *instance) {
if (instance != NULL && Speed) {
return (float) Speed;
}
return old_speed(instance);
}
HOOK_LIB("libil2cpp.so", "0x46DD9C", speed, old_speed);
OBFUSCATE("10_CollapseAdd_SeekBar_SPEED_1_50"),
case 10:
Speed = value;
break;
Does anyone know if it's possible to make the value go back to the original when the slide is between 1 and 5?
float (*old_speed)(void *instance);
float speed(void *instance) {
if (instance != NULL && Speed) {
return (float) Speed;
}
return old_speed(instance);
}
HOOK_LIB("libil2cpp.so", "0x46DD9C", speed, old_speed);
OBFUSCATE("10_CollapseAdd_SeekBar_SPEED_1_50"),
case 10:
Speed = value;
break;
Does anyone know if it's possible to make the value go back to the original when the slide is between 1 and 5?