Added Crash Report blocker

for people that are paranoid lol

Co-Authored-By: KKKKKKKKKKKKK <25654009+34736384@users.noreply.github.com>
This commit is contained in:
Joaquin 2022-08-16 16:03:00 -06:00
parent c058035677
commit 1b97914707
2 changed files with 7 additions and 0 deletions

View File

@ -2,4 +2,5 @@ using namespace app;
DO_APP_FUNC(0x00B7B980, app::Byte__Array*, Unity_RecordUserData, (int32_t nType));
DO_APP_FUNC(0x00B1B220, Il2CppClass**, GetIl2Classes, ());
DO_APP_FUNC(0x01093820, int, CrashReporter, (__int64 a1, __int64 a2, const char* a3));
DO_APP_FUNC(0x00DCE2B0, void, Animator_set_avatar, (Animator* __this, Avatar* value, MethodInfo* method));

View File

@ -13,11 +13,17 @@ namespace cheat::feature
return inst.OnRecordUserData(nType);
}
static int CrashReporter_Hook(__int64 a1, __int64 a2, const char* a3)
{
return 0;
}
ProtectionBypass::ProtectionBypass() : Feature(),
NFEX(f_Enabled, "Disable Protection", "m_DisableMhyProt", "General", true, false),
m_CorrectSignatures({})
{
HookManager::install(app::Unity_RecordUserData, RecordUserData_Hook);
HookManager::install(app::CrashReporter, CrashReporter_Hook);
}
void ProtectionBypass::Init()