feat(special_ability): add special ability features

This commit is contained in:
maybegreat48 committed 2025-06-20 11:56:51 -04:00
1 parent 24a61a6fd2
commit f5dd5ece1e
9 files changed
+138 -7

No files matched your search

+5
View File
@@ -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.";