// // CustomSongWidget::onGetSongInfo from 0x10061be80 to 0x10061bf04 (132 bytes) // // 2 xrefs: // > LevelInfoLayer::init @ 0x1002bf028 // > CustomSongWidget::init @ 0x10061adc3 // // 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 // void __fastcall CustomSongWidget::onGetSongInfo(CustomSongWidget *a1, cocos2d::CCObject *a2) { cocos2d::extension::CCScale9Sprite *m_bgSpr; // rdi MusicDownloadManager *v4; // rax if ( a1->m_songInfoObject ) { ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 0); m_bgSpr = a1->m_bgSpr; if ( m_bgSpr ) ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _QWORD))m_bgSpr->setVisible)(m_bgSpr, 0); v4 = MusicDownloadManager::sharedState(); MusicDownloadManager::getSongInfo(v4, a1->m_customSongID, 0); ((void (__fastcall *)(CCMenuItemSpriteExtra *, void *))a1->m_getSongInfoBtn->setColor)( a1->m_getSongInfoBtn, &unk_100822622); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_getSongInfoBtn->setEnabled)(a1->m_getSongInfoBtn, 0); } }