//
// cocos2d::CCMenu::createWithItems from 0x7dcd78 to 0x7dcda2 (42 bytes)
//
// 1 xrefs:
// > cocos2d::CCMenu::create @ 0x7dcdba
//
// 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::createWithItems(
cocos2d::CCMenu *this,
cocos2d::CCMenuItem *a2,
__va_list a3)
{
cocos2d::CCMenuItem *v3; // r5
cocos2d::CCArray *v4; // r4
cocos2d::CCArray *v5; // r0
cocos2d::CCMenuItem *v6; // t1
v3 = a2;
v4 = this;
if ( this )
{
v5 = cocos2d::CCArray::create(this, nullptr, a3);
a2 = *(cocos2d::CCMenuItem **)v3;
v4 = v5;
while ( a2 )
{
cocos2d::CCArray::addObject(v4, a2);
v6 = *((cocos2d::CCMenuItem **)v3 + 1);
v3 = (cocos2d::CCMenuItem *)((char *)v3 + 4);
a2 = v6;
}
}
return cocos2d::CCMenu::createWithArray(v4, a2);
}