This repository was archived by the owner on Sep 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -315,15 +315,15 @@ DWORD WINAPI Init(LPVOID)
315315 }
316316 }
317317
318- static bool isEFLC = false ;
319- pattern = hook::pattern (" 68 ? ? ? ? E8 ? ? ? ? 8B F0 83 C4 ? 85 F6 0F 84 ? ? ? ? 6A 04" );
320- if (pattern.size () > 0 )
321- {
322- if (strstr (*(char **)pattern.get (0 ).get <char *>(1 ), " EFLC" ) != NULL )
323- {
324- isEFLC = true ;
325- }
326- }
318+ // static bool isEFLC = false;
319+ // pattern = hook::pattern("68 ? ? ? ? E8 ? ? ? ? 8B F0 83 C4 ? 85 F6 0F 84 ? ? ? ? 6A 04");
320+ // if (pattern.size() > 0)
321+ // {
322+ // if (strstr(*(char**)pattern.get(0).get<char*>(1), "EFLC") != NULL)
323+ // {
324+ // isEFLC = true;
325+ // }
326+ // }
327327
328328 auto gv = [&dwLoadOffset]() -> uint32_t
329329 {
@@ -763,15 +763,15 @@ DWORD WINAPI Init(LPVOID)
763763
764764 if (bSkipIntro)
765765 {
766- if (isEFLC)
767- {
768- pattern = hook::pattern (" 74 ? 80 3D ? ? ? ? 00 74 ? E8 ? ? ? ? 0F" );
769- injector::WriteMemory<uint8_t >(pattern.get (0 ).get <uintptr_t >(0 ), 0xEB , true );
770- }
771- else
766+ // if (isEFLC)
767+ // {
768+ // pattern = hook::pattern("74 ? 80 3D ? ? ? ? 00 74 ? E8 ? ? ? ? 0F");
769+ // injector::WriteMemory<uint8_t>(pattern.get(0).get<uintptr_t>(0), 0xEB, true);
770+ // }
771+ // else
772772 {
773773 // [v1000 - v1008]
774- // since iv hangs with it , I'll just zero the duration of loadscreens
774+ // since iv hangs with the code above , I'll just zero the duration of loadscreens
775775 pattern = hook::pattern (" 89 91 ? ? ? ? 8D 44 24 ? 68 ? ? ? ? 50" );
776776 struct Loadsc
777777 {
You can’t perform that action at this time.
0 commit comments