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

    • Royal Kingdom v19683 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 137 replies
    • Royal Kingdom v19683 +4 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 88 replies
    • League of Dreamers - My Story v2.1.4 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases -> Allows free in-app purchases.


      Jailbreak required hack(s): [Mod Menu Hack] League of Dreamers - My Story v1.54 +3 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 172 replies
    • League of Dreamers - My Story v2.1.4 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases


      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/
        • Like
      • 81 replies
    • Power Slap v7.2.6 +2++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Power Slap By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/us/app/power-slap/id6449244841?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.
      - Pro Pass Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Power Slap v0.4.1 +4 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 160 replies
    • Idle Breaker v1.4.0 +5++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Idle Breaker By Estoty LLC
      Bundle ID: com.idlesurvivor.game
      iTunes Store Link: https://apps.apple.com/us/app/idle-breaker/id6448195469?uo=4


      Hack Features:
      - Unlimited Everything -> Earn some.
      - Damage Multiplier
      - Health Multiplier
      - Tool Damage Multiplier
      - Move Speed Multiplier


      Jailbreak required hack(s): [Mod Menu Hack] Idle Breaker v1.0.31 +5++ Cheats [ Unlimited Everything ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 58 replies
    • Power Slap v7.2.6 +2++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: Power Slap By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/us/app/power-slap/id6449244841?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.
      - Pro Pass Unlocked


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Power Slap v0.4.1 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 113 replies
    • Slime Legion v3.3.0 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Slime Legion By Perfeggs
      Bundle ID: com.hero.may.cry.adventure.game
      iTunes Store Link: https://apps.apple.com/us/app/slime-legion/id1664686966
       

      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:
      - Damage Multiplier
      - Defence Multiplier
      - Moves Modifier


      Jailbreak required hack(s): https://iosgods.com/topic/173174-slime-legion-v162-3-cheats-damage-defence/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 156 replies
    • Slime Legion v3.3.0 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Slime Legion By Perfeggs
      Bundle ID: com.hero.may.cry.adventure.game
      iTunes Store Link: https://apps.apple.com/us/app/slime-legion/id1664686966
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Moves Modifier


      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/
      • 140 replies
    • Idle Breaker v1.4.0 +5++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: Idle Breaker By Estoty LLC
      Bundle ID: com.idlesurvivor.game
      iTunes Store Link: https://apps.apple.com/us/app/idle-breaker/id6448195469?uo=4


      Hack Features:
      - Unlimited Everything -> Earn some.
      - Damage Multiplier
      - Health Mulitplier
      - Tool Damage Multiplier
      - Speed Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Idle Breaker v1.0.31 +4++ Jailed Cheats [ Unlimited Everything ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 63 replies
    • SpongeBob Adventures: In A Jam v2.23.1 +1++ Jailed Cheats [ Everything ]
      Modded/Hacked App: SpongeBob Adventures: In A Jam By Tilting Point LLC
      Bundle ID: com.tiltingpoint.sbadventures
      iTunes Store Link: https://apps.apple.com/us/app/spongebob-adventures-in-a-jam/id1641251535?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] SpongeBob Adventures: In A Jam +20++ Cheats [ Cheat Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 135 replies
    • SpongeBob Adventures: In A Jam v2.23.1 +1++ Cheats [ Everything ]
      Modded/Hacked App: SpongeBob Adventures: In A Jam By Tilting Point LLC
      Bundle ID: com.tiltingpoint.sbadventures
      iTunes Store Link: https://apps.apple.com/us/app/spongebob-adventures-in-a-jam/id1641251535?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] SpongeBob Adventures: In A Jam +20++ Jailed Cheats [ Cheat Menu ] - ViP Non-Jailbroken Hacks & Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 162 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