//
// CCMenuExtra::create from 0x3c62f0 to 0x3c6386 (150 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 11:46:34 +0000
//
int __fastcall CCMenuExtra::create(CCMenuExtra *this)
{
int v1; // r4
v1 = operator new(0x160u);
memset((void *)v1, 0, 0x160u);
cocos2d::CCLayerRGBA::CCLayerRGBA((cocos2d::CCLayerRGBA *)v1);
*(_DWORD *)(v1 + 336) = 0;
*(_BYTE *)(v1 + 348) = 0;
*(_DWORD *)v1 = &off_C84AC0;
*(_DWORD *)(v1 + 264) = &off_C84D48;
*(_DWORD *)(v1 + 268) = &off_C84D80;
*(_DWORD *)(v1 + 272) = &off_C84D8C;
*(_DWORD *)(v1 + 276) = &off_C84D9C;
*(_DWORD *)(v1 + 280) = &off_C84DB0;
*(_DWORD *)(v1 + 316) = &off_C84DC8;
*(_DWORD *)(v1 + 340) = 0;
*(_DWORD *)(v1 + 344) = 0;
if ( cocos2d::CCMenu::init((cocos2d::CCMenu *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v1 + 8))(v1);
return 0;
}
}