Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #define keyy(key_) CFEqual(key, CFSTR(key_))
  2.  
  3. Works on Checkra1n but not Unc0ver - crashes into Safemode (iOS 13.3)
  4.  
  5. %hookf(Boolean, "_MGGetBoolAnswer", CFStringRef key) {
  6. if (keyy("nVh/gwNpy7Jv1NOk00CMrw"))
  7. return YES;
  8. return %orig;
  9. }
  10.  
  11. Works on Both
  12.  
  13. extern "C" Boolean MGGetBoolAnswer(CFStringRef);
  14. %hookf(Boolean, MGGetBoolAnswer, CFStringRef key) {
  15. if (keyy("nVh/gwNpy7Jv1NOk00CMrw"))
  16. return YES;
  17. return %orig;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement