Jump to content

[Tutorial] How to Hack with MSHook (new way)


Guest

1,422 posts in this topic

Recommended Posts

Hello everybody, this is shmoo with his first tutorial on hacking. I prefer this way over regular MS hacking and sub_x hacking because it is not too easy or too hard. This is an updated way of hacking with MSHook, meaning it is less tedious than the regular way. Assuming you already have everything installed (theos, an sdk, etc), that you know how to crack iOS games, know what bool's, int's, etc. are, and create a new project with NIC, we can begin. If you are just starting out hacking, start with regular MobileSubstrate, there are many tutorials on this forum.

I will be using Real Racing 3 for this tutorial.

First of all, you will need Clutch Beta (version 1.4.7-2) from the insanelyi repo. I use this because it won't give you the Trace/BPT trap error, and that it only packages the cracked binary, and nothing else. Now we can move on to actually doing it :p

Hidden Content

    Instructions:

    1. Load the binary into IDA Pro. (duh)

    2. Finding the thing to hack.

    Once it is loaded, you should see a functions window to your left. You can keep it there, or you can drag it next to "exports" for a better view.

    Right click and create a quick filter:

    DLXEbEx.png

    Now, search for the thing that you want to hack, no need to press enter. In my case, it will be money.

    avXaqQw.png

    You should get a lot of results, but this will vary on your game. Double click on the result that you think will be the correct one to hack.

    Here is the function:


    xPpuBoU.png

    And here it is when I double click on it.

    ZIxO7gE.png
     

    This will be the thing you want to hack. It is __ZN10Characters5Money8GetValueEv. You can click on it and do a ctrl + c to copy it.

    BL7v39F.png

    3. Putting everything together in your Tweak.xm

    In your Tweak.xm, copy and paste this template into it.



    %ctor{
    MSHookFunction(((void*)MSFindSymbol(NULL, "")),(void*), NULL);
    }

    Something you should know about this way of hacking with MSHook: you don't change the void's to anything else. Just keep them as void's no matter what.

     

    This way of hacking with MSHook will allow you to have much less text in your Tweak.xm, and you can also name the functions to what you want. Here is where everything will go:

    %ctor{
    MSHookFunction(((void*)MSFindSymbol(NULL, "the thing that you are hacking will go here")),(void*)your function name goes here, NULL);
    }

    The finished result of the template should look like this:



    %ctor{
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN10Characters5Money8GetValueEv")),(void*)getMoney, NULL);
    }

    That's not all, we have to override the thing that we are hacking. With this method, void's can be overridden like an int, bool, etc. So above the %ctor, put this:



    int getMoney()
    {
    return 9999;
    }

    VERY IMPORTANT: Above everything else in your Tweak.xm, put this:

    #include <substrate.h>

    Once you are done, your finished Tweak.xm should look like this:

    #include <substrate.h>
    
    int getMoney()
    {
    return 9999;
    }
    
    %ctor{
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN10Characters5Money8GetValueEv")),(void*)getMoney, NULL);
    }

    And you are good to compile! Good luck :)

 

KNOWN PROBLEMS:

 

If you get an error like this:

 

bKp5LFq.jpg

 

Go to this thread: http://iosgods.com/topic/1986-use-of-undeclared-identifier-msfindsymbol/#entry23807 and use CosnotraLF's solution (you should see it right after you click the link, don't scroll down)

 

 

 

If you are following my tutorial and using Real Racing 3 just like I am, you need to add

ARCHS = armv7 arm64

at the top of your Makefile because it just occurred to me that Real Racing 3 has an arm64 portion of the code now, and if you don't add that, your hack will not work.

 

 

See how much simpler it is? Much cleaner also. This method of hacking can be as good as sub_x, also :snoop:

Updated by Guest
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

    • Toram Online v4.0.35 - [ Custom Move Speed & More ]
      Modded/Hacked App: Toram Online By ASOBIMO,Inc.
      Bundle ID: com.asobimo.toramonline
      iTunes Store Link: https://itunes.apple.com/us/app/toram-online/id988683886?mt=8&uo=4&at=1010lce4
       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Custom Move Speed
      - God Mode 
      - Fast Attack Speed
      - Fast Cast Speed
      - Always Critical Chance
      - Never Miss Hit 
      - Mobs/Bosses Can't Avoid & Guard 
      - Quick Draw
      - Armor Break
      - Magic Wall - Stun + Full Map Hack 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,430 replies
    • Otherworld Legends v2.3.3 +10 Cheats
      Modded/Hacked App: Otherworld Legends By ChillyRoom.
      Bundle ID: com.chillyroom.otherworld
      iTunes Store Link: https://apps.apple.com/us/app/otherworld-legends/id1439772060

      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 currency
      - Unlock skill
      - Unlock skin
      - Unlock character
      - Hp :new:
      - Speed :new:
      - Speed attack :new:
      - Shield :new:
      - No cooldown skills :new:
      - One hit kill :new:

        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 169 replies
    • Otherworld Legends v2.3.3 Cheats +7
      Modded/Hacked App: Otherworld Legends By ChillyRoom

      Bundle ID: com.chillyroom.otherworld

      iTunes Store Link: https://apps.apple.com/us/app/otherworld-legends/id1439772060

      Hack Features:
      - Unlimited currency, character unlock, skill unlock
      - Hp
      - Speed
      - Speed attack
      - Shield
      - No cooldown skills
      - One hit kill
      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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 130 replies
    • Rage Swarm v1.7.01 Cheats +4
      Modded/Hacked App: Rage Swarm By Voodoo
      Bundle ID: com.feelnside.rageswarm
      iTunes Store Link: https://apps.apple.com/vn/app/rage-swarm/id1669867448?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:
      - Stupid enemies
      - No ads after round
      - 200 designs
      - No reload
        • Informative
        • Thanks
        • Winner
        • Like
      • 32 replies
    • Rage Swarm v1.7.01 Cheats +5
      Modded/Hacked App: Rage Swarm By Voodoo
      Bundle ID: com.feelnside.rageswarm
      iTunes Store Link: https://apps.apple.com/vn/app/rage-swarm/id1669867448?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:
      - Stupid enemies
      - No ads after round
      - Unlimit currents (Increases when use, disable if game cash)
      - 200 designs
      - No reload
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 58 replies
    • Abyss - Roguelike ARPG v2.0.2 Cheats +4
      Modded/Hacked App: Abyss - Roguelike ARPG By Pyro Entertainment Limited
      Bundle ID: com.titans.abyss
      iTunes Store Link: https://apps.apple.com/us/app/abyss-roguelike-arpg/id6443793989?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:
      - Stupid enemies
      - AOE atk
      - Always combo
      - Fast atk
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 39 replies
    • Abyss - Roguelike ARPG v2.0.2 Cheats +6 [semi-autoupdate]
      Modded/Hacked App: Abyss - Roguelike ARPG By Pyro Entertainment Limited
      Bundle ID: com.titans.abyss
      iTunes Store Link: https://apps.apple.com/us/app/abyss-roguelike-arpg/id6443793989?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:
      - Enermies no atk
      - Stupid enemies
      - Speed move
      - AOE atk
      - Always combo
      - Fast atk
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 84 replies
    • Ninja Survivors Online v1670 Cheats +7
      Modded/Hacked App: Ninja Survivors Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.ninjasurvivors
      iTunes Store Link: https://apps.apple.com/us/app/ninja-survivors-online/id6444254297?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:
      - Fast move
      - No skills cooldown
      - Exp x100
      - Fast atk
      - Auto pick items
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 106 replies
    • DRAGON BALL LEGENDS v5.4.0 - [ Enemies Don't Attack & More ]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Enemies Don't Attack
      - No Ki Cost
      - Unlimited Ki
      - Tutorial Bypassed - No Need To Play Tutorial
      - No Character Swap CoolDown
      - No Vanish CoolDown
      - Auto Complete All Challenges - Currency/Chrono Crystals Hack! 
      - Always Critical
      - All Cards Give DragonBall 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,476 replies
    • DRAGON BALL LEGENDS v5.4.0 +3 Jailed Cheats [No Ki Cost + More]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - No Ki Cost
      - No Character Swap Cooldown
      - No Vanish Cooldown
      - Tutorial Bypassed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 4,817 replies
    • DRAGON BALL LEGENDS v5.4.0 +7 FREE Cheats
      Modded/Hacked App: DRAGON BALL LEGENDS by BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://apps.apple.com/us/app/dragon-ball-legends/id1358222641


      Hack Features:
      - No Swap Cooldown
      - No Vanish Cooldown
      - No KI Cost
      -  Auto Complete all Challenges
      - Always Critical
      - Tutorial Bypassed
      - Enemies don't Attack


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/70408-ios-13-support-dragon-ball-legends-v2110-3-jailed-cheats-no-ki-cost-more/
      Japanese Version: https://iosgods.com/topic/75598-dbl-%E3%83%89%E3%83%A9%E3%82%B4%E3%83%B3%E3%83%9C%E3%83%BC%E3%83%AB-%E3%83%AC%E3%82%B8%E3%82%A7%E3%83%B3%E3%82%BA-by-bandai-namco-entertainment-inc-v2100-instant-win-more/?
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,977 replies
    • Bullet Force v1.100.5 +3 Jailed Cheats [Radar Hack]
      Modded/Hacked App: Bullet Force by Blayze Games, L.L.C.
      Bundle ID: com.blayzegames.iosfps
      iTunes Store Link: https://itunes.apple.com/us/app/bullet-force/id1009134067

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Radar Hack - Shows all enemies on the radar.
      - Instant Reload
      - Anti-Flash - Flashbangs have no effect.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 511 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