//
// cocos2d::CCLayerMultiplex::create from 0x1004ad9f0 to 0x1004adb6e (382 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:30:58 +0000
//
_QWORD *cocos2d::CCLayerMultiplex::create()
{
_QWORD *v0; // rbx
__int64 v1; // rax
float v3[6]; // [rsp+8h] [rbp-18h] BYREF
v0 = operator new(0x1A0u);
cocos2d::CCNode::CCNode((__int64)v0);
*v0 = off_100B53A90;
v0[40] = off_100B53F20;
v0[41] = &off_100B53F90;
v0[42] = off_100B53FA8;
v0[43] = off_100B53FC8;
v0[44] = off_100B53FF0;
*((_DWORD *)v0 + 90) = 0;
*((_BYTE *)v0 + 364) = 0;
*((_OWORD *)v0 + 23) = 0;
*((_OWORD *)v0 + 24) = 0;
*((_DWORD *)v0 + 100) = 0;
*((_BYTE *)v0 + 287) = 1;
sub_100278250(v3, 0.5, 0.5);
(*(void (__fastcall **)(_QWORD *, float *))(*v0 + 296LL))(v0, v3);
*v0 = off_100B54D68;
v0[40] = off_100B551F8;
v0[41] = &off_100B55268;
v0[42] = off_100B55280;
v0[43] = off_100B552A0;
v0[44] = off_100B552C8;
*((_DWORD *)v0 + 101) = 0;
v0[51] = 0;
v1 = cocos2d::CCDirector::sharedDirector();
if ( v1 )
{
cocos2d::CCDirector::getWinSize(v3, v1);
(*(void (__fastcall **)(_QWORD *, float *))(*v0 + 320LL))(v0, v3);
*((_WORD *)v0 + 180) = 0;
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}