; ; CustomSongLayer::onClose from 0x1400c43b0 to 0x1400c447d (205 bytes) ; ; 4 xrefs: ; > CustomSongLayer::keyBackClicked @ 0x1400c4489 ; > CustomSongLayer::init @ 0x1400c2e6c ; > @ 0x1406c80d0 ; > @ 0x1406c80dc ; ; 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_8], rbx ; +0x0, 0x1400c43b0 push rdi ; +0x5, 0x1400c43b5 sub rsp, 20h ; +0x6, 0x1400c43b6 mov rdi, rcx ; +0xa, 0x1400c43ba mov rcx, [rcx+2A8h] ; +0xd, 0x1400c43bd test rcx, rcx ; +0x14, 0x1400c43c4 jz short loc_1400C43CE ; +0x17, 0x1400c43c7 mov rax, [rcx] ; +0x19, 0x1400c43c9 call qword ptr [rax] ; +0x1c, 0x1400c43cc mov rcx, [rdi+298h] ; +0x1e, 0x1400c43ce mov rax, [rcx] ; +0x25, 0x1400c43d5 xor edx, edx ; +0x28, 0x1400c43d8 call qword ptr [rax+3F8h] ; +0x2a, 0x1400c43da mov rbx, cs:qword_1406C2E88 ; +0x30, 0x1400c43e0 test rbx, rbx ; +0x37, 0x1400c43e7 jnz short loc_1400C441B ; +0x3a, 0x1400c43ea mov ecx, 888h; Size ; +0x3c, 0x1400c43ec call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x41, 0x1400c43f1 mov [rsp+28h+arg_0], rax ; +0x46, 0x1400c43f6 mov rcx, rax ; +0x4b, 0x1400c43fb call FMODAudioEngine__FMODAudioEngine ; +0x4e, 0x1400c43fe nop ; +0x53, 0x1400c4403 mov cs:qword_1406C2E88, rax ; +0x54, 0x1400c4404 mov rdx, [rax] ; +0x5b, 0x1400c440b mov rcx, rax ; +0x5e, 0x1400c440e call qword ptr [rdx+48h] ; +0x61, 0x1400c4411 mov rbx, cs:qword_1406C2E88 ; +0x64, 0x1400c4414 cmp qword ptr [rbx+228h], 0 ; +0x6b, 0x1400c441b jz short loc_1400C4432 ; +0x73, 0x1400c4423 mov rcx, [rbx+228h] ; +0x75, 0x1400c4425 call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x7c, 0x1400c442c lea rcx, [rbx+428h] ; +0x82, 0x1400c4432 call sub_14005E0D0 ; +0x89, 0x1400c4439 lea rcx, [rbx+468h] ; +0x8e, 0x1400c443e call sub_14005E0D0 ; +0x95, 0x1400c4445 lea rcx, [rbx+4A8h] ; +0x9a, 0x1400c444a call sub_14005E0D0 ; +0xa1, 0x1400c4451 mov rax, [rdi] ; +0xa6, 0x1400c4456 xor edx, edx ; +0xa9, 0x1400c4459 mov rcx, rdi ; +0xab, 0x1400c445b call qword ptr [rax+3D0h] ; +0xae, 0x1400c445e mov rax, [rdi] ; +0xb4, 0x1400c4464 mov dl, 1 ; +0xb7, 0x1400c4467 mov rcx, rdi ; +0xb9, 0x1400c4469 mov rbx, [rsp+28h+arg_8] ; +0xbc, 0x1400c446c add rsp, 20h ; +0xc1, 0x1400c4471 pop rdi ; +0xc5, 0x1400c4475 jmp qword ptr [rax+1F8h] ; +0xc6, 0x1400c4476