//
// cocos2d::CCLayerGradient::setEndColor from 0xae9e7c to 0xae9eac (48 bytes)
//
// 3 xrefs:
// > ??> @ 0xc1e48
// > ??> @ 0x1191210
// > ??> @ 0x1204f10
//
// 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::setEndColor(cocos2d::CCLayerGradient *a1, const cocos2d::ccColor3B *a2)
{
cocos2d::CCLayerGradient_vtbl *v2; // x3
*(_WORD *)&a1->m_endColor.r = *(_WORD *)&a2->r;
v2 = a1->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_endColor.b = a2->b;
((void (*)(void))v2->updateColor)();
}