// // SongInfoObject::init from 0x1001e2090 to 0x1001e2280 (496 bytes) // // 1 xrefs: // > SongInfoObject::create @ 0x1001dda18 // // 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 // __int64 __fastcall SongInfoObject::init( __int64 a1, int a2, const std::string *a3, const std::string *a4, int a5, const std::string *a6, int a7, __int64 a8, float a9, char a10, int a11, int a12) { __int64 v21; // x0 __int64 v22; // x20 __int64 *v23; // x22 __int64 v24; // x23 __int64 i; // x24 __int64 v26; // x8 char v27; // w0 __int64 v28; // x8 __int64 *v29; // x22 __int64 v30; // x23 __int64 j; // x24 __int64 v32; // x8 char v33; // w0 __int64 v34; // x8 __int64 v35; // x0 int v36; // w8 unsigned int v38; // [xsp+Ch] [xbp-84h] void *__p[2]; // [xsp+10h] [xbp-80h] BYREF __int64 v40; // [xsp+20h] [xbp-70h] v21 = cocos2d::CCNode::init(a1); v22 = v21; if ( (_DWORD)v21 ) { v38 = v21; *(_DWORD *)(a1 + 316) = a2; std::string::operator=((std::string *)(a1 + 320), a3); std::string::operator=((std::string *)(a1 + 344), a4); *(_DWORD *)(a1 + 392) = a5; *(float *)(a1 + 396) = a9; *(_DWORD *)(a1 + 436) = a12; std::string::operator=((std::string *)(a1 + 368), a6); *(_DWORD *)(a1 + 400) = a7; *(_BYTE *)(a1 + 448) = a10; v23 = (__int64 *)(a1 + 696); *(_DWORD *)(a1 + 452) = a11; std::string::operator=((std::string *)(a1 + 696), (const std::string *)(a1 + 320)); v24 = *(char *)(a1 + 719); if ( v24 < 0 ) v24 = *(_QWORD *)(a1 + 704); v22 = v38; if ( v24 ) { for ( i = 0; i != v24; ++i ) { v26 = a1 + 696; if ( *(char *)(a1 + 719) < 0 ) v26 = *v23; v27 = __tolower(*(unsigned __int8 *)(v26 + i)); v28 = a1 + 696; if ( *(char *)(a1 + 719) < 0 ) v28 = *v23; *(_BYTE *)(v28 + i) = v27; } } v29 = (__int64 *)(a1 + 720); std::string::operator=((std::string *)(a1 + 720), (const std::string *)(a1 + 344)); v30 = *(char *)(a1 + 743); if ( v30 < 0 ) v30 = *(_QWORD *)(a1 + 728); if ( v30 ) { for ( j = 0; j != v30; ++j ) { v32 = a1 + 720; if ( *(char *)(a1 + 743) < 0 ) v32 = *v29; v33 = __tolower(*(unsigned __int8 *)(v32 + j)); v34 = a1 + 720; if ( *(char *)(a1 + 743) < 0 ) v34 = *v29; *(_BYTE *)(v34 + j) = v33; } } if ( *(char *)(a8 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a8, *(_QWORD *)(a8 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a8; v40 = *(_QWORD *)(a8 + 16); } SongInfoObject::updateArtists(a1, __p); if ( SHIBYTE(v40) < 0 ) operator delete(__p[0]); if ( *(_DWORD *)(a1 + 436) == -1 ) { v35 = MusicDownloadManager::sharedState(); v36 = *(_DWORD *)(v35 + 360) + 1; *(_DWORD *)(v35 + 360) = v36; *(_DWORD *)(a1 + 436) = v36; } } return v22; }
GD Web Decomp Icon

GD Web Decomp

Raw Source