Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
yanmao committed Dec 20, 2019
1 parent c7e5d89 commit b70e7c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Binary file not shown.
14 changes: 7 additions & 7 deletions WeChatExtension/WeChatExtension/Sources/Hook/WeChat+hook.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ + (void)hookWeChat {
// hookMethod(objc_getClass("MMTextField"), @selector(setTextColor:), [self class], @selector(hook_setTextColor:));


[ANYMethodLog logMethodWithClass:[objc_getClass("MMWebViewHelper") class] condition:^BOOL(SEL sel) {
return YES;
} before:^(id target, SEL sel, NSArray *args, int deep) {
NSLog(@"\n🐸类名:%@ 👍方法:%@\n%@", target, NSStringFromSelector(sel),args);
} after:^(id target, SEL sel, NSArray *args, NSTimeInterval interval, int deep, id retValue) {
NSLog(@"\n🚘类名:%@ 👍方法:%@\n%@\n↪️%@", target, NSStringFromSelector(sel),args,retValue);
}];
// [ANYMethodLog logMethodWithClass:[objc_getClass("MMWebViewHelper") class] condition:^BOOL(SEL sel) {
// return YES;
// } before:^(id target, SEL sel, NSArray *args, int deep) {
// NSLog(@"\n🐸类名:%@ 👍方法:%@\n%@", target, NSStringFromSelector(sel),args);
// } after:^(id target, SEL sel, NSArray *args, NSTimeInterval interval, int deep, id retValue) {
// NSLog(@"\n🚘类名:%@ 👍方法:%@\n%@\n↪️%@", target, NSStringFromSelector(sel),args,retValue);
// }];
}

- (void)hook_setTextColor:(NSColor *)arg1
Expand Down
1 change: 1 addition & 0 deletions WeChatExtension/WeChatExtension/WeChatPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ FOUNDATION_EXPORT const unsigned char WeChatPluginVersionString[];
- (void)FFToNameFavChatZZ:(id)arg1;
- (void)FFToNameFavChatZZ:(id)arg1 sessionMsgList:(id)arg2;
- (void)OnSyncBatchAddMsgs:(NSArray *)arg1 isFirstSync:(BOOL)arg2;
- (void)OnSyncBatchAddFunctionMsgs:(id)arg1 isFirstSync:(BOOL)arg2;
- (void)FFImgToOnFavInfoInfoVCZZ:(id)arg1 isFirstSync:(BOOL)arg2;

- (id)SendTextMessage:(id)arg1 toUsrName:(id)arg2 msgText:(id)arg3 atUserList:(id)arg4;
Expand Down

0 comments on commit b70e7c1

Please sign in to comment.