Modify a sample in a mix using the original sample
In theory, if you knew exactly what they did to the sample, you could produce an inverse wave and recombine it with the mixed version in No Homo.  However in practice, since it is unlikely that you will be able to match the frequency shift exactly plus whatever other effects they may have applied (like compression), you are unlikely to be able to make an inverse wave that satisfactorily cancels out the original.