1
0
mirror of synced 2025-02-23 05:29:15 +01:00

Radikal Bikers: Fix crash on medium stage hopefully

This commit is contained in:
Aaron M 2021-05-03 07:41:01 +12:00
parent bdb2519af4
commit c00d36cfaf

View File

@ -234,6 +234,7 @@ static DWORD WINAPI RunningLoop(LPVOID lpParam)
static InitFunction RadikalBikersFunc([]()
{
imageBase = (DWORD)GetModuleHandleA(0);
DWORD kernelbase = (DWORD)GetModuleHandleA("kernelbase.dll");
//Disable Native Handle
injector::MakeNOP(imageBase + 0x28FC, 5);
@ -259,6 +260,9 @@ static InitFunction RadikalBikersFunc([]()
injector::WriteMemoryRaw(imageBase + 0x2877, "\x00", 1, true);
injector::WriteMemoryRaw(imageBase + 0x2887, "\x00", 1, true);
//Fix Crash on Medium Stage
injector::MakeNOP(kernelbase + 0x15F4B2, 1);
//Create Thread For Inputs etc
CreateThread(NULL, 0, RunningLoop, NULL, 0, NULL);