//
// cocos2d::CCGLProgram::setUniformLocationWith1i from 0xd82e90 to 0xd82ed4 (68 bytes)
//
// 2 xrefs:
// > cocos2d::CCGLProgram::updateUniforms @ 0xd82fc0
// > ??> @ 0xbe078
//
// 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::setUniformLocationWith1i(cocos2d::CCGLProgram *this, int a2, int a3)
{
__int64 result; // x0
int v4; // [xsp+2Ch] [xbp+2Ch] BYREF
v4 = a3;
result = (unsigned __int8)cocos2d::CCGLProgram::updateUniformLocation(this, a2, &v4, 4u);
if ( (_BYTE)result )
return glUniform1i();
return result;
}