//
// sub_14006AD60 from 0x14006ad60 to 0x14006ad95 (53 bytes)
//
// 4 xrefs:
// > sub_14006B748 @ 0x14006b74f
// > ??> @ 0x140533ec0
// > ??> @ 0x140550850
// > ??> @ 0x1406c5fa0
//
// 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::CCLayer *__fastcall sub_14006AD60(cocos2d::CCLayer *Block, char a2)
{
cocos2d::CCLayer::~CCLayer(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}