// // CustomSongWidget::updateSongInfo from 0x744570 to 0x745654 (4324 bytes) // // 14 xrefs: // > CustomSongWidget::updateSongObject @ 0x745714 // > CustomSongWidget::updateSongObject @ 0x74572c // > CustomSongWidget::init @ 0x7467d0 // > CustomSongWidget::getSongInfoIfUnloaded @ 0x746a78 // > CustomSongWidget::downloadFailed @ 0x746b6c // > CustomSongWidget::onSelect @ 0x746bb0 // > CustomSongWidget::updateDownloadProgress @ 0x746c3c // > CustomSongWidget::songStateChanged @ 0x746c50 // > CustomSongWidget::updateLengthMod @ 0x746c70 // > CustomSongWidget::updateMultiAssetInfo @ 0x747200 // > CustomSongWidget::deleteSong @ 0x747558 // > @ 0x2bcf8 // > CustomSongWidget::loadSongInfoFinished @ 0x749578 // > @ 0x1229428 // // 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 CustomSongWidget::updateSongInfo(CustomSongWidget *a1) { cocos2d::CCLabelBMFont *m_songLabel; // x21 void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // x23 long double v4; // q0 char *v5; // x0 unsigned __int8 *v6; // x0 __int64 v7; // x26 SongInfoObject *m_songInfoObject; // x0 int ExtraArtistCount; // w0 cocos2d::CCString *v10; // x0 size_t v11; // x0 SongInfoObject *v12; // x0 cocos2d::CCString *v13; // x0 const unsigned __int8 *v14; // x0 float m_lengthMod; // s0 cocos2d::CCString *v16; // x0 size_t v17; // x0 char *v18; // x0 char *v19; // x0 _BOOL4 m_hasSFX; // w21 CCMenuItemSpriteExtra *m_downloadBtn; // x2 _BOOL8 m_unkBool2; // x1 void *m_sliderGroove; // x2 void *m_deleteBtn; // x2 int m_isMusicLibrary; // w21 unsigned __int8 (*isVisible)(void); // x1 const cocos2d::CCPoint *v27; // x0 CCMenuItemSpriteExtra *m_moreBtn; // x26 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x27 cocos2d::CCNode *v30; // x28 float width; // s8 float v32; // s0 SongInfoObject *v33; // x1 void (__fastcall *v34)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // x23 long double v35; // q0 char *v36; // x0 long double v37; // q0 SongInfoObject *v38; // x0 int v39; // w0 cocos2d::CCString *v40; // x0 size_t v41; // x0 SongInfoObject *v42; // x0 int v43; // w26 MusicDownloadManager *v44; // x0 _BOOL8 m_showDownloadBtn; // x1 CCMenuItemSpriteExtra *v46; // x27 void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // x28 cocos2d::CCNode *v48; // x21 int v49; // w0 CCMenuItemSpriteExtra *m_selectSongBtn; // x2 void (__fastcall *setSkewY)(cocos2d::CCNode *__hidden, float); // x26 cocos2d::CCSpriteFrameCache *v52; // x0 cocos2d::CCSpriteFrame *v53; // x0 _BOOL4 m_isRobtopSong; // w21 MusicDownloadManager *v55; // x0 void (*v56)(void); // x2 char v57; // w26 float v58; // s9 float v59; // s10 float v60; // s8 float v61; // s0 float v62; // s10 float v63; // s11 float v64; // s9 float v65; // s0 CCMenuItemSpriteExtra *v66; // x21 float v67; // s9 void (__fastcall *v68)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x26 cocos2d::CCNode *v69; // x27 cocos2d::CCNode *v70; // x28 cocos2d::CCLabelBMFont *m_artistLabel; // x21 void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // x23 cocos2d::CCLabelBMFont *v73; // x21 void (__fastcall *v74)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23 const cocos2d::CCSize *v75; // x0 SongInfoObject *v76; // x1 int m_duration; // w2 float m_fileSize; // s0 const char *m_songID; // x1 cocos2d::CCString *v80; // x0 size_t v81; // x0 char *v82; // x0 unsigned __int8 *v83; // x0 unsigned int *v84; // x1 int v85; // w2 _BOOL8 v86; // x1 double v87; // d0 cocos2d::CCString *v88; // x0 size_t v89; // x0 char *v90; // x0 unsigned int *v91; // x1 int v92; // w2 unsigned int *v93; // x1 int v94; // w2 unsigned int *v95; // x1 int v96; // w2 __int64 m_BPM; // x2 const char *v98; // x1 unsigned int *v99; // x1 int v100; // w2 unsigned int *v101; // x1 int v102; // w2 unsigned int *v103; // x1 int v104; // w2 unsigned int *v105; // x1 int v106; // w2 cocos2d::CCSpriteFrameCache *v107; // x0 unsigned int *v108; // x1 int v109; // w2 const char *v110; // [xsp+80h] [xbp+80h] const char *v111; // [xsp+80h] [xbp+80h] const char *v112; // [xsp+80h] [xbp+80h] const cocos2d::CCPoint *v113; // [xsp+80h] [xbp+80h] const char *v114; // [xsp+80h] [xbp+80h] const char *CString; // [xsp+80h] [xbp+80h] cocos2d::CCPoint v116; // [xsp+98h] [xbp+98h] BYREF char *v117; // [xsp+A0h] [xbp+A0h] BYREF const unsigned __int8 *v118; // [xsp+A8h] [xbp+A8h] BYREF char *v119; // [xsp+B0h] [xbp+B0h] BYREF cocos2d::CCPoint v120; // 0:kr00_8.8 cocos2d::CCPoint v121; // 0:kr08_8.8 cocos2d::CCPoint v122; // 0:kr18_8.8 CustomSongWidget::positionInfoObjects(a1); if ( a1->m_songInfoObject ) { m_songLabel = a1->m_songLabel; if ( !a1->m_isMusicLibrary ) { setString = m_songLabel->setString; *(__n128 *)&v4 = sub_D18D28(&v119); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *, long double))setString)(m_songLabel, v119, v4); v5 = v119 - 24; if ( v119 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v103 = (unsigned int *)(v119 - 8); do v104 = __ldaxr(v103); while ( __stlxr(v104 - 1, v103) ); } else { v104 = *((_DWORD *)v119 - 2); *((_DWORD *)v119 - 2) = v104 - 1; } if ( v104 <= 0 ) operator delete(v5); } sub_D153B8((int)&v117, &byte_F288A0); sub_D18D28(&v118); v6 = (unsigned __int8 *)(v118 - 24); v7 = *((_QWORD *)v118 - 3); if ( v118 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v93 = (unsigned int *)(v118 - 8); do v94 = __ldaxr(v93); while ( __stlxr(v94 - 1, v93) ); } else { v94 = *((_DWORD *)v118 - 2); *((_DWORD *)v118 - 2) = v94 - 1; } if ( v94 <= 0 ) operator delete(v6); } if ( v7 ) { *(_QWORD *)&v87 = sub_D18D28(&v119).n128_u64[0]; v88 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"By: %s", v119, v87); CString = cocos2d::CCString::getCString(v88); v89 = strlen(CString); sub_D1798C(&v117, CString, v89); v90 = v119 - 24; if ( v119 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v91 = (unsigned int *)(v119 - 8); do v92 = __ldaxr(v91); while ( __stlxr(v92 - 1, v91) ); } else { v92 = *((_DWORD *)v119 - 2); *((_DWORD *)v119 - 2) = v92 - 1; } if ( v92 <= 0 ) operator delete(v90); } } m_songInfoObject = a1->m_songInfoObject; if ( m_songInfoObject->m_artistIDs._M_h._M_element_count ) { ExtraArtistCount = SongInfoObject::getExtraArtistCount(m_songInfoObject); if ( ExtraArtistCount > 0 ) { v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s +%i", v117, (unsigned int)ExtraArtistCount); v110 = cocos2d::CCString::getCString(v10); v11 = strlen(v110); sub_D1798C(&v117, v110, v11); } } a1->m_artistLabel->setString(a1->m_artistLabel, (const unsigned __int8 *)v117); if ( !a1->m_hasSFX ) { if ( a1->m_isRobtopSong ) { a1->m_songIDLabel->setString(a1->m_songIDLabel, (const unsigned __int8 *)&byte_F288A0); } else { v12 = a1->m_songInfoObject; if ( v12->m_unloaded ) v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"SongID: %i", (const char *)(unsigned int)v12->m_songID); else v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"SongID: %i Size: %.02fMB", (const char *)(unsigned int)v12->m_songID, v12->m_fileSize); v14 = (const unsigned __int8 *)cocos2d::CCString::getCString(v13); a1->m_songIDLabel->setString(a1->m_songIDLabel, v14); if ( a1->m_songInfoObject->m_BPM > 0 ) { a1->m_errorLabel->setColor(a1->m_errorLabel, (const cocos2d::ccColor3B *)&unk_ECD700); a1->m_errorLabel->setScale(a1->m_errorLabel, 0.4); m_lengthMod = a1->m_lengthMod; v119 = &byte_124B6C8; if ( m_lengthMod <= 0.0 || m_lengthMod == 1.0 ) { v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"BPM: %i", (const char *)(unsigned int)a1->m_songInfoObject->m_BPM); } else { m_BPM = (unsigned int)a1->m_songInfoObject->m_BPM; v98 = (const char *)(unsigned int)m_BPM; LODWORD(m_BPM) = llroundf(m_lengthMod * (float)(int)m_BPM); v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"BPM: %i (%i)", v98, m_BPM); } v111 = cocos2d::CCString::getCString(v16); v17 = strlen(v111); sub_D1798C(&v119, v111, v17); a1->m_errorLabel->setString(a1->m_errorLabel, (const unsigned __int8 *)v119); CustomSongWidget::showError(a1, 0); v18 = v119 - 24; if ( v119 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v99 = (unsigned int *)(v119 - 8); do v100 = __ldaxr(v99); while ( __stlxr(v100 - 1, v99) ); } else { v100 = *((_DWORD *)v119 - 2); *((_DWORD *)v119 - 2) = v100 - 1; } if ( v100 <= 0 ) operator delete(v18); } } } } v19 = v117 - 24; if ( v117 - 24 == (char *)&qword_124B6B0 ) goto LABEL_19; if ( &pthread_create ) { v95 = (unsigned int *)(v117 - 8); do v96 = __ldaxr(v95); while ( __stlxr(v96 - 1, v95) ); } else { v96 = *((_DWORD *)v117 - 2); *((_DWORD *)v117 - 2) = v96 - 1; } if ( v96 > 0 ) { LABEL_19: m_hasSFX = a1->m_hasSFX; if ( !a1->m_hasSFX ) goto LABEL_36; LABEL_20: m_downloadBtn = a1->m_downloadBtn; m_unkBool2 = a1->m_unkBool2; LABEL_21: m_downloadBtn->setVisible(m_downloadBtn, m_unkBool2); a1->m_cancelDownloadBtn->setVisible(a1->m_cancelDownloadBtn, 0); a1->m_selectSongBtn->setVisible(a1->m_selectSongBtn, 0); a1->m_playbackBtn->setVisible(a1->m_playbackBtn, 0); m_sliderGroove = a1->m_sliderGroove; LABEL_22: (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)m_sliderGroove + 328LL))(m_sliderGroove, 0); a1->m_getSongInfoBtn->setVisible(a1->m_getSongInfoBtn, 0); m_deleteBtn = a1->m_deleteBtn; goto LABEL_23; } goto LABEL_106; } v34 = m_songLabel->setString; *(__n128 *)&v35 = sub_D18D28(&v119); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *, long double))v34)(m_songLabel, v119, v35); v36 = v119 - 24; if ( v119 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v101 = (unsigned int *)(v119 - 8); do v102 = __ldaxr(v101); while ( __stlxr(v102 - 1, v101) ); } else { v102 = *((_DWORD *)v119 - 2); *((_DWORD *)v119 - 2) = v102 - 1; } if ( v102 <= 0 ) operator delete(v36); } *(__n128 *)&v37 = sub_D18D28(&v117); v38 = a1->m_songInfoObject; if ( v38->m_artistIDs._M_h._M_element_count ) { v39 = SongInfoObject::getExtraArtistCount(v38); if ( v39 > 0 ) { v40 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s +%i", v117, (unsigned int)v39); v112 = cocos2d::CCString::getCString(v40); v41 = strlen(v112); sub_D1798C(&v117, v112, v41); } } ((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *, long double))a1->m_artistLabel->setString)( a1->m_artistLabel, v117, v37); if ( !a1->m_hasSFX ) { v76 = a1->m_songInfoObject; m_duration = v76->m_duration; v118 = (const unsigned __int8 *)&byte_124B6C8; m_fileSize = v76->m_fileSize; m_songID = (const char *)(unsigned int)v76->m_songID; if ( m_duration <= 0 ) v80 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"ID: %i Size: %.01fMB", m_songID, m_fileSize); else v80 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"ID: %i Size: %.01fMB (%is)", m_songID, m_fileSize); v114 = cocos2d::CCString::getCString(v80); v81 = strlen(v114); sub_D1798C(&v118, v114, v81); SongInfoObject::getTagsString((__int64 *)&v119, a1->m_songInfoObject, 1); if ( *((_QWORD *)v119 - 3) ) { sub_D15FD4(&v118, " ", 4); sub_D15E14(&v118, &v119); } a1->m_songIDLabel->setString(a1->m_songIDLabel, v118); v82 = v119 - 24; if ( v119 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v108 = (unsigned int *)(v119 - 8); do v109 = __ldaxr(v108); while ( __stlxr(v109 - 1, v108) ); } else { v109 = *((_DWORD *)v119 - 2); *((_DWORD *)v119 - 2) = v109 - 1; } if ( v109 <= 0 ) operator delete(v82); } v83 = (unsigned __int8 *)(v118 - 24); if ( v118 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v84 = (unsigned int *)(v118 - 8); do v85 = __ldaxr(v84); while ( __stlxr(v85 - 1, v84) ); } else { v85 = *((_DWORD *)v118 - 2); *((_DWORD *)v118 - 2) = v85 - 1; } if ( v85 <= 0 ) operator delete(v83); } } v19 = v117 - 24; if ( v117 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v105 = (unsigned int *)(v117 - 8); do v106 = __ldaxr(v105); while ( __stlxr(v106 - 1, v105) ); } else { v106 = *((_DWORD *)v117 - 2); *((_DWORD *)v117 - 2) = v106 - 1; } if ( v106 <= 0 ) LABEL_106: operator delete(v19); } } else { a1->m_songLabel->setString(a1->m_songLabel, "No song loaded"); a1->m_artistLabel->setString(a1->m_artistLabel, (const unsigned __int8 *)&byte_F288A0); if ( a1->m_hasSFX ) goto LABEL_20; a1->m_songIDLabel->setString(a1->m_songIDLabel, (const unsigned __int8 *)&byte_F288A0); } m_hasSFX = a1->m_hasSFX; if ( a1->m_hasSFX ) goto LABEL_20; LABEL_36: v42 = a1->m_songInfoObject; if ( !v42 ) { m_downloadBtn = a1->m_downloadBtn; m_unkBool2 = 0; goto LABEL_21; } v43 = v42->m_songID; v44 = MusicDownloadManager::sharedState(); if ( MusicDownloadManager::isSongDownloaded(v44, v43) ) { a1->m_downloadBtn->setVisible(a1->m_downloadBtn, 0); a1->m_cancelDownloadBtn->setVisible(a1->m_cancelDownloadBtn, 0); m_showDownloadBtn = 0; if ( a1->m_songInfoObject->m_unloaded ) m_showDownloadBtn = a1->m_showDownloadBtn; a1->m_getSongInfoBtn->setVisible(a1->m_getSongInfoBtn, m_showDownloadBtn); v46 = a1->m_deleteBtn; setVisible = v46->setVisible; if ( a1->m_showDownloadBtn && !a1->m_getSongInfoBtn->isVisible(a1->m_getSongInfoBtn) ) m_hasSFX = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_deleteBtn->getTag)(a1->m_deleteBtn) != -999; setVisible(v46, m_hasSFX); if ( a1->m_showSelectSongBtn && a1->m_songDelegate ) { a1->m_selectSongBtn->setVisible(a1->m_selectSongBtn, 1); a1->m_deleteBtn->setVisible(a1->m_deleteBtn, 0); v48 = a1->m_selectSongBtn->getNormalImage(a1->m_selectSongBtn); v49 = a1->m_songDelegate->getActiveSongID(a1->m_songDelegate); m_selectSongBtn = a1->m_selectSongBtn; if ( v43 == v49 ) { m_selectSongBtn->setEnabled(a1->m_selectSongBtn, 0); setSkewY = v48->__vftable[1].setSkewY; v107 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v53 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v107, "GJ_selectSongOnBtn_001.png"); } else { m_selectSongBtn->setEnabled(a1->m_selectSongBtn, 1); setSkewY = v48->__vftable[1].setSkewY; v52 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v53 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v52, "GJ_selectSongBtn_001.png"); } ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSpriteFrame *))setSkewY)(v48, v53); } else { a1->m_selectSongBtn->setVisible(a1->m_selectSongBtn, 0); } a1->m_playbackBtn->setVisible(a1->m_playbackBtn, a1->m_showPlayMusicBtn); m_deleteBtn = a1->m_sliderGroove; LABEL_23: (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)m_deleteBtn + 328LL))(m_deleteBtn, 0); m_isMusicLibrary = a1->m_isMusicLibrary; isVisible = (unsigned __int8 (*)(void))a1->m_ncsLogo->isVisible; if ( !a1->m_isMusicLibrary ) goto LABEL_24; goto LABEL_54; } a1->m_selectSongBtn->setVisible(a1->m_selectSongBtn, 0); a1->m_playbackBtn->setVisible(a1->m_playbackBtn, 0); a1->m_deleteBtn->setVisible(a1->m_deleteBtn, 0); m_isRobtopSong = a1->m_isRobtopSong; if ( a1->m_isRobtopSong ) { a1->m_downloadBtn->setVisible(a1->m_downloadBtn, 0); m_sliderGroove = a1->m_cancelDownloadBtn; goto LABEL_22; } v55 = MusicDownloadManager::sharedState(); if ( MusicDownloadManager::isRunningActionForSongID(v55, a1->m_customSongID) || a1->m_isNotDownloading ) { a1->m_downloadBtn->setVisible(a1->m_downloadBtn, 0); v56 = (void (*)(void))a1->m_cancelDownloadBtn->setVisible; v57 = 0; } else { if ( a1->m_songInfoObject->m_unloaded || (v57 = a1->m_showDownloadBtn, v86 = 1, !v57) ) { v86 = 0; v57 = 1; } a1->m_downloadBtn->setVisible(a1->m_downloadBtn, v86); v56 = (void (*)(void))a1->m_cancelDownloadBtn->setVisible; } v56(); if ( a1->m_songInfoObject->m_unloaded ) m_isRobtopSong = a1->m_showDownloadBtn; a1->m_getSongInfoBtn->setVisible(a1->m_getSongInfoBtn, m_isRobtopSong); CustomSongWidget::toggleUpdateButton(a1, v57); m_isMusicLibrary = a1->m_isMusicLibrary; isVisible = (unsigned __int8 (*)(void))a1->m_ncsLogo->isVisible; if ( !a1->m_isMusicLibrary ) { LABEL_24: if ( isVisible() ) { cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_songLabel, 190.0, 0.75, 0.0); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_artistLabel, 165.0, 0.75, 0.0); if ( a1->m_hasSFX ) goto LABEL_26; } else { cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_songLabel, 240.0, 0.8, 0.0); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_artistLabel, 175.0, 0.8, 0.0); if ( a1->m_hasSFX ) { LABEL_26: v27 = a1->m_artistLabel->getPosition(a1->m_artistLabel); v120 = cocos2d::CCNode::convertToWorldSpace(a1, v27); m_moreBtn = a1->m_moreBtn; setPosition = m_moreBtn->setPosition; v30 = (cocos2d::CCNode *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *, float, float))m_moreBtn->getParent)( m_moreBtn, v120.x, v120.y); width = a1->m_artistLabel->getContentSize(a1->m_artistLabel)->width; v32 = a1->m_artistLabel->getScaleX(a1->m_artistLabel); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v117, (float)(width * v32) + 35.0, -2.0); cocos2d::CCPoint::operator+(&v118, &v116, &v117); v121 = cocos2d::CCNode::convertToNodeSpace(v30, (const cocos2d::CCPoint *)&v118); ((void (__fastcall *)(CCMenuItemSpriteExtra *, char **, float, float))setPosition)( m_moreBtn, &v119, v121.x, v121.y); v33 = a1->m_songInfoObject; if ( v33 ) m_isMusicLibrary = !v33->m_unloaded; a1->m_moreBtn->setVisible(a1->m_moreBtn, m_isMusicLibrary); return; } } cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_songIDLabel, 300.0, 0.4, 0.0); goto LABEL_26; } LABEL_54: if ( isVisible() ) v58 = 130.0; else v58 = 140.0; if ( a1->m_ncsLogo->isVisible(a1->m_ncsLogo) ) v59 = 55.0; else v59 = 80.0; cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_songLabel, v58, 0.5, 0.0); v60 = a1->m_songLabel->getContentSize(a1->m_songLabel)->width; v61 = v58 - (float)(v60 * a1->m_songLabel->getScale(a1->m_songLabel)); if ( v61 <= 0.0 ) v61 = 0.0; cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_artistLabel, v59 + v61, 0.5, 0.0); if ( !a1->m_hasSFX ) cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_songIDLabel, 220.0, 0.6, 0.0); v62 = a1->m_songLabel->getContentSize(a1->m_songLabel)->width; v63 = a1->m_songLabel->getScale(a1->m_songLabel); v64 = a1->m_artistLabel->getContentSize(a1->m_artistLabel)->width; v65 = a1->m_artistLabel->getScale(a1->m_artistLabel); v66 = a1->m_moreBtn; v67 = v64 * v65; v68 = v66->setPosition; v69 = v66->getParent(v66); v70 = a1->m_songLabel->getParent(a1->m_songLabel); v113 = a1->m_songLabel->getPosition(a1->m_songLabel); cocos2d::CCPoint::CCPoint(&v116, (float)((float)(v67 * 0.5) + (float)(v62 * v63)) + 4.0, 0.0); cocos2d::CCPoint::operator+(&v117, v113, &v116); cocos2d::CCNode::convertToWorldSpace(v70, (const cocos2d::CCPoint *)&v117); v122 = cocos2d::CCNode::convertToNodeSpace(v69, (const cocos2d::CCPoint *)&v118); ((void (__fastcall *)(CCMenuItemSpriteExtra *, char **, float, float))v68)(v66, &v119, v122.x, v122.y); m_artistLabel = a1->m_artistLabel; setAnchorPoint = m_artistLabel->setAnchorPoint; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, 0.5, 0.5); setAnchorPoint(m_artistLabel, (const cocos2d::CCPoint *)&v119); v73 = a1->m_artistLabel; v74 = v73->setPosition; *(float *)&v113 = a1->m_moreBtn->getContentSize(a1->m_moreBtn)->width * 0.5; v75 = a1->m_moreBtn->getContentSize(a1->m_moreBtn); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, *(float *)&v113, v75->height * 0.5); v74(v73, (const cocos2d::CCPoint *)&v119); }