//
// SetupSmartBlockLayer::create from 0x53e178 to 0x53e23c (196 bytes)
//
// 1 xrefs:
// > EditorUI::editObjectSpecial @ 0x37fa1a
//
// 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
//
SetupSmartBlockLayer *SetupSmartBlockLayer::create(SmartGameObject *a1, cocos2d::CCArray *a2)
{
SetupSmartBlockLayer *v4; // r4
SetupSmartBlockLayer_vtbl *v5; // r3
SetupSmartBlockLayer *v6; // r0
v4 = (SetupSmartBlockLayer *)operator new(0x20Cu);
FLAlertLayer::FLAlertLayer(v4);
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetupSmartBlockLayer_vtbl *)&off_A86510;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A867A4;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A867DC;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A867E8;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A867F8;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A86808;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A8681C;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A8685C;
v4->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A8686C;
v4->SelectArtDelegate::__vftable = (SelectArtDelegate_vtbl *)&off_A86890;
v4->m_specialTemplate = -1;
v4->m_referenceOnly = 0;
v4->m_allowRotation = 0;
v4->m_allowFlipX = 0;
v4->m_allowFlipY = 0;
v4->m_useNearby = 0;
v4->m_dontDelete = 0;
v4->m_ignoreCorners = 0;
v4->m_gameObject = nullptr;
v4->m_gameObjects = nullptr;
if ( SetupSmartBlockLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = v4;
v4 = nullptr;
v5->~SetupSmartBlockLayer_0(v6);
}
return v4;
}