; ; FMOD::Sound::set3DMinMaxDistance from 0x1800a97b0 to 0x1800a9925 (373 bytes) ; ; 6 xrefs: ; > FMOD_Sound_Set3DMinMaxDistance @ 0x1800c6789 ; > @ 0x180186e84 ; > @ 0x180186ebc ; > @ 0x180194348 ; > @ 0x1801fbd24 ; > @ 0x1801fbd30 ; ; 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, 0x1800a97b0 push rsi ; +0x3, 0x1800a97b3 sub rsp, 180h ; +0x4, 0x1800a97b4 mov rax, cs:__security_cookie ; +0xb, 0x1800a97bb xor rax, rsp ; +0x12, 0x1800a97c2 mov [rsp+188h+var_48], rax ; +0x15, 0x1800a97c5 mov [r11-10h], rbp ; +0x1d, 0x1800a97cd lea r8, [rsp+188h+var_150] ; +0x21, 0x1800a97d1 movaps xmmword ptr [r11-28h], xmm6 ; +0x26, 0x1800a97d6 lea rdx, [rsp+188h+var_158] ; +0x2b, 0x1800a97db movaps xmmword ptr [r11-38h], xmm7 ; +0x30, 0x1800a97e0 movaps xmm6, xmm1 ; +0x35, 0x1800a97e5 movaps xmm7, xmm2 ; +0x38, 0x1800a97e8 mov [rsp+188h+var_150], 0 ; +0x3b, 0x1800a97eb mov rbp, rcx ; +0x44, 0x1800a97f4 call sub_1800E1460 ; +0x47, 0x1800a97f7 mov esi, eax ; +0x4c, 0x1800a97fc test eax, eax ; +0x4e, 0x1800a97fe jnz short loc_1800A9845 ; +0x50, 0x1800a9800 mov rax, [rsp+188h+var_158] ; +0x52, 0x1800a9802 mov ecx, [rax+110h] ; +0x57, 0x1800a9807 nop ; +0x5d, 0x1800a980d test ecx, ecx ; +0x5e, 0x1800a980e jz short loc_1800A982A ; +0x60, 0x1800a9810 mov rax, [rsp+188h+var_158] ; +0x62, 0x1800a9812 mov ecx, [rax+110h] ; +0x67, 0x1800a9817 nop ; +0x6d, 0x1800a981d cmp ecx, 7 ; +0x6e, 0x1800a981e jz short loc_1800A982A ; +0x71, 0x1800a9821 mov esi, 2Eh ; '.' ; +0x73, 0x1800a9823 jmp short loc_1800A9845 ; +0x78, 0x1800a9828 mov rcx, [rsp+188h+var_158] ; +0x7a, 0x1800a982a movaps xmm2, xmm7 ; +0x7f, 0x1800a982f movaps xmm1, xmm6 ; +0x82, 0x1800a9832 mov rax, [rcx] ; +0x85, 0x1800a9835 call qword ptr [rax+48h] ; +0x88, 0x1800a9838 mov esi, eax ; +0x8b, 0x1800a983b test eax, eax ; +0x8d, 0x1800a983d jz loc_1800A98DE ; +0x8f, 0x1800a983f mov rax, cs:off_1801AED20 ; +0x95, 0x1800a9845 test byte ptr [rax+10h], 80h ; +0x9c, 0x1800a984c jz loc_1800A98DE ; +0xa0, 0x1800a9850 mov [rsp+188h+arg_18], rbx ; +0xa6, 0x1800a9856 lea rcx, [rsp+188h+var_148] ; +0xae, 0x1800a985e mov [rsp+188h+var_18], rdi ; +0xb3, 0x1800a9863 movaps xmm2, xmm6 ; +0xbb, 0x1800a986b mov edi, 100h ; +0xbe, 0x1800a986e mov edx, edi ; +0xc3, 0x1800a9873 call sub_1800F2F20 ; +0xc5, 0x1800a9875 movsxd rbx, eax ; +0xca, 0x1800a987a lea rcx, [rsp+188h+var_148] ; +0xcd, 0x1800a987d mov edx, edi ; +0xd2, 0x1800a9882 lea r8, asc_18014572C; ", " ; +0xd4, 0x1800a9884 sub edx, ebx ; +0xdb, 0x1800a988b add rcx, rbx; void * ; +0xdd, 0x1800a988d call sub_1800F2F70 ; +0xe0, 0x1800a9890 add ebx, eax ; +0xe5, 0x1800a9895 lea rcx, [rsp+188h+var_148] ; +0xe7, 0x1800a9897 movsxd rax, ebx ; +0xec, 0x1800a989c sub edi, ebx ; +0xef, 0x1800a989f add rcx, rax ; +0xf1, 0x1800a98a1 mov edx, edi ; +0xf4, 0x1800a98a4 movaps xmm2, xmm7 ; +0xf6, 0x1800a98a6 call sub_1800F2F20 ; +0xf9, 0x1800a98a9 lea rax, [rsp+188h+var_148] ; +0xfe, 0x1800a98ae mov r8, rbp ; +0x103, 0x1800a98b3 lea r9, aSoundSet3dminm; "Sound::set3DMinMaxDistance" ; +0x106, 0x1800a98b6 mov [rsp+188h+var_168], rax ; +0x10d, 0x1800a98bd mov edx, 5 ; +0x112, 0x1800a98c2 mov ecx, esi ; +0x117, 0x1800a98c7 call sub_1800B20E0 ; +0x119, 0x1800a98c9 mov rdi, [rsp+188h+var_18] ; +0x11e, 0x1800a98ce mov rbx, [rsp+188h+arg_18] ; +0x126, 0x1800a98d6 mov rcx, [rsp+188h+var_150] ; +0x12e, 0x1800a98de movaps xmm7, [rsp+188h+var_38] ; +0x133, 0x1800a98e3 movaps xmm6, [rsp+188h+var_28] ; +0x13b, 0x1800a98eb mov rbp, [rsp+188h+var_10] ; +0x143, 0x1800a98f3 test rcx, rcx ; +0x14b, 0x1800a98fb jz short loc_1800A990A ; +0x14e, 0x1800a98fe mov edx, 0Ch ; +0x150, 0x1800a9900 call sub_180102300 ; +0x155, 0x1800a9905 mov eax, esi ; +0x15a, 0x1800a990a mov rcx, [rsp+188h+var_48] ; +0x15c, 0x1800a990c xor rcx, rsp; StackCookie ; +0x164, 0x1800a9914 call __security_check_cookie ; +0x167, 0x1800a9917 add rsp, 180h ; +0x16c, 0x1800a991c pop rsi ; +0x173, 0x1800a9923 retn ; +0x174, 0x1800a9924