; ; FindBPMLayer::playMusic from 0x14009bd10 to 0x14009bda6 (150 bytes) ; ; 2 xrefs: ; > @ 0x140542460 ; > @ 0x1406c7530 ; ; 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 ; mov [rsp+arg_10], rbx ; +0x0, 0x14009bd10 push rdi ; +0x5, 0x14009bd15 sub rsp, 40h ; +0x6, 0x14009bd16 mov rbx, rcx ; +0xa, 0x14009bd1a lea rax, [rsp+48h+var_28] ; +0xd, 0x14009bd1d mov [rsp+48h+arg_0], rax ; +0x12, 0x14009bd22 call MusicDownloadManager__sharedState ; +0x17, 0x14009bd27 mov rcx, rax ; +0x1c, 0x14009bd2c mov r8d, [rbx+2E0h] ; +0x1f, 0x14009bd2f lea rdx, [rsp+48h+var_28] ; +0x26, 0x14009bd36 call MusicDownloadManager__pathForSong ; +0x2b, 0x14009bd3b mov rdi, rax ; +0x30, 0x14009bd40 mov rcx, cs:qword_1406C2E88 ; +0x33, 0x14009bd43 test rcx, rcx ; +0x3a, 0x14009bd4a jnz short loc_14009BD7E ; +0x3d, 0x14009bd4d mov ecx, 888h; Size ; +0x3f, 0x14009bd4f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x44, 0x14009bd54 mov [rsp+48h+arg_8], rax ; +0x49, 0x14009bd59 mov rcx, rax ; +0x4e, 0x14009bd5e call FMODAudioEngine__FMODAudioEngine ; +0x51, 0x14009bd61 nop ; +0x56, 0x14009bd66 mov cs:qword_1406C2E88, rax ; +0x57, 0x14009bd67 mov rdx, [rax] ; +0x5e, 0x14009bd6e mov rcx, rax ; +0x61, 0x14009bd71 call qword ptr [rdx+48h] ; +0x64, 0x14009bd74 mov rcx, cs:qword_1406C2E88 ; +0x67, 0x14009bd77 movss xmm0, dword ptr [rbx+2B0h] ; +0x6e, 0x14009bd7e mulss xmm0, cs:dword_14062350C ; +0x76, 0x14009bd86 cvttss2si r8, xmm0 ; +0x7e, 0x14009bd8e mov rdx, rdi ; +0x83, 0x14009bd93 call FMODAudioEngine__loadAndPlayMusic ; +0x86, 0x14009bd96 mov rbx, [rsp+48h+arg_10] ; +0x8b, 0x14009bd9b add rsp, 40h ; +0x90, 0x14009bda0 pop rdi ; +0x94, 0x14009bda4 retn ; +0x95, 0x14009bda5