; ; AudioAssetsBrowser::trySetupAudioBrowser from 0x10089a280 to 0x10089a317 (151 bytes) ; ; 2 xrefs: ; > AudioAssetsBrowser::musicActionFinished @ 0x10089a325 ; > sub_10089A330 @ 0x10089a33c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:37:08 +0000 ; push rbp ; +0x0, 0x10089a280 mov rbp, rsp ; +0x1, 0x10089a281 push r14 ; +0x4, 0x10089a284 push rbx ; +0x6, 0x10089a286 mov rbx, rdi ; +0x7, 0x10089a287 call MusicDownloadManager__sharedState ; +0xa, 0x10089a28a mov r14, [rax+190h] ; +0xf, 0x10089a28f call MusicDownloadManager__sharedState ; +0x16, 0x10089a296 movzx ecx, byte ptr [rax+170h] ; +0x1b, 0x10089a29b test r14, r14 ; +0x22, 0x10089a2a2 jz short loc_10089A2B5 ; +0x25, 0x10089a2a5 test cl, 1 ; +0x27, 0x10089a2a7 jnz short loc_10089A2D5 ; +0x2a, 0x10089a2aa shr ecx, 1 ; +0x2c, 0x10089a2ac test rcx, rcx ; +0x2e, 0x10089a2ae jnz short loc_10089A2EE ; +0x31, 0x10089a2b1 jmp short loc_10089A2E1 ; +0x33, 0x10089a2b3 test cl, 1 ; +0x35, 0x10089a2b5 jnz short loc_10089A2FA ; +0x38, 0x10089a2b8 shr cl, 1 ; +0x3a, 0x10089a2ba movzx ebx, cl ; +0x3c, 0x10089a2bc call MusicDownloadManager__sharedState ; +0x3f, 0x10089a2bf mov rdi, rax ; +0x44, 0x10089a2c4 test rbx, rbx ; +0x47, 0x10089a2c7 jz short loc_10089A30E ; +0x4a, 0x10089a2ca pop rbx ; +0x4c, 0x10089a2cc pop r14 ; +0x4d, 0x10089a2cd pop rbp ; +0x4f, 0x10089a2cf jmp MusicDownloadManager__downloadSFXLibrary ; +0x50, 0x10089a2d0 mov rcx, [rax+178h] ; +0x55, 0x10089a2d5 test rcx, rcx ; +0x5c, 0x10089a2dc jnz short loc_10089A2EE ; +0x5f, 0x10089a2df call MusicDownloadManager__sharedState ; +0x61, 0x10089a2e1 mov rdi, rax ; +0x66, 0x10089a2e6 call MusicDownloadManager__getCustomContentURL ; +0x69, 0x10089a2e9 mov rdi, rbx ; +0x6e, 0x10089a2ee pop rbx ; +0x71, 0x10089a2f1 pop r14 ; +0x72, 0x10089a2f2 pop rbp ; +0x74, 0x10089a2f4 jmp AudioAssetsBrowser__setupList ; +0x75, 0x10089a2f5 mov rbx, [rax+178h] ; +0x7a, 0x10089a2fa call MusicDownloadManager__sharedState ; +0x81, 0x10089a301 mov rdi, rax ; +0x86, 0x10089a306 test rbx, rbx ; +0x89, 0x10089a309 jnz short loc_10089A2CC ; +0x8c, 0x10089a30c pop rbx ; +0x8e, 0x10089a30e pop r14 ; +0x8f, 0x10089a30f pop rbp ; +0x91, 0x10089a311 jmp MusicDownloadManager__getCustomContentURL ; +0x92, 0x10089a312