// // SongInfoObject::getArtistLinks from 0x1001e3400 to 0x1001e35f8 (504 bytes) // // 2 xrefs: // > sub_10013825C @ 0x100138278 // > SongInfoLayer::create_2 @ 0x10044e1e4 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:00:31 +0000 // void __usercall SongInfoObject::getArtistLinks(__int64 a1@, __int64 *a2@) { __int64 *v4; // x8 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x8 __int64 v8; // x11 __int64 v9; // x9 unsigned __int64 v10; // x9 __int64 v11; // x10 int *v12; // x11 __int64 v13; // x13 unsigned __int64 v14; // x12 int v15; // t1 const char *v16; // x9 __int64 v17; // x0 const std::string::value_type *CString; // x0 _DWORD v19[2]; // [xsp+8h] [xbp-58h] BYREF void *v20[2]; // [xsp+10h] [xbp-50h] void *__p[2]; // [xsp+20h] [xbp-40h] BYREF __int128 v22; // [xsp+30h] [xbp-30h] *a2 = 0; a2[1] = 0; a2[2] = 0; v4 = (__int64 *)(a1 + 600); if ( *(int *)(a1 + 316) < 10000000 ) { if ( v4 != a2 ) sub_1001E8D34(a2); v7 = *(char *)(a1 + 367); if ( v7 < 0 ) { if ( !*(_QWORD *)(a1 + 352) ) return; } else if ( !*(_BYTE *)(a1 + 367) ) { return; } v8 = *a2; v9 = a2[1] - *a2; if ( !v9 ) goto LABEL_23; v10 = 0x6DB6DB6DB6DB6DB7LL * (v9 >> 3); v11 = v10 <= 1 ? 1LL : v10; if ( *(_DWORD *)(v8 + 4) != 2 ) { v12 = (int *)(v8 + 60); v13 = 1; do { v14 = v13; if ( v11 == v13 ) break; v15 = *v12; v12 += 14; ++v13; } while ( v15 != 2 ); if ( v14 >= v10 ) { LABEL_23: v16 = (const char *)(a1 + 344); *(_OWORD *)__p = 0u; v22 = 0u; *(_OWORD *)v20 = 0u; v19[0] = *(_DWORD *)(a1 + 392); v19[1] = 2; if ( (v7 & 0x80000000) != 0 ) v16 = *(const char **)v16; v17 = sub_1003065B0("https://%s.newgrounds.com/audio", v16); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v17); std::string::assign((std::string *)&__p[1], CString); sub_1001DD80C((__int64)a2, (__int64)v19); if ( SHIBYTE(v22) < 0 ) operator delete(__p[1]); if ( SHIBYTE(__p[0]) < 0 ) operator delete(v20[0]); } } } else if ( v4 == a2 || (sub_1001E8D34(a2), *a2 == a2[1]) ) { v5 = *(_QWORD *)(MusicDownloadManager::sharedState() + 448); if ( v5 ) { v6 = cocos2d::CCDictionary::objectForKey_1(v5, *(int *)(a1 + 392)); if ( v6 ) { if ( (__int64 *)(v6 + 88) != a2 ) sub_1001E8D34(a2); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source