mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 09:48:08 +08:00
feat(chat): implement menu chat
This commit is contained in:
1 parent
8120d839f1
commit
99c452dcf1
14 files changed
+237
-3
No files matched your search
@@ -159,6 +159,11 @@ namespace YimMenu
|
||||
SpectatePatch = ptr.As<std::uint8_t*>();
|
||||
});
|
||||
|
||||
constexpr auto receiveNetMessagePtrn = Pattern<"48 81 C1 00 03 00 00 4C 89 E2">("ReceiveNetMessage");
|
||||
scanner.Add(receiveNetMessagePtrn, [this](PointerCalculator ptr) {
|
||||
ReceiveNetMessage = ptr.Add(0xD).Add(1).Rip().As<PVOID>();
|
||||
});
|
||||
|
||||
if (!scanner.Scan())
|
||||
{
|
||||
LOG(FATAL) << "Some patterns could not be found, unloading.";
|
||||
|
||||
Reference in new issue
Block a user