ozMod-ImGui-Fix-Aide
# ImGui Mod Menu for Android > 20.05.2022: Read Recomendations. PROJETO BY ozMod FIX AIDE BY CRISTIANO This is a mod menu with ImGui for Android Unity Games Preview (built in Granny 3):  # 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  # 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
登录后发表评论