// // SongInfoObject::init from 0x577418 to 0x577574 (348 bytes) // // 1 xrefs: // > SongInfoObject::create @ 0x577718 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:43 +0000 // int __fastcall SongInfoObject::init( int a1, int a2, unsigned __int8 *a3, unsigned __int8 *a4, int a5, int a6, unsigned __int8 *a7, int a8, int a9, char a10, int a11, int a12) { int v16; // r8 unsigned __int8 *v17; // r1 int v18; // r7 int v19; // r6 int v20; // r6 int v21; // r3 _BYTE *v22; // r11 int v23; // r3 int v24; // r0 int v25; // r6 int v26; // r7 int v27; // r6 int v28; // r3 _BYTE *v29; // r10 int v30; // r3 int v31; // r0 MusicDownloadManager *v32; // r0 MusicDownloadManager *v33; // r0 int v35[3]; // [sp+0h] [bp-14h] BYREF v16 = cocos2d::CCNode::init((cocos2d::CCNode *)a1); if ( v16 ) { *(_DWORD *)(a1 + 264) = a2; std::string::operator=((unsigned __int8 *)(a1 + 268), a3); v17 = a4; v18 = 0; std::string::operator=((unsigned __int8 *)(a1 + 280), v17); *(_DWORD *)(a1 + 304) = a5; *(_DWORD *)(a1 + 308) = a6; *(_DWORD *)(a1 + 332) = a12; std::string::operator=((unsigned __int8 *)(a1 + 292), a7); *(_DWORD *)(a1 + 312) = a8; *(_BYTE *)(a1 + 344) = a10; *(_DWORD *)(a1 + 348) = a11; std::string::operator=((unsigned __int8 *)(a1 + 472), (unsigned __int8 *)(a1 + 268)); v19 = *(unsigned __int8 *)(a1 + 472); v20 = (v19 & 1) != 0 ? *(_DWORD *)(a1 + 476) : v19 >> 1; while ( v18 != v20 ) { if ( (*(_BYTE *)(a1 + 472) & 1) != 0 ) v21 = *(_DWORD *)(a1 + 480); else v21 = a1 + 473; v22 = (_BYTE *)(v21 + v18); if ( (*(_BYTE *)(a1 + 472) & 1) != 0 ) v23 = *(_DWORD *)(a1 + 480); else v23 = a1 + 473; v24 = *(unsigned __int8 *)(v23 + v18++); *v22 = tolower(v24); } std::string::operator=((unsigned __int8 *)(a1 + 484), (unsigned __int8 *)(a1 + 280)); v25 = *(unsigned __int8 *)(a1 + 484); v26 = 0; v27 = (v25 & 1) != 0 ? *(_DWORD *)(a1 + 488) : v25 >> 1; while ( v26 != v27 ) { if ( (*(_BYTE *)(a1 + 484) & 1) != 0 ) v28 = *(_DWORD *)(a1 + 492); else v28 = a1 + 485; v29 = (_BYTE *)(v28 + v26); if ( (*(_BYTE *)(a1 + 484) & 1) != 0 ) v30 = *(_DWORD *)(a1 + 492); else v30 = a1 + 485; v31 = *(unsigned __int8 *)(v30 + v26++); *v29 = tolower(v31); } std::string::basic_string(v35, a9); SongInfoObject::updateArtists(a1, (unsigned __int8 *)v35); v32 = (MusicDownloadManager *)std::string::~string((int)v35); if ( *(_DWORD *)(a1 + 332) == -1 ) { v33 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v32); *(_DWORD *)(a1 + 332) = MusicDownloadManager::getSongPriority(v33); } } return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source