// // CustomSongWidget::updateSongObject from 0x10061d670 to 0x10061d701 (145 bytes) // // 6 xrefs: // > CustomSongLayer::onSearch @ 0x100215b93 // > CustomSongLayer::dropDownLayerWillClose @ 0x1002162ee // > sub_100216300 @ 0x100216345 // > CustomSongLayer::musicBrowserClosed @ 0x10021639e // > sub_1002163B0 @ 0x1002163f5 // > SongSelectNode::onSongMode @ 0x100219770 // // 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::updateSongObject(CustomSongWidget *a1, SongInfoObject *a2) { SongInfoObject *v2; // r14 cocos2d::extension::CCScale9Sprite *m_bgSpr; // rdi SongInfoObject *m_songInfoObject; // rdi int m_songID; // eax v2 = a2; ((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); m_songInfoObject = a1->m_songInfoObject; if ( m_songInfoObject != a2 ) { if ( a2 ) { cocos2d::CCObject::retain(a2); m_songInfoObject = a1->m_songInfoObject; } if ( m_songInfoObject ) cocos2d::CCObject::release(m_songInfoObject); a1->m_songInfoObject = a2; if ( a2 ) goto LABEL_9; LABEL_11: m_songID = 0; goto LABEL_12; } v2 = a1->m_songInfoObject; if ( !m_songInfoObject ) goto LABEL_11; LABEL_9: m_songID = v2->m_songID; LABEL_12: a1->m_customSongID = m_songID; CustomSongWidget::updateSongInfo(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source