I am trying to hook a simple function in Theos:
- (_Bool)sendData:(id)arg1 {
NSLog(@"%@", arg1);
_Bool r = %orig;
return r;
};
But the output I get is in hex:
<3c736f61 70656e76 3a456e76 656c6f70 6520786d 6c6e733a 736f6170 656e763d>
I have tried a few conversion codes found from stack overflow but have had no luck printing the ASCII text from that.
Any help is appreciated. Thank you!