mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
Merge branch 'enhanced' of https://github.com/YimMenu/YimMenuV2 into enhanced
This commit is contained in:
commit
4894756d6c
12 files changed
+477
-6
No files matched your search
@@ -303,6 +303,11 @@ namespace YimMenu
|
||||
GetSessionByGamerHandle = ptr.Sub(0x4A).Add(1).Rip().As<Functions::GetSessionByGamerHandle>();
|
||||
});
|
||||
|
||||
constexpr auto networkTimePtrn = Pattern<"89 05 ? ? ? ? 80 3D ? ? ? ? ? 0F 84 ? ? ? ? E9">("NetworkTime");
|
||||
scanner.Add(networkTimePtrn, [this](PointerCalculator ptr) {
|
||||
NetworkTime = ptr.Add(2).Rip().As<std::uint32_t*>();
|
||||
});
|
||||
|
||||
if (!scanner.Scan())
|
||||
{
|
||||
LOG(FATAL) << "Some patterns could not be found, unloading.";
|
||||
|
||||
Reference in new issue
Block a user