//
// SongSelectNode::create from 0x83f690 to 0x83f7e8 (344 bytes)
//
// 3 xrefs:
// > SetupSongTriggerPopup::init @ 0x9aa2b8
// > LevelSettingsLayer::init @ 0xa36ad8
// > ??> @ 0x5bc38
//
// 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
//
SongSelectNode *SongSelectNode::create(
int a1,
bool a2,
LevelSettingsObject *a3,
SongSelectType a4,
cocos2d::CCPoint a5,
cocos2d::CCNode *a6,
cocos2d::CCMenu *a7,
bool a8)
{
SongSelectNode *v15; // x19
SongSelectNode_vtbl *v16; // x1
SongSelectNode *v17; // x0
cocos2d::CCPoint v19; // [xsp+80h] [xbp+70h] BYREF
cocos2d::CCPoint v20; // 0:s0.4,4:s1.4
v15 = (SongSelectNode *)operator new(0x1B0u);
cocos2d::CCNode::CCNode(v15);
v15->m_selectedSongID = 0;
v15->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SongSelectNode_vtbl *)&off_118BF20;
v15->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_118C2D0;
v15->CustomSongLayerDelegate::__vftable = (CustomSongLayerDelegate_vtbl *)&off_118C2E8;
v15->CustomSongDelegate::__vftable = (CustomSongDelegate_vtbl *)&off_118C300;
v15->m_isCustomSong = 0;
v15->m_songChanged = 0;
v15->m_selectSongObjects = nullptr;
v15->m_settingsObject = nullptr;
cocos2d::CCPoint::CCPoint(&v19, (const cocos2d::CCPoint *)a6);
if ( SongSelectNode::init(v15, a1, a2, a3, a4, v20, (cocos2d::CCNode *)&v19, a7, a8) )
{
cocos2d::CCObject::autorelease(v15);
}
else
{
v16 = v15->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v17 = v15;
v15 = nullptr;
v16->~SongSelectNode_0(v17);
}
return v15;
}