Jump to content

How to deal with multiple arguments


Go to solution Solved by AnotherLurker,

7 posts in this topic

Recommended Posts

Posted (edited)

I need to know how to deal with different and multiple arguments like these: http://imgur.com/e5G3pI4

Try this:

%hook SPDEarnCoinsViewController
- (void)showInviteFriendsAlertWithReward:(int)reward andDailyLimit:(int)limit {
    %orig(999999, 999999);
}
%end
You might also want to hack the Daily Limit amount. :p Updated by Dwayne Johnson
Posted

Try this:

 

%hook SPDEarnCoinsViewController
- (void)showInviteFriendsAlertWithReward:(int)reward andDailyLimit:(int)limit {
    %orig(999999, 999999);
}
%end
You might also want to hack the Daily Limit amount. :p
What about these kinda arguments: http://imgur.com/b7ngyxo
Posted
%hook SPDCoinsManager
- (void)subtractCoins:(int)coins {
     %orig(0);
}
%end

Thanks so much man you should make a tut for beginners :D

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