mirror of
https://github.com/SunsetMkt/Akebi-GC.git
synced 2025-01-09 02:53:43 +08:00
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:
parent
c058035677
commit
1b97914707
@ -2,4 +2,5 @@ using namespace app;
|
|||||||
|
|
||||||
DO_APP_FUNC(0x00B7B980, app::Byte__Array*, Unity_RecordUserData, (int32_t nType));
|
DO_APP_FUNC(0x00B7B980, app::Byte__Array*, Unity_RecordUserData, (int32_t nType));
|
||||||
DO_APP_FUNC(0x00B1B220, Il2CppClass**, GetIl2Classes, ());
|
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));
|
DO_APP_FUNC(0x00DCE2B0, void, Animator_set_avatar, (Animator* __this, Avatar* value, MethodInfo* method));
|
@ -13,11 +13,17 @@ namespace cheat::feature
|
|||||||
return inst.OnRecordUserData(nType);
|
return inst.OnRecordUserData(nType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int CrashReporter_Hook(__int64 a1, __int64 a2, const char* a3)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
ProtectionBypass::ProtectionBypass() : Feature(),
|
ProtectionBypass::ProtectionBypass() : Feature(),
|
||||||
NFEX(f_Enabled, "Disable Protection", "m_DisableMhyProt", "General", true, false),
|
NFEX(f_Enabled, "Disable Protection", "m_DisableMhyProt", "General", true, false),
|
||||||
m_CorrectSignatures({})
|
m_CorrectSignatures({})
|
||||||
{
|
{
|
||||||
HookManager::install(app::Unity_RecordUserData, RecordUserData_Hook);
|
HookManager::install(app::Unity_RecordUserData, RecordUserData_Hook);
|
||||||
|
HookManager::install(app::CrashReporter, CrashReporter_Hook);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProtectionBypass::Init()
|
void ProtectionBypass::Init()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user