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

    • Dice Lords v1.1.6 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
        • Like
      • 3 replies
    • Dice Lords v1.1.6 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
        • Like
      • 1 reply
    • Evergrove Idle: Grow Magic v1.3.7 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Evergrove Idle: Grow Magic By Series Entertainment Inc.
      Bundle ID: ai.series.evergrove
      App Store Link: https://apps.apple.com/us/app/evergrove-idle-grow-magic/id6754113874?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
        • Like
      • 1 reply
    • Evergrove Idle: Grow Magic v1.3.7 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Evergrove Idle: Grow Magic By Series Entertainment Inc.
      Bundle ID: ai.series.evergrove
      App Store Link: https://apps.apple.com/us/app/evergrove-idle-grow-magic/id6754113874?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      • 2 replies
    • Legend of Frog v0.11.96 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Legend of Frog By AZUR INTERACTIVE GAMES LIMITED
      Bundle ID: com.metime.movingtower
      App Store Link: https://apps.apple.com/us/app/legend-of-frog/id6742558794?uo=4

      🤩 Hack Features

      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      - Quest Complete / NO Need Task
        • Like
      • 2 replies
    • Legend of Frog v0.11.96 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Legend of Frog By AZUR INTERACTIVE GAMES LIMITED
      Bundle ID: com.metime.movingtower
      App Store Link: https://apps.apple.com/us/app/legend-of-frog/id6742558794?uo=4

      🤩 Hack Features

      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      - Quest Complete / NO Need Task
        • Haha
        • Like
      • 1 reply
    • Backpack Rush v1.832.219 [ +20 Cheats ] Currency Max
      Modded/Hacked App: Backpack Rush By Noodle Games Limited
      Bundle ID: com.onicore.backpack.rush
      iTunes Store Link: https://apps.apple.com/us/app/backpack-rush/id6736857029?uo=4

      Hack Features:
      - ADS Ticket

      - Gems

      - Gold

      - Energy

      - Silver Coins [ Merge Weapons ]

      - Summon Coins

      - Heroic Water [ Hero Up ]

      - Meteor Essence [ Gear Refining ]

      - Talent Book +2

      - Core Evo Stone [ Pet Evo Up ]

      - Fish Hook [ Obtain Gear During A Voyage ]

      - Pickaxe [ Mine ]

      - Blueprint [ Outfit Equip UP ]

      - Fragment [ Gear Up ]

      - Fragment [ Pet UP ]

      - Dungeon Keys +3

      - Spin

      - Enemy Status [ HP ATK 0 ] Easy Kill

      - DMG [ Outfit Just Equip & Unequip ]

      - HP [ Outfit Just Equip & Unequip ]


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 53 replies
    • Backpack Rush v1.832.219 [ +20 Jailed ] Currency Max
      Modded/Hacked App: Backpack Rush By Noodle Games Limited
      Bundle ID: com.onicore.backpack.rush
      iTunes Store Link: https://apps.apple.com/us/app/backpack-rush/id6736857029?uo=4

      Hack Features:

      - ADS Ticket

      - Gems

      - Gold

      - Energy

      - Silver Coins [ Merge Weapons ]

      - Summon Coins

      - Heroic Water [ Hero Up ]

      - Meteor Essence [ Gear Refining ]

      - Talent Book +2

      - Core Evo Stone [ Pet Evo Up ]

      - Fish Hook [ Obtain Gear During A Voyage ]

      - Pickaxe [ Mine ]

      - Blueprint [ Outfit Equip UP ]

      - Fragment [ Gear Up ]

      - Fragment [ Pet UP ]

      - Dungeon Keys +3

      - Spin

      - Enemy Status [ HP ATK 0 ] Easy Kill

      - DMG [ Outfit Just Equip & Unequip ]

      - HP [ Outfit Just Equip & Unequip ]

       
      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 59 replies
    • Merge Clash Tower Defense V14.1 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Merge Clash: Tower Defense By Block Puzzle Games Inc.
      Bundle ID: merge.clash
      iTunes Store Link: https://apps.apple.com/us/app/merge-clash-tower-defense/id1506854108?uo=4


      Hack Features:
      - Gems Max

      - Gold Max

      - DMG Multi

      - ATK Range Multi

      - Critical Multi

      - ATK Tower CD
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 56 replies
    • Merge Clash Tower Defense V14.1 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Merge Clash: Tower Defense By Block Puzzle Games Inc.
      Bundle ID: merge.clash
      iTunes Store Link: https://apps.apple.com/us/app/merge-clash-tower-defense/id1506854108?uo=4


      Hack Features:

      - Gems Max

      - Gold Max

      - DMG Multi

      - ATK Range Multi

      - Critical Multi

      - ATK Tower CD
        • Informative
        • Haha
        • Winner
        • Like
      • 38 replies
    • Design Family Life v0.1.500 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Design Family Life By UGI Studio Cyprus LTD
      Bundle ID: com.ugi.designfamilylife
      App Store Link: https://apps.apple.com/ph/app/design-family-life/id6746701133?uo=4

      🤩 Hack Features

      - Gems

      - Cash

      - Energy

      - ADS Ticket

      - LVL & EXP [ Task ]

      - Rewards [ Gems Cash Energy ADS Ticket ] Linked With LvL

      - Chacter Status [ Fitness Joy +More ] 
        • Like
      • 7 replies
    • Design Family Life v0.1.500 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Design Family Life By UGI Studio Cyprus LTD
      Bundle ID: com.ugi.designfamilylife
      App Store Link: https://apps.apple.com/ph/app/design-family-life/id6746701133?uo=4

      🤩 Hack Features

      - Gems

      - Cash

      - Energy

      - ADS Ticket

      - LVL & EXP [ Task ]

      - Rewards [ Gems Cash Energy ADS Ticket ] Linked With LvL

      - Chacter Status [ Fitness Joy +More ] 
        • Agree
        • Like
      • 8 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