sc = (m_pSprite->getColor, getOpacity())

getOpaicity returns real opacity, not displayed opacity, and color from getColor().