fix(pointers): update GetAvatars (#952)

This commit is contained in:
Arthur
2026-06-23 19:44:38 +03:00
committed by GitHub
parent 017904b964
commit 628f2fdc9f
+1 -1
View File
@@ -507,7 +507,7 @@ namespace YimMenu
BytePatches::Add(ptr.As<void*>(), std::to_array<std::uint8_t>({0xB0, 0x01}))->Apply();
});
constexpr auto getAvatarsPtrn = Pattern<"89 4E 7C 48 8B CE E8 ? ? ? ? 84 C0">("GetAvatars");
constexpr auto getAvatarsPtrn = Pattern<"89 4B ? 48 8B CB E8 ? ? ? ? 84 C0">("GetAvatars");
scanner.Add(getAvatarsPtrn, [this](PointerCalculator ptr) {
GetAvatars = ptr.Add(6).Add(1).Rip().As<Functions::GetAvatars>();
});