//
// sub_1400516A0 from 0x1400516a0 to 0x1400516e4 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405324a0
// > ??> @ 0x1406c4dc4
//
// 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_1400516A0(cocos2d::CCNode *Block, char a2)
{
sub_14003A830((__int64)&Block[1]);
cocos2d::CCNode::~CCNode(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}