//
// GJSpecialColorSelect::create from 0x8e7668 to 0x8e779c (308 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::onSelectSpecialColor @ 0x73bb80
// > SetColorIDPopup::onSelectSpecialColor @ 0x8c31a4
// > SetupPulsePopup::onSelectSpecialColor @ 0x8ec354
// > SetupPulsePopup::onSelectSpecialTargetID @ 0x8ec3a0
// > ??> @ 0x3b3e8
//
// 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
//
GJSpecialColorSelect *GJSpecialColorSelect::create(int a1, GJSpecialColorSelectDelegate *a2, ColorSelectType a3)
{
GJSpecialColorSelect *v6; // x19
v6 = (GJSpecialColorSelect *)operator new(0x290u);
cocos2d::CCLayerColor::CCLayerColor(v6);
v6->m_controlConnected = -1;
v6->m_joystickConnected = -1;
v6->m_buttonMenu = nullptr;
v6->m_alertProtocol = nullptr;
v6->m_scene = nullptr;
v6->m_reverseKeyBack = 0;
v6->m_mainLayer = nullptr;
v6->m_ZOrder = 0;
v6->m_noElasticity = 0;
v6->m_button1 = nullptr;
v6->m_button2 = nullptr;
v6->m_scrollingLayer = nullptr;
v6->m_containsBorder = 0;
v6->m_noAction = 0;
v6->m_forcePrioRegistered = 0;
v6->m_delegate = nullptr;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJSpecialColorSelect_vtbl *)&off_11A2410;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11A2930;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11A29A0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11A29B8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11A29D8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11A29F8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11A2A20;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11A2AA0;
v6->m_colorID = 0;
v6->m_buttonSprites = nullptr;
if ( GJSpecialColorSelect::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
v6->~GJSpecialColorSelect_0(v6);
return nullptr;
}
}