//
// VideoOptionsLayer::onClose from 0x1000f0cd4 to 0x1000f0d2c (88 bytes)
//
// 3 xrefs:
// > VideoOptionsLayer::keyBackClicked @ 0x1000f1338
// > sub_1000F133C @ 0x1000f1340
// > VideoOptionsLayer::init @ 0x1000f0704
//
// 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 VideoOptionsLayer::onClose(VideoOptionsLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
if ( GameManager::sharedState()->m_menuLayer )
{
v3 = GameManager::sharedState();
MenuLayer::videoOptionsClosed(v3->m_menuLayer);
}
((void (__fastcall *)(VideoOptionsLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(VideoOptionsLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}