//
// cocos2d::CCLayerGradient::setValues from 0x10014a2e8 to 0x10014a35c (116 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateGradientLayers @ 0x1001f0b78
//
// 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 v7; // w9
__int16 v8; // w8
__int16 v9; // w9
double v10; // d0
v7 = *(_WORD *)&a2->r;
a1->_realColor.b = a2->b;
*(_WORD *)&a1->_realColor.r = v7;
v8 = *(_WORD *)&a2->r;
a1->_displayedColor.b = a2->b;
*(_WORD *)&a1->_displayedColor.r = v8;
a1->m_cStartOpacity = a3;
v9 = *(_WORD *)&a4->r;
a1->m_endColor.b = a4->b;
*(_WORD *)&a1->m_endColor.r = v9;
a1->m_cEndOpacity = a5;
v10 = sub_1000229D0(&a1->m_AlongVector, (double *)a6);
((void (__fastcall *)(cocos2d::CCLayerGradient *, double))a1->updateColor)(a1, v10);
}