//
// AccountLayer::backupAccountFinished from 0x1000cd2e0 to 0x1000cd402 (290 bytes)
//
// 2 xrefs:
// > sub_1000CD480 @ 0x1000cd48c
// > ??> @ 0x1008b8918
//
// 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; // rdi
__int64 v3; // rbx
void *v4[3]; // [rsp+0h] [rbp-40h] BYREF
_QWORD v5[2]; // [rsp+18h] [rbp-28h] BYREF
void *v6; // [rsp+28h] [rbp-18h]
((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;
strcpy((char *)v4, "\"Backup successful");
TextArea::setString(m_textArea, v4);
if ( ((__int64)v4[0] & 1) != 0 )
operator delete(v4[2]);
TextArea::colorAllCharactersTo(a1->m_textArea, (cocos2d::ccColor3B)65280);
v6 = operator new(0x38u);
v5[0] = 57;
v5[1] = 50;
strcpy((char *)v6, "Your save data has been backed up.");
v3 = FLAlertLayer::create_1(0, "Save Data", v5, "OK", 0, 300.0);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);
}