; ; FMOD::ChannelControl::get3DMinMaxDistance from 0x18000ad70 to 0x18000aea5 (309 bytes) ; ; 6 xrefs: ; > FMOD_ChannelGroup_Get3DMinMaxDistance @ 0x1800c4ef9 ; > FMOD_Channel_Get3DMinMaxDistance @ 0x1800c54b9 ; > @ 0x18017e4b4 ; > @ 0x18017e4e8 ; > @ 0x180194348 ; > @ 0x1801f6624 ; ; 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 r11, rsp ; +0x0, 0x18000ad70 push rsi ; +0x3, 0x18000ad73 sub rsp, 170h ; +0x4, 0x18000ad74 mov rax, cs:__security_cookie ; +0xb, 0x18000ad7b xor rax, rsp ; +0x12, 0x18000ad82 mov [rsp+178h+var_38], rax ; +0x15, 0x18000ad85 mov [r11-10h], rbx ; +0x1d, 0x18000ad8d mov rbx, rdx ; +0x21, 0x18000ad91 mov [r11-18h], rbp ; +0x24, 0x18000ad94 lea rdx, [rsp+178h+var_140] ; +0x28, 0x18000ad98 mov rbp, r8 ; +0x2d, 0x18000ad9d mov [r11-28h], r14 ; +0x30, 0x18000ada0 lea r8, [rsp+178h+var_148] ; +0x34, 0x18000ada4 mov [rsp+178h+var_148], 0 ; +0x39, 0x18000ada9 mov r14, rcx ; +0x42, 0x18000adb2 call sub_180012360 ; +0x45, 0x18000adb5 mov esi, eax ; +0x4a, 0x18000adba test eax, eax ; +0x4c, 0x18000adbc jnz short loc_18000ADDE ; +0x4e, 0x18000adbe mov rcx, [rsp+178h+var_140] ; +0x50, 0x18000adc0 mov r8, rbp ; +0x55, 0x18000adc5 mov rdx, rbx ; +0x58, 0x18000adc8 mov rax, [rcx] ; +0x5b, 0x18000adcb call qword ptr [rax+158h] ; +0x5e, 0x18000adce mov esi, eax ; +0x64, 0x18000add4 test eax, eax ; +0x66, 0x18000add6 jz loc_18000AE63 ; +0x68, 0x18000add8 mov rax, cs:off_1801AED20 ; +0x6e, 0x18000adde test byte ptr [rax+10h], 80h ; +0x75, 0x18000ade5 jz short loc_18000AE63 ; +0x79, 0x18000ade9 mov [rsp+178h+var_20], rdi ; +0x7b, 0x18000adeb lea rcx, [rsp+178h+var_138] ; +0x83, 0x18000adf3 mov edi, 100h ; +0x88, 0x18000adf8 mov r8, rbx ; +0x8d, 0x18000adfd mov edx, edi ; +0x90, 0x18000ae00 call sub_1800F30A0 ; +0x92, 0x18000ae02 movsxd rbx, eax ; +0x97, 0x18000ae07 lea rcx, [rsp+178h+var_138] ; +0x9a, 0x18000ae0a mov edx, edi ; +0x9f, 0x18000ae0f lea r8, asc_18014572C; ", " ; +0xa1, 0x18000ae11 sub edx, ebx ; +0xa8, 0x18000ae18 add rcx, rbx; void * ; +0xaa, 0x18000ae1a call sub_1800F2F70 ; +0xad, 0x18000ae1d add ebx, eax ; +0xb2, 0x18000ae22 lea rcx, [rsp+178h+var_138] ; +0xb4, 0x18000ae24 movsxd rax, ebx ; +0xb9, 0x18000ae29 sub edi, ebx ; +0xbc, 0x18000ae2c add rcx, rax ; +0xbe, 0x18000ae2e mov edx, edi ; +0xc1, 0x18000ae31 mov r8, rbp ; +0xc3, 0x18000ae33 call sub_1800F30A0 ; +0xc6, 0x18000ae36 lea rax, [rsp+178h+var_138] ; +0xcb, 0x18000ae3b mov r8, r14 ; +0xd0, 0x18000ae40 lea r9, aChannelcontrol_8; "ChannelControl::get3DMinMaxDistance" ; +0xd3, 0x18000ae43 mov [rsp+178h+var_158], rax ; +0xda, 0x18000ae4a mov edx, 4 ; +0xdf, 0x18000ae4f mov ecx, esi ; +0xe4, 0x18000ae54 call sub_1800B20E0 ; +0xe6, 0x18000ae56 mov rdi, [rsp+178h+var_20] ; +0xeb, 0x18000ae5b mov rcx, [rsp+178h+var_148] ; +0xf3, 0x18000ae63 mov r14, [rsp+178h+var_28] ; +0xf8, 0x18000ae68 mov rbp, [rsp+178h+var_18] ; +0x100, 0x18000ae70 mov rbx, [rsp+178h+var_10] ; +0x108, 0x18000ae78 test rcx, rcx ; +0x110, 0x18000ae80 jz short loc_18000AE8A ; +0x113, 0x18000ae83 call sub_180102320 ; +0x115, 0x18000ae85 mov eax, esi ; +0x11a, 0x18000ae8a mov rcx, [rsp+178h+var_38] ; +0x11c, 0x18000ae8c xor rcx, rsp; StackCookie ; +0x124, 0x18000ae94 call __security_check_cookie ; +0x127, 0x18000ae97 add rsp, 170h ; +0x12c, 0x18000ae9c pop rsi ; +0x133, 0x18000aea3 retn ; +0x134, 0x18000aea4