NFSC update
fixed
@@ -236,13 +236,19 @@ DWORD WINAPI Init(LPVOID)
DWORD* dword_AB0958 = *hook::pattern("A1 ? ? ? ? 3B C6 74 0C 8B 08 50 FF 51 08 89 35").get(0).get<DWORD*>(1);
injector::WriteMemory(dword_748D5A, dword_AB0958, true);
DWORD* dword_748D66 = pattern.get(0).get<DWORD>(27);
- DWORD* dword_B42F48 = *hook::pattern("8B 86 ? ? ? ? 3B C7 74 0C 8B 08 50 FF 51 08").get(2).get<DWORD*>(2);
- injector::WriteMemory(dword_748D66, dword_B42F48, true);
+ DWORD* dword_AB0C04 = *hook::pattern("68 ? ? ? ? 6A 00 6A 15 6A 01 6A 01").get(0).get<DWORD*>(1);
+ injector::WriteMemory(dword_748D66, dword_AB0C04, true);
DWORD* dword_748D6E = pattern.get(0).get<DWORD>(35);
DWORD* dword_AB095C = *hook::pattern("A1 ? ? ? ? 8B 08 68 ? ? ? ? 6A 00 50 FF 51 48").get(3).get<DWORD*>(1);
injector::WriteMemory(dword_748D6E, dword_AB095C, true);
DWORD* dword_748D74 = pattern.get(0).get<DWORD>(41);
injector::WriteMemory<uint8_t>(dword_748D74, 0x59, true);
+ // activates 00AB0C04 pointer
+ pattern = hook::pattern("E8 ? ? ? ? B9 ? ? ? ? E8 ? ? ? ? A1 ? ? ? ? 85 C0 7E 05");
+ injector::MakeNOP(pattern.get(1).get<DWORD>(22), 2, true); //72B4E1
+ // prevents crash for Intel gpu
+ pattern = hook::pattern("75 2E A1 ? ? ? ? 8B 10 6A 00 68 ? ? ? ? 6A 00");
+ injector::MakeNOP(pattern.get(0).get<DWORD>(0), 2, true); //715180
//PiP pixelation
static uint32_t nResX43 = static_cast<uint32_t>(ResY * (4.0f / 3.0f));
