//
// UpdateAccountSettingsPopup::onClose from 0x4b5764 to 0x4b579e (58 bytes)
//
// 1 xrefs:
// > UpdateAccountSettingsPopup::keyBackClicked @ 0x4b57a0
//
// 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; // r0
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);
}
}
}