; ; FMOD::SoundGroup::setMaxAudibleBehavior from 0x1800aafa0 to 0x1800ab06e (206 bytes) ; ; 3 xrefs: ; > FMOD_SoundGroup_SetMaxAudibleBehavior @ 0x1800c64d9 ; > @ 0x180194348 ; > @ 0x1801fbf88 ; ; 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, 0x1800aafa0 mov [rsp+arg_18], rsi ; +0x5, 0x1800aafa5 push rdi ; +0xa, 0x1800aafaa sub rsp, 150h ; +0xb, 0x1800aafab mov rax, cs:__security_cookie ; +0x12, 0x1800aafb2 xor rax, rsp ; +0x19, 0x1800aafb9 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800aafbc mov edi, edx ; +0x24, 0x1800aafc4 mov [rsp+158h+var_128], 0 ; +0x26, 0x1800aafc6 lea rdx, [rsp+158h+var_120] ; +0x2f, 0x1800aafcf mov rsi, rcx ; +0x34, 0x1800aafd4 lea r8, [rsp+158h+var_128] ; +0x37, 0x1800aafd7 call sub_1800DE200 ; +0x3c, 0x1800aafdc mov ebx, eax ; +0x41, 0x1800aafe1 test eax, eax ; +0x43, 0x1800aafe3 jnz short loc_1800AAFF9 ; +0x45, 0x1800aafe5 mov rcx, [rsp+158h+var_120] ; +0x47, 0x1800aafe7 mov edx, edi ; +0x4c, 0x1800aafec call sub_1800DDFA0 ; +0x4e, 0x1800aafee mov ebx, eax ; +0x53, 0x1800aaff3 test eax, eax ; +0x55, 0x1800aaff5 jz short loc_1800AB038 ; +0x57, 0x1800aaff7 mov rax, cs:off_1801AED20 ; +0x59, 0x1800aaff9 test byte ptr [rax+10h], 80h ; +0x60, 0x1800ab000 jz short loc_1800AB038 ; +0x64, 0x1800ab004 mov r8d, edi ; +0x66, 0x1800ab006 lea rcx, [rsp+158h+var_118] ; +0x69, 0x1800ab009 mov edx, 100h ; +0x6e, 0x1800ab00e call sub_1800F2EC0 ; +0x73, 0x1800ab013 lea rax, [rsp+158h+var_118] ; +0x78, 0x1800ab018 mov r8, rsi ; +0x7d, 0x1800ab01d lea r9, aSoundgroupSetm_0; "SoundGroup::setMaxAudibleBehavior" ; +0x80, 0x1800ab020 mov [rsp+158h+var_138], rax ; +0x87, 0x1800ab027 mov edx, 6 ; +0x8c, 0x1800ab02c mov ecx, ebx ; +0x91, 0x1800ab031 call sub_1800B20E0 ; +0x93, 0x1800ab033 mov rcx, [rsp+158h+var_128] ; +0x98, 0x1800ab038 test rcx, rcx ; +0x9d, 0x1800ab03d jz short loc_1800AB047 ; +0xa0, 0x1800ab040 call sub_180102320 ; +0xa2, 0x1800ab042 mov eax, ebx ; +0xa7, 0x1800ab047 mov rcx, [rsp+158h+var_18] ; +0xa9, 0x1800ab049 xor rcx, rsp; StackCookie ; +0xb1, 0x1800ab051 call __security_check_cookie ; +0xb4, 0x1800ab054 lea r11, [rsp+158h+var_8] ; +0xb9, 0x1800ab059 mov rbx, [r11+20h] ; +0xc1, 0x1800ab061 mov rsi, [r11+28h] ; +0xc5, 0x1800ab065 mov rsp, r11 ; +0xc9, 0x1800ab069 pop rdi ; +0xcc, 0x1800ab06c retn ; +0xcd, 0x1800ab06d