//
// UpdateAccountSettingsPopup::keyBackClicked from 0x1002a3e00 to 0x1002a3e84 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fa038
//
// 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::keyBackClicked(UpdateAccountSettingsPopup *a1)
{
GJAccountSettingsLayer *m_settingsLayer; // rdi
GJAccountSettingsLayer *v3; // 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);
v3 = a1->m_settingsLayer;
GJAccountSettingsLayer::closeAccInputNodes(v3, v3->m_inputs);
((void (__fastcall *)(GJAccountSettingsLayer *, _QWORD))v3->setKeypadEnabled)(v3, 0);
((void (__fastcall *)(GJAccountSettingsLayer *, __int64))v3->removeFromParentAndCleanup)(v3, 1);
}
}
}