mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
feat: Data hash spoofing. (#364)
* feat: Add data hash spoofing. feat: LogCurrentSessionInfo To be deleted. * chore: Remove logcurrentsessioninfo. * chore(PackOrderHook): Move to SpoofDataHash. * chore: Update getDLCHashPtrn to support new version. * chore: Update to 889.15. I hope this is correct... * chore: Remove unused include. * chore: Update data hash to latest. --------- Co-authored-by: tupoy-ya <[email protected]>
This commit is contained in:
1 parent
c4849db275
commit
dbfd43639d
9 files changed
+123
-3
No files matched your search
@@ -4,6 +4,7 @@
|
||||
#include "core/memory/ModuleMgr.hpp"
|
||||
#include "core/memory/PatternScanner.hpp"
|
||||
#include "core/util/Joaat.hpp"
|
||||
#include "types/network/rlSessionInfo.hpp"
|
||||
#include "types/rage/atArray.hpp"
|
||||
|
||||
namespace YimMenu
|
||||
@@ -389,6 +390,17 @@ namespace YimMenu
|
||||
BattlEyeServerProcessPlayerJoin = ptr.Sub(4).Rip().As<PVOID*>()[1];
|
||||
});
|
||||
|
||||
constexpr auto gameDataHashPtrn = Pattern<"48 8D 3D ? ? ? ? 69 C9">("GameDataHash");
|
||||
scanner.Add(gameDataHashPtrn, [this](PointerCalculator ptr) {
|
||||
GameDataHash = ptr.Add(3).Rip().As<CGameDataHash*>();
|
||||
});
|
||||
|
||||
constexpr auto getDLCHashPtrn = Pattern<"31 D2 E8 ? ? ? ? 3B 84">("GetDLCHash&DLCManager");
|
||||
scanner.Add(getDLCHashPtrn, [this](PointerCalculator ptr) {
|
||||
DLCManager = ptr.Sub(4).Rip().As<void**>();
|
||||
GetDLCHash = ptr.Add(3).Rip().As<PVOID>();
|
||||
});
|
||||
|
||||
constexpr auto assistedAimShouldReleaseEntityPtrn = Pattern<"80 7F 28 04 75 6A">("AssistedAimShouldReleaseEntity");
|
||||
scanner.Add(assistedAimShouldReleaseEntityPtrn, [this](PointerCalculator ptr) {
|
||||
AssistedAimShouldReleaseEntity = ptr.Sub(0xF).As<PVOID>();
|
||||
|
||||
Reference in new issue
Block a user