mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 09:48:08 +08:00
fix: some small fixes
This commit is contained in:
1 parent
6ef3ef5898
commit
21841afe6b
13 files changed
+233
-71
No files matched your search
@@ -369,6 +369,12 @@ namespace YimMenu
|
||||
StatsMpCharacterMappingData = ptr.Add(3).Rip().As<CStatsMpCharacterMappingData*>();
|
||||
});
|
||||
|
||||
static constexpr auto scMembershipStuffPtrn = Pattern<"48 8D 15 ? ? ? ? 41 B8 18 02 00 00 E8">("ScMembershipStuff");
|
||||
scanner.Add(scMembershipStuffPtrn, [this](PointerCalculator addr) {
|
||||
HasGTAPlus = addr.Add(3).Rip().As<int*>();
|
||||
});
|
||||
|
||||
|
||||
if (!scanner.Scan())
|
||||
{
|
||||
LOG(FATAL) << "Some patterns could not be found, unloading.";
|
||||
|
||||
Reference in new issue
Block a user