// // FMODAudioEngine::loadAndPlayMusic from 0x1003e6e30 to 0x1003e6ed7 (167 bytes) // // 3 xrefs: // > SongOptionsLayer::onPlayback @ 0x100217448 // > CreateGuidelinesLayer::playMusic @ 0x10050c6c9 // > FindBPMLayer::playMusic @ 0x10050d93f // // 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 // FMOD::Channel *__fastcall FMODAudioEngine::loadAndPlayMusic( FMODAudioEngine *a1, __int128 *a2, unsigned int a3, unsigned int a4, double a5) { FMOD::Channel *result; // rax __int128 v8; // [rsp+0h] [rbp-30h] BYREF void *__p; // [rsp+10h] [rbp-20h] if ( (*(_BYTE *)a2 & 1) != 0 ) { sub_100006B70(&v8, *((const void **)a2 + 2), *((_QWORD *)a2 + 1), a5); } else { __p = *((void **)a2 + 2); v8 = *a2; } FMODAudioEngine::loadMusic((__int64)a1, (unsigned __int8 *)&v8, 0, a4, 0, 0, (__m128)0x3F800000u, 0.0, 1.0); if ( (v8 & 1) != 0 ) operator delete(__p); if ( a3 ) FMODAudioEngine::setMusicTimeMS(a1, a3, 0, a4); result = FMODAudioEngine::getActiveMusicChannel(a1, a4); if ( result ) return (FMOD::Channel *)FMOD::ChannelControl::setPaused(result, 0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source