MyProjects / Objective-C / new 18.mm
new 18.mm
Raw
#include <substrate.h>

%hook ProPackageChecker
-(bool) isProPackagePurchased:(id)arg1 {
return TRUE;
}
%end

%hook CustomizeDocumentNameViewController
-(bool) isProPackagePurchased {
return TRUE;
}
%end

%hook ProPackageChecker
-(bool) isAnyProPackagePurchased {
return TRUE;
}
%end

%hook PurchaseManager
-(bool) isProductPurchasedWithProductIdentifier:(id)arg1 refreshNeeded:(bool*)arg2 {
return TRUE;
}
%end

%hook FakePurchaseManager
-(bool) isProductPurchasedWithProductIdentifier:(id)arg1 refreshNeeded:(bool*)arg2 {
return TRUE;
}
%end

%hook ActionsViewController
-(bool) subscribed {
return TRUE;
}
%end

%hook SettingsViewController
-(bool) subscribed {
return TRUE;
}
%end

%hook UbiquityContainerWatcher
-(bool) subscribed {
return TRUE;
}
%end

%hook CloudManager
-(bool) isSubscribed {
return TRUE;
}
%end

%hook SBPDFViewController
-(bool) subscribedForManagedContext {
return TRUE;
}
%end