>>11683109Regardless of whether or not the knight on d5 is attacking c7 doesn't change the fact that placing the white king on c7 isn't putting it in check. Check is simply a state, you do not have to be able to move to the square for you to put a piece in check.
For instance, you have a black rook on a8, white king on a1. The protect the white king, the white queen is on square a2. Let's say the black king is on g7 for whatever reason.
Black cannot play Kg7 because it'd be putting itself in check. Even though the queen cannot actually move from the a-file (because that's illegal), it's still check solely because g7 is a square controlled by the queen.
I'll leave you with this photo and hopefully you can figure it out on your own. I was a fool to try and argue with someone who doesn't even know the names of the pieces on the board.