// // colorRotationShaderBody from 0x5bcc48 to 0x5bcc54 (12 bytes) // // 2 xrefs: // > CCSpriteWithHue::shaderBody @ 0x5bcc54 // > @ 0x9b1c0 // // 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 *__fastcall 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" " "; }
GD Web Decomp Icon

GD Web Decomp

Raw Source