//
// VideoOptionsLayer::onClose from 0x422188 to 0x4221be (54 bytes)
//
// 1 xrefs:
// > VideoOptionsLayer::keyBackClicked @ 0x4221c0
//
// 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 VideoOptionsLayer::onClose(VideoOptionsLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
if ( GameManager::sharedState()->m_menuLayer )
{
v3 = GameManager::sharedState();
MenuLayer::videoOptionsClosed(v3->m_menuLayer);
}
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}