//
// cocos2d::CCGLProgram::setUniformLocationWith4f from 0x100418700 to 0x1004187a0 (160 bytes)
//
// 2 xrefs:
// > ShaderLayer::preInvertColorShader @ 0x1003ba714
// > ShaderLayer::performCalculations @ 0x1003bb04c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:12 +0000
//
void __fastcall cocos2d::CCGLProgram::setUniformLocationWith4f(
__int64 a1,
GLint a2,
GLfloat a3,
GLfloat a4,
GLfloat a5,
GLfloat a6)
{
_DWORD v6[4]; // [rsp+10h] [rbp-20h] BYREF
*(GLfloat *)v6 = a3;
*(GLfloat *)&v6[1] = a4;
*(GLfloat *)&v6[2] = a5;
*(GLfloat *)&v6[3] = a6;
if ( cocos2d::CCGLProgram::updateUniformLocation(a1, a2, v6, 0x10u) )
glUniform4f(a2, a3, a4, a5, a6);
}