//
// UpdateAccountSettingsPopup::onClose from 0x1002a3b60 to 0x1002a3be4 (132 bytes)
//
// 1 xrefs:
// > UpdateAccountSettingsPopup::init @ 0x1002a3885
//
// 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 UpdateAccountSettingsPopup::onClose(UpdateAccountSettingsPopup *a1, cocos2d::CCObject *a2)
{
GJAccountSettingsLayer *m_settingsLayer; // rdi
GJAccountSettingsLayer *v4; // rbx
((void (__fastcall *)(UpdateAccountSettingsPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(UpdateAccountSettingsPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
if ( a1->m_updateSuccess )
{
m_settingsLayer = a1->m_settingsLayer;
if ( m_settingsLayer )
{
GJAccountSettingsLayer::updateScoreValues(m_settingsLayer);
v4 = a1->m_settingsLayer;
GJAccountSettingsLayer::closeAccInputNodes(v4, v4->m_inputs);
((void (__fastcall *)(GJAccountSettingsLayer *, _QWORD))v4->setKeypadEnabled)(v4, 0);
((void (__fastcall *)(GJAccountSettingsLayer *, __int64))v4->removeFromParentAndCleanup)(v4, 1);
}
}
}