// // CustomSongWidget::startMultiAssetDownload from 0x4e5a5c to 0x4e5b46 (234 bytes) // // 1 xrefs: // > CustomSongWidget::onDownload @ 0x4e5bca // // 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:51:05 +0000 // MusicDownloadManager *__fastcall CustomSongWidget::startMultiAssetDownload( CustomSongWidget *this, int a2, int a3, int a4) { int v5; // r1 void *v6; // r2 int v7; // r3 char *v8; // r5 char *v9; // r8 int v10; // r0 int v11; // r2 unsigned int v12; // r3 unsigned int v13; // r1 _DWORD *i; // r5 int v15; // r0 int v16; // r2 unsigned int v17; // r3 unsigned int v18; // r1 int v20; // [sp+4h] [bp-Ch] BYREF int v21[2]; // [sp+8h] [bp-8h] BYREF v20 = a2; v21[0] = a3; v21[1] = a4; v5 = *((_DWORD *)this + 103); v6 = &_stack_chk_guard; while ( 1 ) { v7 = *((_DWORD *)this + 104); if ( v5 == v7 ) break; *((_DWORD *)this + 104) = v7 - 16; } v8 = *((char **)this + 97); v9 = (char *)this + 392; while ( v8 != v9 ) { v10 = *((_DWORD *)v8 + 4); v20 = v10; v11 = (unsigned __int8)v8[20]; if ( !v8[20] ) { v12 = *((_DWORD *)this + 104); v13 = *((_DWORD *)this + 105); v21[0] = 1; if ( v12 >= v13 ) { std::vector::__emplace_back_slow_path((char **)this + 103, &v20, v21); } else { if ( v12 ) { *(_DWORD *)v12 = v10; *(_DWORD *)(v12 + 4) = 1; *(_DWORD *)(v12 + 8) = v11; *(_BYTE *)(v12 + 12) = v11; } *((_DWORD *)this + 104) += 16; } } v8 = (char *)std::__tree_next *>(v8); } for ( i = *((_DWORD **)this + 100); i != (_DWORD *)((char *)this + 404); i = std::__tree_next *>(i) ) { v15 = i[4]; v20 = v15; v16 = *((unsigned __int8 *)i + 20); if ( !*((_BYTE *)i + 20) ) { v17 = *((_DWORD *)this + 104); v18 = *((_DWORD *)this + 105); v21[0] = 2; if ( v17 >= v18 ) { std::vector::__emplace_back_slow_path((char **)this + 103, &v20, v21); } else { if ( v17 ) { *(_DWORD *)v17 = v15; *(_DWORD *)(v17 + 4) = 2; *(_DWORD *)(v17 + 8) = v16; *(_BYTE *)(v17 + 12) = v16; } *((_DWORD *)this + 104) += 16; } } } return CustomSongWidget::processNextMultiAsset(this, v5, (int)v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source