Jump to content

7 posts in this topic

Recommended Posts

Posted
So this is the pack that has a template for a Tweak.

If you want the template, scroll to the bottom

 

Remember to always start off with %hook and then add the class name

after it. For example:

%hook Classname

 

 

Now, you may know of functions 

 

Example: -(int)gold

 

The easiest way to find functions is by using Flex. Much easier than

having to dump all of the headers.

 

 

So, in a Tweak, you would write:



%hook Classname


-(int)gold


 

 

Now, here's what to write for the function:

 



-(int)gold {
return XXXXX;
}


 

All of the XXXs means that you have to replace the X's with a number.

Any number, like 999999.

And to end the function, just write this at the bottom of the function:

%end

 

So all in all, you would have this:



%hook Classname


-(int)gold {
return XXXXX;
}


%end


 

 

Now make sure that you end the function only when the functions

that come from the same class are finished.

 

Here is an example.

Say you found -(int)gold and -(BOOL)hasGold in the same class

If you want to use them both, make sure you use them underneath the

same class, don't end them in separate classes. Otherwise it won't

work.

 

So, you would have to do this:



%hook Classname


-(int)gold {
return XXXXX;
}


-(BOOL)hasGold {
return TRUE;
}


%end


 

 

Let's skim through the functions very quickly:

 

-(int) Means that the function is a number

-(double) Means that the function is a number

-(long) or -(long long) Means that the function is a number

-(float) Means that the function is a number, BUT it is a decimal

number. A FLOAT typically goes like this:

-(float)gold {

return XXXXX.Xf;

}

After writing down the number, you place a decimal point and write

down one number. Like 0. Then add the letter f to the front.

-(BOOL) Means that the function is either TRUE or FALSE

 

Here are the tricky ones:

-(id) Now these ones are tricky. You'd better check a Mobile Substrate

Tutorial

 

-(void) Read the one about -(id)

 

 

Very nice!

 

Now here is the template:

 



%hook Classname


-(FunctionHeader)Functionname {
return XXXXX;
}


%end


 

(If you have more than one function, just copy and paste the above)

That's it for today! :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
  • Our picks

    • Great Conqueror: Rome v3.3.1 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Great Conqueror: Rome By 悦 张
      Bundle ID: com.zhangyue.rome
      App Store Link: https://apps.apple.com/us/app/great-conqueror-rome/id1462722690?uo=4

       


      🤩 Hack Features

      - Unlimited Gold -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Medals -> Earn or spend some.
      • 1 reply
    • Great Conqueror: Rome v3.3.1 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Great Conqueror: Rome By 悦 张
      Bundle ID: com.zhangyue.rome
      App Store Link: https://apps.apple.com/us/app/great-conqueror-rome/id1462722690?uo=4

       


      🤩 Hack Features

      - Unlimited Gold -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Medals -> Earn or spend some.
      • 1 reply
    • Royal Match v28975 +10 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Jailbreak required hack(s): [Mod Menu Hack] Royal Match v26455 +11 Cheats [ Unlimited Coins + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 359 replies
    • Royal Match v28975 +10 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Royal Match v26455 +11 Jailed Cheats [ Unlimited Coins + More ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 454 replies
    • Great Conqueror 2: Shogun v2.4.2 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Great Conqueror 2: Shogun By 悦 张
      Bundle ID: com.zhangyue.shogun
      App Store Link: https://apps.apple.com/us/app/great-conqueror-2-shogun/id6463077055?uo=4

       
       

      🤩 Hack Features

      - Unlimited Gold -> Earn or spend some then re-launch the game.
      - Unlimited Medals -> Earn or spend some then re-launch the game.

      Note - Disable your internet before opening the game otherwise you'll be banned.
      • 1 reply
    • Great Conqueror 2: Shogun v2.4.2 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Great Conqueror 2: Shogun By 悦 张
      Bundle ID: com.zhangyue.shogun
      App Store Link: https://apps.apple.com/us/app/great-conqueror-2-shogun/id6463077055?uo=4

       
       

      🤩 Hack Features

      - Unlimited Gold -> Earn or spend some then re-launch the game.
      - Unlimited Medals -> Earn or spend some then re-launch the game.

      Note - Disable your internet before opening the game otherwise you'll be banned.
      • 1 reply
    • Dinosaur Universe v44.0.0 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Dinosaur Universe By Supercent Inc.
      Bundle ID: io.supercent.ageofdinosaurs
      iTunes Store Link: https://apps.apple.com/us/app/dinosaur-universe/id6448496802?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies
      - Damage Multiplier
      - God Mode
      - Free In-App Purchases
      • 5 replies
    • Dinosaur Universe v44.0.0 +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Dinosaur Universe By Supercent Inc.
      Bundle ID: io.supercent.ageofdinosaurs
      iTunes Store Link: https://apps.apple.com/us/app/dinosaur-universe/id6448496802?uo=4

       
       

      🤩 Hack Features

      - Unlimited Currencies
      - Damage Multiplier
      - God Mode
      - Free In-App Purchases
      • 7 replies
    • Endless Wander - Roguelike RPG v2.3.3 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
      • 1 reply
    • Endless Wander - Roguelike RPG v2.3.3 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
      • 2 replies
    • Goal Battle - Soccer Games v4.533 +2 Jailed Cheats [ Dumb Opponents ]
      Modded/Hacked App: Goal Battle - Soccer Games By Mage Oyun Teknolojileri Anonim Sirketi
      Bundle ID: com.mage.goalbattle
      App Store Link: https://apps.apple.com/us/app/goal-battle-soccer-games/id6477293095?uo=4

       
       

      🤩 Hack Features

      - Dumb Opponents
      - All Avatars Unlocked
      • 4 replies
    • Goal Battle - Soccer Games v4.533 +2 Cheats [ Dumb Opponents ]
      Modded/Hacked App: Goal Battle - Soccer Games By Mage Oyun Teknolojileri Anonim Sirketi
      Bundle ID: com.mage.goalbattle
      App Store Link: https://apps.apple.com/us/app/goal-battle-soccer-games/id6477293095?uo=4

       
       

      🤩 Hack Features

      - Dumb Opponents
      - All Avatars Unlocked
      • 6 replies
×
  • 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