; ; FMODAudioEngine::isMusicPlaying from 0x140059f10 to 0x14005a03a (298 bytes) ; ; 7 xrefs: ; > CustomSongCell::onDelete @ 0x1400b4970 ; > CustomSongWidget::deleteSong @ 0x1400ca0b0 ; > CustomSongWidget::onPlayback @ 0x1400cb059 ; > CustomSongWidget::updatePlaybackBtn @ 0x1400cb339 ; > GameManager::playMenuMusic @ 0x14017b983 ; > GameManager::fadeInMusic @ 0x14017bc21 ; > @ 0x1406c52a4 ; ; 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 [rsp+arg_10], rbx ; +0x0, 0x140059f10 mov [rsp+arg_18], rsi ; +0x5, 0x140059f15 push rdi ; +0xa, 0x140059f1a sub rsp, 70h ; +0xb, 0x140059f1b mov rax, cs:__security_cookie ; +0xf, 0x140059f1f xor rax, rsp ; +0x16, 0x140059f26 mov [rsp+78h+var_10], rax ; +0x19, 0x140059f29 mov rsi, rdx ; +0x1e, 0x140059f2e mov rdi, rcx ; +0x21, 0x140059f31 mov [rsp+78h+var_38], rdx ; +0x24, 0x140059f34 xor ebx, ebx ; +0x29, 0x140059f39 mov [rsp+78h+var_50], ebx ; +0x2b, 0x140059f3b mov [rsp+78h+var_58], ebx ; +0x2f, 0x140059f3f lea rdx, [rsp+78h+var_58] ; +0x33, 0x140059f43 add rcx, 140h ; +0x38, 0x140059f48 call sub_14005F8D0 ; +0x3f, 0x140059f4f test rax, rax ; +0x44, 0x140059f54 jz short loc_140059F87 ; +0x47, 0x140059f57 lea r8, [rsp+78h+var_58] ; +0x49, 0x140059f59 lea rdx, [rsp+78h+var_48] ; +0x4e, 0x140059f5e lea rcx, [rdi+140h] ; +0x53, 0x140059f63 call sub_140061560 ; +0x5a, 0x140059f6a mov rdx, [rax] ; +0x5f, 0x140059f6f add rdx, 28h ; '(' ; +0x62, 0x140059f72 lea rcx, [rsp+78h+Block] ; +0x66, 0x140059f76 call sub_14003BDB0 ; +0x6b, 0x140059f7b mov rbx, [rsp+78h+var_18] ; +0x70, 0x140059f80 jmp short loc_140059FA3 ; +0x75, 0x140059f85 xorps xmm0, xmm0 ; +0x77, 0x140059f87 movups xmmword ptr [rsp+78h+Block], xmm0 ; +0x7a, 0x140059f8a mov [rsp+78h+var_20], rbx ; +0x7f, 0x140059f8f mov ebx, 0Fh ; +0x84, 0x140059f94 mov [rsp+78h+var_18], rbx ; +0x89, 0x140059f99 mov byte ptr [rsp+78h+Block], 0 ; +0x8e, 0x140059f9e mov [rsp+78h+var_50], 3 ; +0x93, 0x140059fa3 mov rdx, rsi; Buf2 ; +0x9b, 0x140059fab lea rcx, [rsp+78h+Block]; Buf1 ; +0x9e, 0x140059fae call sub_14003A760 ; +0xa3, 0x140059fb3 test eax, eax ; +0xa8, 0x140059fb8 jnz short loc_140059FCF ; +0xaa, 0x140059fba xor edx, edx ; +0xac, 0x140059fbc mov rcx, rdi ; +0xae, 0x140059fbe call FMODAudioEngine__isMusicPlaying_1 ; +0xb1, 0x140059fc1 test al, al ; +0xb6, 0x140059fc6 jz short loc_140059FCF ; +0xb8, 0x140059fc8 mov dil, 1 ; +0xba, 0x140059fca jmp short loc_140059FD2 ; +0xbd, 0x140059fcd xor dil, dil ; +0xbf, 0x140059fcf cmp rbx, 0Fh ; +0xc2, 0x140059fd2 jbe short loc_14005A00F ; +0xc6, 0x140059fd6 lea rdx, [rbx+1] ; +0xc8, 0x140059fd8 mov rcx, [rsp+78h+Block]; Block ; +0xcc, 0x140059fdc mov rax, rcx ; +0xd1, 0x140059fe1 cmp rdx, 1000h ; +0xd4, 0x140059fe4 jb short loc_14005A009 ; +0xdb, 0x140059feb add rdx, 27h ; ''' ; +0xdd, 0x140059fed mov rcx, [rcx-8] ; +0xe1, 0x140059ff1 sub rax, rcx ; +0xe5, 0x140059ff5 add rax, 0FFFFFFFFFFFFFFF8h ; +0xe8, 0x140059ff8 cmp rax, 1Fh ; +0xec, 0x140059ffc jbe short loc_14005A009 ; +0xf0, 0x14005a000 call cs:_invalid_parameter_noinfo_noreturn ; +0xf2, 0x14005a002 db 0CCh ; +0xf8, 0x14005a008 call j_j_free ; +0xf9, 0x14005a009 nop ; +0xfe, 0x14005a00e mov rcx, rsi ; +0xff, 0x14005a00f call sub_14003A830 ; +0x102, 0x14005a012 movzx eax, dil ; +0x107, 0x14005a017 mov rcx, [rsp+78h+var_10] ; +0x10b, 0x14005a01b xor rcx, rsp; StackCookie ; +0x110, 0x14005a020 call __security_check_cookie ; +0x113, 0x14005a023 lea r11, [rsp+78h+var_8] ; +0x118, 0x14005a028 mov rbx, [r11+20h] ; +0x11d, 0x14005a02d mov rsi, [r11+28h] ; +0x121, 0x14005a031 mov rsp, r11 ; +0x125, 0x14005a035 pop rdi ; +0x128, 0x14005a038 retn ; +0x129, 0x14005a039