mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 09:48:08 +08:00
feat: release aim target when dead
This commit is contained in:
1 parent
8aadf51311
commit
41bd70a5b6
7 files changed
+41
-10
No files matched your search
@@ -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.";
|
||||
|
||||
Reference in new issue
Block a user