MyProjects / Objective-C / tweak.xm
tweak.xm
Raw
#include <substrate.h>

%hook FCInAppPlaybackStrategy
-(bool) hasPro {
return TRUE;
}
%end

%hook FCItemsViewController
-(bool) hasPro {
return TRUE;
}
%end

%hook FCFileSyncViewController
-(bool) hasPro {
return TRUE;
}
%end

%hook FCIAPGUIHelper
+(bool) isSubscriptionBought {
return TRUE;
}
%end

%hook FCCloudSyncService
-(bool) hasSetuppedSubscriptions {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceBase
-(bool) hasValidReceipt {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceFullPro
-(bool) hasValidReceipt {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceDummy
-(bool) hasValidReceipt {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceMobile
-(bool) hasValidReceipt {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceBase
-(bool) isFeaturePurchased:(long long)arg1 {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceBase
-(bool) isFeaturePurchased:(long long)arg1 tillDate:(id*)arg2 {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceFullPro
-(bool) isFeaturePurchased:(long long)arg1 tillDate:(id*)arg2 {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceDummy
-(bool) isFeaturePurchased:(long long)arg1 tillDate:(id*)arg2 {
return TRUE;
}
%end

%hook FCInAppPurchaseServiceMobile
-(bool) isFeaturePurchased:(long long)arg1 tillDate:(id*)arg2 {
return TRUE;
}
%end

%hook FCProductCollectionCell
-(bool) featurePurchased {
return TRUE;
}
%end

%hook FCDummyIAPProduct
-(id) productIdentifier {
return %orig;
}
%end

%hook FCInAppPurchaseReceipt
-(id) productIdentifier {
return %orig;
}
%end

%hook RMStore
-(id) productForIdentifier:(id)arg1 {
return %orig;
}
%end

%hook FCUserSettings
-(bool) traktTVLoggedIn {
return TRUE;
}
%end

%hook FCTraktTVAccountParser
-(bool) VIPAccount {
return TRUE;
}
%end

%hook FCTraktTVUserInfo
-(bool) VIP {
return TRUE;
}
%end

%hook FlurryUtil
+(BOOL) appIsCracked {
return FALSE;
}
%end

%hook FlurryUtil
+(BOOL) deviceIsJailbroken {
return FALSE;
}
%end