// // SongInfoObject::init from 0x10015b378 to 0x10015b4f4 (380 bytes) // // 1 xrefs: // > SongInfoObject::create @ 0x100159180 // // 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 // bool __fastcall SongInfoObject::init( __int64 a1, int a2, const std::string *a3, const std::string *a4, int a5, const std::string *a6, const std::string *a7, const std::string *a8, float a9, const std::string *a10, int a11, __int64 a12, char a13, int a14, int a15) { _BOOL8 v24; // x20 MusicDownloadManager *v25; // x0 int v26; // w8 void *__p[2]; // [xsp+20h] [xbp-80h] BYREF __int64 v29; // [xsp+30h] [xbp-70h] v24 = cocos2d::CCNode::init((cocos2d::CCNode *)a1); if ( v24 ) { *(_DWORD *)(a1 + 316) = a2; std::string::operator=((std::string *)(a1 + 320), a3); std::string::operator=((std::string *)(a1 + 344), a4); *(_DWORD *)(a1 + 464) = a5; *(float *)(a1 + 468) = a9; std::string::operator=((std::string *)(a1 + 368), a6); std::string::operator=((std::string *)(a1 + 392), a7); *(_DWORD *)(a1 + 508) = a15; std::string::operator=((std::string *)(a1 + 416), a8); std::string::operator=((std::string *)(a1 + 440), a10); *(_DWORD *)(a1 + 472) = a11; *(_BYTE *)(a1 + 520) = a13; *(_DWORD *)(a1 + 524) = a14; if ( *(char *)(a12 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a12, *(_QWORD *)(a12 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a12; v29 = *(_QWORD *)(a12 + 16); } SongInfoObject::updateArtists(a1, __p); if ( SHIBYTE(v29) < 0 ) operator delete(__p[0]); if ( *(_DWORD *)(a1 + 508) == -1 ) { v25 = MusicDownloadManager::sharedState(); v26 = v25->m_songPriority + 1; v25->m_songPriority = v26; *(_DWORD *)(a1 + 508) = v26; } } return v24; }
GD Web Decomp Icon

GD Web Decomp

Raw Source