//
// sub_1402B0770 from 0x1402b0770 to 0x1402b07af (63 bytes)
//
// 2 xrefs:
// > ??> @ 0x14057f120
// > ??> @ 0x1406d2300
//
// 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
//
cocos2d::CCNode *__fastcall sub_1402B0770(cocos2d::CCNode *Block, char a2)
{
Block->__vftable = (cocos2d::CCNode_vtbl *)&GJSmartBlockPreviewSprite::`vftable';
cocos2d::CCNode::~CCNode(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}