; ; FMODAudioEngine::waitUntilSoundReady from 0x1003e9720 to 0x1003e97b2 (146 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 ; test rsi, rsi ; +0x0, 0x1003e9720 jz loc_1003E97AC ; +0x3, 0x1003e9723 push rbp ; +0x9, 0x1003e9729 mov rbp, rsp ; +0xa, 0x1003e972a push r15 ; +0xd, 0x1003e972d push r14 ; +0xf, 0x1003e972f push r13 ; +0x11, 0x1003e9731 push r12 ; +0x13, 0x1003e9733 push rbx ; +0x15, 0x1003e9735 push rax ; +0x16, 0x1003e9736 mov rbx, rsi ; +0x17, 0x1003e9737 mov r14, rdi ; +0x1a, 0x1003e973a lea r15, [rbp-2Ch] ; +0x1d, 0x1003e973d mov r12d, 45h ; 'E' ; +0x21, 0x1003e9741 nop word ptr [rax+rax+00000000h] ; +0x27, 0x1003e9747 mov rdi, rbx ; +0x30, 0x1003e9750 mov rsi, r15 ; +0x33, 0x1003e9753 xor edx, edx ; +0x36, 0x1003e9756 xor ecx, ecx ; +0x38, 0x1003e9758 xor r8d, r8d ; +0x3a, 0x1003e975a call __ZN4FMOD5Sound12getOpenStateEP14FMOD_OPENSTATEPjPbS4_; FMOD::Sound::getOpenState(FMOD_OPENSTATE *,uint *,bool *,bool *) ; +0x3d, 0x1003e975d mov [r14+210h], eax ; +0x42, 0x1003e9762 mov ecx, [rbp-2Ch] ; +0x49, 0x1003e9769 cmp ecx, 6 ; +0x4c, 0x1003e976c ja short loc_1003E9790 ; +0x4f, 0x1003e976f bt r12d, ecx ; +0x51, 0x1003e9771 mov eax, ecx ; +0x55, 0x1003e9775 jnb short loc_1003E9790 ; +0x57, 0x1003e9777 mov r13d, eax ; +0x59, 0x1003e9779 cmp ecx, 6 ; +0x5c, 0x1003e977c ja short loc_1003E9750 ; +0x5f, 0x1003e977f bt r12d, ecx ; +0x61, 0x1003e9781 mov r13d, eax ; +0x65, 0x1003e9785 jnb short loc_1003E9750 ; +0x68, 0x1003e9788 jmp short loc_1003E979D ; +0x6a, 0x1003e978a align 10h ; +0x6c, 0x1003e978c mov eax, r13d ; +0x70, 0x1003e9790 mov r13d, eax ; +0x73, 0x1003e9793 cmp ecx, 6 ; +0x76, 0x1003e9796 jbe short loc_1003E9781 ; +0x79, 0x1003e9799 jmp short loc_1003E9750 ; +0x7b, 0x1003e979b add rsp, 8 ; +0x7d, 0x1003e979d pop rbx ; +0x81, 0x1003e97a1 pop r12 ; +0x82, 0x1003e97a2 pop r13 ; +0x84, 0x1003e97a4 pop r14 ; +0x86, 0x1003e97a6 pop r15 ; +0x88, 0x1003e97a8 pop rbp ; +0x8a, 0x1003e97aa retn ; +0x8b, 0x1003e97ab mov eax, 2 ; +0x8c, 0x1003e97ac retn ; +0x91, 0x1003e97b1