You cannot hook MGCopyAnswer directly because it is too short.When CydiaSubstrate hooks a C function, it sorts of overwrites an assembly version of goto your_function;
at the beginning of the original function. This "goto" in ARM64 is 16
My iPhone 5 lock button is not working properly, so I wrote this application.Locking the iDeviceSince I want to lock the device, I need to be able to trigger the same functionality iOS does when the lock button is hit.
However, Apple does not play n