; ; FMODAudioEngine::getMusicLengthMS from 0x1003e98b0 to 0x1003e9937 (135 bytes) ; ; 3 xrefs: ; > SetupSongTriggerPopup::updateSongTimeSlider @ 0x1002d3e71 ; > MusicBrowser::update @ 0x10060f067 ; > MusicBrowser::sliderEnded @ 0x10060f1ab ; ; 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 ; push rbp ; +0x0, 0x1003e98b0 mov rbp, rsp ; +0x1, 0x1003e98b1 push rbx ; +0x4, 0x1003e98b4 sub rsp, 18h ; +0x5, 0x1003e98b5 mov rbx, rdi ; +0x9, 0x1003e98b9 mov [rbp+var_1C], esi ; +0xc, 0x1003e98bc mov [rbp+var_10], 0 ; +0xf, 0x1003e98bf add rdi, 140h ; +0x16, 0x1003e98c6 lea rsi, [rbp+var_1C] ; +0x1d, 0x1003e98cd mov [rbp+var_18], rsi ; +0x21, 0x1003e98d1 lea rdx, unk_10081B0A2 ; +0x25, 0x1003e98d5 lea rcx, [rbp+var_18] ; +0x2c, 0x1003e98dc lea r8, [rbp+var_9] ; +0x30, 0x1003e98e0 call sub_1003EF570 ; +0x34, 0x1003e98e4 mov esi, [rax+18h] ; +0x39, 0x1003e98e9 mov rdi, rbx ; +0x3c, 0x1003e98ec call FMODAudioEngine__channelForChannelID ; +0x3f, 0x1003e98ef test rax, rax ; +0x44, 0x1003e98f4 jz short loc_1003E992E ; +0x47, 0x1003e98f7 mov [rbp+var_18], 0 ; +0x49, 0x1003e98f9 lea rsi, [rbp+var_18]; FMOD::Sound ** ; +0x51, 0x1003e9901 mov rdi, rax; this ; +0x55, 0x1003e9905 call __ZN4FMOD7Channel15getCurrentSoundEPPNS_5SoundE; FMOD::Channel::getCurrentSound(FMOD::Sound **) ; +0x58, 0x1003e9908 mov rdi, [rbp+var_18]; this ; +0x5d, 0x1003e990d test rdi, rdi ; +0x61, 0x1003e9911 jz short loc_1003E992E ; +0x64, 0x1003e9914 lea rsi, [rbp+var_10]; unsigned int * ; +0x66, 0x1003e9916 mov edx, 1; unsigned int ; +0x6a, 0x1003e991a call __ZN4FMOD5Sound9getLengthEPjj; FMOD::Sound::getLength(uint *,uint) ; +0x6f, 0x1003e991f mov eax, [rbp+var_10] ; +0x74, 0x1003e9924 add rsp, 18h ; +0x77, 0x1003e9927 pop rbx ; +0x7b, 0x1003e992b pop rbp ; +0x7c, 0x1003e992c retn ; +0x7d, 0x1003e992d xor eax, eax ; +0x7e, 0x1003e992e add rsp, 18h ; +0x80, 0x1003e9930 pop rbx ; +0x84, 0x1003e9934 pop rbp ; +0x85, 0x1003e9935 retn ; +0x86, 0x1003e9936