// // FMODAudioEngine::getMusicTime from 0x1003e9830 to 0x1003e98a6 (118 bytes) // // 1 xrefs: // > DrawGridLayer::update @ 0x10010109d // // 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 // float __fastcall FMODAudioEngine::getMusicTime(FMODAudioEngine *a1, int a2) { __int64 v2; // rax FMOD::Channel *v3; // rax float v4; // xmm0_4 int *v6; // [rsp+0h] [rbp-20h] BYREF int v7; // [rsp+Ch] [rbp-14h] BYREF unsigned int v8; // [rsp+10h] [rbp-10h] BYREF _BYTE v9[9]; // [rsp+17h] [rbp-9h] BYREF v7 = a2; v8 = 0; v6 = &v7; v2 = sub_1003EF570(&a1->m_fmodMusic, &v7, &unk_10081B0A2, &v6, v9); v3 = FMODAudioEngine::channelForChannelID(a1, *(_DWORD *)(v2 + 24)); if ( v3 ) { FMOD::Channel::getPosition(v3, &v8, 1u); v4 = (float)(int)v8; } else { v4 = 0.0; } return v4 / 1000.0; }