Guest User

Untitled

a guest
May 25th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. typedef struct {
  2. uint32_t offset;
  3. uint32_t verify;
  4. uint32_t patch;
  5. } patch;
  6.  
  7. typedef struct {
  8. char *version_name;
  9. char *version_match;
  10. patch fairplay;
  11. patch epoch;
  12. } iphone_os_patch;
  13.  
  14.  
  15. iphone_os_patch patches[] = {
  16. { // iPhone OS 1.0.2
  17. .version_name = "iPhone OS 1.0.2",
  18. .version_match = "Darwin Kernel Version 9.0.0d1: Fri Jun 22 00:38:56 PDT 2007; root:xnu-933.0.1.178.obj~1/RELEASE_ARM_S5L8900XRB\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
  19. .fairplay = { .offset=0x003A1298, .verify=0x0, .patch=0x00000000 },
  20. .epoch = { .offset=0x003A12B8, .verify=0x0, .patch=0x00000000 }
  21. },
  22. { // iPhone OS 1.1.4
  23. .version_name = "iPhone OS 1.1.4",
  24. .version_match = "Darwin Kernel Version 9.0.0d1: Wed Dec 12 00:16:00 PST 2007; root:xnu-933.0.0.211.obj~2/RELEASE_ARM_S5L8900XRB\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
  25. .fairplay = { .offset=0x003A1298, .verify=0x1a000029, .patch=0x00000000 },
  26. .epoch = { .offset=0x003A12B8, .verify=0x1a000021, .patch=0x00000000 }
  27. }
  28. };
Add Comment
Please, Sign In to add comment