mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
feat(network): join by username
This commit is contained in:
1 parent
1e14449720
commit
5cd7d1c8f0
11 files changed
+209
-7
No files matched your search
@@ -352,6 +352,11 @@ namespace YimMenu
|
||||
BytePatches::Add(ptr.As<void*>(), std::vector<std::uint8_t>{0xB0, 0x01})->Apply();
|
||||
});
|
||||
|
||||
constexpr auto getAvatarsPtrn = Pattern<"89 4E 7C 48 8B CE E8 ? ? ? ? 84 C0">("GetAvatars");
|
||||
scanner.Add(getAvatarsPtrn, [this](PointerCalculator ptr) {
|
||||
GetAvatars = ptr.Add(6).Add(1).Rip().As<Functions::GetAvatars>();
|
||||
});
|
||||
|
||||
if (!scanner.Scan())
|
||||
{
|
||||
LOG(WARNING) << "Some socialclub patterns could not be found";
|
||||
|
||||
Reference in new issue
Block a user