//
// sub_180014500 from 0x180014500 to 0x180014540 (64 bytes)
//
// 3 xrefs:
// > sub_180014B48 @ 0x180014b4c
// > ??> @ 0x180028760
// > ??> @ 0x18004a62c
//
// 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_180014500(cocos2d::CCObject *Block, char a2)
{
*((_QWORD *)Block + 7) = &cocos2d::extension::CCSortableObject::`vftable';
cocos2d::CCObject::~CCObject(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}