//
// CustomSongLayer::keyBackClicked from 0x100216400 to 0x100216466 (102 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ddf68
//
// 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
//
void __fastcall CustomSongLayer::keyBackClicked(CustomSongLayer *a1)
{
CustomSongLayerDelegate *m_delegate; // rdi
FMODAudioEngine *v3; // rax
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(CustomSongLayerDelegate *))m_delegate->customSongLayerClosed)(m_delegate);
((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_songIDInput->onClickTrackNode)(a1->m_songIDInput, 0);
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::stopAllMusic(v3, 1);
((void (__fastcall *)(CustomSongLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(CustomSongLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}