// // FMODAudioEngine::setMusicTimeMS from 0x6d6968 to 0x6d6a2c (196 bytes) // // 8 xrefs: // > FMODAudioEngine::loadAndPlayMusic @ 0x6d8e08 // > FMODAudioEngine::updateQueuedMusic @ 0x6d92f8 // > FMODAudioEngine::loadAudioState @ 0x6db498 // > PlayLayer::prepareMusic @ 0x6f758c // > GJBaseGameLayer::processSongState @ 0x9ab37c // > SetupSongTriggerPopup::onPlayback @ 0xaea1a0 // > MusicBrowser::sliderEnded @ 0xb83acc // > @ 0xb6218 // // This function is hookable on this platform (idp: arm, 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:51:30 +0000 // FMOD::Channel *__fastcall FMODAudioEngine::setMusicTimeMS(FMODAudioEngine *this, int a2, unsigned __int8 a3, int a4) { char *v5; // x21 int v7; // w23 int *v8; // x0 FMOD::Channel *result; // x0 FMOD::Channel *v10; // x22 int v11; // w2 __int64 v12; // x0 int v13; // [xsp+4Ch] [xbp+4Ch] BYREF v5 = (char *)this + 320; v13 = a4; v7 = a3; v8 = (int *)std::unordered_map::operator[]((__int64)this + 320, &v13); result = (FMOD::Channel *)FMODAudioEngine::channelForChannelID(this, *v8); v10 = result; if ( result ) { if ( *(_BYTE *)(std::unordered_map::operator[]((__int64)v5, &v13) + 40) ) v11 = 0; else v11 = 40; result = (FMOD::Channel *)FMOD::Channel::setPosition(v10, a2 + *((_DWORD *)this + 137) + v11, 1u); if ( !v7 ) { v12 = std::unordered_map::operator[]((__int64)v5, &v13); return (FMOD::Channel *)FMODAudioEngine::waitUntilSoundReady(this, *(FMOD::Sound **)(v12 + 8)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source