//
// cocos2d::CCMenu::createWithArray from 0x7dccfc to 0x7dcd72 (118 bytes)
//
// 1 xrefs:
// > cocos2d::CCMenu::createWithItems @ 0x7dcd9e
//
// 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:00:45 +0000
//
cocos2d::CCLayerRGBA *__fastcall cocos2d::CCMenu::createWithArray(cocos2d::CCMenu *this, cocos2d::CCArray *a2)
{
cocos2d::CCLayerRGBA *v3; // r4
float v4; // r1
float v5; // r2
float v6; // r3
int v7; // r3
cocos2d::CCLayerRGBA *v8; // r0
v3 = (cocos2d::CCLayerRGBA *)operator new(0x154u);
cocos2d::CCLayerRGBA::CCLayerRGBA(v3, v4, v5, v6);
*(_DWORD *)v3 = &off_D0BDB0;
*((_DWORD *)v3 + 66) = &off_D0C038;
*((_DWORD *)v3 + 67) = &off_D0C070;
*((_DWORD *)v3 + 68) = &off_D0C07C;
*((_DWORD *)v3 + 69) = &off_D0C08C;
*((_DWORD *)v3 + 70) = &off_D0C0A0;
*((_DWORD *)v3 + 79) = &off_D0C0B8;
*((_DWORD *)v3 + 84) = 0;
if ( cocos2d::CCMenu::initWithArray(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v7 = *(_DWORD *)v3;
v8 = v3;
v3 = nullptr;
(*(void (__fastcall **)(cocos2d::CCLayerRGBA *))(v7 + 8))(v8);
}
return v3;
}