Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. WARN: Your message exceeds the newline limit of: Nabz Clan. Here is your message if you wish to edit it.
  2. ```%ctor {
  3. double delayInSeconds = 5.0;
  4. dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
  5. dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
  6. writeData(0x234846, 0xC046C046);
  7. writeData(0x23AE4E, 0xC046C046);
  8. writeData(0x20F0A4, 0x47614761);
  9. });
  10.  
  11.  
  12. }
  13.  
  14.  
  15. %hook s3eAppDelegate
  16.  
  17. -(void)applicationDidBecomeActive:(id)arg {
  18.  
  19. UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"COD:BOZ Hack"
  20. message:@"Hacked by Envy for NabzClan"
  21. delegate:self
  22. cancelButtonTitle:@"Thanks!"
  23. otherButtonTitles:@"Visit Us", nil];
  24. [credits show];
  25. [credits release];
  26. return %orig;
  27. }
  28.  
  29. %new
  30. -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
  31.  
  32. NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
  33.  
  34. if([button isEqualToString:@"Visit Us"])
  35. {
  36. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.nabzclan.com/"]];
  37. }
  38. }
  39. %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement