//
// TOSPopup::onClose from 0x1002b0460 to 0x1002b04aa (74 bytes)
//
// 1 xrefs:
// > TOSPopup::init @ 0x1002b01f4
//
// 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 TOSPopup::onClose(TOSPopup *a1, cocos2d::CCObject *a2)
{
GameManager *v2; // rax
v2 = GameManager::sharedState();
GameManager::setUGV(v2, "30", 1);
((void (__fastcall *)(TOSPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(TOSPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}