//
// cocos2d::extension::CCControl::create from 0x100351400 to 0x1003514da (218 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::extension::CCControl *__fastcall cocos2d::extension::CCControl::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x1D8u);
cocos2d::CCLayerRGBA::CCLayerRGBA(v0);
*(_QWORD *)v0 = off_100915540;
*((_QWORD *)v0 + 40) = off_100915A90;
*((_QWORD *)v0 + 41) = &off_100915B00;
*((_QWORD *)v0 + 42) = off_100915B18;
*((_QWORD *)v0 + 43) = off_100915B38;
*((_QWORD *)v0 + 44) = off_100915B58;
*((_QWORD *)v0 + 51) = off_100915B80;
v0[426] = 0;
*(_QWORD *)(v0 + 428) = 1;
*((_QWORD *)v0 + 55) = 0;
*(_OWORD *)(v0 + 456) = 0;
*((_QWORD *)v0 + 56) = v0 + 456;
if ( cocos2d::extension::CCControl::init((cocos2d::extension::CCControl *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (cocos2d::extension::CCControl *)v0;
}