//
// AccountLayer::doBackup from 0x1000cd150 to 0x1000cd1cb (123 bytes)
//
// 0 xrefs:
//
// 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 AccountLayer::doBackup(AccountLayer *a1)
{
GJAccountManager *v1; // rax
AccountLayer::updatePage(a1, 0);
v1 = GJAccountManager::sharedState();
if ( GJAccountManager::getAccountBackupURL(v1) )
{
((void (__fastcall *)(cocos2d::CCMenu *, _QWORD))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu, 0);
((void (__fastcall *)(AccountLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(LoadingCircle *, __int64))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 1);
}
else
{
((void (__fastcall *)(AccountLayer *, __int64, _QWORD))a1->backupAccountFailed)(a1, 0xFFFFFFFFLL, 0);
}
}