// // CustomSongWidget::create from 0x1400c8230 to 0x1400c8470 (576 bytes) // // 6 xrefs: // > CustomSongCell::loadFromObject @ 0x1400b46f6 // > CustomMusicCell::loadFromObject @ 0x1400b4f07 // > CustomSongLayer::init @ 0x1400c37ee // > SongSelectNode::init @ 0x1400c7620 // > LevelInfoLayer::init @ 0x1402f9319 // > @ 0x1406c8280 // // 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 // // Hidden C++ exception states: #wind=5 CustomSongWidget *CustomSongWidget::create( SongInfoObject *a1, CustomSongDelegate *a2, bool a3, bool a4, bool a5, bool a6, bool a7, bool a8, int a9) { CustomSongWidget *v13; // r15 _QWORD *v14; // rax _QWORD *v15; // rax _QWORD *v16; // rax v13 = (CustomSongWidget *)operator new(0x260u); cocos2d::CCNode::CCNode(v13); v13->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CustomSongWidget_vtbl *)&CustomSongWidget::`vftable'; v13->MusicDownloadDelegate::__vftable = (MusicDownloadDelegate_vtbl *)&CustomSongWidget::`vftable'; v13->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&CustomSongWidget::`vftable'; v13->m_songInfoObject = nullptr; v13->m_songLabel = nullptr; v13->m_artistLabel = nullptr; v13->m_songIDLabel = nullptr; v13->m_downloadBtn = nullptr; v13->m_selectSongBtn = nullptr; v13->m_playbackBtn = nullptr; v13->m_deleteBtn = nullptr; v13->m_sliderGroove = nullptr; v13->m_sliderBar = nullptr; v13->m_ncsLogo = nullptr; v13->m_bgSpr = nullptr; v13->m_songDelegate = nullptr; *(_DWORD *)&v13->m_showSelectSongBtn = 0; *(_WORD *)&v13->m_isRobtopSong = 0; *(_QWORD *)&v13->m_customSongID = 0; v13->m_isInCell = 0; v13->m_playbackDelegate = nullptr; *(_WORD *)&v13->m_hasLibrarySongs = 0; v13->m_unkBool2 = 0; v13->m_songs._Mypair._Myval2._Myval2._Myhead = nullptr; v13->m_songs._Mypair._Myval2._Myval2._Mysize = 0; v14 = operator new(0x28u); *v14 = v14; v14[1] = v14; v14[2] = v14; *((_WORD *)v14 + 12) = 257; v13->m_songs._Mypair._Myval2._Myval2._Myhead = (std::_Tree_val>>::_Nodeptr)v14; v13->m_sfx._Mypair._Myval2._Myval2._Myhead = nullptr; v13->m_sfx._Mypair._Myval2._Myval2._Mysize = 0; v15 = operator new(0x28u); *v15 = v15; v15[1] = v15; v15[2] = v15; *((_WORD *)v15 + 12) = 257; v13->m_sfx._Mypair._Myval2._Myval2._Myhead = (std::_Tree_val>>::_Nodeptr)v15; v13->m_undownloadedAssets._Mypair._Myval2._Myfirst = nullptr; v13->m_undownloadedAssets._Mypair._Myval2._Mylast = nullptr; v13->m_undownloadedAssets._Mypair._Myval2._Myend = nullptr; v13->m_totalBytes = 0; v13->m_nextSongIDs._Mypair._Myval2._Myval2._Myhead = nullptr; v13->m_nextSongIDs._Mypair._Myval2._Myval2._Mysize = 0; v16 = operator new(0x20u); *v16 = v16; v16[1] = v16; v16[2] = v16; *((_WORD *)v16 + 12) = 257; v13->m_nextSongIDs._Mypair._Myval2._Myval2._Myhead = (std::_Tree_val>::_Nodeptr)v16; if ( CustomSongWidget::init(v13, a1, a2, a3, a4, a5, a6, a7, a8, a9) ) { cocos2d::CCObject::autorelease(v13); return v13; } else { ((void (__fastcall *)(CustomSongWidget *, __int64))v13->~CustomSongWidget)(v13, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source