Jump to content

8 posts in this topic

Recommended Posts

Posted
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.

Posted (edited)
31 minutes ago, Diversityy said:

Add this:

 

%orig(TRUE);

So I was right? Mainly.

Updated by TheArmPrincess
Posted (edited)
%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
Posted
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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines