//
// ColorChannelSprite::create from 0x498f34 to 0x498f98 (100 bytes)
//
// 9 xrefs:
// > CustomizeObjectLayer::init @ 0x463180
// > GJColorSetupLayer::init @ 0x49839e
// > CharacterColorPage::createColorMenu @ 0x56523a
// > LevelSettingsLayer::init @ 0x571530
// > LevelSettingsLayer::init @ 0x571582
// > LevelSettingsLayer::init @ 0x571612
// > LevelSettingsLayer::init @ 0x57165e
// > LevelSettingsLayer::init @ 0x5716aa
// > LevelSettingsLayer::init @ 0x5716f6
//
// 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
//
ColorChannelSprite *ColorChannelSprite::create()
{
ColorChannelSprite *v0; // r4
ColorChannelSprite_vtbl *v1; // r3
ColorChannelSprite *v2; // r0
v0 = (ColorChannelSprite *)operator new(0x208u);
cocos2d::CCSprite::CCSprite(v0);
v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ColorChannelSprite_vtbl *)&off_A6A3C8;
v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6A634;
v0->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A6A674;
v0->m_copyLabel = nullptr;
v0->m_opacityLabel = nullptr;
v0->m_blendingLabel = nullptr;
if ( ColorChannelSprite::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = v0;
v0 = nullptr;
v1->~ColorChannelSprite_0(v2);
}
return v0;
}