How to Hack Unity Games With il2cpp Scripting

How to Hack Unity Games With il2cpp Scripting


1921 , nan , #Hack #Unity #Games #il2cpp #Scripting

This tutorial will teach you how to hack Unity il2cpp games using C++.
Support us on Patreon:

As I learned a lot along the way with hacking Unity games which make use of the il2cpp scripting backend (which supports mono as well) this is a simple tutorial how to write a simple hack with C++.

The beginning of the video just shows my framework, then we get into the real coding stuff that is important afterwords. So skip ahead. Also I apologize if this video is too long, it’s my first video, so go easy on me!

Discussion & Download :

Video made by metrix:

=What is Unity?=
Unity is a very popular game engine for smaller indie games but there are a lot of larger games that are using it as well. It’s cross platform, and games can be released for PC (Windows, OSX, Linux), mobile (Android/iOS), and you can even release them for the browser via WebGL. It’s free, makes game development very easy and uses a C# or Javascript scripting engine.

=IL2CPP Compilation=
Some Unity games are using IL2CPP which compiles the game code to C++ then to assembly, which makes decompiling with dnSpy and mono injection much more complicated if not impossible. il2cpp is more efficient and makes it much more difficult to hack Unity games, so we are seeing more and more games use it. While they’re related, hacking il2cpp is slightly different to hacking Unity and it requires different tools.

=So how do we hack il2cpp games?=
Watch the video!

=Why would you do this?=
-No Pointers
-Most likely working after several game updates
-Native use of Mono/Unity objects

=Video in a nutshell=
-Use dnSpy to find function we want to manipulate
-Configure our Hack
-Test inject
-Write our Mono Wrapper
-Write our hook to manipulate the behavior of our game function

I’m sorry that I don’t explain the Framework. But in short it’s just event driven architecture which allows me to reuse a lot of stuff like menu, hooking and so on.
The important stuff is included. I may release the unusable source code without the framework just so you can read it again.

Donate on our Forum :
Support us on Patreon :

Follow us on Facebook :
Follow us on Twitter :
Follow us on Twitch :
Follow us on Reddit :
Follow us on GitHub :
Follow us on Instagram :

Nguồn: https://game5s.net/

Viết một bình luận