; ; FMOD::Sound::getLength from 0x1800a7520 to 0x1800a7682 (354 bytes) ; ; 5 xrefs: ; > FMOD_Sound_GetLength @ 0x1800c6599 ; > @ 0x1801870fc ; > @ 0x180187130 ; > @ 0x180194348 ; > @ 0x1801fb988 ; ; 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, 0x1800a7520 push rsi ; +0x3, 0x1800a7523 sub rsp, 170h ; +0x4, 0x1800a7524 mov rax, cs:__security_cookie ; +0xb, 0x1800a752b xor rax, rsp ; +0x12, 0x1800a7532 mov [rsp+178h+var_38], rax ; +0x15, 0x1800a7535 mov [r11-10h], rbx ; +0x1d, 0x1800a753d mov rbx, rdx ; +0x21, 0x1800a7541 mov [r11-18h], rbp ; +0x24, 0x1800a7544 lea rdx, [rsp+178h+var_148] ; +0x28, 0x1800a7548 mov ebp, r8d ; +0x2d, 0x1800a754d mov [r11-28h], r14 ; +0x30, 0x1800a7550 lea r8, [rsp+178h+var_140] ; +0x34, 0x1800a7554 mov [rsp+178h+var_140], 0 ; +0x39, 0x1800a7559 mov r14, rcx ; +0x42, 0x1800a7562 call sub_1800E1460 ; +0x45, 0x1800a7565 mov esi, eax ; +0x4a, 0x1800a756a test eax, eax ; +0x4c, 0x1800a756c jnz short loc_1800A75B6 ; +0x4e, 0x1800a756e mov rax, [rsp+178h+var_148] ; +0x50, 0x1800a7570 mov ecx, [rax+110h] ; +0x55, 0x1800a7575 nop ; +0x5b, 0x1800a757b test ecx, ecx ; +0x5c, 0x1800a757c jz short loc_1800A7598 ; +0x5e, 0x1800a757e mov rax, [rsp+178h+var_148] ; +0x60, 0x1800a7580 mov ecx, [rax+110h] ; +0x65, 0x1800a7585 nop ; +0x6b, 0x1800a758b cmp ecx, 7 ; +0x6c, 0x1800a758c jz short loc_1800A7598 ; +0x6f, 0x1800a758f mov esi, 2Eh ; '.' ; +0x71, 0x1800a7591 jmp short loc_1800A75B6 ; +0x76, 0x1800a7596 mov rcx, [rsp+178h+var_148] ; +0x78, 0x1800a7598 mov r8d, ebp ; +0x7d, 0x1800a759d mov rdx, rbx ; +0x80, 0x1800a75a0 mov rax, [rcx] ; +0x83, 0x1800a75a3 call qword ptr [rax+98h] ; +0x86, 0x1800a75a6 mov esi, eax ; +0x8c, 0x1800a75ac test eax, eax ; +0x8e, 0x1800a75ae jz loc_1800A763B ; +0x90, 0x1800a75b0 mov rax, cs:off_1801AED20 ; +0x96, 0x1800a75b6 test byte ptr [rax+10h], 80h ; +0x9d, 0x1800a75bd jz short loc_1800A763B ; +0xa1, 0x1800a75c1 mov [rsp+178h+var_20], rdi ; +0xa3, 0x1800a75c3 lea rcx, [rsp+178h+var_138] ; +0xab, 0x1800a75cb mov edi, 100h ; +0xb0, 0x1800a75d0 mov r8, rbx ; +0xb5, 0x1800a75d5 mov edx, edi ; +0xb8, 0x1800a75d8 call sub_1800F3060 ; +0xba, 0x1800a75da movsxd rbx, eax ; +0xbf, 0x1800a75df lea rcx, [rsp+178h+var_138] ; +0xc2, 0x1800a75e2 mov edx, edi ; +0xc7, 0x1800a75e7 lea r8, asc_18014572C; ", " ; +0xc9, 0x1800a75e9 sub edx, ebx ; +0xd0, 0x1800a75f0 add rcx, rbx; void * ; +0xd2, 0x1800a75f2 call sub_1800F2F70 ; +0xd5, 0x1800a75f5 add ebx, eax ; +0xda, 0x1800a75fa lea rcx, [rsp+178h+var_138] ; +0xdc, 0x1800a75fc movsxd rax, ebx ; +0xe1, 0x1800a7601 sub edi, ebx ; +0xe4, 0x1800a7604 add rcx, rax ; +0xe6, 0x1800a7606 mov edx, edi ; +0xe9, 0x1800a7609 mov r8d, ebp ; +0xeb, 0x1800a760b call sub_1800F2EF0 ; +0xee, 0x1800a760e lea rax, [rsp+178h+var_138] ; +0xf3, 0x1800a7613 mov r8, r14 ; +0xf8, 0x1800a7618 lea r9, aSoundGetlength; "Sound::getLength" ; +0xfb, 0x1800a761b mov [rsp+178h+var_158], rax ; +0x102, 0x1800a7622 mov edx, 5 ; +0x107, 0x1800a7627 mov ecx, esi ; +0x10c, 0x1800a762c call sub_1800B20E0 ; +0x10e, 0x1800a762e mov rdi, [rsp+178h+var_20] ; +0x113, 0x1800a7633 mov rcx, [rsp+178h+var_140] ; +0x11b, 0x1800a763b mov r14, [rsp+178h+var_28] ; +0x120, 0x1800a7640 mov rbp, [rsp+178h+var_18] ; +0x128, 0x1800a7648 mov rbx, [rsp+178h+var_10] ; +0x130, 0x1800a7650 test rcx, rcx ; +0x138, 0x1800a7658 jz short loc_1800A7667 ; +0x13b, 0x1800a765b mov edx, 0Ch ; +0x13d, 0x1800a765d call sub_180102300 ; +0x142, 0x1800a7662 mov eax, esi ; +0x147, 0x1800a7667 mov rcx, [rsp+178h+var_38] ; +0x149, 0x1800a7669 xor rcx, rsp; StackCookie ; +0x151, 0x1800a7671 call __security_check_cookie ; +0x154, 0x1800a7674 add rsp, 170h ; +0x159, 0x1800a7679 pop rsi ; +0x160, 0x1800a7680 retn ; +0x161, 0x1800a7681