mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
fix(pointers): update GetAvatars (#952)
This commit is contained in:
1 parent
017904b964
commit
628f2fdc9f
1 file changed
+1
-1
@@ -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>();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user