Guest User

Untitled

a guest
Jul 21st, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. MSInstanceMessageHook1(void, SBIcon, setOrigin, CGPoint, origin) {
  2. unsigned count(origin.y);
  3. if (count < 313370)
  4. goto set;
  5. count -= 313370;
  6.  
  7. if (count > 40)
  8. origin.x = 256;
  9.  
  10. else if (count > 10 || count < 0)
  11. goto set;
  12.  
  13. else if (count == 5)
  14. NSMutableArray *arrayDock = [[NSMutableArray alloc] init];
  15. int i;
  16. for(i = 1; i <= 5; i++) {
  17. NSString *myString = [NSString stringWithFormat:@"%@", i];
  18. [arrayDock addObject:myString];
  19. }
  20.  
  21. origin.y = 11;
  22. set:
  23. MSOldCall(origin);
  24. }
Add Comment
Please, Sign In to add comment