Jump to content

How Would i add this to my patcher


Go to solution Solved by Rook,

6 posts in this topic

Recommended Posts

Posted

i remember it  now i forgot all about that post 

:)

Posted (edited)

but how would that go 

 

%hook DJPlayerProfile

-(int) getCurrentCurrencyWallet:id)arg1 somthing after i think {
return 999999999999;
arg1 = [NSNumber numberWithInt:99999999999];
%orig(arg1;
}
​%end

Updated by illusionist
  • Solution
Posted

Try this for the method from screenshot:

%hook DJPlayerProfile

-(int)getCurrentCurrencyWallet:(int) {
%orig(9999,9999);
}
​%end

or

%hook DJPlayerProfile

-(int) getCurrentCurrencyWallet:(int)arg1 {
return 9999;
arg1 = 9999;
%orig(arg1);
}
​%end

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