См. определение в файле ActionDetachFromTarget.c строка 97
Перекрестные ссылки ActionData, ActionBase::ClearActionJuncture(), g_Game и Process().