См. определение в файле 5_Mission/GUI/InventoryNew/Attachments.c строка 205
Перекрестные ссылки ItemManager::GetCombinationFlags(), GetFocusedItem(), GetGame() и GetPlayer().