//
// SongsLayer::create from 0x906d08 to 0x906e54 (332 bytes)
//
// 3 xrefs:
// > LevelSelectLayer::onDownload @ 0x8c3af4
// > OptionsLayer::layerHidden @ 0x8ed774
// > ??> @ 0x6c370
//
// This function is hookable on this platform (idp: arm, 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:57:09 +0000
//
__int64 __fastcall SongsLayer::create(SongsLayer *this)
{
__int64 v1; // x19
v1 = operator new(0x260u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v1);
*(_QWORD *)v1 = &off_145E470;
*(_QWORD *)(v1 + 320) = off_145E9E8;
*(_QWORD *)(v1 + 328) = &off_145EA58;
*(_QWORD *)(v1 + 336) = off_145EA70;
*(_QWORD *)(v1 + 344) = off_145EA90;
*(_QWORD *)(v1 + 352) = off_145EAB8;
*(_QWORD *)(v1 + 408) = &off_145EAE8;
*(_QWORD *)(v1 + 432) = &off_145EB68;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 544));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 552));
*(_QWORD *)(v1 + 560) = 0;
*(_QWORD *)(v1 + 568) = 0;
*(_QWORD *)(v1 + 576) = 0;
*(_BYTE *)(v1 + 584) = 0;
*(_QWORD *)(v1 + 592) = 0;
*(_BYTE *)(v1 + 600) = 0;
*(_QWORD *)v1 = &off_14657C0;
*(_QWORD *)(v1 + 320) = off_1465D38;
*(_QWORD *)(v1 + 328) = &off_1465DA8;
*(_QWORD *)(v1 + 336) = off_1465DC0;
*(_QWORD *)(v1 + 344) = off_1465DE0;
*(_QWORD *)(v1 + 352) = off_1465E08;
*(_QWORD *)(v1 + 408) = &off_1465E38;
*(_QWORD *)(v1 + 432) = &off_1465EB8;
if ( (unsigned __int8)GJDropDownLayer::init((GameToolbox **)v1, (cocos2d::CCLabelBMFont *)"Soundtrack") )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}