Jump to content

IL2CPP Games


circleous

Recommended Posts

Introduction

 

>What is il2cpp?
From
The technology that we refer to as IL2CPP has two distinct parts.
  • An ahead-of-time (AOT) compiler
  • A runtime library to support the virtual machine
The AOT compiler translates Intermediate Language (IL), the low-level output from .NET compilers, to C++ source code. The runtime library provides services and abstractions like a garbage collector, platform-independent access to threads and files, and implementations of internal calls (native code which modifies managed data structures directly).
 
>Any support on this thread?
No.

 

Main Content

0. Before start to modding il2cpp, read
and try to see some dump already posted. The purpose is
Quote
"To get a feel of modding il2cpp games. :3"

 

-GiMPY, 2016

 

 

1. git clone/Download the source
2. Some important note before compiling
line 358
// These two pointers are the first two arguments passed to il2cpp::vm::MetadataCache::Register in the libil2cpp.so binary.
// Updating them manually should be fairly trivial, just find where il2cpp::vm::MetadataCache::Register is called and use the first two args for code and metadata respectively.
pCodeRegistration = (Il2CppCodeRegistration*)MapVATR(0x14860F8, pLibIl2Cpp);
pMetadataRegistration = (Il2CppMetadataRegistration*)MapVATR(0x14A7F78, pLibIl2Cpp);

The comment is straight forward, i dont have to explain it.

line 381
LoadMetadata("C:\\Projects\\Android\\PokeGo\\0.35.0\\assets\\bin\\Data\\Managed\\Metadata\\global-metadata.dat");

Well, its obvious that you (may) have to change this.

3. Compile.
4. Run it with `progname.exe > blabla.cs` since the output is directly written to stdout.

 

After words

Thanks to Pokemon Go massive development, the modding community isnt going to dead anytime soon(probably).
 
Quote "Dont be a script kiddie"
[0x00000000]> fo
-- This software comes with no brain included. Please use your own.

 

Credits

  • John (JumboPerson) for his awesome Il2cpp dumper
  • alphagamers.net
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.