//
// UpdateAccountSettingsPopup::onClose from 0x8de1a0 to 0x8de208 (104 bytes)
//
// 4 xrefs:
// > UpdateAccountSettingsPopup::keyBackClicked @ 0x8de20c
// > ??> @ 0x37a88
// > UpdateAccountSettingsPopup::init @ 0x8ca5ec
// > ??> @ 0x1229b60
//
// 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 UpdateAccountSettingsPopup::onClose(UpdateAccountSettingsPopup *a1, cocos2d::CCObject *a2)
{
GJAccountSettingsLayer *m_settingsLayer; // x0
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
if ( a1->m_updateSuccess )
{
m_settingsLayer = a1->m_settingsLayer;
if ( m_settingsLayer )
{
GJAccountSettingsLayer::updateScoreValues(m_settingsLayer);
GJAccountSettingsLayer::onClose(a1->m_settingsLayer, nullptr);
}
}
}