// // FMODAudioEngine::stopAndGetFade from 0x1003d3470 to 0x1003d35bd (333 bytes) // // 6 xrefs: // > FMODAudioEngine::stopChannel @ 0x1003d317a // > FMODAudioEngine::stopChannel_1 @ 0x1003d3344 // > FMODAudioEngine::playMusic @ 0x1003d4516 // > FMODAudioEngine::fadeInMusic @ 0x1003d464a // > FMODAudioEngine::fadeOutMusic @ 0x1003d747a // > FMODAudioEngine::fadeMusic @ 0x1003d7564 // // 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:40 +0000 // __int64 __fastcall FMODAudioEngine::stopAndGetFade(__int64 a1, FMOD::ChannelControl *a2) { unsigned __int64 v3; // [rsp+0h] [rbp-50h] BYREF int v4; // [rsp+Ch] [rbp-44h] BYREF _QWORD v5[3]; // [rsp+10h] [rbp-40h] BYREF int v6; // [rsp+28h] [rbp-28h] BYREF if ( a2 ) { v4 = 0; *(_DWORD *)(a1 + 536) = FMOD_Channel_GetFadePoints(a2, &v4, 0, 0); if ( v4 ) { FMOD_Channel_GetDSPClock(a2, 0, &v3, 1.0); *(_DWORD *)(a1 + 536) = FMOD::ChannelControl::getDSPClock(a2, nullptr, &v3); *(_DWORD *)(a1 + 536) = FMOD_Channel_GetFadePoints(a2, &v4, v5, &v6); FMOD_Channel_RemoveFadePoints(a2, v5[0], v5[1]); } } return __stack_chk_guard; }