//
// cocos2d::CCComponent::create from 0x5f248c to 0x5f24bc (48 bytes)
//
// 0 xrefs:
//
// 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::CCComponent *cocos2d::CCComponent::create()
{
cocos2d::CCComponent *v0; // r4
cocos2d::CCComponent_vtbl *v1; // r3
cocos2d::CCComponent *v2; // r0
v0 = (cocos2d::CCComponent *)operator new(0x40u);
cocos2d::CCComponent::CCComponent(v0);
if ( ((int (__fastcall *)(cocos2d::CCComponent *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->__vftable;
v2 = v0;
v0 = nullptr;
v1->~CCComponent_0(v2);
}
return v0;
}