From 7bcb39c2f2e89b01caed746dbfdf9e2c2e998e0e Mon Sep 17 00:00:00 2001 From: "dev\\cra0" Date: Sun, 9 Aug 2020 23:54:29 +1000 Subject: [PATCH] changed the required scripts --- ligma-cheat/KillApp.bat | 1 - ligma-cheat/MemuDeployScript.bat | 2 +- ligma-cheat/ligma-cheat/ligma-cheat.vcxproj | 10 ++++++---- ligma-cheat/ligma-cheat/main.cpp | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ligma-cheat/KillApp.bat b/ligma-cheat/KillApp.bat index 97e81f73c..d83aa9c27 100644 --- a/ligma-cheat/KillApp.bat +++ b/ligma-cheat/KillApp.bat @@ -5,4 +5,3 @@ set APP_NAME=cvappsvc cd /d %~dp0 echo Killing dbg "C:\Program Files\Microvirt\MEmu\memuc.exe" -i %MEMU_INSTANCE% adb shell "pkill -9 com.activision.callofduty.shooter" -pause diff --git a/ligma-cheat/MemuDeployScript.bat b/ligma-cheat/MemuDeployScript.bat index 41625fa8d..73724d73f 100644 --- a/ligma-cheat/MemuDeployScript.bat +++ b/ligma-cheat/MemuDeployScript.bat @@ -1,7 +1,7 @@ @echo off set MEMU_INSTANCE=4 -set APP_LIB_NAME=libligma_cheat.so +set APP_LIB_NAME=libligma.so set APP_LIB_PATH=ARM\Release\%APP_LIB_NAME% set APP_LIB_FULL_PATH=C:\repos\cod-mobile\repo\cod-mobile\ligma-cheat\%APP_LIB_PATH% diff --git a/ligma-cheat/ligma-cheat/ligma-cheat.vcxproj b/ligma-cheat/ligma-cheat/ligma-cheat.vcxproj index 37ccc9adc..e21eeb9a4 100644 --- a/ligma-cheat/ligma-cheat/ligma-cheat.vcxproj +++ b/ligma-cheat/ligma-cheat/ligma-cheat.vcxproj @@ -57,6 +57,7 @@ 14.0 Android 3.0 + ligma @@ -87,7 +88,7 @@ DynamicLibrary false Clang_5_0 - android-22 + android-19 ARM c++_static @@ -150,8 +151,9 @@ C:\Users\interesting\Desktop\codm\ligma-cheat\ligma-cheat\SDK;$(IncludePath) - C:\Users\interesting\Desktop\codm\ligma-cheat\ligma-cheat\SDK;$(IncludePath) - true + C:\repos\cod-mobile\repo\cod-mobile\ligma-cheat\ligma-cheat\SDK;$(IncludePath) + false + libligma @@ -328,7 +330,7 @@ adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.Per - Deploying.." cmd /k "$(SolutionDir)MemuDeployScript.bat + start "Deploying.." cmd /k "$(SolutionDir)MemuDeployScript.bat diff --git a/ligma-cheat/ligma-cheat/main.cpp b/ligma-cheat/ligma-cheat/main.cpp index b2bfc83cb..2edd03611 100644 --- a/ligma-cheat/ligma-cheat/main.cpp +++ b/ligma-cheat/ligma-cheat/main.cpp @@ -29,7 +29,7 @@ void init() ligma::bypass::init([&](const std::uintptr_t il2cpp_base) { LOGI("il2cpp base address = %p", il2cpp_base); - if (Il2Cpp::Attach()) - std::thread(&test).detach(); + //if (Il2Cpp::Attach()) + // std::thread(&test).detach(); }); } \ No newline at end of file