//
// cocos2d::CCLayerGradient::setEndColor from 0x10014a258 to 0x10014a278 (32 bytes)
//
// 2 xrefs:
// > ??> @ 0x1007986a8
// > ??> @ 0x1007c18f0
//
// 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::setEndColor(cocos2d::CCLayerGradient *a1, const cocos2d::ccColor3B *a2)
{
__int16 v2; // w9
v2 = *(_WORD *)&a2->r;
a1->m_endColor.b = a2->b;
*(_WORD *)&a1->m_endColor.r = v2;
((void (__fastcall *)(cocos2d::CCLayerGradient *))a1->updateColor)(a1);
}