// // FMODAudioEngine::setMusicTimeMS from 0x3eeaa8 to 0x3eeb12 (106 bytes) // // 7 xrefs: // > FMODAudioEngine::loadAndPlayMusic @ 0x3eff54 // > FMODAudioEngine::updateQueuedMusic @ 0x3f0226 // > FMODAudioEngine::loadAudioState @ 0x3f15c0 // > PlayLayer::prepareMusic @ 0x402dfa // > GJBaseGameLayer::processSongState @ 0x597eb8 // > SetupSongTriggerPopup::onPlayback @ 0x6586a2 // > MusicBrowser::sliderEnded @ 0x6bd3d2 // // 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 // FMOD::Channel *__fastcall FMODAudioEngine::setMusicTimeMS( FMODAudioEngine *this, unsigned int a2, unsigned int a3, unsigned int a4) { char *v4; // r6 int *v8; // r0 FMOD::Channel *result; // r0 FMOD::Channel *v10; // r7 int v11; // r1 int *v12; // r0 unsigned int v13[2]; // [sp+4h] [bp-8h] BYREF v13[1] = a3; v4 = (char *)this + 264; v13[0] = a4; v8 = std::unordered_map::operator[]((int)this + 264, v13); result = (FMOD::Channel *)FMODAudioEngine::channelForChannelID(this, *v8); v10 = result; if ( result ) { if ( *((_BYTE *)std::unordered_map::operator[]((int)v4, v13) + 20) ) v11 = 0; else v11 = 40; result = (FMOD::Channel *)FMOD::Channel::setPosition(v10, v11 + *((_DWORD *)this + 100) + a2, 1u); if ( !a3 ) { v12 = std::unordered_map::operator[]((int)v4, v13); return (FMOD::Channel *)FMODAudioEngine::waitUntilSoundReady(this, (FMOD::Sound *)v12[1]); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source