// // ArtistCell::onNewgrounds from 0x60be34 to 0x60bf50 (284 bytes) // // 3 xrefs: // > @ 0x85230 // > ArtistCell::loadFromObject @ 0x616520 // > @ 0x122c7e0 // // 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 ArtistCell::onNewgrounds(ArtistCell *a1, cocos2d::CCObject *a2) { cocos2d::CCApplication *v3; // x21 std::string *p_m_artistName; // x1 void (__fastcall *openURL)(cocos2d::CCApplication *__hidden, const unsigned __int8 *); // x20 double v6; // d0 cocos2d::CCString *v7; // x0 const char *CString; // x0 char *v9; // x0 unsigned int *v10; // x2 int v11; // w1 char *v12; // [xsp+40h] [xbp+40h] BYREF if ( a1->m_songInfo ) { v3 = cocos2d::CCApplication::sharedApplication(); p_m_artistName = &a1->m_songInfo->m_artistName; openURL = v3->openURL; *(_QWORD *)&v6 = sub_D18D28(&v12, p_m_artistName).n128_u64[0]; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"https://%s.newgrounds.com/audio", v12, v6); CString = cocos2d::CCString::getCString(v7); openURL(v3, (const unsigned __int8 *)CString); v9 = v12 - 24; if ( v12 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v10 = (unsigned int *)(v12 - 8); do v11 = __ldaxr(v10); while ( __stlxr(v11 - 1, v10) ); } else { v11 = *((_DWORD *)v12 - 2); *((_DWORD *)v12 - 2) = v11 - 1; } if ( v11 <= 0 ) operator delete(v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source