//
// FMODAudioEngine::getMusicTimeMS from 0x3eeb14 to 0x3eeb5a (70 bytes)
//
// 3 xrefs:
// > FMODAudioEngine::getMusicTime @ 0x3eeb62
// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x658280
// > MusicBrowser::update @ 0x6bd2c4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:11 +0000
//
unsigned int __fastcall FMODAudioEngine::getMusicTimeMS(FMODAudioEngine *this, unsigned int a2)
{
int *v3; // r0
FMOD::Channel *v4; // r0
unsigned int v6; // [sp+4h] [bp-10h] BYREF
unsigned int v7; // [sp+8h] [bp-Ch] BYREF
v6 = a2;
v7 = 0;
v3 = std::unordered_map::operator[]((int)this + 264, &v6);
v4 = (FMOD::Channel *)FMODAudioEngine::channelForChannelID(this, *v3);
if ( v4 )
FMOD::Channel::getPosition(v4, &v7, 1u);
return v7;
}