//
// cocos2d::CCLayerGradient::setValues from 0xaebe40 to 0xaebeb4 (116 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateGradientLayers @ 0x85e2bc
// > ??> @ 0x2d960
//
// 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 cocos2d::CCLayerGradient::setValues(
cocos2d::CCLayerGradient *a1,
const cocos2d::ccColor3B *a2,
unsigned __int8 a3,
const cocos2d::ccColor3B *a4,
unsigned __int8 a5,
const cocos2d::CCPoint *a6)
{
float v6; // s0
float v7; // s1
__int16 v10; // w7
GLubyte b; // w5
v10 = *(_WORD *)&a2->r;
*(_WORD *)&a1->_realColor.r = v10;
b = a2->b;
a1->_realColor.b = b;
*(_WORD *)&a1->_displayedColor.r = v10;
a1->_displayedColor.b = b;
a1->m_cStartOpacity = a3;
a1->m_endColor = *a4;
a1->m_cEndOpacity = a5;
cocos2d::CCPoint::operator=(&a1->m_AlongVector, v6, v7, (float *)a6);
a1->updateColor(a1);
}