// // ArtistCell::onYouTube from 0x100254840 to 0x1002548f0 (176 bytes) // // 1 xrefs: // > ArtistCell::loadFromObject @ 0x100247459 // // 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 ArtistCell::onYouTube(ArtistCell *a1, cocos2d::CCObject *a2) { double v2; // xmm0_8 cocos2d::CCApplication *v3; // rbx SongInfoObject *m_songInfo; // rax std::string *p_m_youtubeChannel; // rax cocos2d::CCString *v6; // rax const char *CString; // rax __int128 v8; // [rsp+0h] [rbp-30h] BYREF void *__p; // [rsp+10h] [rbp-20h] if ( a1->m_songInfo ) { v3 = cocos2d::CCApplication::sharedApplication(); m_songInfo = a1->m_songInfo; if ( (m_songInfo->m_youtubeChannel.m_data.m_short.sizex2 & 1) != 0 ) { sub_100006B70( &v8, m_songInfo->m_youtubeChannel.m_data.m_long.longStorage, m_songInfo->m_youtubeChannel.m_data.m_long.size, v2); } else { p_m_youtubeChannel = &m_songInfo->m_youtubeChannel; __p = p_m_youtubeChannel->m_data.m_long.longStorage; v8 = *(_OWORD *)&p_m_youtubeChannel->m_data.m_short.sizex2; } v6 = (cocos2d::CCString *)sub_1007AB580("https://www.youtube.com/channel/%s", v8); CString = cocos2d::CCString::getCString(v6); ((void (__fastcall *)(cocos2d::CCApplication *, const char *))v3->openURL)(v3, CString); if ( (v8 & 1) != 0 ) operator delete(__p); } }