; ; FMODAudioEngine::updateBackgroundFade from 0x1003ccaa0 to 0x1003ccb4a (170 bytes) ; ; 0 xrefs: ; ; 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 12:29:37 +0000 ; movss xmm0, dword ptr [rdi+1C4h] ; +0x0, 0x1003ccaa0 xorps xmm1, xmm1 ; +0x8, 0x1003ccaa8 ucomiss xmm0, xmm1 ; +0xb, 0x1003ccaab jnz short loc_1003CCAB6 ; +0xe, 0x1003ccaae jnp locret_1003CCB49 ; +0x10, 0x1003ccab0 push rbp ; +0x16, 0x1003ccab6 mov rbp, rsp ; +0x17, 0x1003ccab7 push rbx ; +0x1a, 0x1003ccaba push rax ; +0x1b, 0x1003ccabb mov rbx, rdi ; +0x1c, 0x1003ccabc ucomiss xmm1, xmm0 ; +0x1f, 0x1003ccabf movss xmm1, dword ptr [rdi+24Ch] ; +0x22, 0x1003ccac2 jbe short loc_1003CCAD7 ; +0x2a, 0x1003ccaca movss dword ptr [rbx+1C4h], xmm1 ; +0x2c, 0x1003ccacc movaps xmm0, xmm1 ; +0x34, 0x1003ccad4 subss xmm1, xmm0 ; +0x37, 0x1003ccad7 movss xmm0, dword ptr [rbx+1C0h] ; +0x3b, 0x1003ccadb movss dword ptr [rbp-0Ch], xmm1 ; +0x43, 0x1003ccae3 divss xmm1, xmm0 ; +0x48, 0x1003ccae8 xorps xmm2, xmm2 ; +0x4c, 0x1003ccaec xorps xmm3, xmm3 ; +0x4f, 0x1003ccaef cmpltps xmm3, xmm0 ; +0x52, 0x1003ccaf2 movss xmm0, cs:alpha ; +0x56, 0x1003ccaf6 movaps xmm4, xmm1 ; +0x5e, 0x1003ccafe cmpltps xmm4, xmm0 ; +0x61, 0x1003ccb01 andps xmm4, xmm3 ; +0x65, 0x1003ccb05 movd eax, xmm4 ; +0x68, 0x1003ccb08 test al, 1 ; +0x6c, 0x1003ccb0c jz short loc_1003CCB17 ; +0x6e, 0x1003ccb0e maxss xmm1, xmm2 ; +0x70, 0x1003ccb10 movaps xmm0, xmm1 ; +0x74, 0x1003ccb14 mov rdi, [rbx+1E0h]; this ; +0x77, 0x1003ccb17 mulss xmm0, dword ptr [rbx+1B8h]; float ; +0x7e, 0x1003ccb1e call __ZN4FMOD14ChannelControl9setVolumeEf; FMOD::ChannelControl::setVolume(float) ; +0x86, 0x1003ccb26 movss xmm0, dword ptr [rbp-0Ch] ; +0x8b, 0x1003ccb2b ucomiss xmm0, dword ptr [rbx+1C0h] ; +0x90, 0x1003ccb30 jb short loc_1003CCB43 ; +0x97, 0x1003ccb37 mov dword ptr [rbx+1C4h], 0 ; +0x99, 0x1003ccb39 add rsp, 8 ; +0xa3, 0x1003ccb43 pop rbx ; +0xa7, 0x1003ccb47 pop rbp ; +0xa8, 0x1003ccb48 retn ; +0xa9, 0x1003ccb49