Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <mach-o/dyld.h>
- #import "substrate.h"
- int sub_100037950(void)
- {
- return 0;
- }
- %ctor
- {
- @autoreleasepool
- {
- unsigned long test1 = _dyld_get_image_vmaddr_slide(0) + 0x100037950;
- MSHookFunction((void *)test1, (void *)sub_100037950, (void **)&orig_100037950);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement