См. определение в файле InventoryGrid.c строка 294
Перекрестные ссылки GetCol(), IsValidPos(), m_Controller, m_IsDebugOutput, m_Root, PrintString(), x и y.