//
// CCMenuExtra::create from 0x69114c to 0x691228 (220 bytes)
//
// 1 xrefs:
// > ??> @ 0xe21c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:50:35 +0000
//
__int64 __fastcall CCMenuExtra::create(CCMenuExtra *this)
{
__int64 v1; // x19
v1 = operator new(0x1C8u);
memset((void *)v1, 0, 0x1C8u);
cocos2d::CCLayerRGBA::CCLayerRGBA((cocos2d::CCLayerRGBA *)v1);
*(_QWORD *)(v1 + 432) = 0;
*(_BYTE *)(v1 + 448) = 0;
*(_QWORD *)v1 = &off_1416100;
*(_QWORD *)(v1 + 320) = off_1416610;
*(_QWORD *)(v1 + 328) = &off_1416680;
*(_QWORD *)(v1 + 336) = off_1416698;
*(_QWORD *)(v1 + 344) = off_14166B8;
*(_QWORD *)(v1 + 352) = off_14166E0;
*(_QWORD *)(v1 + 408) = &off_1416710;
*(_DWORD *)(v1 + 440) = 0;
*(_DWORD *)(v1 + 444) = 0;
if ( (unsigned __int8)cocos2d::CCMenu::init((cocos2d::CCMenu *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}