Jump to content

Hacking Unity Games with .Net Reflector (Assembly-CSharp.dll Hacking)


49 posts in this topic

Recommended Posts

Updated (edited)

Hey there :)

 

A new tutorial for you guys.

Today I'll show you how to hack unity games.

The file you will hack of a unity game is here: apk-assets-bin-Data-Managed-Assembly-CSharp.dll

 

What do we need?

Java SE v8

.Net Reflector --> http://bit.ly/28YD3WW (Cracked version)

- Reflexil to edit the functions easier --> http://reflexil.net/ OR http://bit.ly/28WgqC6

- The apk you want to hack, I use subway surfer for this version (I'll use a old version because Bluestacks can't handle a new version)

- 7zip,winrar etc to unzip the .apk.

- ZipSigner: https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en

 

Apk I use: http://bit.ly/292NcGK

 

NOTE: Not any game is a unity game.

 

Let's start!

Okey, so.. Open the program .Net Reflector after you installed it. Load the Assembly-CSharp.dll in it.

You find this file after you did unzip the apk in: assets-bin-Data-Managed-HERE

I always remove all the other files on the left side using the "Delete/Del" button on your keyboard because they're anoying as f*ck.

 

Sb6h9fv.png

 

Once they're gone, open the file from the game in the program.

Let's set up reflixil now. You've downloaded the reflexil file, you should've unzipped it.

In reflector you see a option called "Tools", go to it, go to "Add-Ins" and now click on the "+" icon.

Locate to your unzipped folder, and select "Reflexil.Reflector.AIO". Now go again to "Tools" and select Reflexil v2.0

 

It will look like this now:

 

W7BRxTU.png

 

Now click the search button or "f3" button & now you have to turn on "Search Member" CTL + M OR:

 

nSatUNd.png

 

Okey, Let's search for some functions. There are multiply options of coure, but I'll call some here:

 

Coins

Gems

Gold

Diamonts

Money

Cash

Currency

get_'gold,coins etc'

get_amountof'coins,keys,etc'

isUnlocked

isLocked

isFree

etc etc etc

 

So, Subway Surfers does have allot features which can be hacked.

Let's hack the coins, keys, boards & characters in this tutorial

coins & keys are int value's & board & characters are boolean value's

 

Let's search for 'coins'. I got ALLOT matches so do you, I will not show you a screenshot.

Let's search for 'get_coins'. You got only a few matches, normaly when you find this match in a game you will hack it. I did it too, but it didn't had any effect so I won't waste your time by doing it.

Let's search for 'get_amountof'. We got this:

 

iKHFcv8.png

 

It seems very intresting to me, why? Well we got matches with keys & coins + the declaring type is 'PlayerInfo' in my opinion that's intresting.

Let's double click 'get_amountOfCoins' we got this:

 

qKZrjst.png

 

So what now?

Well, ALWAYS delete this OpCode 'Idfld'. You don't want that one loaded.

Now, change Idarg.0 to 'idc.i4' by clicking right mouse button on Idarg.0 and click edit.

It will look like this:

 

aKj5VNH.png

 

NOTE: Change Operand type to Int32!!!!

 

Click 'Update' and do the same for 'get_amountOfKeys'

 

Now let's unlock the hoverboards.

Search for: isUnlocked, no match you'll see. Search for isHoverboardUnlocked

You got 2 matches, which one will you take? Well the one with declaring type 'HoverboardStickerManager' says this:

 

0TkqWb9.png

See this: 'It says: return PlayerInfo.Instance.isHoverboardUnlocked(type);'

Double click isHoverboardUnlocked because it says that's what it returns.

 

WOW! You got ALLOT bullsh*t around there :p

What do we want to do with the function? Return it to TRUE ofcourse!

What do we do now? In this menu (see picture) we have to keep only 2 instructions, it doesn't matter which one. Just delete everything until you keep 2 instructions

 

FtLHpa7.png

 

After deleting until there are 2 instructions, it will look like this (you may have other instructions):

 

b0XOERn.png

 

I got this, you can get totally something else. I'll explain you what this means anyways because we both need those instructions to hack it

See the OpCode of both

Idc.i4,0 --> FALSE

ret ---> RETURN --> Offset of ret is '1' this means "TRUE"

So it says: HoverboardUnlocked = FALSE = TRUE... hmmmm bleghhhh  :wallbash:

 

What to do now?

Change the first instructions (Idc.i4.0) to Idc.i4.1 this means TRUE

IF your second instruction is NOT 'ret' then change it to 'ret'.

What it says now: HoverboardUnlocked = TRUE = TRUE

 

CjnEp5w.png

 

 

Let's do the same for the Characters..

Search for 'isCharacterUnlocked' you may get more matches.I do only get one...

 

y32ZPZh.png

 

 

It tells me it does return 'PlayerInfo.Instance.IsCollectionCompelete(type);

Double Click isCollectionComplete.

Delete all instructions until you keep 2 over

Change the first instruction to 'Idc.i4.1' and change the second to 'ret' (RETURN)

 

TIP: The Subway Surfers Tutorial is very anoying in my opinion.

Search for: get_IsTutorialCompleted and return it to true like you did with the Hoverboards & Characters!

 

Okey.. we're done. Save the Assembly-CSharp.dll

How?

 

AtYe7ZJ.png

 

Click 'Save as...' --> locate to the unzipped .apk-assets-bin-Data-Managed, it will tell you to save it as: Assembly-CSharp.Patched.dll but we want it as: Assembly-CSharp.dll

It will ask if you want to overwrite, click yes.

 

Locate to your unzipped .apk - select ALL files - make a .zip archive but rename the .zip to apk:

 

GcLCqFB.png

 

Copy your .apk to your phone or to bluestacks, sign in it with zipsigner

Zipsigner: https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en

 

Open ZipSigner find your .apk by clicking here:

 

NgjrqDg.png

 

When you found it, click 'Sign The File' and wait.

After it's done signing, locate it in your file manager & install it. Open it when it's done

 

NOTE: If you don't like non serious people, skip the upcomming screenshot and go to one after it  lol..

 

Moment of truth.......

Silence please.....

 

IS IT HACKED???!

Kidding me, Bluestacks hates me:

1GyVS0E.png

 

Let's open again -___-

 

Ah I got it working.

 

Coins & Keys:

 

CDZTqjL.png

 

Characters:

 

TTtOcrp.png

 

Hoverboards:

 

Rzy27VH.png

 

Functions WE hacked:

get_amountOfCoins

get_amountOfKeys

isHoverboardUnlocked

isCharacterUnlocked

some of you may did: get_isTutorialCompleted because I mentioned that one too.

 

EXTRA

isThemeUnlockedForCharacter

isThemeSeen

isThemeOwned

isThemeActive

get_DoubleScore

get_ScoreMultiplier

 

Declaring Type ´PlayerInfo´ are the most functions in to be hacked.

 

Hope you learned something from this tutorial!

 

Credits: xShadowGhostx

Updated by xShadowGhostx
  • Like 1
  • Agree 1
Posted

Yes is very good guide i have hacked many games thx to this but one question why is this explained?

 

thx in advanced

 

happy life

 

- screenz

Posted

Yes is very good guide i have hacked many games thx to this but one question why is this explained?

 

thx in advanced

 

happy life

 

- Tyramzu

Don't get your question.

 

Yes is very good guide i have hacked many games thx to this but one question why is this explained?

 

thx in advanced

 

happy life

 

- screenz

I don't  understand you either

Posted

i want too know how 2 use this for hacking dungeon huntor 5

 

i love dugeon hunter 5 is my favrite game

 

how i hack dh5 with this reflector.

 

happy life

 

-tyramize

Oh god, is that game even unity coded?

Posted (edited)

i want too know how 2 use this for hacking clash of cans

 

i love clash of cans is my favrite game

 

how i hack coc with this reflector.

 

sweet lief

Updated by screenz
Posted

i dont no, also i love clans of clash, its good game but much expenciv, how i get gems and money?

 

i ask for a frent of me, he loves dh5 to.

 

pleas hak clas of clashns and dugeon huter 5 

 

happy life

 

-tiramyze

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

    • Superhero Idle: Strike League v0.11.2 [+6 Jailed Cheats]
      Modded/Hacked App: Superhero Idle: Strike League By Midnite SRL
      Bundle ID: games.midnite.sid
      App Store Link: https://apps.apple.com/us/app/superhero-idle-strike-league/id6449540121?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Freeze Currency (Always Will Increase Cash, Gem)
      - Unlimited Skip Ads
      - Activate ViP
      - No Ads
      • 0 replies
    • Superhero Idle: Strike League v0.11.2 [+6 Cheats]
      Modded/Hacked App: Superhero Idle: Strike League By Midnite SRL
      Bundle ID: games.midnite.sid
      App Store Link: https://apps.apple.com/us/app/superhero-idle-strike-league/id6449540121?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Freeze Currency (Always Will Increase Cash, Gem)
      - Unlimited Skip Ads
      - Activate ViP
      - No Ads
      • 0 replies
    • Smash Hit v1.5.6 Jailed Cheats +2
      Modded/Hacked App: Smash Hit By Mediocre AB
      Bundle ID: com.mediocre.smashhit
      iTunes Store Link: https://apps.apple.com/us/app/smash-hit/id603527166?uo=4


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


      Jailbreak required hack(s): https://iosgods.com/topic/74991-smash-hit-cheats-v142-1/


      Hack Download Link: https://iosgods.com/topic/74993-smash-hit-v150-jailed-cheats-2/
        • Like
      • 297 replies
    • Gangstar Vegas Cheats v8.4.0 +4
      Modded/Hacked App: Gangstar Vegas - Mafia action By Gameloft
      Bundle ID: com.gameloft.gangstar4
      iTunes Store Link: https://apps.apple.com/us/app/gangstar-vegas-mafia-action/id571393580?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🤩 Hack Features

      - Infinite Currencies
      - Infinite Run ( To stop running turn off in menu then click run again )
      - Infinite Ammo / No Reload ( Required re-launching the game after purchasing new gun and enabled in menu before load into the game )
      - No Cops


      NOTE: Turn off wifi before playing


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/166702-gangstar-vegas-mafia-action-v791-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147734-gangstar-vegas-cheats-v800-4/
        • Informative
        • Like
      • 1,003 replies
    • Into The Dead 2 Cheats v1.78.0 +11
      Modded/Hacked App: Into the Dead 2 By Prodigy Design Limited T/A Sidhe Interactive
      Bundle ID: com.pikpok.dr2.iosstore
      iTunes Store Link: https://itunes.apple.com/us/app/into-the-dead-2/id1151220243?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Ammo
      - No Reload
      - One Shot Kill
      - Infinite Grenade
      - No Grenade Cooldown
      - Insane Explotion Radius after Throw Grenade
      - No Collision (God Mode)
      - Infinite Stamnia
      - ViP Services
      - Infinite Silver
      - Infinite Gold


      Hack Download Link: https://iosgods.com/topic/73337-arm64-into-the-dead-2-cheats-v1141-11/
      • 1,576 replies
    • Candy Crush Soda Saga Cheats v1.294.2 +3
      Modded/Hacked App: Candy Crush Soda Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsodasaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-soda-saga/id850417475?uo=4

       

      🔧 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🚀 Hack Features

      - Freeze Moves
      - Freeze Lives
      - Freeze Boosters


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191667-candy-crush-soda-saga-v12861-jailed-cheats-3/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191666-candy-crush-soda-saga-cheats-v12873-3/
      • 15 replies
    • My Hot Pot Story Cheats v4.7.3 +1
      Modded/Hacked App: My Hotpot Story By 冲 于
      Bundle ID: com.lxqd.hotpotiver
      iTunes Store Link: https://apps.apple.com/us/app/my-hotpot-story/id1623328997?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/166067-my-hotpot-story-v145-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/166065-my-hotpot-story-cheats-all-versions-1/
      • 150 replies
    • Nonstop Knight 2 Cheats v3.2.9 +7 [ God Mode & More ]
      Modded/Hacked App: Nonstop Knight 2 - Action RPG By Flaregames GmbH
      Bundle ID: com.koplagames.kopla02
      iTunes Store Link: https://apps.apple.com/us/app/nonstop-knight-2-action-rpg/id1444887980?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - God Mode
      - One Hit Kill
      - Custom Move Speed
      - Custom Attack Speed
      - Custom Attack Range
      - Instant Skill
      - Infinite MP

       

      Non-Jailbroken Hack: https://iosgods.com/topic/99785-nonstop-knight-2-v323-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/99783-nonstop-knight-2-cheats-v324-7-god-mode-more/
      • 1,606 replies
    • Hollywood Story: Fashion Star Cheats v13.2 +4
      Modded/Hacked App: Hollywood Story®: Fashion Star By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://apps.apple.com/us/app/hollywood-story-fashion-star/id876656488?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Cash
      - Infinite Gems
      - Infinite Golden Tickets
      - Infinite Stars Point

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73408-hollywood-story-fashion-star-cheats-v1211-4/
        • Agree
      • 790 replies
    • Duolingo - Language Lessons v7.77.0 Jailed Mod +1
      Modded/Hacked App: Duolingo By Duolingo
      Bundle ID: com.duolingo.DuolingoMobile
      iTunes Store Link: https://itunes.apple.com/us/app/duolingo/id570060128?mt=8&uo=4&at=1010lce4


      Hack Features:
      - PREMIUM
       

      Hack Download Link: https://iosgods.com/topic/78624-arm64-duolingo-v5248-jailed-mod-2/


      Credits:
      - @Laxus
        • Winner
      • 2,783 replies
    • Dummynation Cheats v3.3.3 +3
      Modded/Hacked App: Dummynation By ALEJANDRO HERNANDEZ FERRERO
      Bundle ID: ahf.dummynation
      iTunes Store Link: https://apps.apple.com/us/app/dummynation/id6444295551?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🤩 Hack Features

      - Premium + No Ads
      - Infinite Research Point
      - Infinite Liquidity (Gold)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191828-dummynation-v313-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/191829-dummynation-cheats-v313-3/
      • 17 replies
    • Demon Squad: Idle RPG Cheats v1.82 +2
      Modded/Hacked App: Demon Squad: Idle RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.demonsquad
      iTunes Store Link: https://apps.apple.com/us/app/demon-squad-idle-rpg/id6504470907?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Multiply Attack
      - Multiply Defense

       

      Non-Jailbroken Hack: https://iosgods.com/topic/188363-demon-squad-idle-rpg-v170-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/185576-demon-squad-idle-rpg-cheats-v171-2/
        • Like
      • 85 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