Jump to content

[TUTORIAL] How To Hack Using Mobile Substrate (Method Hooking)


179 posts in this topic

Recommended Posts

Did you copy paste the exact code into the Tweak.xm and added the MYPROJECT_FRAMEWORKS = UIKit in Makefile?

Yes i did. I only changed the header. Also i didnt put code in the tweak only the UI

4354d6554a43319f8c10d7102d2bcd4b.jpgae954e599574863d3e0dbfbd43a15c15.jpg7fc4957f6d8bce63d5e270422e34cbec.jpg

 

Thats what i have

UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"Custom Title But Keep The Inverted Commas"
message:@"Same Situation Like The Title"
delegate:nil
cancelButtonTitle:@"This Can Be Thanks Or Dismiss"
otherButtonTitles:nil];
[alert show];
[alert release];
}
%end

Maybe this is easier to understand for you. Also remove all the comments '//'

Updated by castix

So because this tutorials is already awesome (big shoutout to evilg00d there) I will just add some notes

 

As he already mentioned in the main topic here, you can't override void but you can NULL them = disable them

- (void)enemiesShoots {    //This is the method that calls your opponents to shoot so if we disable this, they can't anymore
}

if you want to add this in a patcher, you can simply write it like this

- (void)enemyShoots {                              //Easy isn't it ?
   if(GetPrefBool(@"kEnemyShooting")) {
   return; 
   }
   return %orig;
   }

Moving on there are some more value classes, which can be modified

- (long long)Coins {    //This can obviously be treated like int
return 2222;
}
- (double)Coins {     //You can also see here that it can be overwritten really easy
return 2222;
}

Those are just a few more function methods , so if you find something like them in FLEX/Headers/Binaries you know what do do.

 

 

 

_____________________________________________________________________________________________________________________________________

 

 

Almost there, now i am getting

 

I told you to remove all backslashs.

Updated by castix

So because this tutorials is already awesome (big shoutout to evilg00d there) I will just add some notes

 

As he already mentioned in the main topic here, you can't override void but you can NULL them = disable them

- (void)enemiesShoots {    //This is the method that calls your opponents to shoot so if we disable this, they can't anymore
}

if you want to add this in a patcher, you can simply write it like this

- (void)enemyShoots {                              //Easy isn't it ?
   if(GetPrefBool(@"kEnemyShooting")) {
   return; 
   }
   return %orig;
   }

Moving on there are some more value classes, which can be modified

- (long long)Coins {    //This can obviously be treated like int
return 2222;
}
- (double)Coins {     //You can also see here that it can be overwritten really easy
return 2222;
}

Those are just a few more function methods , so if you find something like them in FLEX/Headers/Binaries you know what do do.

 

I told you to remove all backslashs.

:goodjob:

 

Do you want me to add them to the first post?

I think o see my problem. Are the // use to comment? I am a beginner sorry for the dump question. And do i have to keep the // and ". In the code?

Not necessarily. The // are simply comments made by the author which do not get executed when you compile the project but the // are for single line comments only.

:goodjob:

Do you want me to add them to the first post?

yes that would be nice of you

 

I think o see my problem. Are the // use to comment? I am a beginner sorry for the dump question. And do i have to keep the // and ". In the code?

 

 Yes you start comments in MS with that and yes you should remove them all especially between code lines.

Not necessarily. The // are simply comments made by the author which do not get executed when you compile the project but the // are for single line comments only.

They have to be removed, trust me.

yes that would be nice of you

 

 

 Yes you start comments in MS with that and yes you should remove them all especially between code lines.

 

They have to be removed, trust me.

Oh okay :3

 

I'll add it to the first post right now :)

Thanks :- i got it and also i couldnt copy/paste properly cuz i am using taptalk and it was adding or ignoring some characters :-)

501b937c8306868e17ea9a9ac46b320c.jpg

 

I am so happy this is the start of something big for me :-)

 

I like to see how things work and then play with them. :-) my next steps will convert some of my flex tweaks and them add preferences bundle(i hope the i have the right idea of what preference bundles are, if they are the menus that add to setting and you can turn on/off the tweak k got it right lol) :-)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Summoners War Cheats v8.6.1 +7
      Hacked App: Summoners War By Com2uS Corp.
      iTunes Link: https://itunes.apple.com/us/app/summoners-war/id852912420?mt=8&uo=4&at=1010lce4
      Bundle ID: com.com2us.smon.normal.freefull.apple.kr.ios.universal

      Hack Features:
      - Damage Multiplier 
      - Godmode
      - Monster Count Unlink
      - Max Accuracy
      - No Skill Cooldown
      - First Turn
      - Build buildings without having required level
      - Antiban
      • 6,821 replies
    • Anna's Monster Farm : BEGINS Cheats v1.7.0 +3
      Modded/Hacked App: Anna's Monster Farm : BEGINS By Dalmoon Co.,Ltd.
      Bundle ID: com.zzoo.ios.monsterfarm
      iTunes Store Link: https://apps.apple.com/us/app/annas-monster-farm-begins/id6482291449?uo=4
       

      Hack Features

      - Freeze Currencies
      - God Mode
      - Multiply Attack


      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/


      iOS Hack Download Link https://iosgods.com/topic/191165-annas-monster-farm-begins-cheats-v170-3/
      • 6 replies
    • Mr Hero - Idle RPG Cheats v1.91.1 +3
      Modded/Hacked App: Mr Hero - Idle RPG By MONSTER PLANET Corp.
      Bundle ID: com.MonsterPlanet.MrHero
      iTunes Store Link: https://apps.apple.com/us/app/mr-hero-idle-rpg/id1580319643?uo=4


      Hack Features:
      - Multiply Attack (PvE)
      - God Mode (PvP) => Always Win
      - Freeze (Some) Currencies (Gem may not work, can't fully tested)

      DO NOT ONLY BUY VIP FOR THIS AND EXPECT IT CAN BE UPDATED


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/190640-mr-hero-idle-rpg-cheats-v1900-3/
      • 24 replies
    • Mini Kitchen Chef v3.1 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Kitchen Chef By JOHANNES DIMITRIS TSOUCHLOS
      Bundle ID: com.tsepigames.minikitchen
      iTunes Store Link: https://apps.apple.com/us/app/mini-kitchen-chef/id6738204646?uo=4

       


      Hack Features

      - Unlimited Cash
      - Unlimited Plates
      - Unlimited Stars
      - No Burning


      Jailbreak required iOS hacks: [Mod Menu Hack] Mini Kitchen Chef v3.0 +4 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 2 replies
    • Mini Kitchen Chef v3.1 +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Kitchen Chef By JOHANNES DIMITRIS TSOUCHLOS
      Bundle ID: com.tsepigames.minikitchen
      iTunes Store Link: https://apps.apple.com/us/app/mini-kitchen-chef/id6738204646?uo=4

       
       

      Hack Features

      - Unlimited Cash
      - Unlimited Plates
      - Unlimited Stars
      - No Burning


      For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Mini Kitchen Chef v3.0 +4 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 2 replies
    • Airport Simulator: Plane City v1.03.1300 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Airport Simulator: Plane City By Playrion SARL
      Bundle ID: com.playrion.airportmanager
      iTunes Store Link: https://apps.apple.com/us/app/airport-simulator-plane-city/id1572244031?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:
      - Unlimited Currencies -> Earn or spend some. Use Sky Coins to buy Cash.


      Jailbreak required hack(s): [Mod Menu Hack] Airport Simulator: First Class v1.01.0202 +1++ Cheat [ 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/
      • 343 replies
    • Airport Simulator: Plane City v1.03.1300 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Airport Simulator: Plane City By Playrion SARL
      Bundle ID: com.playrion.airportmanager
      iTunes Store Link: https://apps.apple.com/us/app/airport-simulator-plane-city/id1572244031?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Unlimited Currencies -> Earn or spend some. Use Sky Coins to buy Cash.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Airport Simulator: First Class v1.01.0202 +1++ Cheat [ 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/
      • 242 replies
    • Aqua Match v0.191.0 +2 Jailed Cheats [ Unlimited Diamonds ]
      Modded/Hacked App: Aqua Match By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.aquamatch
      iTunes Store Link: https://apps.apple.com/us/app/aqua-match/id6502511364?uo=4

       


      Hack Features

      - Freeze Moves
      - Unlimited Diamonds -> This will ban you from Clans so do not use if you wish to use that. Go into a game, use a few moves and win. Do not use with Freeze Moves.


      Jailbreak required iOS hacks: [Mod Menu Hack] Aqua Match v0.191.0 +2 Cheats [ Unlimited Diamonds ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 0 replies
    • Aqua Match v0.191.0 +2 Cheats [ Unlimited Diamonds ]
      Modded/Hacked App: Aqua Match By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.aquamatch
      iTunes Store Link: https://apps.apple.com/us/app/aqua-match/id6502511364?uo=4

       


      Hack Features

      - Freeze Moves
      - Unlimited Diamonds -> This will ban you from Clans so do not use if you wish to use that. Go into a game, use a few moves and win. Do not use with Freeze Moves.


      For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Aqua Match v0.191.0 +2 Jailed Cheats [ Unlimited Diamonds ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 1 reply
    • Candy Crush Solitaire v0.4.1451 +18 Jailed Cheats [ Game Breaking ]
      Modded/Hacked App: Candy Crush Solitaire By King.com Limited
      Bundle ID: com.midasplayer.apps.candysolitaire
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-solitaire/id6474685626?uo=4


      Hack Features:
      - Unlimited Free Gifts -> Head into the Shop to claim the free gift over & over.
      - Season Pass Purchased

      VIP
      - Add Coins*
      - Add Energy*
      - Add Colour Bomb Boosters*
      - Add UFO Boosters*
      - Add Wildcards*
      - Add Undo's*
      - Add Extra Moves*
      - Add Free Entries*
      - Add Lollipops*
      - Add Streak Slot Booster*
      - Next Level*
      - Complete Postcard*
      - Add Stars To Leaderboard*
      - Add Album Card*
      - Complete Season Pass*

      * Head into Settings and toggle the ? button. Only enable 1 feature at a time.


      Jailbreak required hack(s): [Mod Menu Hack] Candy Crush Solitaire v0.3.5204 +18 Cheats [ Game Breaking ] - 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/
      • 11 replies
    • Candy Crush Solitaire v0.4.1451 +18 Cheats [ Game Breaking ]
      Modded/Hacked App: Candy Crush Solitaire By King.com Limited
      Bundle ID: com.midasplayer.apps.candysolitaire
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-solitaire/id6474685626?uo=4


      Hack Features:
      - Unlimited Free Gifts -> Head into the Shop to claim the free gift over & over.
      - Season Pass Purchased

      VIP
      - Add Coins*
      - Add Energy*
      - Add Colour Bomb Boosters*
      - Add UFO Boosters*
      - Add Wildcards*
      - Add Undo's*
      - Add Extra Moves*
      - Add Free Entries*
      - Add Lollipops*
      - Add Streak Slot Booster*
      - Next Level*
      - Complete Postcard*
      - Add Stars To Leaderboard*
      - Add Album Card*
      - Complete Season Pass*
      - Add Digging Spoons*

      * Only enable 1 feature at a time.


      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/
      • 30 replies
    • High Seas Hero Cheats v1.0.14 +4
      Modded/Hacked App: High Seas Hero By Century Games Pte. Ltd.
      Bundle ID: com.wwv.global
      iTunes Store Link: https://apps.apple.com/us/app/high-seas-hero/id6621220868?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
      - One Hit Kill


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/190961-high-seas-hero-cheats-v1010-4/
        • Agree
      • 54 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