Jump to content

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


EvillyG00d

179 posts in this topic

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

: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.

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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) :-)

Link to comment
Share on other sites

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

    • Ultimate Golf! v4.12.0 +1 Jailed Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222
       

      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Jailbreak required hack(s): [Mod Menu Hack] Ultimate Golf! v4.4.3 +1 Cheat [ Perfect Shot ] - 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/
      • 121 replies
    • Ultimate Golf! v4.12.0 +1 Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222


      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      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/
      • 220 replies
    • PAC-MAN v11.4.4 +4 Jailed Cheats [ God Mode ]
      Modded/Hacked App: PAC-MAN By BANDAI NAMCO Entertainment America Inc.
      Bundle ID: com.namconetworks.pacmanlite
      iTunes Store Link: https://apps.apple.com/us/app/pac-man/id293778748


      Hack Features:
      - Unlimited Lives -> Will not decrease. Does not work with Tournament lives.
      - Unlimited In-Game Lives -> Will not decrease.
      - No Clip Ghosts -> Will allow you to pass through ghosts without dying.
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] PAC-MAN v11.0.1 +6 Cheats [ God Mode ] - 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/
      • 41 replies
    • PAC-MAN v11.4.4 +6 Cheats [ God Mode ]
      Modded/Hacked App: PAC-MAN By BANDAI NAMCO Entertainment America Inc.
      Bundle ID: com.namconetworks.pacmanlite
      iTunes Store Link: https://apps.apple.com/us/app/pac-man/id293778748
       

      Hack Features:
      - Unlimited Lives -> Will not decrease. Does not work with Tournament lives.
      - Unlimited In-Game Lives -> Will not decrease.
      - No Clip Ghosts -> Will allow you to pass through ghosts without dying.
      - Freeze Ghosts
      - Max Score -> Earn some score and it'll go max.
      -- No Ads


      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/
      • 73 replies
    • Supermarket Manager Simulator v1.0.7 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Supermarket Manager Simulator By Digital Melody S.A.
      Bundle ID: com.dmg.supermarket.simulator
      iTunes Store Link: https://apps.apple.com/us/app/supermarket-manager-simulator/id6479982512?uo=4


      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Supermarket Manager Simulator v1.0.6 +3 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/
      • 38 replies
    • Supermarket Manager Simulator v1.0.7 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Supermarket Manager Simulator By Digital Melody S.A.
      Bundle ID: com.dmg.supermarket.simulator
      iTunes Store Link: https://apps.apple.com/us/app/supermarket-manager-simulator/id6479982512?uo=4


      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Supermarket Manager Simulator v1.0.6 +3 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/
      • 15 replies
    • Good Pizza, Great Pizza v5.9.2 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Jailbreak required hack(s): [Mod Menu Hack] Good Pizza, Great Pizza v5.5.6 +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/
      • 45 replies
    • Good Pizza, Great Pizza v5.9.2 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Good Pizza, Great Pizza v5.5.6 +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/
      • 27 replies
    • Soul Light: Idle RPG War v60 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Soul Light: Idle RPG War By ACTIONFIT Ltd.
      Bundle ID: com.idle.afk.soul.light.rpg
      iTunes Store Link: https://apps.apple.com/us/app/soul-light-idle-rpg-war/id6469476819?uo=4


      Hack Features:
      - God Mode
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Emerald -> Will increase instead of decrease.
      - Unlimited Dungeon Keys


      Jailbreak required hack(s): [Mod Menu Hack] Soul Light: Idle RPG War v1.6.2 +4 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/
      • 31 replies
    • Soul Light: Idle RPG War v60 +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Soul Light: Idle RPG War By ACTIONFIT Ltd.
      Bundle ID: com.idle.afk.soul.light.rpg
      iTunes Store Link: https://apps.apple.com/us/app/soul-light-idle-rpg-war/id6469476819?uo=4


      Hack Features:
      - God Mode
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Emerald -> Will increase instead of decrease.
      - Unlimited Dungeon Keys


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Soul Light: Idle RPG War v1.6.2 +4 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/
      • 33 replies
    • One Punch Man World v1.0.1 +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: One Punch Man World By Crunchyroll Games, LLC
      Bundle ID: com.crunchyroll.opm
      iTunes Store Link: https://apps.apple.com/us/app/one-punch-man-world/id6448791649?uo=4


      Hack Features:
      - Dumb Enemies
      - One-Hit Kill


      Jailbreak required hack(s): [Mod Menu Hack] One Punch Man World v1.0.0 +2 Cheats [ One-Hit Kill ] - 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/
      • 110 replies
    • One Punch Man World v1.0.1 +2 Cheats [ One-Hit Kill ]
      Modded/Hacked App: One Punch Man World By Crunchyroll Games, LLC
      Bundle ID: com.crunchyroll.opm
      iTunes Store Link: https://apps.apple.com/us/app/one-punch-man-world/id6448791649?uo=4


      Hack Features:
      - Dumb Enemies
      - One-Hit Kill -> Linked. Use with Dumb Enemies.


      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/
      • 86 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