mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
feat(special_ability): add special ability features
This commit is contained in:
1 parent
24a61a6fd2
commit
f5dd5ece1e
9 files changed
+138
-7
No files matched your search
@@ -411,6 +411,11 @@ namespace YimMenu
|
||||
GetAnticheatInitializedHash2 = ptr.Add(0x9).Rip().As<PVOID>();
|
||||
});
|
||||
|
||||
constexpr auto abilityBarPatchPtrn = Pattern<"75 39 48 85 F6 74 1A 48 89 F1 E8">("AbilityBarPatch");
|
||||
scanner.Add(abilityBarPatchPtrn, [this](PointerCalculator ptr) {
|
||||
AbilityBarPatch = BytePatches::Add(ptr.As<std::uint16_t*>(), 0x9090);
|
||||
});
|
||||
|
||||
if (!scanner.Scan())
|
||||
{
|
||||
LOG(FATAL) << "Some patterns could not be found, unloading.";
|
||||
|
||||
Reference in new issue
Block a user