//
// sub_180096280 from 0x180096280 to 0x180096320 (160 bytes)
//
// 2 xrefs:
// > ??> @ 0x180104590
// > ??> @ 0x1801b68d0
//
// 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
//
char *__fastcall sub_180096280(cocos2d::CCObject **Block, char a2)
{
cocos2d::CCObject *v5; // rcx
if ( (a2 & 2) != 0 )
{
`eh vector destructor iterator'(
Block,
0x18u,
(unsigned __int64)*(Block - 1),
(void (*)(void *))cocos2d::CCComponentContainer::~CCComponentContainer);
if ( (a2 & 1) != 0 )
j_j_j_free_0(Block - 1);
return (char *)(Block - 1);
}
else
{
*Block = (cocos2d::CCObject *)&cocos2d::CCComponentContainer::`vftable';
v5 = Block[1];
if ( v5 )
cocos2d::CCObject::release(v5);
if ( (a2 & 1) != 0 )
j_j_free_0(Block);
return (char *)Block;
}
}