//
// cocos2d::CCLayerGradient::setValues from 0x1004b3fa0 to 0x1004b4014 (116 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateGradientLayers @ 0x10013a8fb
//
// 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 __fastcall cocos2d::CCLayerGradient::setValues(
cocos2d::CCLayerGradient *a1,
const cocos2d::ccColor3B *a2,
unsigned __int8 a3,
const cocos2d::ccColor3B *a4,
unsigned __int8 a5,
const cocos2d::CCPoint *a6)
{
__int16 v6; // ax
double v7; // xmm0_8
a1->_realColor = *a2;
v6 = *(_WORD *)&a2->r;
a1->_displayedColor.b = a2->b;
*(_WORD *)&a1->_displayedColor.r = v6;
a1->m_cStartOpacity = a3;
a1->m_endColor = *a4;
a1->m_cEndOpacity = a5;
v7 = sub_10028CC90(&a1->m_AlongVector, (double *)a6);
((void (__fastcall *)(cocos2d::CCLayerGradient *, double))a1->updateColor)(a1, v7);
}