// // SongInfoObject::init from 0x100664610 to 0x100664849 (569 bytes) // // 1 xrefs: // > SongInfoObject::create @ 0x10065d86f // // This function is hookable on this platform (idp: pc, 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 12:34:57 +0000 // __int64 __fastcall SongInfoObject::init( __int64 a1, int a2, const std::string *a3, const std::string *a4, int a5, const std::string *a6, float a7, int a8, __int128 *a9, char a10, int a11, int a12) { unsigned int v14; // eax unsigned int v15; // r13d _BYTE *v16; // r12 unsigned int v17; // r14d __int64 v18; // r14 __int64 i; // r15 __int64 v20; // rax char v21; // al __int64 v22; // rcx _BYTE *v23; // r12 unsigned int v24; // r14d __int64 v25; // r14 __int64 j; // r15 __int64 v27; // rax char v28; // al __int64 v29; // rcx __int64 v30; // rax int v31; // ecx __int128 v34; // [rsp+10h] [rbp-50h] BYREF void *__p; // [rsp+20h] [rbp-40h] float v36; // [rsp+2Ch] [rbp-34h] int v37; // [rsp+30h] [rbp-30h] unsigned __int8 v38; // [rsp+37h] [rbp-29h] v36 = a7; v37 = a5; LOBYTE(v14) = cocos2d::CCNode::init(); v15 = v14; if ( !(_BYTE)v14 ) return v15; v38 = v14; *(_DWORD *)(a1 + 316) = a2; std::string::operator=((std::string *)(a1 + 320), a3); std::string::operator=((std::string *)(a1 + 344), a4); *(_DWORD *)(a1 + 392) = v37; *(float *)(a1 + 396) = v36; *(_DWORD *)(a1 + 436) = a12; std::string::operator=((std::string *)(a1 + 368), a6); *(_DWORD *)(a1 + 400) = a8; *(_BYTE *)(a1 + 448) = a10; *(_DWORD *)(a1 + 452) = a11; v16 = (_BYTE *)(a1 + 696); std::string::operator=((std::string *)(a1 + 696), (const std::string *)(a1 + 320)); v17 = *(unsigned __int8 *)(a1 + 696); if ( (v17 & 1) != 0 ) { v18 = *(_QWORD *)(a1 + 704); if ( !v18 ) goto LABEL_12; } else { v18 = v17 >> 1; if ( !v18 ) goto LABEL_12; } for ( i = 0; i != v18; ++i ) { v20 = a1 + 697; if ( (*v16 & 1) != 0 ) v20 = *(_QWORD *)(a1 + 712); v21 = __tolower(*(unsigned __int8 *)(v20 + i)); v22 = a1 + 697; if ( (*v16 & 1) != 0 ) v22 = *(_QWORD *)(a1 + 712); *(_BYTE *)(v22 + i) = v21; } LABEL_12: v23 = (_BYTE *)(a1 + 720); std::string::operator=((std::string *)(a1 + 720), (const std::string *)(a1 + 344)); v24 = *(unsigned __int8 *)(a1 + 720); if ( (v24 & 1) == 0 ) { v25 = v24 >> 1; if ( !v25 ) goto LABEL_22; LABEL_16: for ( j = 0; j != v25; ++j ) { v27 = a1 + 721; if ( (*v23 & 1) != 0 ) v27 = *(_QWORD *)(a1 + 736); v28 = __tolower(*(unsigned __int8 *)(v27 + j)); v29 = a1 + 721; if ( (*v23 & 1) != 0 ) v29 = *(_QWORD *)(a1 + 736); *(_BYTE *)(v29 + j) = v28; } goto LABEL_22; } v25 = *(_QWORD *)(a1 + 728); if ( v25 ) goto LABEL_16; LABEL_22: if ( (*(_BYTE *)a9 & 1) != 0 ) { sub_10001AD30(&v34, *((const void **)a9 + 2), *((_QWORD *)a9 + 1)); } else { __p = *((void **)a9 + 2); v34 = *a9; } v15 = v38; SongInfoObject::updateArtists(a1, &v34); if ( (v34 & 1) != 0 ) operator delete(__p); if ( *(_DWORD *)(a1 + 436) == -1 ) { v30 = MusicDownloadManager::sharedState(); v31 = *(_DWORD *)(v30 + 360) + 1; *(_DWORD *)(v30 + 360) = v31; *(_DWORD *)(a1 + 436) = v31; } return v15; }
GD Web Decomp Icon

GD Web Decomp

Raw Source