diff --git a/Tweak.x b/Tweak.x index 51dc943..6b4a952 100644 --- a/Tweak.x +++ b/Tweak.x @@ -3,8 +3,7 @@ %hook JailBrokeManager + (BOOL)accessOutsideSandbox { - %log; - return NO; + return NO; } %end @@ -12,12 +11,12 @@ int (*sub_10002e724)(void) = NULL; int new_sub_10002e724() { - return 0x0; + return 0x0; } %ctor { - unsigned long ptr = _dyld_get_image_vmaddr_slide(0) + 0x10002e724; - MSHookFunction((void *)ptr, - (void *)new_sub_10002e724, - (void **)&sub_10002e724); + unsigned long ptr = _dyld_get_image_vmaddr_slide(0) + 0x10002e724; + MSHookFunction((void *)ptr, + (void *)new_sub_10002e724, + (void **)&sub_10002e724); }