//
// TOSPopup::onClose from 0x8c32cc to 0x8c3324 (88 bytes)
//
// 3 xrefs:
// > ??> @ 0x5a168
// > TOSPopup::init @ 0x8c6718
// > ??> @ 0x122ae70
//
// 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 TOSPopup::onClose(TOSPopup *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
v3 = GameManager::sharedState();
GameManager::setUGV(v3, "30", 1);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}