//
// SetupSmartBlockLayer::dSetupSmartBlockLayer from 0x1405ebe50 to 0x1405ebf3d (237 bytes)
//
// 3 xrefs:
// > sub_1405F230C @ 0x1405f2313
// > ??> @ 0x140804430
// > ??> @ 0x14092f000
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:35:04 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCNode *__fastcall SetupSmartBlockLayer::dSetupSmartBlockLayer(cocos2d::CCNode *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
*(_QWORD *)Block = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 40) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 41) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 42) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 43) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 44) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 51) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 54) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 68) = &SetupSmartBlockLayer::`vftable';
*((_QWORD *)Block + 83) = &SetupSmartBlockLayer::`vftable';
cocos2d::CCNode::removeAllChildrenWithCleanup(Block, 1);
v4 = *((cocos2d::CCObject **)Block + 86);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)Block + 87);
if ( v5 )
cocos2d::CCObject::release(v5);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}