; ; FMOD::Sound::getLoopCount from 0x1800a7690 to 0x1800a7772 (226 bytes) ; ; 3 xrefs: ; > FMOD_Sound_GetLoopCount @ 0x1800c65a9 ; > @ 0x180194348 ; > @ 0x1801fb9c4 ; ; 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_10], rbx ; +0x0, 0x1800a7690 mov [rsp+arg_18], rsi ; +0x5, 0x1800a7695 push rdi ; +0xa, 0x1800a769a sub rsp, 150h ; +0xb, 0x1800a769b mov rax, cs:__security_cookie ; +0x12, 0x1800a76a2 xor rax, rsp ; +0x19, 0x1800a76a9 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a76ac mov rdi, rdx ; +0x24, 0x1800a76b4 xor r8d, r8d ; +0x27, 0x1800a76b7 lea rdx, [rsp+158h+var_128] ; +0x2a, 0x1800a76ba mov rsi, rcx ; +0x2f, 0x1800a76bf call sub_1800E1460 ; +0x32, 0x1800a76c2 mov ebx, eax ; +0x37, 0x1800a76c7 test eax, eax ; +0x39, 0x1800a76c9 jnz short loc_1800A76F3 ; +0x3b, 0x1800a76cb mov rax, [rsp+158h+var_128] ; +0x3d, 0x1800a76cd mov ecx, [rax+110h] ; +0x42, 0x1800a76d2 nop ; +0x48, 0x1800a76d8 test ecx, ecx ; +0x49, 0x1800a76d9 jz short loc_1800A7759 ; +0x4b, 0x1800a76db mov rax, [rsp+158h+var_128] ; +0x4d, 0x1800a76dd mov ecx, [rax+110h] ; +0x52, 0x1800a76e2 nop ; +0x58, 0x1800a76e8 cmp ecx, 7 ; +0x59, 0x1800a76e9 jz short loc_1800A7759 ; +0x5c, 0x1800a76ec mov ebx, 2Eh ; '.' ; +0x5e, 0x1800a76ee mov rax, cs:off_1801AED20 ; +0x63, 0x1800a76f3 test byte ptr [rax+10h], 80h ; +0x6a, 0x1800a76fa jz short loc_1800A7732 ; +0x6e, 0x1800a76fe mov r8, rdi ; +0x70, 0x1800a7700 lea rcx, [rsp+158h+var_118] ; +0x73, 0x1800a7703 mov edx, 100h ; +0x78, 0x1800a7708 call sub_1800F3020 ; +0x7d, 0x1800a770d lea rax, [rsp+158h+var_118] ; +0x82, 0x1800a7712 mov r8, rsi ; +0x87, 0x1800a7717 lea r9, aSoundGetloopco; "Sound::getLoopCount" ; +0x8a, 0x1800a771a mov [rsp+158h+var_138], rax ; +0x91, 0x1800a7721 mov edx, 5 ; +0x96, 0x1800a7726 mov ecx, ebx ; +0x9b, 0x1800a772b call sub_1800B20E0 ; +0x9d, 0x1800a772d mov eax, ebx ; +0xa2, 0x1800a7732 mov rcx, [rsp+158h+var_18] ; +0xa4, 0x1800a7734 xor rcx, rsp; StackCookie ; +0xac, 0x1800a773c call __security_check_cookie ; +0xaf, 0x1800a773f lea r11, [rsp+158h+var_8] ; +0xb4, 0x1800a7744 mov rbx, [r11+20h] ; +0xbc, 0x1800a774c mov rsi, [r11+28h] ; +0xc0, 0x1800a7750 mov rsp, r11 ; +0xc4, 0x1800a7754 pop rdi ; +0xc7, 0x1800a7757 retn ; +0xc8, 0x1800a7758 mov rcx, [rsp+158h+var_128] ; +0xc9, 0x1800a7759 mov rdx, rdi ; +0xce, 0x1800a775e mov rax, [rcx] ; +0xd1, 0x1800a7761 call qword ptr [rax+130h] ; +0xd4, 0x1800a7764 mov ebx, eax ; +0xda, 0x1800a776a test eax, eax ; +0xdc, 0x1800a776c jnz short loc_1800A76F3 ; +0xde, 0x1800a776e jmp short loc_1800A7734 ; +0xe0, 0x1800a7770