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

    • Zombie Fortress: Trap Defense v0.8.0 [+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)
        • Winner
      • 3 replies
    • Zombie Fortress: Trap Defense v0.8.0 [+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)
        • Winner
      • 1 reply
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
        • Winner
        • Like
      • 31 replies
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
        • Informative
        • Agree
        • Winner
        • Like
      • 15 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      -
        • Thanks
      • 6 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
        • Winner
        • Like
      • 6 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Jailed ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:

      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      - Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ]


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Winner
        • Like
      • 48 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Cheats ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:
      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      -  Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ] 


      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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 52 replies
    • Zombie Infinity v1.9.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
        • Thanks
        • Like
      • 4 replies
    • Zombie Infinity v1.9.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
        • Like
      • 3 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 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/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 19 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 32 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