//
// sub_1402B06C0 from 0x1402b06c0 to 0x1402b0714 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0x14057ed60
// > ??> @ 0x1406d22e8
//
// 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::CCObject *__fastcall sub_1402B06C0(cocos2d::CCObject *Block, char a2)
{
Block->__vftable = (cocos2d::CCObject_vtbl *)&GJSmartPrefab::`vftable';
sub_14003A830((__int64)&Block[1].m_uIndexInArray);
sub_14003A830((__int64)&Block[1]);
cocos2d::CCObject::~CCObject(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}