An alternative hooker to MSHookFunction for jailed devices based on breakpoints, yet keeps the capability of calling original functions!
Full examples are available in the Tweak.xm!
- works on both jailbroken and non-jailbroken (sideloadable)
- limited to 6 hooks at the same time
- Developer mode needs to be enabled
- be sure to consider other options for jailed devices
- if the target function has a symbol, just use
fishhook. - if you want to hook more than 6, you need to use another approach (statically implant trampolines)
- if the target function has a symbol, just use
- ellekit for this breakpoint technique