fix: some small fixes

This commit is contained in:
maybegreat48 committed 2025-06-03 12:48:04 -04:00
1 parent 6ef3ef5898
commit 21841afe6b
13 files changed
+233 -71

No files matched your search

+6
View File
@@ -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.";