//
// GJSpecialColorSelect::create from 0x1001aecc8 to 0x1001aed88 (192 bytes)
//
// 4 xrefs:
// > SetColorIDPopup::onSelectSpecialColor @ 0x1002deb14
// > SetupPulsePopup::onSelectSpecialTargetID @ 0x1003b6378
// > SetupPulsePopup::onSelectSpecialColor @ 0x1003b67f4
// > ColorSelectPopup::onSelectSpecialColor @ 0x10041f00c
//
// 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 *__fastcall GJSpecialColorSelect::create(
int a1,
GJSpecialColorSelectDelegate *a2,
ColorSelectType a3)
{
GJSpecialColorSelect *v6; // x19
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 *)off_1007AF7A0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007AFCC0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007AFD30;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007AFD48;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007AFD68;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007AFD88;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007AFDB0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_1007AFE30;
v6->m_delegate = nullptr;
v6->m_colorID = 0;
v6->m_buttonSprites = nullptr;
if ( GJSpecialColorSelect::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
((void (__fastcall *)(GJSpecialColorSelect *))v6->~GJSpecialColorSelect_0)(v6);
return nullptr;
}
return v6;
}