; ; FMOD_Sound_GetOpenState from 0x1800c6640 to 0x1800c669a (90 bytes) ; ; 3 xrefs: ; > FMOD5_Sound_GetOpenState @ 0x1800f4790 ; > @ 0x180194348 ; > @ 0x1801fe010 ; ; 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 rbx ; +0x0, 0x1800c6640 sub rsp, 40h ; +0x2, 0x1800c6642 mov rbx, r9 ; +0x6, 0x1800c6646 test rcx, rcx ; +0x9, 0x1800c6649 jnz short loc_1800C6657 ; +0xc, 0x1800c664c lea eax, [rcx+1Fh] ; +0xe, 0x1800c664e add rsp, 40h ; +0x11, 0x1800c6651 pop rbx ; +0x15, 0x1800c6655 retn ; +0x16, 0x1800c6656 lea rax, [rsp+48h+var_18] ; +0x17, 0x1800c6657 lea r9, [rsp+48h+arg_0] ; +0x1c, 0x1800c665c mov [rsp+48h+var_28], rax ; +0x21, 0x1800c6661 call ?getOpenState@Sound@FMOD@@QEAA?AW4FMOD_RESULT@@PEAW4FMOD_OPENSTATE@@PEAIPEA_N2@Z; FMOD::Sound::getOpenState(FMOD_OPENSTATE *,uint *,bool *,bool *) ; +0x26, 0x1800c6666 test eax, eax ; +0x2b, 0x1800c666b jnz short loc_1800C6694 ; +0x2d, 0x1800c666d xor edx, edx ; +0x2f, 0x1800c666f test rbx, rbx ; +0x31, 0x1800c6671 jz short loc_1800C6681 ; +0x34, 0x1800c6674 mov ecx, edx ; +0x36, 0x1800c6676 cmp [rsp+48h+arg_0], cl ; +0x38, 0x1800c6678 setnz cl ; +0x3c, 0x1800c667c mov [rbx], ecx ; +0x3f, 0x1800c667f mov rcx, [rsp+48h+arg_20] ; +0x41, 0x1800c6681 test rcx, rcx ; +0x46, 0x1800c6686 jz short loc_1800C6694 ; +0x49, 0x1800c6689 cmp [rsp+48h+var_18], dl ; +0x4b, 0x1800c668b setnz dl ; +0x4f, 0x1800c668f mov [rcx], edx ; +0x52, 0x1800c6692 add rsp, 40h ; +0x54, 0x1800c6694 pop rbx ; +0x58, 0x1800c6698 retn ; +0x59, 0x1800c6699