there's no "last touch" in the rule. simeone either played the ball towards his team mate and in that case, it was a clear offside (regardless of sandy touching the ball or not), or he didn't play the ball, so fouled sandy. either way, it was just right to stop the action.
