// // FMODAudioEngine::channelUnlinkSound from 0x10013c0f0 to 0x10013c1d0 (224 bytes) // // 1 xrefs: // > FMODAudioEngine::unregisterChannel @ 0x10013c0dc // // 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 // void __fastcall FMODAudioEngine::channelUnlinkSound(FMODAudioEngine *a1, int a2) { __int64 v3; // x0 __int64 v4; // x0 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF __int64 v6; // [xsp+10h] [xbp-30h] int v7; // [xsp+20h] [xbp-20h] BYREF char v8; // [xsp+27h] [xbp-19h] BYREF void **v9; // [xsp+28h] [xbp-18h] BYREF v7 = a2; if ( sub_100018814(&a1->m_channelIDToSoundPath.__table_.__bucket_list_.__ptr_.__value_, &v7) ) { v9 = (void **)&v7; v3 = sub_100140AE0(&a1->m_channelIDToSoundPath, &v7, &unk_100637FD3, &v9, &v8); if ( *(char *)(v3 + 47) < 0 ) { sub_1000097D0(__p, *(void **)(v3 + 24), *(_QWORD *)(v3 + 32)); } else { *(_OWORD *)__p = *(_OWORD *)(v3 + 24); v6 = *(_QWORD *)(v3 + 40); } if ( sub_10013FF3C(&a1->m_fmodSounds) ) { v9 = __p; v4 = sub_100140034(&a1->m_fmodSounds, __p, &unk_100637FD3, &v9, &v8); --*(_DWORD *)(v4 + 76); sub_100140A64(&a1->m_channelIDToSoundPath, &v7); } if ( SHIBYTE(v6) < 0 ) operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source