; ; FMOD::Sound::getDefaults from 0x1800a7230 to 0x1800a735a (298 bytes) ; ; 5 xrefs: ; > FMOD_Sound_GetDefaults @ 0x1800c6579 ; > @ 0x180186e44 ; > @ 0x180186e54 ; > @ 0x180194348 ; > @ 0x1801fb940 ; ; 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 ; push rbx ; +0x0, 0x1800a7230 push rbp ; +0x2, 0x1800a7232 push rsi ; +0x3, 0x1800a7233 push r14 ; +0x4, 0x1800a7234 sub rsp, 158h ; +0x6, 0x1800a7236 mov rax, cs:__security_cookie ; +0xd, 0x1800a723d xor rax, rsp ; +0x14, 0x1800a7244 mov [rsp+178h+var_38], rax ; +0x17, 0x1800a7247 mov rbp, r8 ; +0x1f, 0x1800a724f mov rbx, rdx ; +0x22, 0x1800a7252 xor r8d, r8d ; +0x25, 0x1800a7255 lea rdx, [rsp+178h+var_148] ; +0x28, 0x1800a7258 mov r14, rcx ; +0x2d, 0x1800a725d call sub_1800E1460 ; +0x30, 0x1800a7260 mov esi, eax ; +0x35, 0x1800a7265 test eax, eax ; +0x37, 0x1800a7267 jnz short loc_1800A7299 ; +0x39, 0x1800a7269 mov rax, [rsp+178h+var_148] ; +0x3b, 0x1800a726b mov ecx, [rax+110h] ; +0x40, 0x1800a7270 nop ; +0x46, 0x1800a7276 test ecx, ecx ; +0x47, 0x1800a7277 jz loc_1800A733D ; +0x49, 0x1800a7279 mov rax, [rsp+178h+var_148] ; +0x4f, 0x1800a727f mov ecx, [rax+110h] ; +0x54, 0x1800a7284 nop ; +0x5a, 0x1800a728a cmp ecx, 7 ; +0x5b, 0x1800a728b jz loc_1800A733D ; +0x5e, 0x1800a728e mov esi, 2Eh ; '.' ; +0x64, 0x1800a7294 mov rax, cs:off_1801AED20 ; +0x69, 0x1800a7299 test byte ptr [rax+10h], 80h ; +0x70, 0x1800a72a0 jz short loc_1800A731E ; +0x74, 0x1800a72a4 mov [rsp+178h+var_28], rdi ; +0x76, 0x1800a72a6 lea rcx, [rsp+178h+var_138] ; +0x7e, 0x1800a72ae mov edi, 100h ; +0x83, 0x1800a72b3 mov r8, rbx ; +0x88, 0x1800a72b8 mov edx, edi ; +0x8b, 0x1800a72bb call sub_1800F30A0 ; +0x8d, 0x1800a72bd movsxd rbx, eax ; +0x92, 0x1800a72c2 lea rcx, [rsp+178h+var_138] ; +0x95, 0x1800a72c5 mov edx, edi ; +0x9a, 0x1800a72ca lea r8, asc_18014572C; ", " ; +0x9c, 0x1800a72cc sub edx, ebx ; +0xa3, 0x1800a72d3 add rcx, rbx; void * ; +0xa5, 0x1800a72d5 call sub_1800F2F70 ; +0xa8, 0x1800a72d8 add ebx, eax ; +0xad, 0x1800a72dd lea rcx, [rsp+178h+var_138] ; +0xaf, 0x1800a72df movsxd rax, ebx ; +0xb4, 0x1800a72e4 sub edi, ebx ; +0xb7, 0x1800a72e7 add rcx, rax ; +0xb9, 0x1800a72e9 mov edx, edi ; +0xbc, 0x1800a72ec mov r8, rbp ; +0xbe, 0x1800a72ee call sub_1800F3020 ; +0xc1, 0x1800a72f1 lea rax, [rsp+178h+var_138] ; +0xc6, 0x1800a72f6 mov r8, r14 ; +0xcb, 0x1800a72fb lea r9, aSoundGetdefaul; "Sound::getDefaults" ; +0xce, 0x1800a72fe mov [rsp+178h+var_158], rax ; +0xd5, 0x1800a7305 mov edx, 5 ; +0xda, 0x1800a730a mov ecx, esi ; +0xdf, 0x1800a730f call sub_1800B20E0 ; +0xe1, 0x1800a7311 mov rdi, [rsp+178h+var_28] ; +0xe6, 0x1800a7316 mov eax, esi ; +0xee, 0x1800a731e mov rcx, [rsp+178h+var_38] ; +0xf0, 0x1800a7320 xor rcx, rsp; StackCookie ; +0xf8, 0x1800a7328 call __security_check_cookie ; +0xfb, 0x1800a732b add rsp, 158h ; +0x100, 0x1800a7330 pop r14 ; +0x107, 0x1800a7337 pop rsi ; +0x109, 0x1800a7339 pop rbp ; +0x10a, 0x1800a733a pop rbx ; +0x10b, 0x1800a733b retn ; +0x10c, 0x1800a733c mov rcx, [rsp+178h+var_148] ; +0x10d, 0x1800a733d mov r8, rbp ; +0x112, 0x1800a7342 mov rdx, rbx ; +0x115, 0x1800a7345 mov rax, [rcx] ; +0x118, 0x1800a7348 call qword ptr [rax+40h] ; +0x11b, 0x1800a734b mov esi, eax ; +0x11e, 0x1800a734e test eax, eax ; +0x120, 0x1800a7350 jnz loc_1800A7299 ; +0x122, 0x1800a7352 jmp short loc_1800A7320 ; +0x128, 0x1800a7358