//
// CustomSongLayer::create from 0x45f4d0 to 0x45f578 (168 bytes)
//
// 1 xrefs:
// > SongSelectNode::showCustomSongSelect @ 0x460fd0
//
// 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
//
CustomSongLayer *CustomSongLayer::create(CustomSongDelegate *a1)
{
CustomSongLayer *v2; // r4
CustomSongLayer_vtbl *v3; // r3
CustomSongLayer *v4; // r0
v2 = (CustomSongLayer *)operator new(0x20Cu);
FLAlertLayer::FLAlertLayer(v2);
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CustomSongLayer_vtbl *)&off_A663F0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A6669C;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A666D4;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A666E0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A666F0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A66700;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A66714;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A66754;
v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A66764;
v2->GJDropDownLayerDelegate::__vftable = (GJDropDownLayerDelegate_vtbl *)&off_A66788;
v2->MusicBrowserDelegate::__vftable = (MusicBrowserDelegate_vtbl *)&off_A66794;
v2->m_songDelegate = nullptr;
v2->m_songIDInput = nullptr;
v2->m_delegate = nullptr;
if ( CustomSongLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~CustomSongLayer_0(v4);
}
return v2;
}