; ; FMODAudioEngine::getMusicLengthMS from 0x140065130 to 0x1400651b1 (129 bytes) ; ; 4 xrefs: ; > MusicBrowser::update @ 0x14047bc82 ; > MusicBrowser::sliderEnded @ 0x14047c20f ; > SetupSongTriggerPopup::updateSongTimeSlider @ 0x1405f330c ; > @ 0x140910d60 ; ; 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 11:25:45 +0000 ; mov [rsp+arg_8], edx ; +0x0, 0x140065130 push rbx ; +0x4, 0x140065134 sub rsp, 40h ; +0x5, 0x140065135 mov rbx, rcx ; +0x9, 0x140065139 mov [rsp+48h+var_28], 0 ; +0xc, 0x14006513c add rcx, 140h ; +0x14, 0x140065144 mov [rsp+48h+arg_8], 0 ; +0x1b, 0x14006514b lea r8, [rsp+48h+var_28] ; +0x23, 0x140065153 lea rdx, [rsp+48h+var_20] ; +0x28, 0x140065158 call sub_140068620 ; +0x2d, 0x14006515d mov rcx, rbx ; +0x32, 0x140065162 mov rdx, [rax] ; +0x35, 0x140065165 mov edx, [rdx+18h] ; +0x38, 0x140065168 call FMODAudioEngine__channelForChannelID ; +0x3b, 0x14006516b test rax, rax ; +0x40, 0x140065170 jz short loc_1400651A7 ; +0x43, 0x140065173 lea rdx, [rsp+48h+arg_0] ; +0x45, 0x140065175 mov [rsp+48h+arg_0], 0 ; +0x4a, 0x14006517a mov rcx, rax ; +0x53, 0x140065183 call cs:?getCurrentSound@Channel@FMOD@@QEAA?AW4FMOD_RESULT@@PEAPEAVSound@2@@Z; FMOD::Channel::getCurrentSound(FMOD::Sound * *) ; +0x56, 0x140065186 mov rcx, [rsp+48h+arg_0] ; +0x5c, 0x14006518c test rcx, rcx ; +0x61, 0x140065191 jz short loc_1400651A7 ; +0x64, 0x140065194 mov r8d, 1 ; +0x66, 0x140065196 lea rdx, [rsp+48h+arg_8] ; +0x6c, 0x14006519c call cs:?getLength@Sound@FMOD@@QEAA?AW4FMOD_RESULT@@PEAII@Z; FMOD::Sound::getLength(uint *,uint) ; +0x71, 0x1400651a1 mov eax, [rsp+48h+arg_8] ; +0x77, 0x1400651a7 add rsp, 40h ; +0x7b, 0x1400651ab pop rbx ; +0x7f, 0x1400651af retn ; +0x80, 0x1400651b0