monkeyDev 集成逆向开发环境
PP助手 微信的 ipa 文件
修改的代码的实现
// - 在 http://www.gpsspg.com/maps.htm 中拾取地址, 然后使用其中的 谷歌地球的经纬度 lng, lat;
CHDeclareClass(QMapView)
CHOptimizedMethod3(self, void, QMapView, locationManager, id, arg1, didUpdateToLocation, id, arg2, fromLocation, id, arg3){
NSLog(@"%@--%@---%@", arg1, arg2, arg3);
CLLocationCoordinate2D ft = CLLocationCoordinate2DMake(lat, lng);
CLLocation *orig = arg2;
id arg = [[CLLocation alloc] initWithCoordinate:temp altitude:orig.altitude horizontalAccuracy:orig.horizontalAccuracy verticalAccuracy:orig.verticalAccuracy course:orig.course speed:orig.speed timestamp:orig.timestamp];
CHSuper3(QMapView, locationManager, arg1, didUpdateToLocation, arg, fromLocation, arg3);
}
CHConstructor{
CHLoadLateClass(QMapView);
CHHook3(QMapView, locationManager, didUpdateToLocation, fromLocation);
}
提示 : 仅供学习交流, 请勿商用