//
// cocos2d::CCGLProgram::setUniformLocationWith4f from 0x10042ba90 to 0x10042bb30 (160 bytes)
//
// 2 xrefs:
// > ShaderLayer::preInvertColorShader @ 0x1003d11f4
// > ShaderLayer::performCalculations @ 0x1003d1b1c
//
// 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
//
void __fastcall cocos2d::CCGLProgram::setUniformLocationWith4f(
cocos2d::CCGLProgram *a1,
int a2,
float a3,
float a4,
float a5,
float a6)
{
_DWORD v6[4]; // [rsp+10h] [rbp-20h] BYREF
*(float *)v6 = a3;
*(float *)&v6[1] = a4;
*(float *)&v6[2] = a5;
*(float *)&v6[3] = a6;
if ( cocos2d::CCGLProgram::updateUniformLocation(a1, a2, v6, 0x10u) )
glUniform4f(a2, a3, a4, a5, a6);
}