//
// SongsLayer::create from 0x1406368e0 to 0x1406369af (207 bytes)
//
// 4 xrefs:
// > LevelSelectLayer::onDownload @ 0x14044255d
// > OptionsLayer::layerHidden @ 0x1404cc6fc
// > ??> @ 0x140930c68
// > ??> @ 0x140930c74
//
// 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 11:35:30 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *SongsLayer::create()
{
cocos2d::CCObject *v0; // rbx
v0 = (cocos2d::CCObject *)operator new(0x260u);
GJDropDownLayer::GJDropDownLayer((__int64)v0);
*(_QWORD *)v0 = &SongsLayer::`vftable';
*((_QWORD *)v0 + 40) = &SongsLayer::`vftable';
*((_QWORD *)v0 + 41) = &SongsLayer::`vftable';
*((_QWORD *)v0 + 42) = &SongsLayer::`vftable';
*((_QWORD *)v0 + 43) = &SongsLayer::`vftable';
*((_QWORD *)v0 + 44) = &SongsLayer::`vftable';
*((_QWORD *)v0 + 51) = &SongsLayer::`vftable';
*((_QWORD *)v0 + 54) = &SongsLayer::`vftable';
if ( GJDropDownLayer::init((__int64 *)v0, (int)"Soundtrack", 220.0, 0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
return nullptr;
}
}