//
// sub_1800140A0 from 0x1800140a0 to 0x1800140e0 (64 bytes)
//
// 3 xrefs:
// > sub_180014718 @ 0x18001471c
// > ??> @ 0x18002adf8
// > ??> @ 0x18004c560
//
// 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 12:15:41 +0000
//
cocos2d::CCObject *__fastcall sub_1800140A0(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;
}