// // ArtistCell::onYouTube from 0x1001108a0 to 0x100110950 (176 bytes) // // 1 xrefs: // > ArtistCell::loadFromObject @ 0x1001058f8 // // 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) { cocos2d::CCApplication *v3; // x19 SongInfoObject *m_songInfo; // x8 std::string *p_m_youtubeChannel; // x8 void **v6; // x8 cocos2d::CCString *v7; // x0 const char *CString; // x0 void *__p[2]; // [xsp+10h] [xbp-30h] BYREF char *longStorage; // [xsp+20h] [xbp-20h] if ( a1->m_songInfo ) { v3 = cocos2d::CCApplication::sharedApplication(); m_songInfo = a1->m_songInfo; if ( m_songInfo->m_youtubeChannel.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0( __p, (void *)m_songInfo->m_youtubeChannel.m_data.m_long.capacitym1, m_songInfo->m_youtubeChannel.m_data.m_long.size); } else { p_m_youtubeChannel = &m_songInfo->m_youtubeChannel; *(_OWORD *)__p = *(_OWORD *)&p_m_youtubeChannel->m_data.m_short.sizex2; longStorage = p_m_youtubeChannel->m_data.m_long.longStorage; } v6 = __p; if ( SHIBYTE(longStorage) < 0 ) v6 = (void **)__p[0]; v7 = (cocos2d::CCString *)sub_100268F4C("https://www.youtube.com/channel/%s", (const char *)v6); CString = cocos2d::CCString::getCString(v7); ((void (__fastcall *)(cocos2d::CCApplication *, const char *))v3->openURL)(v3, CString); if ( SHIBYTE(longStorage) < 0 ) operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source