//
// cocos2d::CCComponent::create from 0x7fdb34 to 0x7fdb64 (48 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:17 +0000
//
cocos2d::CCComponent *__fastcall cocos2d::CCComponent::create(cocos2d::CCComponent *this)
{
cocos2d::CCComponent *v1; // r4
int v2; // r3
cocos2d::CCComponent *v3; // r0
v1 = (cocos2d::CCComponent *)operator new(0x48u);
cocos2d::CCComponent::CCComponent(v1);
if ( (*(int (__fastcall **)(cocos2d::CCComponent *))(*(_DWORD *)v1 + 40))(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(cocos2d::CCComponent *))(v2 + 8))(v3);
}
return v1;
}