; ; FMODAudioEngine::stopAllMusic from 0x1400629a0 to 0x140062aab (267 bytes) ; ; 2 xrefs: ; > PlayLayer::resumeAndRestart @ 0x14051a80f ; > @ 0x140910bec ; ; 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 11:25:44 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1400629a0 mov [rsp+arg_8], rsi ; +0x5, 0x1400629a5 push rdi ; +0xa, 0x1400629aa sub rsp, 40h ; +0xb, 0x1400629ab mov rsi, rcx ; +0xf, 0x1400629af test dl, dl ; +0x12, 0x1400629b2 jz short loc_1400629FB ; +0x14, 0x1400629b4 mov rcx, [rcx+228h] ; +0x16, 0x1400629b6 test rcx, rcx ; +0x1d, 0x1400629bd jz short loc_1400629C8 ; +0x20, 0x1400629c0 call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x22, 0x1400629c2 lea rcx, [rsi+448h] ; +0x28, 0x1400629c8 call sub_14003EB60 ; +0x2f, 0x1400629cf lea rcx, [rsi+488h] ; +0x34, 0x1400629d4 call sub_14003EB60 ; +0x3b, 0x1400629db lea rcx, [rsi+4C8h] ; +0x40, 0x1400629e0 mov rbx, [rsp+48h+arg_0] ; +0x47, 0x1400629e7 mov rsi, [rsp+48h+arg_8] ; +0x4c, 0x1400629ec add rsp, 40h ; +0x51, 0x1400629f1 pop rdi ; +0x55, 0x1400629f5 jmp sub_14003EB60 ; +0x56, 0x1400629f6 xorps xmm0, xmm0 ; +0x5b, 0x1400629fb movdqu [rsp+48h+var_28], xmm0 ; +0x5e, 0x1400629fe mov [rsp+48h+var_18], 0 ; +0x64, 0x140062a04 mov rax, [rcx+148h] ; +0x6d, 0x140062a0d mov rbx, [rax] ; +0x74, 0x140062a14 mov rdi, qword ptr [rsp+48h+var_28+8] ; +0x77, 0x140062a17 cmp rbx, rax ; +0x7c, 0x140062a1c jz short loc_140062A65 ; +0x7f, 0x140062a1f cmp byte ptr [rbx+49h], 0 ; +0x81, 0x140062a21 jnz short loc_140062A59 ; +0x85, 0x140062a25 lea r8, [rbx+18h] ; +0x87, 0x140062a27 cmp rdi, [rsp+48h+var_18] ; +0x8b, 0x140062a2b jz short loc_140062A47 ; +0x90, 0x140062a30 mov eax, [r8] ; +0x92, 0x140062a32 mov [rdi], eax ; +0x95, 0x140062a35 mov rdi, qword ptr [rsp+48h+var_28+8] ; +0x97, 0x140062a37 add rdi, 4 ; +0x9c, 0x140062a3c mov qword ptr [rsp+48h+var_28+8], rdi ; +0xa0, 0x140062a40 jmp short loc_140062A59 ; +0xa5, 0x140062a45 mov rdx, rdi ; +0xa7, 0x140062a47 lea rcx, [rsp+48h+var_28] ; +0xaa, 0x140062a4a call sub_140069B30 ; +0xaf, 0x140062a4f mov rdi, qword ptr [rsp+48h+var_28+8] ; +0xb4, 0x140062a54 mov rbx, [rbx] ; +0xb9, 0x140062a59 cmp rbx, [rsi+148h] ; +0xbc, 0x140062a5c jnz short loc_140062A21 ; +0xc3, 0x140062a63 mov rbx, qword ptr [rsp+48h+var_28] ; +0xc5, 0x140062a65 cmp rbx, rdi ; +0xca, 0x140062a6a jz short loc_140062A91 ; +0xcd, 0x140062a6d nop ; +0xcf, 0x140062a6f mov edx, [rbx] ; +0xd0, 0x140062a70 mov rcx, rsi ; +0xd2, 0x140062a72 call FMODAudioEngine__channelForChannelID ; +0xd5, 0x140062a75 test rax, rax ; +0xda, 0x140062a7a jz short loc_140062A88 ; +0xdd, 0x140062a7d mov rcx, rax ; +0xdf, 0x140062a7f call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0xe2, 0x140062a82 add rbx, 4 ; +0xe8, 0x140062a88 cmp rbx, rdi ; +0xec, 0x140062a8c jnz short loc_140062A70 ; +0xef, 0x140062a8f lea rcx, [rsp+48h+var_28] ; +0xf1, 0x140062a91 call sub_140069730 ; +0xf6, 0x140062a96 mov rbx, [rsp+48h+arg_0] ; +0xfb, 0x140062a9b mov rsi, [rsp+48h+arg_8] ; +0x100, 0x140062aa0 add rsp, 40h ; +0x105, 0x140062aa5 pop rdi ; +0x109, 0x140062aa9 retn ; +0x10a, 0x140062aaa