Skip to content
Guest Big Announcement

How to return -(bool) productPurchased:(id) ?

Featured Replies

So I am trying to hack an app's IAP,which won't work with IAP crackers. So I found this function -(bool) productPurchased:(id) and I was wondering what would be the return value?

Updated by NitroxicDemon

Solved by ProCydia

So I am trying to hack an app's IAP,which won't work with IAP crackers. So I found this function -(bool) productPurchased:(id) and I was wondering what would be the return value?

Take a look at some replies here: http://iosgods.com/topic/1280-how-would-i-add-this-to-the-tweakxm/

 

:)

  • Solution

%hook (Name of Class)

 

-(bool) productPurchased:(id)fp8 {

return TRUE;

%orig(fp8);

}

%end

 

I think that will work.

Updated by castix

Don't return the argument in this function :mellow:

 

- (bool)productPurchased:(id)fp8 {
     return true;
}
This method won't hack a shit anyway :3

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.