См. определение в файле WeaponChamberFromAttMag.c строка 106
Перекрестные ссылки m_weapon и pushToChamberFromAttachedMagazine().