-
Posts
163 -
Joined
-
Last visited
Profile Information
-
iDevice
iPhone Xs Max
-
iOS Version
12.4
-
Jailbroken
No
-
Rooted
No
-
Location
4th Dimension
Recent Profile Visitors
2,232 profile views
Astronaut's Achievements
-
Mod Menu Hack [ARM64] Modern Combat 5 Cheats (All Versions) +4
Astronaut replied to Laxus 's topic in ViP Cheats
Ty -
Mod Menu Hack Live or Die Survival 1.15 +50+ [DEBUG MENU + MORE]
Astronaut replied to iOSGods Dev Team's topic in ViP Cheats
Ten miles -
Mod Menu Hack [x64] Forward Assault v1.2003 +33 [Shoot Grenades & Telekill]
Astronaut replied to bus991's topic in ViP Cheats
O -
J
-
Hack PUBG Mobile DIY - Ultra Aimbot - Super Stretch - Aim Assist+ & Much more!
Astronaut replied to 2052's topic in ViP Cheats
yo -
Mod Menu Hack [ARM64] Modern Combat Versus Cheats (All Versions) +1
Astronaut replied to Laxus 's topic in ViP Cheats
Plastic -
Mod Menu Hack Forward Assault v1.2001 +23 Cheats [O-HK + More]
Astronaut replied to Joka's topic in ViP Cheats
Not working -
Help/Support How to make a void work with PreferenceBundle?
Astronaut posted a topic in Help & Support
I am trying to use a void and make a switch to turn it off or on. I am not trying to return a void as a bool or id. I am simply trying to return it %orig. Example: %hook Play -(void) disableIfWatching { if(GetPrefBool (@"test")) { return %orig; } return %orig; } %end %ctor { %init(Play = objc_getClass("Hydra.WatchController")); } I have compiled it and work only when the switch is off which is the problem. I'd like it to work like a normal switch when it's on. Example of .plist: <dict> <key>action</key> <string>info</string> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>test.com</string> <key>key</key> <string>test</string> <key>label</key> <string>Testing Void Switch</string> </dict> Yes, the void does do something which is why I'd like to make it work with my preferencebundle. I have tested in Flex and it does void whatever it is supposed to do. Edit: When I remove the second %orig; from tweak.xm, it work but when the switch is off. When both %orig; are in tweak.xm, the switch doesn't work at all.