; ; FMOD::Sound::setSoundGroup from 0x1800aa150 to 0x1800aa25d (269 bytes) ; ; 3 xrefs: ; > FMOD_Sound_SetSoundGroup @ 0x1800c67f9 ; > @ 0x180194348 ; > @ 0x1801fbe44 ; ; 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, 0x1800aa150 push rbp ; +0x5, 0x1800aa155 push rsi ; +0x6, 0x1800aa156 push rdi ; +0x7, 0x1800aa157 sub rsp, 150h ; +0x8, 0x1800aa158 mov rax, cs:__security_cookie ; +0xf, 0x1800aa15f xor rax, rsp ; +0x16, 0x1800aa166 mov [rsp+168h+var_28], rax ; +0x19, 0x1800aa169 mov rsi, rdx ; +0x21, 0x1800aa171 xor r8d, r8d ; +0x24, 0x1800aa174 lea rdx, [rsp+168h+var_138] ; +0x27, 0x1800aa177 mov rbp, rcx ; +0x2c, 0x1800aa17c call sub_1800E1460 ; +0x2f, 0x1800aa17f mov ebx, eax ; +0x34, 0x1800aa184 test eax, eax ; +0x36, 0x1800aa186 jnz short loc_1800AA1F9 ; +0x38, 0x1800aa188 mov rax, [rsp+168h+var_138] ; +0x3a, 0x1800aa18a mov rdi, [rax+0D8h] ; +0x3f, 0x1800aa18f test rdi, rdi ; +0x46, 0x1800aa196 jz short loc_1800AA1F4 ; +0x49, 0x1800aa199 mov rcx, rdi ; +0x4b, 0x1800aa19b call sub_1801021E0 ; +0x4e, 0x1800aa19e mov ebx, eax ; +0x53, 0x1800aa1a3 test eax, eax ; +0x55, 0x1800aa1a5 jnz short loc_1800AA1F9 ; +0x57, 0x1800aa1a7 mov rax, [rsp+168h+var_138] ; +0x59, 0x1800aa1a9 mov ecx, [rax+110h] ; +0x5e, 0x1800aa1ae nop ; +0x64, 0x1800aa1b4 test ecx, ecx ; +0x65, 0x1800aa1b5 jz short loc_1800AA1D1 ; +0x67, 0x1800aa1b7 mov rax, [rsp+168h+var_138] ; +0x69, 0x1800aa1b9 mov ecx, [rax+110h] ; +0x6e, 0x1800aa1be nop ; +0x74, 0x1800aa1c4 cmp ecx, 7 ; +0x75, 0x1800aa1c5 jz short loc_1800AA1D1 ; +0x78, 0x1800aa1c8 mov ebx, 2Eh ; '.' ; +0x7a, 0x1800aa1ca jmp short loc_1800AA1E4 ; +0x7f, 0x1800aa1cf mov rcx, [rsp+168h+var_138] ; +0x81, 0x1800aa1d1 mov rdx, rsi ; +0x86, 0x1800aa1d6 mov rax, [rcx] ; +0x89, 0x1800aa1d9 call qword ptr [rax+0D8h] ; +0x8c, 0x1800aa1dc mov ebx, eax ; +0x92, 0x1800aa1e2 mov rcx, rdi ; +0x94, 0x1800aa1e4 call sub_180102320 ; +0x97, 0x1800aa1e7 test ebx, ebx ; +0x9c, 0x1800aa1ec jnz short loc_1800AA1F9 ; +0x9e, 0x1800aa1ee xor eax, eax ; +0xa0, 0x1800aa1f0 jmp short loc_1800AA23A ; +0xa2, 0x1800aa1f2 mov ebx, 1Ch ; +0xa4, 0x1800aa1f4 mov rax, cs:off_1801AED20 ; +0xa9, 0x1800aa1f9 test byte ptr [rax+10h], 80h ; +0xb0, 0x1800aa200 jz short loc_1800AA238 ; +0xb4, 0x1800aa204 mov r8, rsi ; +0xb6, 0x1800aa206 lea rcx, [rsp+168h+var_128] ; +0xb9, 0x1800aa209 mov edx, 100h ; +0xbe, 0x1800aa20e call sub_1800F3230 ; +0xc3, 0x1800aa213 lea rax, [rsp+168h+var_128] ; +0xc8, 0x1800aa218 mov r8, rbp ; +0xcd, 0x1800aa21d lea r9, aSoundSetsoundg; "Sound::setSoundGroup" ; +0xd0, 0x1800aa220 mov [rsp+168h+var_148], rax ; +0xd7, 0x1800aa227 mov edx, 5 ; +0xdc, 0x1800aa22c mov ecx, ebx ; +0xe1, 0x1800aa231 call sub_1800B20E0 ; +0xe3, 0x1800aa233 mov eax, ebx ; +0xe8, 0x1800aa238 mov rcx, [rsp+168h+var_28] ; +0xea, 0x1800aa23a xor rcx, rsp; StackCookie ; +0xf2, 0x1800aa242 call __security_check_cookie ; +0xf5, 0x1800aa245 mov rbx, [rsp+168h+arg_10] ; +0xfa, 0x1800aa24a add rsp, 150h ; +0x102, 0x1800aa252 pop rdi ; +0x109, 0x1800aa259 pop rsi ; +0x10a, 0x1800aa25a pop rbp ; +0x10b, 0x1800aa25b retn ; +0x10c, 0x1800aa25c