private void InstallJmp(X86Generator ingen, int hookoff) { _jmp.Clear(); _jmp.SetInstall(ingen.GetInstall()); _jmp.JumpR(_hook + hookoff); _jmp.WriteInstall(_mc2); }
public void Dispose() { try { if (_mc2 != null && !_mc2.HasExited) { _game.WriteInstall(_mc2); _movie.WriteInstall(_mc2); _frontend.WriteInstall(_mc2); _raceeditor.WriteInstall(_mc2); _carviewer.WriteInstall(_mc2); _mc2.FreeMemory(_hook); } } finally { _mc2 = null; } }