Radikal Bikers: Fix crash on medium stage hopefully
This commit is contained in:
parent
bdb2519af4
commit
c00d36cfaf
@ -234,6 +234,7 @@ static DWORD WINAPI RunningLoop(LPVOID lpParam)
|
|||||||
static InitFunction RadikalBikersFunc([]()
|
static InitFunction RadikalBikersFunc([]()
|
||||||
{
|
{
|
||||||
imageBase = (DWORD)GetModuleHandleA(0);
|
imageBase = (DWORD)GetModuleHandleA(0);
|
||||||
|
DWORD kernelbase = (DWORD)GetModuleHandleA("kernelbase.dll");
|
||||||
|
|
||||||
//Disable Native Handle
|
//Disable Native Handle
|
||||||
injector::MakeNOP(imageBase + 0x28FC, 5);
|
injector::MakeNOP(imageBase + 0x28FC, 5);
|
||||||
@ -259,6 +260,9 @@ static InitFunction RadikalBikersFunc([]()
|
|||||||
injector::WriteMemoryRaw(imageBase + 0x2877, "\x00", 1, true);
|
injector::WriteMemoryRaw(imageBase + 0x2877, "\x00", 1, true);
|
||||||
injector::WriteMemoryRaw(imageBase + 0x2887, "\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
|
//Create Thread For Inputs etc
|
||||||
CreateThread(NULL, 0, RunningLoop, NULL, 0, NULL);
|
CreateThread(NULL, 0, RunningLoop, NULL, 0, NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user