feat: release aim target when dead

This commit is contained in:
maybegreat48 committed 2025-06-07 09:55:59 -04:00
1 parent 8aadf51311
commit 41bd70a5b6
7 files changed
+41 -10

No files matched your search

+5
View File
@@ -379,6 +379,11 @@ namespace YimMenu
BattlEyeServerProcessPlayerJoin = ptr.Sub(0x72).As<PVOID>();
});
constexpr auto assistedAimShouldReleaseEntityPtrn = Pattern<"80 7F 28 04 75 6A">("AssistedAimShouldReleaseEntity");
scanner.Add(assistedAimShouldReleaseEntityPtrn, [this](PointerCalculator ptr) {
AssistedAimShouldReleaseEntity = ptr.Sub(0xF).As<PVOID>();
});
if (!scanner.Scan())
{
LOG(FATAL) << "Some patterns could not be found, unloading.";