//
// ColorChannelSprite::create from 0x140258930 to 0x1402589ee (190 bytes)
//
// 10 xrefs:
// > CharacterColorPage::createColorMenu @ 0x140089082
// > CustomizeObjectLayer::init @ 0x1400a6aaf
// > GJColorSetupLayer::init @ 0x1402563f7
// > LevelSettingsLayer::init @ 0x14031ef81
// > LevelSettingsLayer::init @ 0x14031eff6
// > LevelSettingsLayer::init @ 0x14031f067
// > LevelSettingsLayer::init @ 0x14031f0d8
// > LevelSettingsLayer::init @ 0x14031f149
// > LevelSettingsLayer::init @ 0x14031f1ba
// > ??> @ 0x1406cfb40
//
// 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
//
// Hidden C++ exception states: #wind=1
ColorChannelSprite *ColorChannelSprite::create()
{
ColorChannelSprite *v0; // rbx
v0 = (ColorChannelSprite *)operator new(0x270u);
cocos2d::CCSprite::CCSprite(v0);
v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ColorChannelSprite_vtbl *)&ColorChannelSprite::`vftable';
v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&ColorChannelSprite::`vftable';
v0->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&ColorChannelSprite::`vftable';
v0->m_copyLabel = nullptr;
v0->m_opacityLabel = nullptr;
v0->m_blendingLabel = nullptr;
if ( cocos2d::CCSprite::initWithSpriteFrameName(v0, "GJ_colorBtn_001.png") )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
((void (__fastcall *)(ColorChannelSprite *, __int64))v0->~ColorChannelSprite)(v0, 1);
return nullptr;
}
}