См. определение в файле 5_Mission/GUI/InventoryNew/Attachments.c строка 213
Перекрестные ссылки ActionManagerClient::CanPerformActionFromInventory(), Class::CastTo(), GetFocusedItem(), GetGame(), GetPlayer() и m_player.