//
// AccountLayer::backupAccountFinished from 0x1001666c0 to 0x1001667b8 (248 bytes)
//
// 2 xrefs:
// > sub_1001667EC @ 0x1001667f0
// > ??> @ 0x10079c328
//
// 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::backupAccountFinished(AccountLayer *a1)
{
TextArea *m_textArea; // x20
__int64 v3; // x19
void *v4[2]; // [xsp+0h] [xbp-40h] BYREF
char v5; // [xsp+17h] [xbp-29h]
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v7; // [xsp+2Fh] [xbp-11h]
((void (__fastcall *)(cocos2d::CCMenu *, __int64))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu, 1);
((void (__fastcall *)(AccountLayer *, __int64))a1->setKeypadEnabled)(a1, 1);
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 0);
m_textArea = a1->m_textArea;
sub_100009900(__p, "Backup successful");
TextArea::setString((__int64)m_textArea, (const void **)__p);
if ( v7 < 0 )
operator delete(__p[0]);
TextArea::colorAllCharactersTo(a1->m_textArea, (cocos2d::ccColor3B)65280);
sub_100009900(v4, "Your save data has been backed up.");
v3 = FLAlertLayer::create_1(0, "Save Data", v4, "OK", 0, 300.0);
if ( v5 < 0 )
operator delete(v4[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);
}