; ; FMODAudioEngine::lengthForSound from 0x1003e66b0 to 0x1003e6703 (83 bytes) ; ; 2 xrefs: ; > SetupSFXPopup::createSFXWidget @ 0x1004ba0d9 ; > SetupSFXPopup::onClose @ 0x1004ba3b8 ; ; 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, 0x1003e66b0 mov rbp, rsp ; +0x1, 0x1003e66b1 push r14 ; +0x4, 0x1003e66b4 push rbx ; +0x6, 0x1003e66b6 sub rsp, 10h ; +0x7, 0x1003e66b7 mov rbx, rsi ; +0xb, 0x1003e66bb mov r14, rdi ; +0xe, 0x1003e66be add r14, 168h ; +0x11, 0x1003e66c1 mov rdi, r14 ; +0x18, 0x1003e66c8 call sub_1003EC6B0 ; +0x1b, 0x1003e66cb test rax, rax ; +0x20, 0x1003e66d0 jz short loc_1003E66F8 ; +0x23, 0x1003e66d3 mov [rbp+var_20], rbx ; +0x25, 0x1003e66d5 lea rdx, unk_10081B0A2 ; +0x29, 0x1003e66d9 lea rcx, [rbp+var_20] ; +0x30, 0x1003e66e0 lea r8, [rbp+var_11] ; +0x34, 0x1003e66e4 mov rdi, r14 ; +0x38, 0x1003e66e8 mov rsi, rbx ; +0x3b, 0x1003e66eb call sub_1003EC940 ; +0x3e, 0x1003e66ee mov eax, [rax+48h] ; +0x43, 0x1003e66f3 jmp short loc_1003E66FA ; +0x46, 0x1003e66f6 xor eax, eax ; +0x48, 0x1003e66f8 add rsp, 10h ; +0x4a, 0x1003e66fa pop rbx ; +0x4e, 0x1003e66fe pop r14 ; +0x4f, 0x1003e66ff pop rbp ; +0x51, 0x1003e6701 retn ; +0x52, 0x1003e6702