//
// UIPOptionsLayer::onClose from 0x1002e61a8 to 0x1002e6218 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007e3b08
//
// 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 UIPOptionsLayer::onClose(UIPOptionsLayer *a1, cocos2d::CCObject *a2)
{
double *v4; // x21
GameManager *v5; // x0
GameManager *v6; // x0
v4 = (double *)((__int64 (__fastcall *)(cocos2d::CCNode *))a1->m_practiceNode->getPosition)(a1->m_practiceNode);
v5 = GameManager::sharedState();
sub_1000229D0(&v5->m_practicePos, v4);
if ( GameManager::sharedState()->m_playLayer )
{
v6 = GameManager::sharedState();
UILayer::updateCheckState(v6->m_playLayer->m_uiLayer);
}
SetupTriggerPopup::onClose(a1, a2);
}