//
// sub_100216A0C from 0x100216a0c to 0x100216a70 (100 bytes)
//
// 1 xrefs:
// > sub_100239C00 @ 0x100239c14
//
// 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_100216A0C(void *a1)
{
cocos2d::CCObject *v2; // x19
v2 = (cocos2d::CCObject *)operator new(0x40u);
cocos2d::CCObject::CCObject((__int64)v2);
v2->__vftable = (cocos2d::CCObject_vtbl *)off_1007C3750;
if ( (unsigned int)sub_1002169C4((__int64)v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
cocos2d::CCObject::release(v2);
return nullptr;
}
return v2;
}