//
// cocos2d::CCLayerMultiplex::create from 0x18004fb30 to 0x18004fb92 (98 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1e78
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCLayerMultiplex *__fastcall cocos2d::CCLayerMultiplex::create()
{
cocos2d::CCLayerMultiplex *v0; // rax
cocos2d::CCLayerMultiplex *v1; // rbx
v0 = (cocos2d::CCLayerMultiplex *)operator new(0x1A8u);
if ( v0 )
v1 = cocos2d::CCLayerMultiplex::CCLayerMultiplex(v0);
else
v1 = nullptr;
if ( v1 )
{
if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCLayerMultiplex *))v1->init)(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
((void (__fastcall *)(cocos2d::CCLayerMultiplex *, __int64))v1->~CCLayerMultiplex)(v1, 1);
return nullptr;
}
return v1;
}