// // MusicDownloadManager::onGetAudioFilesizeCompleted from 0x10064aca0 to 0x10064ae83 (483 bytes) // // 1 xrefs: // > MusicDownloadManager::handleIt @ 0x10064a54f // // 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:47 +0000 // void __fastcall MusicDownloadManager::onGetAudioFilesizeCompleted(__int64 a1, unsigned __int8 *a2) { const void *v3; // rdi unsigned __int64 v4; // rcx size_t v5; // rdx unsigned int v6; // r14d __int64 v7; // rax __int64 v8; // r14 unsigned __int64 v9; // r15 const char *v10; // r14 unsigned int v11; // r14d __int64 v12; // rax __int64 v13; // rbx __int64 v14; // r14 void *v15; // rdi __int128 __s2; // [rsp+0h] [rbp-30h] BYREF __int64 v17; // [rsp+10h] [rbp-20h] MusicDownloadManager::removeDLFromActive(a1, "get_audio_size"); *(_WORD *)((char *)&__s2 + 1) = 12589; BYTE3(__s2) = 0; v3 = a2 + 1; v4 = *a2 >> 1; if ( (*a2 & 1) != 0 ) { v3 = *((const void **)a2 + 2); v4 = *((_QWORD *)a2 + 1); } v5 = 2; if ( v4 < 2 ) v5 = v4; if ( !((v4 != 2) | (memcmp(v3, (char *)&__s2 + 1, v5) != 0)) ) { if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 336)) ) { v6 = 0; do { v7 = sub_1007FEFE0(*(_QWORD *)(a1 + 336), v6); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v7 + 320) + 72LL))(*(_QWORD *)(v7 + 320), 8); ++v6; } while ( v6 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 336)) ); } return; } __s2 = 0; v17 = 0; sub_10064E0E0(a2, ":", &__s2); v8 = __s2; if ( *((_QWORD *)&__s2 + 1) != (_QWORD)__s2 ) { v9 = 0xAAAAAAAAAAAAAAABLL * ((__int64)(*((_QWORD *)&__s2 + 1) - __s2) >> 3); if ( (*(_BYTE *)__s2 & 1) == 0 ) { *(_DWORD *)(a1 + 392) = atoi((const char *)(__s2 + 1)); if ( v9 < 2 ) goto LABEL_19; LABEL_15: if ( (*(_BYTE *)(v8 + 24) & 1) != 0 ) v10 = *(const char **)(v8 + 40); else v10 = (const char *)(v8 + 25); *(_DWORD *)(a1 + 396) = atoi(v10); goto LABEL_19; } *(_DWORD *)(a1 + 392) = atoi(*(const char **)(__s2 + 16)); if ( v9 >= 2 ) goto LABEL_15; } LABEL_19: if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 336)) ) { v11 = 0; do { v12 = sub_1007FEFE0(*(_QWORD *)(a1 + 336), v11); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v12 + 320) + 64LL))(*(_QWORD *)(v12 + 320), 8); ++v11; } while ( v11 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 336)) ); } v13 = __s2; if ( (_QWORD)__s2 ) { v14 = *((_QWORD *)&__s2 + 1); v15 = (void *)__s2; if ( *((_QWORD *)&__s2 + 1) != (_QWORD)__s2 ) { do { if ( (*(_BYTE *)(v14 - 24) & 1) != 0 ) operator delete(*(void **)(v14 - 8)); v14 -= 24; } while ( v14 != v13 ); v15 = (void *)__s2; } *((_QWORD *)&__s2 + 1) = v13; operator delete(v15); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source