Jump to content

How to use iOS-Mod-Menu-Template-for-Theos-master to hook like Flex3


Go to solution Solved by Rook,

3 posts in this topic

Recommended Posts

  • Solution
Posted

It’s likely similar to preferences.plist.

@Ted2 Can likely provide an answer, otherwise there may be some posted already on iOSGods. :)

  • Like 1
Posted

Hello, see an example below on how you can patch hooks with the Mod Menu:

 

// Your hooks go above the void setup function
%hook GenericShopCardDescription
  -(bool)hasBike {
    if([switches isSwitchOn:NSSENCRYPT("Unlock all bikes")]) {
      return true;
    }
    return %orig;
  }
%end

// Inside the void setup function you create the switch
[switches addSwitch:NSSENCRYPT("Unlock all bikes")
  description:NSSENCRYPT("")
];

 

If you still can't get it to work, you can shoot me a PM and I'll try to help your from there!

  • Winner 1

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