; ; FMOD_DSP_GetMeteringEnabled from 0x1800c5c40 to 0x1800c5ca1 (97 bytes) ; ; 3 xrefs: ; > FMOD5_DSP_GetMeteringEnabled @ 0x1800f4160 ; > @ 0x180194348 ; > @ 0x1801fdfbc ; ; 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_8], rbx ; +0x0, 0x1800c5c40 push rdi ; +0x5, 0x1800c5c45 sub rsp, 20h ; +0x6, 0x1800c5c46 mov rbx, r8 ; +0xa, 0x1800c5c4a mov rdi, rdx ; +0xd, 0x1800c5c4d test rcx, rcx ; +0x10, 0x1800c5c50 jnz short loc_1800C5C63 ; +0x13, 0x1800c5c53 lea eax, [rcx+1Fh] ; +0x15, 0x1800c5c55 mov rbx, [rsp+28h+arg_8] ; +0x18, 0x1800c5c58 add rsp, 20h ; +0x1d, 0x1800c5c5d pop rdi ; +0x21, 0x1800c5c61 retn ; +0x22, 0x1800c5c62 lea r8, [rsp+28h+arg_18] ; +0x23, 0x1800c5c63 lea rdx, [rsp+28h+arg_0] ; +0x28, 0x1800c5c68 call ?getMeteringEnabled@DSP@FMOD@@QEAA?AW4FMOD_RESULT@@PEA_N0@Z; FMOD::DSP::getMeteringEnabled(bool *,bool *) ; +0x2d, 0x1800c5c6d test eax, eax ; +0x32, 0x1800c5c72 jnz short loc_1800C5C96 ; +0x34, 0x1800c5c74 xor edx, edx ; +0x36, 0x1800c5c76 test rdi, rdi ; +0x38, 0x1800c5c78 jz short loc_1800C5C88 ; +0x3b, 0x1800c5c7b mov ecx, edx ; +0x3d, 0x1800c5c7d cmp [rsp+28h+arg_0], cl ; +0x3f, 0x1800c5c7f setnz cl ; +0x43, 0x1800c5c83 mov [rdi], ecx ; +0x46, 0x1800c5c86 test rbx, rbx ; +0x48, 0x1800c5c88 jz short loc_1800C5C96 ; +0x4b, 0x1800c5c8b cmp [rsp+28h+arg_18], dl ; +0x4d, 0x1800c5c8d setnz dl ; +0x51, 0x1800c5c91 mov [rbx], edx ; +0x54, 0x1800c5c94 mov rbx, [rsp+28h+arg_8] ; +0x56, 0x1800c5c96 add rsp, 20h ; +0x5b, 0x1800c5c9b pop rdi ; +0x5f, 0x1800c5c9f retn ; +0x60, 0x1800c5ca0