//
// cocos2d::CCGLProgram::setUniformLocationWith4f from 0xd833bc to 0xd8344c (144 bytes)
//
// 6 xrefs:
// > ShaderLayer::preInvertColorShader @ 0xb2d798
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0xd83714
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0xd83784
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0xd837c0
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0xd837e4
// > ??> @ 0x5f4d0
//
// This function is hookable on this platform (idp: arm, 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 13:08:11 +0000
//
__int64 __fastcall cocos2d::CCGLProgram::setUniformLocationWith4f(
cocos2d::CCGLProgram *this,
int a2,
float a3,
float a4,
float a5,
float a6)
{
_DWORD v7[4]; // [xsp+68h] [xbp+68h] BYREF
*(float *)v7 = a3;
*(float *)&v7[1] = a4;
*(float *)&v7[2] = a5;
*(float *)&v7[3] = a6;
if ( (unsigned __int8)cocos2d::CCGLProgram::updateUniformLocation(this, a2, v7, 0x10u) )
glUniform4f();
return _stack_chk_guard;
}