//
// GJSpecialColorSelect::create from 0x1402b7d30 to 0x1402b7e3a (266 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::onSelectSpecialColor @ 0x14009357c
// > SetColorIDPopup::onSelectSpecialColor @ 0x14029c30c
// > SetupPulsePopup::onSelectSpecialColor @ 0x14043b96f
// > SetupPulsePopup::onSelectSpecialTargetID @ 0x14043b9bf
// > ??> @ 0x1406d25ac
//
// 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
GJSpecialColorSelect *GJSpecialColorSelect::create(int a1, GJSpecialColorSelectDelegate *a2, ColorSelectType a3)
{
GJSpecialColorSelect *v6; // r14
v6 = (GJSpecialColorSelect *)operator new(0x290u);
FLAlertLayer::FLAlertLayer(v6);
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJSpecialColorSelect_vtbl *)&GJSpecialColorSelect::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GJSpecialColorSelect::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GJSpecialColorSelect::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GJSpecialColorSelect::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GJSpecialColorSelect::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GJSpecialColorSelect::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJSpecialColorSelect::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&GJSpecialColorSelect::`vftable';
v6->m_delegate = nullptr;
v6->m_colorID = 0;
v6->m_buttonSprites = nullptr;
if ( GJSpecialColorSelect::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
((void (__fastcall *)(GJSpecialColorSelect *, __int64))v6->~GJSpecialColorSelect)(v6, 1);
return nullptr;
}
}