; ; FMODAudioEngine::setMusicTimeMS from 0x1003cfbf0 to 0x1003cfd05 (277 bytes) ; ; 6 xrefs: ; > PlayLayer::prepareMusic @ 0x10008038f ; > GJBaseGameLayer::processSongState @ 0x100141b19 ; > SetupSongTriggerPopup::onPlayback @ 0x1002c0c63 ; > FMODAudioEngine::loadAudioState @ 0x1003cd8a3 ; > FMODAudioEngine::loadAndPlayMusic @ 0x1003d440e ; > MusicBrowser::sliderEnded @ 0x1006e96a8 ; ; This function is hookable on this platform (idp: pc, 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:29:38 +0000 ; push rbp ; +0x0, 0x1003cfbf0 mov rbp, rsp ; +0x1, 0x1003cfbf1 push r15 ; +0x4, 0x1003cfbf4 push r14 ; +0x6, 0x1003cfbf6 push r13 ; +0x8, 0x1003cfbf8 push r12 ; +0xa, 0x1003cfbfa push rbx ; +0xc, 0x1003cfbfc sub rsp, 18h ; +0xd, 0x1003cfbfd mov [rbp+var_3C], edx ; +0x11, 0x1003cfc01 mov r13d, esi ; +0x14, 0x1003cfc04 mov rbx, rdi ; +0x17, 0x1003cfc07 mov [rbp+var_40], ecx ; +0x1a, 0x1003cfc0a lea r14, [rdi+140h] ; +0x1d, 0x1003cfc0d lea r15, [rbp+var_40] ; +0x24, 0x1003cfc14 mov [rbp+var_38], r15 ; +0x28, 0x1003cfc18 lea rdx, unk_100A09642 ; +0x2c, 0x1003cfc1c lea rcx, [rbp+var_38] ; +0x33, 0x1003cfc23 lea r8, [rbp+var_29] ; +0x37, 0x1003cfc27 mov rdi, r14 ; +0x3b, 0x1003cfc2b mov rsi, r15 ; +0x3e, 0x1003cfc2e call sub_1003DC9F0 ; +0x41, 0x1003cfc31 mov esi, [rax+18h] ; +0x46, 0x1003cfc36 mov rdi, rbx ; +0x49, 0x1003cfc39 call FMODAudioEngine__channelForChannelID ; +0x4c, 0x1003cfc3c test rax, rax ; +0x51, 0x1003cfc41 jz loc_1003CFCF6 ; +0x54, 0x1003cfc44 mov r12, rax ; +0x5a, 0x1003cfc4a mov [rbp+var_38], r15 ; +0x5d, 0x1003cfc4d lea rdx, unk_100A09642 ; +0x61, 0x1003cfc51 lea rcx, [rbp+var_38] ; +0x68, 0x1003cfc58 lea r8, [rbp+var_29] ; +0x6c, 0x1003cfc5c mov rdi, r14 ; +0x70, 0x1003cfc60 mov rsi, r15 ; +0x73, 0x1003cfc63 call sub_1003DC9F0 ; +0x76, 0x1003cfc66 mov ecx, [rbx+224h] ; +0x7b, 0x1003cfc6b cmp byte ptr [rax+40h], 0 ; +0x81, 0x1003cfc71 lea eax, [rcx+r13] ; +0x85, 0x1003cfc75 lea esi, [rcx+r13+28h] ; +0x89, 0x1003cfc79 cmovnz esi, eax; unsigned int ; +0x8e, 0x1003cfc7e mov rdi, r12; this ; +0x91, 0x1003cfc81 mov edx, 1; unsigned int ; +0x94, 0x1003cfc84 call __ZN4FMOD7Channel11setPositionEjj; FMOD::Channel::setPosition(uint,uint) ; +0x99, 0x1003cfc89 cmp byte ptr [rbp+var_3C], 0 ; +0x9e, 0x1003cfc8e jnz short loc_1003CFCF6 ; +0xa2, 0x1003cfc92 mov [rbp+var_38], r15 ; +0xa4, 0x1003cfc94 lea rdx, unk_100A09642 ; +0xa8, 0x1003cfc98 lea rcx, [rbp+var_38] ; +0xaf, 0x1003cfc9f lea r8, [rbp+var_29] ; +0xb3, 0x1003cfca3 mov rdi, r14 ; +0xb7, 0x1003cfca7 mov rsi, r15 ; +0xba, 0x1003cfcaa call sub_1003DC9F0 ; +0xbd, 0x1003cfcad mov r14, [rax+20h] ; +0xc2, 0x1003cfcb2 test r14, r14 ; +0xc6, 0x1003cfcb6 jz short loc_1003CFCF6 ; +0xc9, 0x1003cfcb9 lea r15, [rbp+var_38] ; +0xcb, 0x1003cfcbb mov r12d, 45h ; 'E' ; +0xcf, 0x1003cfcbf nop word ptr [rax+rax+00000000h] ; +0xd5, 0x1003cfcc5 mov rdi, r14 ; +0xe0, 0x1003cfcd0 mov rsi, r15 ; +0xe3, 0x1003cfcd3 xor edx, edx ; +0xe6, 0x1003cfcd6 xor ecx, ecx ; +0xe8, 0x1003cfcd8 xor r8d, r8d ; +0xea, 0x1003cfcda call __ZN4FMOD5Sound12getOpenStateEP14FMOD_OPENSTATEPjPbS4_; FMOD::Sound::getOpenState(FMOD_OPENSTATE *,uint *,bool *,bool *) ; +0xed, 0x1003cfcdd mov [rbx+218h], eax ; +0xf2, 0x1003cfce2 mov eax, dword ptr [rbp+var_38] ; +0xf8, 0x1003cfce8 cmp eax, 6 ; +0xfb, 0x1003cfceb ja short loc_1003CFCD0 ; +0xfe, 0x1003cfcee bt r12d, eax ; +0x100, 0x1003cfcf0 jnb short loc_1003CFCD0 ; +0x104, 0x1003cfcf4 add rsp, 18h ; +0x106, 0x1003cfcf6 pop rbx ; +0x10a, 0x1003cfcfa pop r12 ; +0x10b, 0x1003cfcfb pop r13 ; +0x10d, 0x1003cfcfd pop r14 ; +0x10f, 0x1003cfcff pop r15 ; +0x111, 0x1003cfd01 pop rbp ; +0x113, 0x1003cfd03 retn ; +0x114, 0x1003cfd04