См. определение в файле PluginItemDiagnostic.c строка 223
Перекрестные ссылки UIManager::CloseDialog(), GetGame(), CGame::GetInput(), CGame::GetUIManager(), Input::ResetGameFocus() и UIManager::ShowUICursor().