//
// cocos2d::CCLayerMultiplex::create from 0x7d8314 to 0x7d8370 (92 bytes)
//
// 1 xrefs:
// > cocos2d::CCLayerMultiplex::createWithLayer @ 0x7d8376
//
// 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:41 +0000
//
cocos2d::CCLayerMultiplex *cocos2d::CCLayerMultiplex::create(
cocos2d::CCLayerMultiplex *this,
cocos2d::CCLayer *a2,
int a3,
int a4,
...)
{
cocos2d::CCLayerMultiplex *v5; // r4
float v6; // r1
float v7; // r2
float v8; // r3
cocos2d::CCObject *varg_r1; // [sp+1Ch] [bp+14h] BYREF
v5 = (cocos2d::CCLayerMultiplex *)operator new(0x144u);
cocos2d::CCLayerMultiplex::CCLayerMultiplex(v5, v6, v7, v8);
if ( cocos2d::CCLayerMultiplex::initWithLayers((cocos2d::CCArray **)v5, this, &varg_r1) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayerMultiplex *))(*(_DWORD *)v5 + 8))(v5);
return nullptr;
}
}