diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4eafa5e..63b4197 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -16,10 +16,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: temurin java-version: '17' @@ -38,7 +38,7 @@ jobs: ls -lh apk_out - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: android-apk path: apk_out/*.apk diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index c2701da..0000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -Native-LGL \ No newline at end of file diff --git a/.idea/AndroidProjectSystem.xml b/.idea/AndroidProjectSystem.xml deleted file mode 100644 index 4a53bee..0000000 --- a/.idea/AndroidProjectSystem.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index b86273d..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml deleted file mode 100644 index b268ef3..0000000 --- a/.idea/deploymentTargetSelector.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml deleted file mode 100644 index 97f0a8e..0000000 --- a/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/markdown.xml b/.idea/markdown.xml deleted file mode 100644 index c61ea33..0000000 --- a/.idea/markdown.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/migrations.xml b/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index d15a481..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 16660f1..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index c1f1dbf..f53a8dc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,7 +31,7 @@ android { versionName "1.0" ndk { - abiFilters 'arm64-v8a' + abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64' } multiDexEnabled false diff --git a/app/src/main/jni/Application.mk b/app/src/main/jni/Application.mk index 7c4c051..b80731c 100644 --- a/app/src/main/jni/Application.mk +++ b/app/src/main/jni/Application.mk @@ -1,4 +1,4 @@ -APP_ABI := arm64-v8a +APP_ABI := arm64-v8a armeabi-v7a x86 x86_64 APP_STL := c++_static APP_OPTIM := release APP_THIN_ARCHIVE := true diff --git a/app/src/main/jni/Main.cpp b/app/src/main/jni/Main.cpp index 3e27e8d..6fadb1c 100644 --- a/app/src/main/jni/Main.cpp +++ b/app/src/main/jni/Main.cpp @@ -19,6 +19,7 @@ #include "Includes/Utils.h" #include "KittyMemory/MemoryPatch.h" +#include "And64InlineHook/And64InlineHook.hpp" #include "Menu.h" @@ -34,7 +35,6 @@ struct My_Patches { } hexPatches; - void *hack_thread(void *) { LOGI(OBFUSCATE("pthread created")); @@ -48,7 +48,6 @@ void *hack_thread(void *) { #if defined(__aarch64__) - #else @@ -135,7 +134,6 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) { } - __attribute__((constructor)) void lib_main() { pthread_t ptid;