Skip to content

LGLTeam/Android-Mod-Menu-ImGui

 
 

Repository files navigation

ImGui Mod Menu for Android

20.05.2022: Read Recomendations.

This is a mod menu with ImGui for Android Unity Games Preview (built in Granny 3): image

How it works?

By hooking eglSwapBuffers and Register Natives and then nativeInjectEvent. Yes, i know that it's very old way. I know there is a much better way to hook these 2 functions, (but it not recomended yet). It easily crashing. Because this is old project, i decided to open to public it now. Just know, The shit-code you see is not my level in 2022. Many things changed from first creation time.

I even realized that CMake is not good for building at all, but i won't update all of these things on GitHub. So it's FULLY your risks, and wishes of the library.

How to inject / implement

  1. Copy your builded lib to lib/armeabi-v7a
  2. Load the library on Activity Start.

The main activity of Unity is: com/unity/player/UnityPlayerActivity

const-string v0, "_ozMod" # Library name

invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

Not sure? It need to be like image

Recomendations

  1. This is the old project. If you really need to understand and build it, then do it by yourself, this project is no longer maintained.

Used to create

OpenGL (GLESv2), EGL

About

[OBSOLETE] Android Internal Mod Menu With ImGui For Unity3D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 77.8%
  • C 18.6%
  • Objective-C++ 2.1%
  • Makefile 0.6%
  • Objective-C 0.4%
  • Batchfile 0.2%
  • Other 0.3%