//
// sub_140046C40 from 0x140046c40 to 0x140046c75 (53 bytes)
//
// 3 xrefs:
// > sub_140046DD0 @ 0x140046dd7
// > ??> @ 0x140708090
// > ??> @ 0x14090f9c8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:25:31 +0000
//
cocos2d::CCLayerColor *__fastcall sub_140046C40(cocos2d::CCLayerColor *Block, char a2)
{
cocos2d::CCLayerColor::~CCLayerColor(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}