forked from Perfare/Zygisk-Il2CppDumper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
# Riru-Il2CppDumper | ||
Riru版Il2CppDumper,在游戏运行时dump数据,用于绕过保护,加密以及混淆。 | ||
# Zygisk-Il2CppDumper | ||
Zygisk版Il2CppDumper,在游戏运行时dump数据,用于绕过保护,加密以及混淆。 | ||
|
||
## 如何食用 | ||
1. 安装[Magisk](https://github.com/topjohnwu/Magisk)和[Riru](https://github.com/RikkaApps/Riru) | ||
1. 安装[Magisk](https://github.com/topjohnwu/Magisk) v24以上版本并开启Zygisk | ||
2. 下载源码 | ||
3. 编辑`game.h`, 修改游戏包名`GamePackageName`和Unity版本`UnityVersion`,`UnityVersion`的值请看文件内注释 | ||
4. 使用Android Studio运行gradle任务`:module:assembleRelease`编译 | ||
4. 使用Android Studio运行gradle任务`:module:assembleRelease`编译,zip包会生成在out文件夹下 | ||
5. 在Magisk里安装模块 | ||
6. 启动游戏,会在`/data/data/GamePackageName/files/`目录下生成`dump.cs` | ||
|
||
## TODO | ||
- [x] 低版本使用反射进行dump | ||
- [x] 高版本使用`il2cpp_image_get_class`进行dump | ||
- [ ] 完善dump.cs输出 | ||
- [ ] 泛型相关输出 | ||
- [ ] 生成IDA脚本 | ||
- [ ] 生成头文件 |