//
// sub_14042BEC0 from 0x14042bec0 to 0x14042bef5 (53 bytes)
//
// 3 xrefs:
// > sub_140435EC4 @ 0x140435ecb
// > ??> @ 0x1405e9c68
// > ??> @ 0x1406d9a40
//
// 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::CCLayerColor *__fastcall sub_14042BEC0(cocos2d::CCLayerColor *Block, char a2)
{
cocos2d::CCLayerColor::~CCLayerColor(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}