Jump to content

Using iGameGod Breakpoints & iGDisassembler (On-Device)


54 posts in this topic

Recommended Posts

Updated (edited)

Hello!

A new iGameGod update was released today with some exciting new features which we'll go through in this tutorial!

These features will be useful for you to debug, patch instructions, see instructions (just like IDA/Hopper Ghidra), modify registers, set breakpoints and watchpoints!

We saw watchpoints in the previous tutorial, here we will see the new breakpoint feature.

 

1) Breakpoints & Disassembler

Okay, from here, we will use any iGG way to find our coin value. I will use the Exact Search option. (we will cover also if the amount is obfuscated later on this tutorial)
iGameGod

Long press the result, and Set A Watchpoint. Now click the the search icon on the bottom right corner, and select iGDebugger.

iGDebugger

I resumed the game and hit 9 coins (grabbed a coin 9 times), and now, in our watchpoint, you can see some changes (Writes: 9) . It's great! It fits our in-game actions!

iGameGod Breakpoints

We will have a closer look at it. Click on the 'Hill Climb Racing +2567624' field, and select the last Stack Trace. On the top, I will select "Offset" to get the decimal values of the registers. Scroll down until you see the register values.

iGDebugger Stack Trace

Note that the last coin I picked had the amount of 5. and x0 has it! My balance is 845 now, and x9 is holding it! Now we now what instructions to look at. From here you can easily add a "New Action" and modify the value the registers are holding which we will cover in a bit, but for now, let's take a look at what's happening.

iGameGod Stack Trace

Now, we will try to see which stack frame will be useful. Look at the first one, it has a special symbol name that is attractive to me. (_ZN.....addCoins....). From the name it seems it's adding our coins. Let's click on it.

iGDisassembler

BOOM! The hole instructions of this function! The middle instruction ADD w9, w9, w0 seems the instruction that is adding the coin to our balance (w9 = w9 + w0).

Let's mod this!

You can simply tap the instruction, and select the Patch Instruction option and edit it to whatever.

iGameGod iGDisassembler

Here, I've decided to add the balance to the balance which will make x2 on our balance each time we collect a coin.

 

Another way you can modify this instruction is by using breakpoints! To do so, click the instruction and select Breakpoint. You instruction will be marked with a small blue circle.

iGDisassembler Breakpoint

Once you have done that, it will bring you on a new window where you can place some actions. It can be scary at first sight but don't worry, it works really simply!

An action will be called BEFORE the breakpoint (so before the ADD w9, w9, w0) and it will allow us to do something. Lets check the options we have.

We have 2 option, the Jump one, and the Modify Register. We will use the 2nd option for now. In the field, you can set the value to attribute to that register, and you can click the blue square to set your register. Here I will select x0 register as its holding our coin value.

NOTE (w0 and x0 are basically the same, only the size of the register is the difference).

Don't forget to enable the breakpoint, and let's resume the game.

iGameGod Breakpoint Actions

As you could notice, the game doesn't stop like a "normal" breakpoint would do. But that's okay since our action is still executed. And now we earn +1000 each time we collect a coin.

We can verify this is working by checking in-game, or via the watchpoint history!

Watchpoint history

So, this was the correct instruction, we will add it to our Bookmark section so that we do not have to repeat all theses steps. To do this, swipe the instruction to the left and press "Bookmark". If the app gets updated, the offset will likely change. But as long as the app version is unchanged, the bookmark will be valid.

iGDisassembler Bookmark

You will be able to see all your bookmarks in the Disassembler window, when you open iGG.

It was all concerning breakpoints & iGDisassembler. PepeBusiness

Let's see something else now.

 

2) Hacking with Symbols & Function Names

Now, lets say we want unlimited fuel, but problem, there isn't an easy value to search for since we do not know it's value. And I don't want to spend 10 minutes to do some fuzzy search, so we will go trough symbols!

NOTE Symbols are generated when the game gets compiled, sometimes its obfuscated, sometimes not, and when its not it deals with the function name 

To generate all the symbols from our binary file, select Settings, Disassembler, Libraries and Hill Climb Racing. We will use the second option (Symbols). It may take time since the app is 40MB, (around 1 minute) and from there, lets search for strings such as "fuel" "consumption" "spendFuel" anything useful. I finally found this:

iGDisassembler Symbols

The symbol name is duplicated but that's not a problem, select one of the two and you will land at the same place:

iGDisassembler Function

 

Hmm this seems to be the fuel consumption multiplier as the name suggest hahaa Click the instruction, and this time we won't use the Modify register option, but the Jump option! And we will enter the default number which is 1. Why? Because it will skip 1 instruction. If we wanted to skip more, increase the field value but be careful of crashes PepeStop

iGameGod Breakpoint Jumps

And so, it will never mov the value of 1 into s0. After testing, our Car fuel never decreases!

 

3) With obfuscated coins

Let's assume we couldn't find the coins with all iGG search feature. Well if it was the case, we had to do some symbol search like the step 2, or we could use IDA and strings or whatever to help us. Let's say after a few hours/days/year on IDA you find this :

eYN9irk.png

Well its the same function as the one we found earlier. But it was without using the coins amount! Of course this would take time to find the right function and wouldn't be as fast a searching the coin number, but well if its obfuscated, its the only solution!

Now, we have the offset of our function addCoins : 0x100272DB0

We will able to see the function on iGG and do some patches/change the registers, to do this, select Settings, Disassembler, Libraries and Hill Climb Racing. We will this time use the Lookup Library Offset option. Make sure to enter the offset without the 0x100 before

iGameGod Lookup Library Offset

In the beginning it could be a bit complex, but with 10/15 minutes I'm sure you will manage the tool! PepeCoffee

Hope you learned something new! :)

 

 

Video Tutorial:

-

 

Updated by Rook
  • Like 19
  • Winner 2
  • Thanks 3
  • Agree 4
  • Informative 4

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

    • Kritika: The White Knights v5.18.3 +12 Cheats
      Hacked App: Kritika: The White Knights By GAMEVIL Inc.
      iTunes Link: https://itunes.apple.com/us/app/kritika-the-white-knights/id865958296
      Bundle ID: com.gamevil.kritikam.ios.apple.global.normal


      Hack Features
      - Infinite Potions (Increase instead of decrease)
      - Infinite Mana
      - No Potion Cooldown
      - Instant EX Gauge Fill
      - God Mode in Stage Mode
      - God Mode in Tower & Monster Wave
      - God Mode in Arena & PvP (Untested)
      - Timer Hack*
      - Mao Support Always Active
      - 1 Hit Kill in Monster -> One Hit Kill was Replaced with "Monster Level 1"
      - Enemy Doesn't Attack
      - Boss Doesn't Attack
      - Enemy Doesn't Move
      - Boss Doesn't Move
      - Monster Level 1 -> Easy kills
      • 3,104 replies
    • Westland Survival - Cowboy RPG v10.4.0 +7 [ Items Cheat ]
      Modded/Hacked App: Westland Survival - Cowboy RPG By HELIO LTD
      Bundle ID: com.heliogames.a1
      iTunes Store Link: https://apps.apple.com/us/app/westland-survival-cowboy-rpg/id1339238576?uo=4


      Hack Features:
      - Unlimited Energy / Instant Energy Refills
      - Unlock All Blueprints
      - Items Duplicate When Split / Items Hack
      - Unlimited Consumable Items
      - Unlimited Item Durability
      - God Mode / Never Die -> Linked with enemies. Useful for looting.
      - One Hit Kill / High Damage -> Linked with enemies. Use with caution.


      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/
      • 448 replies
    • Chef & Friends: Cooking Game Cheats v1.35.5 +1
      Modded/Hacked App: Chef & Friends: Cooking Game By MYTONA Ltd.
      Bundle ID: com.mytona.cheftales
      iTunes Store Link: https://apps.apple.com/us/app/chef-friends-cooking-game/id1586951898?uo=4


      Hack Features:
      - Infinite Currencies (Hats, Coins, Gems)

      NOTE: May bug out the game so better try on your throw away account first 


      iOS Hack Download Link: https://iosgods.com/topic/178904-chef-friends-cooking-game-cheats-v141-1/
      • 32 replies
    • Cooking Diary Restaurant Game v2.44.2 Jailed Cheats +3
      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/
        • Agree
      • 697 replies
    • [ViP Hack] WarFriends v6.0.0 +6 Cheats
      Modded/Hacked App: WarFriends: PvP Shooter Game By Chillingo Ltd
      Bundle ID: com.chillingo.warfriends
      iTunes Link: https://itunes.apple.com/us/app/warfriends-pvp-shooter-game/id979873043


      Hack Features:
      - Debug Menu -> Most/Everything from previous hack has been patched/removed. However, it will still show you some in-game stuff.
      - Free Weapon Upgrades. Instant Weapon Upgrade Delivery Times!
      - Unlimited Clips/Ammo -> Works online & offline
      - No Weapon Reload / Unlimited Ammo in Clip -> Works online & offline
      - One Hit Kill Enemies / High Damage -> Buggy Online, works well offline. Linked with enemy, so hit them first.
      - Gun Fire Rate x1000 -> Shoot bullets really, really fast. Works online too, linked to enemy. One Hit Kill Alternative if you can aim.
      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap your screen with 3 fingers simultaneously.

       

      Non-Jailbroken Version of this hack: https://iosgods.com/topic/44193-warfriends-v140-3-cheats-ios-10/
      • 1,771 replies
    • Towerlands - tower defense TD v3.7.5 +2 Cheats
      Modded/Hacked App: Towerlands - tower defense TD By CHERNYE MEDVEDI, OOO
      Bundle ID: mobi.blackbears.ios.towerlands
      iTunes Store Link: https://apps.apple.com/us/app/towerlands-tower-defense-td/id1491901979?uo=4



      Hack Features:
      - Unlimited Gold
      - Unlimited Gems


      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/
      • 349 replies
    • Fishing Clash v1.0.398 +3 Cheats
      Modded/Hacked App: Fishing Clash: Fish Game 2019 by Ten Square Games S.A.
      Bundle ID: com.tensquaregames.letsfish2
      iTunes Store Link: https://apps.apple.com/us/app/fishing-clash-fish-game-2019/id1151811380


      Hack Features:
      - Combo Always Active
      - Centered Line -> The line is always in the center zone. I didn't test enough but worked for 20 games. Duels too.
      - Line Never Breaks
      • 1,345 replies
    • Legend of Solgard v2.53.0 - [ x Player Damage & More ]
      Modded/Hacked App: Legend of Solgard By King
      Bundle ID: com.midasplayer.apps.solgard
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-solgard/id1281263906

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


      Hack Features:
      - x Player Damage - x1 - 30
      - God Mode

      All features are unlinked and only for player, you!
      • 587 replies
    • Legend of Solgard v2.53.0 +3 Cheat [God Mode & Damage]
      Modded/Hacked App: Legend of Solgard By King
      Bundle ID: com.midasplayer.apps.solgard
      iTunes Store Link: https://itunes.apple.com/us/app/legend-of-solgard/id1281263906?mt=8&uo=4&at=1010lce4


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


      Hack Features:
      - x Player Damage - x1 - 30
      - God Mode / Never Die
      - Auto Kill Enemies

      All features are unlinked and only for player, you!
      • 200 replies
    • Hempire - Weed Growing Game [ Auto Updating ] - Unlimited Everything!
      Modded/Hacked App: Hempire - Weed Growing Game By LBC Studios Inc.
      Bundle ID: ca.lbcstudios.hempire
      iTunes Store Link: https://itunes.apple.com/us/app/hempire-weed-growing-game/id1139379843


      Hack Features:
      - Unlimited Currency - Currency Hack
      - Unlimited Storage
      -- Buy anything
      -- Free Rushing/Skipping

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app.
      This hack is using the new iOSGods Auto Updater. The hack will automatically update itself to the current app version you have installed on your iDevice.
        • Like
      • 1,047 replies
    • We Are Warriors! v1.55.0 Cheats +3
      Modded/Hacked App: We Are Warriors! By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.vjsjlqvlmp.wearewarriors
      iTunes Store Link: https://apps.apple.com/us/app/we-are-warriors/id6466648550?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 everything
      - Auto complete task
      • 164 replies
    • We Are Warriors! v1.55.0 Cheats +3
      Modded/Hacked App: We Are Warriors! By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.vjsjlqvlmp.wearewarriors
      iTunes Store Link: https://apps.apple.com/us/app/we-are-warriors/id6466648550?uo=4


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


      Hack Features:
      - Unlimited everything
      - Auto complete task
      • 93 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