См. определение в файле ActionAttach.c строка 72
Перекрестные ссылки AttachItem(), ClearActionJuncture(), ClearInventoryReservationEx() и g_Game.