StanHook Objective-C Hook Framework Example #import "StanHook.h" Xclass(SomeClassName) - (void)someFunction { NSLog("hooked success"); [Xself someFunction]; //invoke the original method. } Xend