Skip to content
Guest Big Announcement

How to write this in theos iOS 10

Featured Replies

11 hours ago, Astronaut said:

Use Flex Converter. It saves time. Search for Flex Converter for Flex 3. 

Although Flex Converter doesn't have support for multiple arguments and isn't always 100% correct.

You can still use it it just may not be presented 100% correctly but it gets you started.

I'm not amazing at this as I am even still working on my first tweak but it should look something like this.

#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook RMAppReceipt

-(bool)containsActiveAutoRenewableSubscriptionOfProductIdentifier:(id)arg1 forDate:(id)arg2 {
%orig
}
%end

I don't know how to do the Return Value (bool), I don't wanna get it wrong but it would be something like

return; true

Added to it.

Please do get someone to check it though or just use Flex Converter and get someone to check that, but you should get the idea.

If you would like you can add an UIAlertView below it if you would like to display information about your hack in a popup alert message when the application is launched.

%hook RMAppReceipt

-(bool)containsActiveAutoRenewableSubscriptionOfProductIdentifier:(id)arg1:(id)arg2  {	
    return true;	
    %orig (arg1, arg2); }	
    %end
	

 

when need return argument, change arg1 or arg2 to whatever you need it to change.

Updated by Ted2

39 minutes ago, Ted2 said:

%hook RMAppReceipt

-(bool)containsActiveAutoRenewableSubscriptionOfProductIdentifier:(id)arg1:(id)arg2  {	
    return true;	
    %orig (arg1, arg2); }	
    %end
	

 

when need return argument, change arg1 or arg2 to whatever you need it to change.

Oh thanks I was looking for that myself anyway.

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.