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

    • Amikin Village: Magic Sim RPG v1.4.0 +5 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Amikin Village: Magic Sim RPG By HELIO LTD
      Bundle ID: com.heliogames.amikin.survival
      App Store Link: https://apps.apple.com/us/app/amikin-village-magic-sim-rpg/id6478102304?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      - Unlimited Weapon Durability
      - Split Hack
      • 356 replies
    • Amikin Village: Magic Sim RPG v1.4.0 +5 Cheats [ Damage + More ]
      Modded/Hacked App: Amikin Village: Magic Sim RPG By HELIO LTD
      Bundle ID: com.heliogames.amikin.survival
      App Store Link: https://apps.apple.com/us/app/amikin-village-magic-sim-rpg/id6478102304?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      - Unlimited Weapon Durability
      - Split Hack
      • 123 replies
    • MY LITTLE PONY: MAGIC PRINCESS v10.6.0 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MY LITTLE PONY: MAGIC PRINCESS By Gameloft
      Bundle ID: com.gameloft.mylittlepony
      App Store Link: https://apps.apple.com/us/app/my-little-pony-magic-princess/id533173905?uo=4

       


      🤩 Hack Features

      - Freeze Coins
      - Freeze Gems
      - Freeze Hearts
      • 368 replies
    • MY LITTLE PONY: MAGIC PRINCESS v10.6.0 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MY LITTLE PONY: MAGIC PRINCESS By Gameloft
      Bundle ID: com.gameloft.mylittlepony
      App Store Link: https://apps.apple.com/us/app/my-little-pony-magic-princess/id533173905?uo=4

       
       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Gems
      - Freeze Hearts
      • 134 replies
    • Loot Heroes v1.14.3 +28 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Everything -> Currencies, Hero Cards, Hero Skill Points will all freeze.
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - No Attack Delay
      - All Critical Hits
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Guild Name Filter
      - No Dash Cooldown
      - Unlimited Boosters
      - Auto Play
      - No Camp Upgrade Cost
      - Unlimited Bolts
      - No Ads

      VIP
      - Unlimited Everything -> Currencies, Hero Cards, Hero Skill Points will all increase instead of decrease.
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Cards -> Earn some.
      - Unlimited Hero Skill Points -> Earn some.
      - Trophy Modifier -> Earn or lose some to stick to the leaderboard.
      - Guild Score Modifier -> Earn some.
      - Unlimited Event Score -> Earn some.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
      • 208 replies
    • Mob Control v2.95.1 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Jailbreak required hack(s): [Mod Menu Hack] Mob Control v2.78.0 +7 Cheats [ Unlimited Currencies ] - 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/
      • 261 replies
    • Mob Control v2.95.1 +7 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Mob Control v2.78.0 +7 Jailed Cheats [ Unlimited Currencies ] - 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/
      • 143 replies
    • Earn to Die Rogue v1.17.201 +15 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Jailbreak required hack(s): [Mod Menu Hack] Earn to Die Rogue v1.00.96 +2 Cheats [ Unlimited Currencies ] - 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/
      • 310 replies
    • Earn to Die Rogue v1.17.201 +15 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Earn to Die Rogue v1.00.96 +2 Jailed Cheats [ Unlimited Currencies ] - 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/
      • 172 replies
    • Elysia: The Astral Fall v1.1.2 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Elysia: The Astral Fall By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.projecth
      App Store Link: https://apps.apple.com/us/app/elysia-the-astral-fall/id6737166302?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      • 60 replies
    • Elysia: The Astral Fall v1.1.2 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Elysia: The Astral Fall By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.projecth
      App Store Link: https://apps.apple.com/us/app/elysia-the-astral-fall/id6737166302?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      • 35 replies
    • Harry Potter: Puzzles & Spells v101.0.323 +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Harry Potter: Puzzles & Spells v85.0.271 +1 Cheat [ Unlimited Moves ] - 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/
        • Like
      • 103 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