// // FMODAudioEngine::countActiveEffects from 0x1003d03b0 to 0x1003d0490 (224 bytes) // // 1 xrefs: // > PlayLayer::updateInfoLabel @ 0x10007dc30 // // 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::countActiveEffects(__int64 a1) { __int64 *v1; // r12 int i; // r15d int v3; // ebx __int128 v5; // [rsp+10h] [rbp-60h] __int128 v6; // [rsp+20h] [rbp-50h] BYREF void *__p; // [rsp+30h] [rbp-40h] __int16 v8; // [rsp+38h] [rbp-38h] __int64 v9; // [rsp+40h] [rbp-30h] v9 = *(_QWORD *)(a1 + 1280); 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 (unsigned int)(v9 - i); }