Jump to content

16 posts in this topic

Recommended Posts

Posted
3 minutes ago, AUSSIE G4M3R said:

Okay thanks, but don't I wanna change argument 2? numbercoins? instead of the first one.

What argument do you wanna change?

Posted (edited)

numbercoins not gobuyviews so argument 2.

Here's my Flex Patch i'm converting into a deb.

rRs315O.png

Except i'll instead make the 0 a -1.

Updated by AUSSIE G4M3R
Posted
13 minutes ago, AUSSIE G4M3R said:

numbercoins not gobuyviews so argument 2.

Here's my Flex Patch i'm converting into a deb.

rRs315O.png

Except i'll instead make the 0 a -1.

My code is for argument 2.

Posted
2 hours ago, AUSSIE G4M3R said:

Okay thanks, but don't I wanna change argument 2? numbercoins? instead of the first one.

It is what he has done, try the code :)

Posted (edited)
2 hours ago, Ted2 said:

Do it like this:

 

%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
    if(GetPrefBool(@"key1")) {
        return; //returns void to null//
     %orig (arg1, -10); //when return a arg, change the arg to what you wanna return//
    } 
    return %orig;
}

Your code is missing an %end it says, etc.

Here

Gj7a6Ob.png

I added an %end at the end but it came out with errors so maybe I did it wrong. Because of the space or something.

Do I need to add arm64 support also?

Updated by AUSSIE G4M3R

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