//
// ColorChannelSprite::create from 0x10000ccac to 0x10000cd34 (136 bytes)
//
// 9 xrefs:
// > CustomizeObjectLayer::init @ 0x10004e630
// > CharacterColorPage::createColorMenu @ 0x100129af0
// > LevelSettingsLayer::init @ 0x1001797a0
// > LevelSettingsLayer::init @ 0x100179818
// > LevelSettingsLayer::init @ 0x100179884
// > LevelSettingsLayer::init @ 0x1001798f0
// > LevelSettingsLayer::init @ 0x10017995c
// > LevelSettingsLayer::init @ 0x1001799c8
// > GJColorSetupLayer::init @ 0x10018df54
//
// 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 *__fastcall ColorChannelSprite::create()
{
ColorChannelSprite *v0; // x19
v0 = (ColorChannelSprite *)operator new(0x270u);
cocos2d::CCSprite::CCSprite();
v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ColorChannelSprite_vtbl *)off_1007632C0;
v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100763798;
v0->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_100763818;
v0->m_copyLabel = nullptr;
v0->m_blendingLabel = nullptr;
v0->m_opacityLabel = nullptr;
if ( cocos2d::CCSprite::initWithSpriteFrameName(v0, "GJ_colorBtn_001.png") )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(ColorChannelSprite *))v0->~ColorChannelSprite_0)(v0);
return nullptr;
}
return v0;
}