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

    • Project Makeover v2.121.1 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
      • 28 replies
    • Project Makeover ( All Versions ) +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
        • Haha
      • 11 replies
    • Vampire's Fall 2 v1.1.134 +8 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Vampire's Fall 2 By Early Morning Studio AB
      Bundle ID: com.earlymorningstudio.trident
      App Store Link: https://apps.apple.com/us/app/vampires-fall-2/id6739215084?uo=4

       


      🤩 Hack Features

      - Damage Multiplier -> Only your fists work.
      - Defence Multiplier
      - Unlimited Coins
      - Unlimited Shards
      - Unlimited Bloodstones
      - Unlimited Skill Points
      - Add 100 XP
      • 47 replies
    • Critical Strike CS: Online FPS v14.1002 +6 Cheats [ Damage + More ]
      Modded/Hacked App: Critical Strike CS: Online FPS By VERTIGOGAMES OU
      Bundle ID: com.vertigo.criticalforce
      App Store Link: https://apps.apple.com/us/app/critical-strike-cs-online-fps/id1467648713?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Fire Rate Multiplier
      - Move Speed Multiplier
      - Freeze Ammo
      - All Weapon Skins Unlocked
      - All Gloves Unlocked
        • Haha
      • 10 replies
    • Vampire's Fall 2 v1.1.134 +8 Cheats [ Damage & Defence ]
      Modded/Hacked App: Vampire's Fall 2 By Early Morning Studio AB
      Bundle ID: com.earlymorningstudio.trident
      App Store Link: https://apps.apple.com/us/app/vampires-fall-2/id6739215084?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier -> Only your fists work.
      - Defence Multiplier
      - Unlimited Coins
      - Unlimited Shards
      - Unlimited Bloodstones
      - Unlimited Skill Points
      - Add 100 XP
        • Agree
      • 33 replies
    • Eterspire - Fantasy MMORPG v58.1 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 40 replies
    • Eterspire - Fantasy MMORPG v58.1 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 128 replies
    • Critical Strike CS: Online FPS v14.1002 +6 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Critical Strike CS: Online FPS By VERTIGOGAMES OU
      Bundle ID: com.vertigo.criticalforce
      iTunes Store Link: https://apps.apple.com/us/app/critical-strike-cs-online-fps/id1467648713?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:
      - Damage Multiplier
      - Fire Rate Multiplier
      - Move Speed Multiplier
      - Unlimited Ammo -> Will not decrease.
      - All Weapon Skins Unlocked
      - All Gloves Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Critical Strike CS: Online FPS v12.709 +6 Cheats [ Damage + 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/
        • Informative
        • Winner
        • Like
      • 185 replies
    • Avalar: Raid of Shadow v02.76.06 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Avalar: Raid of Shadow By Enigma Publishing Limited
      Bundle ID: com.vtwo.atwo.epl.as
      App Store Link: https://apps.apple.com/us/app/avalar-raid-of-shadow/id6745590551?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 21 replies
    • Glow Fashion Idol v0.7.0 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Glow Fashion Idol By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.crazylabs.fashionsquad
      iTunes Store Link: https://apps.apple.com/us/app/glow-fashion-idol/id6446197181?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems


      Jailbreak required hack(s): [Mod Menu Hack] Glow Fashion Idol v0.3.3 +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/
        • Haha
        • Winner
        • Like
      • 66 replies
    • Glow Fashion Idol v0.7.0 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Glow Fashion Idol By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.crazylabs.fashionsquad
      iTunes Store Link: https://apps.apple.com/us/app/glow-fashion-idol/id6446197181?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Glow Fashion Idol v0.3.3 +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/
        • Like
      • 32 replies
    • Kitty Keep v1.36.1 +2 Jailed Cheats [ God Mode ]
      Modded/Hacked App: Kitty Keep™ By Funovus LLC
      Bundle ID: com.funovus.wildcastle2
      iTunes Store Link: https://apps.apple.com/us/app/kitty-keep/id6476017989?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:
      - God Mode
      - Unlimited Mana -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Kitty Keep v1.1.3 +2 Cheats [ God Mode ] - 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/
        • Informative
        • Like
      • 31 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