Skip to content
Guest Big Announcement

Help with 'make package' errors - Theos

Featured Replies

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?

  • Author

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

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.

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 :)

  • Author
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

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.