; ; FindBPMLayer::calculateBPM from 0x10050d890 to 0x10050d8ec (92 bytes) ; ; 0 xrefs: ; ; 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 eax, [rdi+2ECh] ; +0x0, 0x10050d890 cmp eax, 2 ; +0x6, 0x10050d896 jl short locret_10050D8EB ; +0x9, 0x10050d899 push rbp ; +0xb, 0x10050d89b mov rbp, rsp ; +0xc, 0x10050d89c movss xmm0, dword ptr [rdi+2B0h] ; +0xf, 0x10050d89f subss xmm0, dword ptr [rdi+2E8h] ; +0x17, 0x10050d8a7 dec eax ; +0x1f, 0x10050d8af cvtsi2ss xmm1, eax ; +0x21, 0x10050d8b1 divss xmm0, xmm1 ; +0x25, 0x10050d8b5 movss xmm1, cs:dword_100815028 ; +0x29, 0x10050d8b9 divss xmm1, xmm0 ; +0x31, 0x10050d8c1 movaps xmm0, cs:xmmword_1008150B0 ; +0x35, 0x10050d8c5 andps xmm0, xmm1 ; +0x3c, 0x10050d8cc orps xmm0, cs:xmmword_1008150C0 ; +0x3f, 0x10050d8cf addss xmm0, xmm1 ; +0x46, 0x10050d8d6 roundss xmm0, xmm0, 0Bh ; +0x4a, 0x10050d8da cvttss2si eax, xmm0 ; +0x50, 0x10050d8e0 mov [rdi+2F0h], eax ; +0x54, 0x10050d8e4 pop rbp ; +0x5a, 0x10050d8ea retn ; +0x5b, 0x10050d8eb