Source code for Sprite/Diffuse shader?

Basically I want to add a few lines to the Sprite/Diffuse shader to add some distortion effects. However, as I cannot find the source code this is kinda hard. Is there any way to find this source code so I can write my own?

Download the built-in shaders source from Download Archive