Advertisement
fastman92

Untitled

Nov 29th, 2016
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. void CCore::ApplyHooks2 ( )
  2. {
  3. WriteDebugEvent ( "CCore::ApplyHooks2" );
  4. // Try this one a little later
  5. if ( !UsingAltD3DSetup() )
  6. m_pDirect3DHookManager->ApplyHook ( );
  7. else
  8. {
  9. // Done a little later to get past the loading time required to decrypt the gta
  10. // executable into memory...
  11. if ( !CCore::GetSingleton ( ).AreModulesLoaded ( ) )
  12. {
  13. CCore::GetSingleton ( ).SetModulesLoaded ( true );
  14. HANDLE theFLA = LoadLibraryA("$fastman92limitAdjuster.asi");
  15.  
  16. MessageBoxUTF8(0,
  17. SString(_("The FLA: 0x%X"), (unsigned int)theFLA)
  18. ,
  19. "Error" + _E("CC40"), MB_OK | MB_ICONERROR | MB_TOPMOST);
  20.  
  21. CCore::GetSingleton ( ).CreateNetwork ( );
  22. CCore::GetSingleton ( ).CreateGame ( );
  23. CCore::GetSingleton ( ).CreateMultiplayer ( );
  24. CCore::GetSingleton ( ).CreateXML ( );
  25. CCore::GetSingleton ( ).CreateGUI ( );
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement