//
// colorRotationShaderBody from 0x306e10 to 0x306e16 (6 bytes)
//
// 1 xrefs:
// > CCSpriteWithHue::shaderBody @ 0x306e1c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
const char *colorRotationShaderBody()
{
return " \n"
" #ifdef GL_ES \n"
" precision mediump float; \n"
" #endif \n"
" \n"
" varying vec4 v_fragmentColor; \n"
" varying vec2 v_texCoord; \n"
" uniform sampler2D u_texture; \n"
" uniform mat3 u_hue; \n"
" uniform float u_alpha; \n"
" \n"
" void main() \n"
" { \n"
" vec4 pixColor = texture2D(u_texture, v_texCoord); \n"
" vec3 rgbColor = u_hue * pixColor.rgb * v_fragmentColor.rgb; \n"
" gl_FragColor = vec4(rgbColor, pixColor.a * u_alpha); \n"
" } \n"
" ";
}