based on the template from Djangø
Disclaimer: For educational purposes only
Hooks into the NEW QuizDuel! android application using Cydia Substrate and KittyMemory and applies some nice features like a ✔️ to the correct answer
- Offsets should now auto-update
- Download this github files and unzip it.
- Download Android NDK, Revision 16b from here or using Android Studio
First we need to compile our project.
- Edit params.txt & paste your ndk-build path location on the very first line and the project location on the second line like I did.
- Start Build.bat and follow instructions.
- Once compiled you'll have 2 new file in x32 and x64 named libs and obj. In order to load your libhook.so, you'll need to decompile the apk, you can use Apk Easy Tool for this.
- Go to libs and copy the created libhook.so in the lib folder of your decompiled game.
- Navigate to "/smali_classes3" & copy the com folder inside the Smali Files filder from this git to that folder.
- Open the AndroidManifest.xml file in the decompiled apk and search this
android:name="android.intent.action.MAIN"it will give us the path of the MainActivity so in our case it's at "com.google.firebase.MessagingUnityPlayerActivity" but using "com.unity3d.player.UnityPlayerActivity" as it's stated in most other tutorials is working fine too.
- Open the file you've chosen with Notepad++ or any other preferred text editing software and search something like this:
.method protected onCreate(Landroid/os/Bundle;)V
.locals 2- Once found, paste this code under .locals 2:
invoke-static {}, Lcom/loadLib/libLoader;->loadLib()V- Step 1: Recompile the apk
- Step 2: Profit