Jump to content

11 posts in this topic

Recommended Posts

Posted (edited)

Hey guys just need some quick help.

 

 

I just need to know how you would hook multiple functions to one class for e.g. down below i wanna hook every funtion there (fp1,fp2,fp3,fp4 etc), i know how to hook one function but not multiple with seperate prefs links.

Any help is appreciated thanks!

-------------------------------------------------


%hook BlahBlah

-(void) hello:(bool)fp1 bye:(bool)fp2 thanks:(bool)fp3 smile:(bool)fp4 frown:(bool)fp5 {
if(GetPrefBool(@''hello'')) {
fp1=FALSE;
}
%orig(fp1,fp2,fp3,fp4,fp5,fp6);
}
%end


Updated by JustinPet26
Posted (edited)
%hook BlahBlah
    -(void) hello:(bool)fp1 bye:(bool)fp2 thanks:(bool)fp3 smile:(bool)fp4 frown:(bool)fp5 {
        if(GetPrefBool(@"hello")) {
            fp1 = false;
            fp2 = false;
            fp3 = true;
            etc.
        }
        %orig;
    }
%end

//edit: Aww, to late. :(

Updated by Bummibaer
Posted (edited)

fp1 =

fp2 =

fp3 =

...

 

Yeah but i need to link them each individually for settings buttons.

 

Each function needs a button.

Updated by JustinPet26
Posted (edited)

Yeah but i need to link them each individually for settings buttons.

%hook BlahBlah
    -(void) hello:(bool)fp1 bye:(bool)fp2 thanks:(bool)fp3 smile:(bool)fp4 frown:(bool)fp5 {
        if(GetPrefBool(@"A")) {
            fp1 = false;
        }
        if(GetPrefBool(@"B")) {
            fp2 = false;
        }
        %orig;
    }
%end

Like this?

Updated by Bummibaer
Posted (edited)

You need something different for getPrefBool

 

Yeah but i need to link them each individually for settings buttons.

 

Each function needs a button.

 

I think what Bummi said could work too

Updated by castix
Posted
%hook BlahBlah
    -(void) hello:(bool)fp1 bye:(bool)fp2 thanks:(bool)fp3 smile:(bool)fp4 frown:(bool)fp5 {
        if(GetPrefBool(@"A")) {
            fp1 = false;
        }
        if(GetPrefBool(@"B")) {
            fp2 = false;
        }
        %orig;
    }
%end

Like this?

 

 

I've done that and doesn't work :/ there's nothing wrong with the code, but it 's just unresponsive to any actions.

Posted (edited)

I've done that and doesn't work :/ there's nothing wrong with the code, but it 's just unresponsive to any actions.

The code I posted should work. Maybe show the preferences.

Updated by Bummibaer
Posted

The code I posted should work. Maybe show the preferences.

 

Yeah I know because that's exactly how I coded it in the first place, everything is right and linked properly to prefs. I was hoping I coded it wrong but guess not. Thanks for the help anyways guys, maybe it's just my device being crap.

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

    • Caveman Life v1.0.2 Cheat Menu [+5 Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4


       

      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)
       
      • 4 replies
    • Caveman Life v1.0.2 Cheat Menu [+5 Jailed Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)

       
      • 2 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 56 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 81 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Jailed Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

      • 2 replies
    • Puzzles & Cats v1.3.0 [+5 Jailed Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4

       

      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)
      • 5 replies
    • Puzzles & Cats v1.3.0 [+5 Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4



      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)

      • 2 replies
    • Little Defenders v1.2.11 [+2 Jailed Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)
      • 3 replies
    • Little Defenders v1.2.11 [+2 Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)

      • 6 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

      • 3 replies
    • Episode: Reality Stars v1.23 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
      • 91 replies
    • Tiny Warriors Clash v1.9.16 [+5 Jailed Cheats]
      Modded/Hacked App: Tiny Warriors Clash By NLABSOFT Co., Ltd.
      Bundle ID: com.nlabsoft.defense.tinywarriors
      App Store Link: https://apps.apple.com/us/app/tiny-warriors-clash/id6499256180?uo=4



      🤩 Hack Features

      - Never Die
      - Add Meat (Enable inside battle)
      - Add Currency (Enable and spend)
      - Add Gems (Enable and spend)
      - Add Trait Points (Enable and spend)
      • 10 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