#include <substrate.h>

%hook MemriseUnlockPremiumSessionPresenter
-(void) presentUnlockModalWithIsFinalPopup:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end

%hook MemrisePremiumCampaign
-(bool) isExpired {
return FALSE;
}
%end

%hook MemrisePremiumCampaign1
-(bool) isEqual:(id)arg1 {
return TRUE;
}
%end

%hook MRTrialControllerHelper
-(bool) isProUnlockedForCourseIdentifier:(id)arg1 {
return TRUE;
}
%end

%hook MRDashboardViewController
-(void) applicationDidBecomeActive {
return %orig;
}
%end

%hook MRAppDelegate
-(void) applicationDidBecomeActive:(id)arg1 {
return %orig;
}
%end

%hook MRMasterTabViewController
-(void) setPremium:(id)arg1 {
return %orig;
}
%end

%hook MemriseUnlockPremiumSessionController
-(id) unlockModalViewController:(bool)arg1 {
arg1 = TRUE;
return %orig;
}
%end

%hook MemriseAppStreakPresentationModel
-(bool) isProUser {
return TRUE;
}
%end

%hook MemriseProPageController
-(bool) isProUser {
return TRUE;
}
%end

%hook MemriseUserDataService
-(bool) isUserPro {
return TRUE;
}
%end

%hook MRDashboardLevelsInfo
-(bool) isProUser {
return TRUE;
}
%end

%hook MRDashboardLevelsInfo
-(bool) isProChatEnabled {
return TRUE;
}
%end

%hook MRUser
-(bool) isPro {
return TRUE;
}
%end

%ctor {
	%init(MemriseUnlockPremiumSessionPresenter = objc_getClass("Memrise.UnlockPremiumSessionPresenter"), MemrisePremiumCampaign = objc_getClass("Memrise.PremiumCampaign"), MemrisePremiumCampaign1 = objc_getClass("Memrise.PremiumCampaign"), MemriseUnlockPremiumSessionController = objc_getClass("Memrise.UnlockPremiumSessionController"), MemriseAppStreakPresentationModel = objc_getClass("Memrise.AppStreakPresentationModel"), MemriseProPageController = objc_getClass("Memrise.ProPageController"), MemriseUserDataService = objc_getClass("Memrise.UserDataService"));
}