//
// FindBPMLayer::onClose from 0x14009bea0 to 0x14009bed8 (56 bytes)
//
// 2 xrefs:
// > ??> @ 0x140542458
// > ??> @ 0x1406c7548
//
// 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 FindBPMLayer::onClose(FindBPMLayer *a1, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // rax
_BOOL8 v4; // rdx
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::songStateChanged(v3);
a1->setKeypadEnabled(a1, 0);
LOBYTE(v4) = 1;
a1->removeFromParentAndCleanup(a1, v4);
}