mirror of
https://github.com/djdevin/recnet-plugin.git
synced 2026-09-08 22:51:34 -07:00
unstable patch for 202312+
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "common.h"
|
||||
|
||||
// Neutralizes the client's native memory-integrity scan, which otherwise fails boot with
|
||||
// "Launch validation failed. Is Rec Room installed correctly?" because it hashes GameAssembly.dll's
|
||||
// executable memory and our inline hooks (SendRequest, NotifyServerCertificate) change it.
|
||||
//
|
||||
// Mirrors the managed MemoryIntegrityPatch: find the scanner by signature (a class with both a
|
||||
// Thread and a CancellationTokenSource field), detour its public 0-param scan-start method to return
|
||||
// an already-resolved promise, so the boot step never sees a mismatch. All resolution is by
|
||||
// signature at runtime -- no obfuscated names, survives per-build name rotation. Waits for the
|
||||
// il2cpp runtime; safe on its own thread.
|
||||
void PatchMemoryIntegrityCheck(void);
|
||||
Reference in New Issue
Block a user