Jump to content

[Beginner Friendly] Guide to Easily Hacking Your First Unity Game


111 posts in this topic

Recommended Posts

Updated (edited)

There's a lot of tutorials on here but some are more difficult to understand than others so I'm gonna make this as beginner friendly as possible. I won't be teaching you how to install theos, how to create a project in theos, compiling, cracking the game, etc. There's plenty of tutorials here to teach you that but if you click on the name's in "what's needed" you'll be linked to the tutorials.

 

What's needed:
Theos
OpenSSH
iOSGods Live Offset Patcher
IDA Pro
il2cppdumper
iGDecrypt
Ted2's mod menu template
Filza
CyberDuck or WinSCP 

 

Game we'll be hacking:
Sugar Blast!

 

Hexes:

High float and public int values: 0090261EC0035FD6 and 00F0271EC0035FD6

Bool TRUE: 20008052C0035FD6

Bool FALSE: 00008052C0035FD6

Low values: 20008052C0035FD6 and 00D0251EC0035FD6

All other values can be found by using the Arm to Hex converter and entering the following:

fmov s0, #5
fmul s0, s0, s0
fmul s0, s0, s0
ret

The ARM64 HEX box at the bottom right will have the offsets needed. Change "#5" to a higher or lower value depending on what you're looking for.

6c377f8a53f21d5d43cfb09f6bbdca61.png

 

What is bool true and bool false used for?:

Bool true and bool false is used for things like GetAds, HasNoAds, HasInfiniteAmmo, and similar names. For GetAds you would ideally use bool false and HasNoAds you would ideally use bool true.

 

Dumping with il2cppdumper:

This part is fairly easy and straight forward. First of all, make sure you have decrypted & cracked your target game using iGDecrypt. Now visit il2cppdumper online website and put the cracked binary in "Executable file" and put the metadata in "global-metadata.dat". Metadata can be found in /gamename.app/data/managed/metadata/.

Then hit submit and download the output from the server.

D8XT3nt.png

 

Using IDA to find your functions and offsets:

I personally prefer to look at everything in IDA, others prefer looking at the C-Sharp in DnSpy. Whatever is easier for you or what you feel more comfortable with.

Upload the binary into IDA, this may take a while to decompile depending on your PC. You'll know it's done when you see "idle" at the bottom left of IDA.

03b954b24e26aff258483c4327b6f6e4.png

 

Once the it's done decompiling then you're ready to upload the script. This will also take a while depending on your laptop/pc.

When uploading the script file you're gonna want to upload the file "ida" (not ghidra or ida_with_struct) and then "script.json" (not config.json or stringliteral.json) that'll be located in your il2cpp folder. Once it's done you'll see "idle" at the bottom left of IDA again.

544902d52223774f0eba4f5acc6028a4.png

69d3d222172f6364033704409226bcf8.png

 

Searching functions:

Now it's time to do work, searching functions. Press CTRL+F to use the quick filter. Search the function names you want. Different games are gonna have different names of course. And some games will have multiple functions with the similar names, it's all trail and error when that happens.

What I'm gonna be searching for is coins.

0db1d6604c8a83b65042becb6995d03e.png

 

 GardenMeta.Inventory$$GetCoins looks like it's going to be it because we of course want to get coins and none of the other function names look like they will help us.

Double click on the function name and then scroll up until you see the function name next to the offset. 

04b052428c49e927249b7d1fea9649af.png

Our offset will be 10190EF94, ignore all the 0's infront of it.

 

Using the Live Offset Patcher:

Thanks to @Rook and others that helped create the !Live Offset Patcher, it makes the job 10x easier. Your offset will go on the left side and the hex will go on the right side. Now it's time to test if it's going to work. Once again, I'll be putting 10190EF94 in the left box and since we want a high number of coins we're going to put 00F0271EC0035FD6 in the right side box. Now that that's done, you'll simply click on it to activate it.

 

a12f1cc213f5e6644b4f59869dccc113.png

 

You can look for other functions such as moves, power ups, lives, etc. Whatever you can think of and test them out. This is where you get to work. 

 

df8bddb771896ba3d7c7fe2a68622477.png

 

Good luck on your journey ladies and gents.

 

Updated by Rook
  • Like 42
  • Winner 7
  • Thanks 5
  • Haha 1
  • Agree 1
  • Informative 6
Posted
4 hours ago, The Kid Morales said:

Got lost from just reading the first line🥴

What do you not understand? I can try to break it down more if it is that difficult to understand.

 

2 hours ago, Tulak Hord said:

Why do we change with fmov? Doesn't normal mov work?

That was the “code” I was given by a friend so that’s what I’ve used. You can use mov if you want to. I just prefer to stick with the things I was given.

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

    • Obsidian Knight RPG v1.200.12 [+3 Jailed Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4



      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
      • 30 replies
    • Obsidian Knight RPG v1.200.12 [+3 Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4

       

      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
      • 31 replies
    • Margonem Adventures v2.4.6 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 24 replies
    • Margonem Adventures v2.4.6 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 16 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 71 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 94 replies
    • Fortress: Stickman Trenches v3.5 [+2 Jailed Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4



      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
      • 2 replies
    • Fortress: Stickman Trenches v3.5 [+2 Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4


      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
       
      • 1 reply
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
      • 5 replies
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
      • 2 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Jailed Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4

       

      🤩 Hack Features

      - Debug Menu
      • 12 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4



      🤩 Hack Features

      - Debug Menu
       
      • 19 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