//
// SongsLayer::create from 0x53c7bc to 0x53c8b4 (248 bytes)
//
// 2 xrefs:
// > LevelSelectLayer::onDownload @ 0x5116ee
// > OptionsLayer::layerHidden @ 0x52c356
//
// 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 11:52:15 +0000
//
int *__fastcall SongsLayer::create(SongsLayer *this)
{
int *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (int *)operator new(0x1E0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v1);
*v1 = (int)&off_CA8E30;
v1[66] = (int)&off_CA90EC;
v1[67] = (int)&off_CA9124;
v1[68] = (int)&off_CA9130;
v1[69] = (int)&off_CA9140;
v1[70] = (int)&off_CA9154;
v1[79] = (int)&off_CA916C;
v1[83] = (int)&off_CA91AC;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 110));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 112));
v1[114] = 0;
v1[115] = 0;
v1[116] = 0;
*((_BYTE *)v1 + 468) = 0;
v1[118] = 0;
*((_BYTE *)v1 + 476) = 0;
*v1 = (int)&off_CAC7E8;
v1[66] = (int)&off_CACAA4;
v1[67] = (int)&off_CACADC;
v1[68] = (int)&off_CACAE8;
v1[69] = (int)&off_CACAF8;
v1[70] = (int)&off_CACB0C;
v1[79] = (int)&off_CACB24;
v1[83] = (int)&off_CACB64;
if ( GJDropDownLayer::init((GameToolbox **)v1, (cocos2d::CCLabelBMFont *)"Soundtrack") )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v2 = *v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}