//
// sub_1400D3190 from 0x1400d3190 to 0x1400d31da (74 bytes)
//
// 2 xrefs:
// > ??> @ 0x140550738
// > ??> @ 0x1406c8610
//
// 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_1400D3190(cocos2d::CCObject *Block, char a2)
{
sub_14003A830((__int64)&Block[1].m_uIndexInArray);
sub_14003A830((__int64)&Block[1]);
cocos2d::CCObject::~CCObject(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}