// // MusicDownloadManager::createArtistsInfo from 0x14033e190 to 0x14033e386 (502 bytes) // // 2 xrefs: // > MusicDownloadManager::createSongsInfo @ 0x14033de45 // > @ 0x1406d5624 // // 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 // // Hidden C++ exception states: #wind=5 cocos2d::CCDictionary *__fastcall MusicDownloadManager::createArtistsInfo(__int64 a1, __int64 *a2) { cocos2d::CCDictionary *v4; // r12 __int64 v5; // rcx void *v6; // rdi char *v7; // r14 unsigned __int64 v8; // r15 unsigned __int64 v9; // rdi const char *v10; // rbx const char *v11; // rcx __int64 v12; // r12 __int64 v13; // rax struct cocos2d::CCObject *v14; // rax __int64 v15; // r8 __int64 i; // rbx char *v17; // rax cocos2d::CCDictionary *v18; // [rsp+20h] [rbp-99h] void *Block[2]; // [rsp+28h] [rbp-91h] BYREF __int64 v20; // [rsp+38h] [rbp-81h] __int128 v21; // [rsp+40h] [rbp-79h] BYREF __int64 v22; // [rsp+50h] [rbp-69h] __int64 v23; // [rsp+58h] [rbp-61h] __int128 v24; // [rsp+60h] [rbp-59h] BYREF __int64 v25; // [rsp+70h] [rbp-49h] __int64 v26; // [rsp+78h] [rbp-41h] __int128 *v27; // [rsp+80h] [rbp-39h] __int128 *v28; // [rsp+88h] [rbp-31h] char v29[32]; // [rsp+98h] [rbp-21h] BYREF __int64 *v30; // [rsp+B8h] [rbp-1h] _BYTE v31[32]; // [rsp+C0h] [rbp+7h] BYREF v30 = a2; if ( a2[2] ) { v4 = nullptr; *(_OWORD *)Block = 0; v20 = 0; sub_1400DE660(a2, ",", (__int64 *)Block); v6 = Block[1]; v7 = (char *)Block[0]; v8 = ((char *)Block[1] - (char *)Block[0]) >> 5; if ( v8 >= 2 ) { v18 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(v5); v9 = 0; v10 = v7; do { v11 = v10; if ( *((_QWORD *)v10 + 3) > 0xFu ) v11 = *(const char **)v10; v12 = atoi(v11); sub_14003BDB0((__int64)v31, (__int64)(v10 + 32)); if ( (int)v12 <= 0 ) { v4 = v18; } else { v27 = &v21; v28 = &v24; v21 = 0; v22 = 0; v23 = 15; LOBYTE(v21) = 0; v24 = 0; v25 = 0; v26 = 15; LOBYTE(v24) = 0; v13 = sub_14003BDB0((__int64)v29, (__int64)v31); v14 = (struct cocos2d::CCObject *)MusicArtistObject::create((unsigned int)v12, v13, &v24, &v21); v15 = v12; v4 = v18; cocos2d::CCDictionary::setObject(v18, v14, v15); } sub_14003A830((__int64)v31); v9 += 2LL; v10 += 64; } while ( v9 < v8 ); v6 = Block[1]; } if ( v7 ) { for ( i = (__int64)v7; (void *)i != v6; i += 32 ) sub_14003A830(i); v17 = v7; if ( ((v20 - (_QWORD)v7) & 0xFFFFFFFFFFFFFFE0uLL) >= 0x1000 ) { v7 = *((char **)v7 - 1); if ( (unsigned __int64)(v17 - v7 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v7); } sub_14003A830((__int64)a2); return v4; } else { sub_14003A830((__int64)a2); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source