// // FMODAudioEngine::countActiveMusic from 0x1003d0490 to 0x1003d0546 (182 bytes) // // 1 xrefs: // > PlayLayer::updateInfoLabel @ 0x10007dae8 // // 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:29:39 +0000 // __int64 __fastcall FMODAudioEngine::countActiveMusic(__int64 a1) { __int64 *v1; // r15 unsigned int i; // ebx int v3; // r13d __int128 v5; // [rsp+8h] [rbp-58h] __int128 v6; // [rsp+18h] [rbp-48h] BYREF void *__p; // [rsp+28h] [rbp-38h] __int16 v8; // [rsp+30h] [rbp-30h] v1 = *(__int64 **)(a1 + 336); for ( i = 0; v1; v1 = (__int64 *)*v1 ) { v5 = *(_OWORD *)(v1 + 3); if ( (v1[5] & 1) != 0 ) { sub_10001AD30(&v6, (const void *)v1[7], v1[6]); } else { __p = (void *)v1[7]; v6 = *(_OWORD *)(v1 + 5); } v8 = *((_WORD *)v1 + 32); v3 = 0; if ( (v6 & 1) != 0 ) operator delete(__p); LOBYTE(v3) = (int)v5 > 0; i += v3; } return i; }