Jump to content

18 posts in this topic

Recommended Posts

Posted

i am trying to return a bool value in mobile susbstrate hacking,

 

 

 

 

%hook XYZ

 
- (void)setIsTyping:(BOOL)fp8 ;
 
 
 
So i want to return the bool value as false, what should i do? I would greatly appreciate if you are ready to help!! 
Posted

doesn't work man


i did it already

 

return False

i did that already


Tweak.xm:3:120: error: expected class member or base class name
  ...self, SEL _cmd):(BOOL)  {
                     ^
Tweak.xm:3:120: error: expected '{' or ','
Tweak.xm:3:119: error: only constructors take base initializers
  ...self, SEL _cmd):(BOOL)  {
Posted (edited)

%hook XYZ

 

- (void)setIsTyping:(BOOL)fp8 {

fp8 = FALSE;

}

 

%end

Updated by Chrizk0
Posted (edited)

%hook XYZ

 

- (void)setIsTyping:(BOOL)fp8 {

fp8 = FALSE;

}

 

%end

dayumm man, i was getting confused lmao! don't you think we need to put %orig(fp8) too?

i will try this out hold on

dayumm man, i was getting confused lmao! don't you think we need to put %orig(fp8) too?

i will try this out hold on

- (void)mediaBar:(id)fp8 isTyping:(BOOL)fp12 , so if it's like this

all i need to do is 

{         fp12=false;

 

 

?

Updated by Vegito
Posted

Yes Vegito you were right, if you don't use %orig, the function will not run so keep using { fp12 = false; return %orig(fp8, fp12); }

Posted

Yes Vegito you were right, if you don't use %orig, the function will not run so keep using { fp12 = false; return %orig(fp8, fp12); }

can i do this way? to make it work? 

 

- (void)setIsTyping:(BOOL)fp8 
{
%orig(false);
}
 
or
 
 
- (void)setIsTyping:(BOOL)fp8 
{
%orig(fp8);
fp8=false;
}
 
 
or
 
 
 
- (void)setIsTyping:(BOOL)fp8 
{
 
fp8=false
%orig(fp8);
}
 
 
ARE ALL THESE WAYS CORRECT?

 

OR the one you told me now?

 

Posted

 

can i do this way? to make it work? 

 

- (void)setIsTyping:(BOOL)fp8 
{
%orig(false);
}
 
or
 
 
- (void)setIsTyping:(BOOL)fp8 
{
%orig(fp8);
fp8=false;
}
 
 
or
 
 
 
- (void)setIsTyping:(BOOL)fp8 
{
 
fp8=false
%orig(fp8);
}
 
 
ARE ALL THESE WAYS CORRECT?

 

OR the one you told me now?

 

 

 

I'm not sure but I dont think the first one would work.

I'm not sure but I think the second one should work.

You forgot semicolon in the third one.

Posted (edited)

o

 

I'm not sure but I dont think the first one would work.

I'm not sure but I think the second one should work.

You forgot semicolon in the third one.

oh f .... that semi colon for now xD , well when i compiled it, it showed no errors though all of the 3 ways showed no errors. it's just that now i am lazy to see whether it works in  every single way or not lol

Updated by Vegito

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

    • Rust Riders: Idle Apocalypse v0.1.0 [+3 Jailed Cheats]
      Modded/Hacked App: Rust Riders: Idle Apocalypse By Andriy Pidvirnyy
      Bundle ID: com.lumamind.rustriders
      App Store Link: https://apps.apple.com/us/app/rust-riders-idle-apocalypse/id6742499714?uo=4



      🤩 Hack Features

      - Instant Break
      - Never Die
      - Add Resource
      • 1 reply
    • Rust Riders: Idle Apocalypse v0.1.0 [+3 Cheats]
      Modded/Hacked App: Rust Riders: Idle Apocalypse By Andriy Pidvirnyy
      Bundle ID: com.lumamind.rustriders
      App Store Link: https://apps.apple.com/us/app/rust-riders-idle-apocalypse/id6742499714?uo=4



      🤩 Hack Features

      - Instant Break
      - Never Die
      - Add Resource
      • 0 replies
    • The Battle Cats v14.3.0 [ Cat Food + More ]
      Modded/Hacked App: The Battle Cats By ponos corporation
      Bundle ID: jp.co.ponos.battlecatsen
      App Store Link: https://apps.apple.com/us/app/the-battle-cats/id850057092?uo=4


      🤩 DIY Features

      - Cat Food

      - Cat EXP

      Booster - Energy & Other Things Same Method Use To Get Unlimited Everything
      • 4 replies
    • Gunfire Ops - War shooter v1.0.9 [+3 Jailed Cheats]
      Modded/Hacked App: Gunfire Ops - War shooter By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.sniper.crisis.tactical.shooter
      App Store Link: https://apps.apple.com/us/app/gunfire-ops-war-shooter/id6476885406?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency (Enable and switch page)
      - No Reload

      • 1 reply
    • Gunfire Ops - War shooter v1.0.9 [+3 Cheats]
      Modded/Hacked App: Gunfire Ops - War shooter By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.sniper.crisis.tactical.shooter
      App Store Link: https://apps.apple.com/us/app/gunfire-ops-war-shooter/id6476885406?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency (Enable and switch page)
      - No Reload
      • 1 reply
    • Zombie Drift Survival Racing v1.3.1 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Drift Survival Racing By NOSURRENDER YAZILIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.nosurrenderstudio.rougelikesurvival
      App Store Link: https://apps.apple.com/us/app/zombie-drift-survival-racing/id6702024869?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Debug Menu
      • 2 replies
    • Zombie Drift Survival Racing v1.3.1 [+6 Cheats]
      Modded/Hacked App: Zombie Drift Survival Racing By NOSURRENDER YAZILIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.nosurrenderstudio.rougelikesurvival
      App Store Link: https://apps.apple.com/us/app/zombie-drift-survival-racing/id6702024869?uo=4

       

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Debug Menu
       
      • 0 replies
    • Omega Royale - Tower Defense v1.4.0 [+2 Jailed Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4

       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 32 replies
    • Omega Royale - Tower Defense v1.4.0 [+2 Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4


       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 33 replies
    • Three Kingdoms All-Star : Idle v1.4 +3 Cheat
      Modded/Hacked App: Three Kingdoms All-Star : Idle By Highbrow
      Bundle ID: com.highbrow.games.tki
      iTunes Store Link: https://apps.apple.com/us/app/three-kingdoms-all-star-idle/id6737404289?uo=4

       


      🤩 Hack Features

      - No Skill Cooldown
      • 22 replies
    • Matchington Mansion Cheats v1.179.0 +5
      Modded/Hacked App: Matchington Mansion By Magic Tavern, Inc.
      Bundle ID: com.matchington.mansion
      iTunes Store Link: https://apps.apple.com/us/app/matchington-mansion/id1216575026?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Moves
      - Infinite Lives
      - Infinite Booster
      - Infinite Coin (Spend some/ Get some)
      - Infinite Stars (Complete task without needing Stars)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/75130-matchington-mansion-v11750-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/75127-matchington-mansion-cheats-v11770-5/
      • 795 replies
    • The Sims FreePlay Cheats v5.92.0 +5
      Modded/Hacked App: The Sims™ FreePlay By Electronic Arts
      Bundle ID: com.ea.sims3deluxe.ipad.inc
      iTunes Store Link: https://itunes.apple.com/us/app/the-sims-freeplay/id466965151?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Simcash
      - Infinite SP
      - Infinite LSP
      - Max ViP Point
      - Unlock Everything


      Hack Download Link: https://iosgods.com/topic/72103-arm64-the-sims-freeplay-cheats-v5414-4-iosgods-exclusive/
      • 3,289 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