//
// cocos2d::CCGLProgram::setUniformLocationWith4f from 0x7eef9c to 0x7eefee (82 bytes)
//
// 5 xrefs:
// > ShaderLayer::preInvertColorShader @ 0x684ac8
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x7ef150
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x7ef17a
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x7ef198
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x7ef1fa
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:02 +0000
//
int __fastcall cocos2d::CCGLProgram::setUniformLocationWith4f(
cocos2d::CCGLProgram *this,
int a2,
float a3,
float a4,
float a5,
float a6)
{
int result; // r0
_DWORD v7[4]; // [sp+Ch] [bp-18h] BYREF
*(float *)v7 = a3;
*(float *)&v7[1] = a4;
*(float *)&v7[2] = a5;
*(float *)&v7[3] = a6;
result = cocos2d::CCGLProgram::updateUniformLocation(this, a2, v7, 0x10u);
if ( result )
return glUniform4f();
return result;
}