Jump to content
  • Sky
  • Mint
  • Azure
  • Indigo
  • Blueberry
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Pomegranate
  • Ruby Red
  • Orange
  • Banana
  • Apple
  • Emerald
  • Teal
  • Chocolate
  • Slate
  • Midnight
  • Maastricht
  • Charcoal
  • Matte Black
Guest

TuT [IDA Tutorial]How to know what to change in IDA in order to make your hack work

492 posts in this topic

Recommended Posts

Guest

I could not think of a better title :p

Since I will not be able to make hacks for awhile (I tried with my iPod, it was just way too laggy, theos wouln't install), I'm mostly going to be helping around the forum and making IDA tutorials. DiDA please don't put me in retired :p

This tutorial is sort of noob-friendly, but not really in most ways. You should already have your offset that you got from GDB or LLDB. I am going to go right to the point. It will not be covering the basics. Alright, let's begin :D

Hidden Content

    This is the example I will be using for this tutorial.
    X3IC6Ke.jpg

    Everything in between

    0x101968

    and

    0x101980

    is what we will be working with, everything else does not matter. Why? Because when hacking sub_x, you hardly ever pay attension or modify instructions with SP (stack pointer) in it. You are usually always hacking MOV's, STR's, LDR's, ADD's, SUB's, and sometimes CMP's and branches (BEQ, BL, etc.) In this case, R0 holds the value of our coins. But what is this function saying? This is the first step of figuring out how to make your sub_x hack work. This function (between

    0x101968

    and

    0x101980

    , of course) is saying to:
     

    0x101968: Move the value of R0 into R6
    0x10196C: Store the value of R1 into R11+var_s0
    0x101970: Load R6+0x24 into R0
    0x101974: Load R11+var_s0 into R1
    0x101978: Add R0 and R1 together and store the value in R0 
    0x10197C: Store the value of R0 in R6+0x24
    0x101980: Move the value of R6 into R0
    

    Now we have figured out what the function is saying in English. I'm sure that you know that R7 holds the value of 668 - 803 million (I'm pretty sure, I know that it is a huge number). To make our coins infinite, we only need to modify instructions with R0 in there because, again, R0 holds the value of our coins. To make it infinite, all we have to do is change the STR (store) because we first want to store R7, or 803 million in R6+0x24 and the LDR (load) instruction because we know want to make it load R7, or 803 million into R0 instead of the regular value of coins. Those two instructions now have dashes and slashes because I don't think you can bold text that already has the code tag.

    Here is the function in plain English with the dashes:
     

    0x101968: Move the value of R0 into R6
    0x10196C: Store the value of R1 into R11+var_s0
    0x101970: Load R6+0x24 into R0 ---/---/---/---/---/--- 
    0x101974: Load R11+var_s0 into R1
    0x101978: Add R0 and R1 together and store the value in R0
    0x10197C: Store the value of R0 in R6+0x24 ---/---/---/---/---/---
    0x101980: Move the value of R6 into R0
    

    And here is the same function, but instead it is in assembly instructions with what we can change to what to make coins infinite:
     

    0x101968: MOV R0, R6
    0x10196C: STR R1, [R11, #var_s0] 
    0x101970: LDR R0, [R6, #0x24] //we can change this to LDR R0, [R7] so it loads 803 million into R0 instead of the regular amount of coins.
    0x101974: LDR R1, [R11, #var_s0]
    0x101978: ADD R0, R0, R1
    0x10197C: STR R0, [R6, #0x24] //we can change this to STR R7, [R6, #0x24] so it stores 803 million into R6+0x24 instead of our regular coins value.
    0x101980: MOV R6, R0
    

    And here is the final changed function to make coins infinite (changes marked with dashes):
     

    0x101968: MOV R0, R6
    0x10196C: STR R1, [R11, #var_s0] 
    0x101970: LDR R0, [R7] ------------------------
    0x101974: LDR R1, [R11, #var_s0]
    0x101978: ADD R0, R0, R1
    0x10197C: STR R7, [R6, #0x24] ----------------------
    0x101980: MOV R6, R0
    

    Now coins are infinite! :D I hope you understood this, and I hope you learned something new :)



I hope this tutorial helped you :) Don't be afraid to ask me questions! :)

 

Thanks @RickHaks for catching a mistake I made

Edited by Guest

Share this post


Link to post
Share on other sites
Guest

Awesome man! :)

 

We need more tutorials like this. ^_^

 

:goodjob:

Thanks, I'll be making more tutorials like this now that I can't really hack :p

Share this post


Link to post
Share on other sites
Guest

This is totally wrong ...

0x101968: MOV R0, R6

0x10196C: STR R1, [R11, #var_s0]

0x101970: LDR R0, [R7] ------------------------ WRONG !!!

it worked with this test function, its right, i compiled a mod just to test it and it worked

Share this post


Link to post
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
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

    • [ARM64] Enlight Pixaloop Modded (All Versions) +1
      Modded/Hacked App: Enlight Pixaloop - Move Photos by Lightricks Ltd.
      Bundle ID: com.lightricks.Enlight-Phoenix
      iTunes Store Link: https://apps.apple.com/us/app/enlight-pixaloop-move-photos/id1381206010?uo=4&at=1010lce4


      Hack Features:
      - PREMIUM
       
      Hack Download Link: https://iosgods.com/topic/77434-arm64-enlight-pixaloop-modded-v137-1/
        • Like
      • 1,023 replies
    • [ARM64] The Greedy Cave Cheats (All Versions) +4
      Modded/Hacked App: The Greedy Cave by AvalonGames
      Bundle ID: com.avalon.cave
      iTunes Store Link: https://itunes.apple.com/us/app/the-greedy-cave/id1028950091?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Coins (Spend some)
      - Infinite Gems (Spend some)
      - God Mode
      - One Hit Kill


      Hack Download Link: https://iosgods.com/topic/72846-arm64-the-greedy-cave-cheats-all-versions-4/
      • 361 replies
    • [ARM64] Juicy Realm Cheats v3.0.8 +6
      Modded/Hacked App: Juicy Realm by X.D. Network Inc.
      Bundle ID: com.spacecangames.juicyrealm
      iTunes Store Link: https://apps.apple.com/us/app/juicy-realm/id1453808408?uo=4&at=1010lce4


      Hack Features:
      - God Mode
      - OHK
      - Infinite Ammo
      - Instant Skill
      - Infinite Currencies
      - All Characters Unlocked


      iOS Hack Download Link: https://iosgods.com/topic/125481-arm64-juicy-realm-cheats-v304-6/
      • 36 replies
    • [ARM64] Car Parking Multiplayer v2.2.3 Jailed Cheats +1
      Modded/Hacked App: Car Parking Multiplayer by Aidana Kengbeiil
      Bundle ID: com.aidana.cardriving.ios
      iTunes Store Link: https://apps.apple.com/us/app/car-parking-multiplayer/id1374868881?uo=4&at=1010lce4



      Hack Features:
      - Free iAP (Turn on inside iOSGods Mod Menu first)


      iOS Hack Download Link: https://iosgods.com/topic/126935-arm64-car-parking-multiplayer-v223-jailed-cheats-1/
      • 2 replies
    • [ARM64] Beat the Boss 4 Cheats (All Versions) +2
      Modded/Hacked App: Beat the Boss 4 by Game Hive Corporation
      Bundle ID: com.gamehivecorp.beattheboss4
      iTunes Store Link: https://itunes.apple.com/us/app/beat-the-boss-4/id1034018838?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Currencies (Coins, Gems)


      Hack Download Link: https://iosgods.com/topic/84106-arm64-beat-the-boss-4-cheats-v1112-2/
      • 72 replies
    • [ARM64] Restaurant DASH: Gordon Ramsay Cheats v2.7.12 +3
      Modded/Hacked App: Restaurant DASH: Gordon Ramsay By Glu Games Inc
      Bundle ID: com.glu.gordondashx
      iTunes Store Link: https://itunes.apple.com/us/app/restaurant-dash-gordon-ramsay/id1089048531?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Coins
      - Infinite Golds
      - Infinite Energy
       


      Hack Download Link: https://iosgods.com/topic/79776-arm64-restaurant-dash-gordon-ramsay-cheats-v269-3/
      • 48 replies
    • [ARM64] Idle Life Sim - Simulator Game Cheats (All Versions) +1
      Modded/Hacked App: Idle Life Sim - Simulator Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.idle.game.tycoon.life.sims
      iTunes Store Link: https://apps.apple.com/us/app/idle-life-sim-simulator-game/id1501361660?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash


      iOS Hack Download Link: https://iosgods.com/topic/123735-arm64-idle-life-sim-simulator-game-cheats-all-versions-1/
      • 237 replies
    • [ARM64] Hotel Empire Tycoon-Idle Game Cheats (All Versions) +1
      Modded/Hacked App: Hotel Empire Tycoon-Idle Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.hotel.empire.tycoon.idle.game
      iTunes Store Link: https://apps.apple.com/us/app/hotel-empire-tycoon-idle-game/id1485552989?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash



      iOS Hack Download Link: https://iosgods.com/topic/116094-arm64-hotel-empire-tycoon%EF%BC%8Didle-game-cheats-all-versions-1/
        • Agree
      • 473 replies
    • [ARM64] Cooking Diary Restaurant Game Cheats v1.25.1 +2
      Modded/Hacked App: Cooking Diary® Restaurant Game by MyTona Pte Ltd
      Bundle ID: com.mytonallc.cookingdiary
      iTunes Store Link: https://apps.apple.com/us/app/cooking-diary-restaurant-game/id1214763610?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies (Get some)
      - Freeze Boosters


      iOS Hack Download Link: https://iosgods.com/topic/110310-arm64-cooking-diary-restaurant-game-v1160-3/
      • 278 replies
    • [ARM64] From Zero to Hero: Communist v1.0.7 Jailed Cheats +1
      Modded/Hacked App: From Zero to Hero: Communist by Heatherglade Publishing Korlatolt Felelossegu Tarsasag
      Bundle ID: com.heatherglade.communist
      iTunes Store Link: https://apps.apple.com/us/app/from-zero-to-hero-communist/id1497106614?uo=4&at=1010lce4


      Hack Features:
      - Free iAP


      iOS Hack Download Link: https://iosgods.com/topic/120912-arm64-from-zero-to-hero-communist-v103-jailed-cheats-1/
      • 7 replies
    • [ARM64] From Zero to Hero: Cityman v1.4.36 Jailed Cheats +1
      Modded/Hacked App: From Zero to Hero: Cityman by Heatherglade Publishing Korlatolt Felelossegu Tarsasag
      Bundle ID: game.zerotohero.app
      iTunes Store Link: https://apps.apple.com/us/app/from-zero-to-hero-cityman/id1321606577?uo=4&at=1010lce4


      Hack Features:
      - Free iAP


      iOS Hack Download Link: https://iosgods.com/topic/120909-arm64-from-zero-to-hero-cityman-v1431-jailed-cheats-1/
      • 16 replies
    • [ARM64] Galaxy Attack: Alien Shooter Cheats (All Versions) +1
      Modded/Hacked App: Galaxy Attack: Alien Shooter by ABIGAMES PTE. LTD
      Bundle ID: com.alien.shooter.galaxy.attack
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-attack-alien-shooter/id1176011642?uo=4&at=1010lce4


      Hack Features:
      - Free Store (Let you buy stuffs even you don't have enough money)


      iOS Hack Download Link: https://iosgods.com/topic/100858-arm64-galaxy-attack-alien-shooter-cheats-v4135-1/
      • 360 replies
  • Recently Browsing   0 members

    No registered users viewing this page.


    • Administrator |
    • Special Rank |
    • ViP Plus |
    • ViP Jailed |
    • ViP |
    • Cheater  |
    • Modder  |
    • Novice Cheater |
    • Rookie Modder |
    • Contributor |
    • Senior Member |
    • Member |
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy - Guidelines