Skip to content

Instantly share code, notes, and snippets.

@Li-blog
Created October 28, 2016 10:34
Show Gist options
  • Save Li-blog/5e2c7b2c3c243302cc27cb2ebbd2e28d to your computer and use it in GitHub Desktop.
Save Li-blog/5e2c7b2c3c243302cc27cb2ebbd2e28d to your computer and use it in GitHub Desktop.
WeChatDiceEntry
+ (void)load {
Class upMgr = NSClassFromString(@"CEmoticonUploadMgr");
Method StartUpload = class_getInstanceMethod(upMgr, @selector(StartUpload:));
Method StartUpload_hooked = class_getInstanceMethod(self, @selector(StartUpload_hooked:));
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment