; ; FMOD::Sound::release from 0x1800a9280 to 0x1800a9356 (214 bytes) ; ; 3 xrefs: ; > FMOD_Sound_Release @ 0x1800c6749 ; > @ 0x180194348 ; > @ 0x1801fbca0 ; ; 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, 0x1800a9280 mov [rsp+arg_10], rsi ; +0x5, 0x1800a9285 push rdi ; +0xa, 0x1800a928a sub rsp, 150h ; +0xb, 0x1800a928b mov rax, cs:__security_cookie ; +0x12, 0x1800a9292 xor rax, rsp ; +0x19, 0x1800a9299 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a929c xor r8d, r8d ; +0x24, 0x1800a92a4 lea rdx, [rsp+158h+var_128] ; +0x27, 0x1800a92a7 mov rsi, rcx ; +0x2c, 0x1800a92ac call sub_1800E1460 ; +0x2f, 0x1800a92af mov ebx, eax ; +0x34, 0x1800a92b4 test eax, eax ; +0x36, 0x1800a92b6 jnz short loc_1800A92FD ; +0x38, 0x1800a92b8 mov rax, [rsp+158h+var_128] ; +0x3a, 0x1800a92ba mov rdi, [rax+0D8h] ; +0x3f, 0x1800a92bf test rdi, rdi ; +0x46, 0x1800a92c6 jz short loc_1800A92F8 ; +0x49, 0x1800a92c9 mov rcx, rdi ; +0x4b, 0x1800a92cb call sub_1801021E0 ; +0x4e, 0x1800a92ce mov ebx, eax ; +0x53, 0x1800a92d3 test eax, eax ; +0x55, 0x1800a92d5 jnz short loc_1800A92FD ; +0x57, 0x1800a92d7 mov rcx, [rsp+158h+var_128] ; +0x59, 0x1800a92d9 mov dl, 1 ; +0x5e, 0x1800a92de mov rax, [rcx] ; +0x60, 0x1800a92e0 call qword ptr [rax+18h] ; +0x63, 0x1800a92e3 mov rcx, rdi ; +0x66, 0x1800a92e6 mov ebx, eax ; +0x69, 0x1800a92e9 call sub_180102320 ; +0x6b, 0x1800a92eb test ebx, ebx ; +0x70, 0x1800a92f0 jnz short loc_1800A92FD ; +0x72, 0x1800a92f2 xor eax, eax ; +0x74, 0x1800a92f4 jmp short loc_1800A9331 ; +0x76, 0x1800a92f6 mov ebx, 1Ch ; +0x78, 0x1800a92f8 mov rax, cs:off_1801AED20 ; +0x7d, 0x1800a92fd test byte ptr [rax+10h], 80h ; +0x84, 0x1800a9304 jz short loc_1800A932F ; +0x88, 0x1800a9308 lea rax, [rsp+158h+var_118] ; +0x8a, 0x1800a930a mov [rsp+158h+var_118], 0 ; +0x8f, 0x1800a930f lea r9, aSoundRelease; "Sound::release" ; +0x94, 0x1800a9314 mov [rsp+158h+var_138], rax ; +0x9b, 0x1800a931b mov r8, rsi ; +0xa0, 0x1800a9320 mov edx, 5 ; +0xa3, 0x1800a9323 mov ecx, ebx ; +0xa8, 0x1800a9328 call sub_1800B20E0 ; +0xaa, 0x1800a932a mov eax, ebx ; +0xaf, 0x1800a932f mov rcx, [rsp+158h+var_18] ; +0xb1, 0x1800a9331 xor rcx, rsp; StackCookie ; +0xb9, 0x1800a9339 call __security_check_cookie ; +0xbc, 0x1800a933c lea r11, [rsp+158h+var_8] ; +0xc1, 0x1800a9341 mov rbx, [r11+18h] ; +0xc9, 0x1800a9349 mov rsi, [r11+20h] ; +0xcd, 0x1800a934d mov rsp, r11 ; +0xd1, 0x1800a9351 pop rdi ; +0xd4, 0x1800a9354 retn ; +0xd5, 0x1800a9355