Jump to content

How can I add slider For Gravity & speed


klashksa

3 posts in this topic

Recommended Posts

Hi all I made Gravity hack but I want to make slider For Gravity

i know how to make basic switch but I want to make Slider to anyone wants to change it in Shmoo ModMenu

 

this is Gravity function 

__text:00000001008D9E28                 SUB             SP, SP, #0x20
__text:00000001008D9E2C                 STP             X29, X30, [SP,#0x10+var_s0]
__text:00000001008D9E30                 ADD             X29, SP, #0x10
__text:00000001008D9E34                 STR             WZR, [SP,#0x10+var_8]
__text:00000001008D9E38                 STR             XZR, [SP,#0x10+var_10]
__text:00000001008D9E3C                 MOV             X1, SP
__text:00000001008D9E40                 BL              Physics$$INTERNAL_get_gravity
__text:00000001008D9E44                 LDP             S0, S1, [SP,#0x10+var_10]
__text:00000001008D9E48                 LDR             S2, [SP,#0x10+var_8]
__text:00000001008D9E4C                 LDP             X29, X30, [SP,#0x10+var_s0]
__text:00000001008D9E50                 ADD             SP, SP, #0x20
__text:00000001008D9E54                 RET
__text:00000001008D9E54 ; End of function Physics$$get_gravity

 

 

 

 

 

 

How can I but them in : 

   Hide contents

To add a hook with a slider, use this function:

addSliderHook(@"Hook name", @"Description of the hook", font, lower bound for slider, upper bound for slider, function address, the name of the function you are using for the hook, the name of the function that you aren't using for the hook);

Use this line of code to retrieve the slider's value:

float val = [SliderHook getSliderValueForHook:@"hook name here"];

Let's say I wanted to make a hook with a slider that enabled the user to choose their FOV from 60 to 150. I would use this code:

	float (*getFovOrig)(void *_this);
	 
	float _getFovHooked(void *_this){
	return [SliderHook getSliderValueForHook:@"Field of view slider"];
	}
	 
	addSliderHook(@"Field of view slider", @"Use this slider to adjust your FOV from 60 to 150.", font, 60, 150, 0xc392da, (void *)_getFovHooked, (void *)getFovOrig);

 

 
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Dawn of Zombies: Survival Game v2.251 +3 Jailed Cheats [ Split Hack ]
      Modded/Hacked App: Dawn of Zombies: Survival Game By VISTREX LIMITED
      Bundle ID: com.survival.dawn
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-zombies-survival-game/id1465954247?uo=4


      Hack Features:
      - Split Hack
      - No Energy Cost
      - Max Level -> Earn some XP.


      Jailbreak required hack(s): [Mod Menu Hack] Dawn of Zombies: Survival Game v2.250 +6 Cheats [ Damage & Defence ] - 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/
      • 29 replies
    • Dawn of Zombies: Survival Game v2.251 +6 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Zombies: Survival Game By VISTREX LIMITED
      Bundle ID: com.survival.dawn
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-zombies-survival-game/id1465954247?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Speed Multiplier
      - Split Hack
      - No Energy Cost
      - Max Level -> Earn some XP.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Dawn of Zombies: Survival Game v2.250 +3 Jailed Cheats [ Split Hack ] - 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/
      • 19 replies
    • Family Tree! - Logic Puzzles v1.3.3 +20++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Family Tree! - Logic Puzzles By Lion Studios Plus LLC
      Bundle ID: com.regulusstudio.familytree
      iTunes Store Link: https://apps.apple.com/us/app/family-tree-logic-puzzles/id6453159988?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Jailbreak required hack(s): [Mod Menu Hack] Family Tree! - Logic Puzzles v0.1.18 +20++ Cheats [ Debug Menu ] - 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/
      • 15 replies
    • Little Piggy Defense v1.05.52 +1 Jailed Cheat [ God Mode ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - God Mode


      Jailbreak required hack(s): [Mod Menu Hack] Little Piggy Defense v1.00.11 +3 Cheats [ Damage & Defence ] - 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/
      • 44 replies
    • Little Piggy Defense v1.05.52 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Tower Defence Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Little Piggy Defense v1.00.11 +1 Jailed Cheat [ God Mode ] - 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/
      • 72 replies
    • Family Tree! - Logic Puzzles v1.3.3 +20++ Cheats [ Debug Menu ]
      Modded/Hacked App: Family Tree! - Logic Puzzles By Lion Studios Plus LLC
      Bundle ID: com.regulusstudio.familytree
      iTunes Store Link: https://apps.apple.com/us/app/family-tree-logic-puzzles/id6453159988?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Family Tree! - Logic Puzzles v0.1.18 +20++ Jailed Cheats [ Debug Menu ] - 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/
      • 18 replies
    • Garden Affairs: Design & Match v2.5603 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Garden Affairs: Design & Match By JUDIAN TECHNOLOGY INTERNATIONAL PTE. LTD.
      Bundle ID: com.huayuan.xiaochu
      iTunes Store Link: https://apps.apple.com/us/app/garden-affairs-design-match/id1514355595?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Stars


      Jailbreak required hack(s): [Mod Menu Hack] Garden Affairs: Design & Match v2.4601 +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/
      • 35 replies
    • Garden Affairs: Design & Match v2.5603 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Garden Affairs: Design & Match By JUDIAN TECHNOLOGY INTERNATIONAL PTE. LTD.
      Bundle ID: com.huayuan.xiaochu
      iTunes Store Link: https://apps.apple.com/us/app/garden-affairs-design-match/id1514355595?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Stars


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Garden Affairs: Design & Match v2.4601 +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/
      • 38 replies
    • Royal Kingdom v8784 +4 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - 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/
      • 40 replies
    • Royal Kingdom v8784 +4 Cheats [ Unlimited Coins ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - 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/
      • 20 replies
    • Hot in Hollywood v0.96 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hot in Hollywood By SodeePI Labs, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      iTunes Store Link: https://apps.apple.com/gb/app/hot-in-hollywood/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies


      Jailbreak required hack(s): [Mod Menu Hack] Hot in Hollywood v0.90 +1++ 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/
      • 44 replies
    • Chrome Valley Customs v18.0.0 +1 Jailed Cheat [ Unlimited Moves ]
      Modded/Hacked App: Chrome Valley Customs By Space Ape Ltd
      Bundle ID: com.spaceapegames.carsuperstar
      iTunes Store Link: https://apps.apple.com/us/app/chrome-valley-customs/id6444042518
       

      Hack Features:
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): https://iosgods.com/topic/173179-chrome-valley-customs-v400-1-cheat-unlimited-moves/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 79 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