Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Tabs to spaces, for real
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Pacini committed Mar 3, 2020
1 parent 83daf71 commit 17df2fa
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Tweak.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@
%hook JailBrokeManager

+ (BOOL)accessOutsideSandbox {
%log;
return NO;
return NO;
}

%end

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);
}

0 comments on commit 17df2fa

Please sign in to comment.