//
// AccountLayer::backupAccountFinished from 0x10009b730 to 0x10009b852 (290 bytes)
//
// 2 xrefs:
// > sub_10009B8D0 @ 0x10009b8dc
// > ??> @ 0x100abbf00
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:20:12 +0000
//
__int64 __fastcall AccountLayer::backupAccountFinished(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rbx
void *v5[3]; // [rsp+0h] [rbp-40h] BYREF
_QWORD v6[2]; // [rsp+18h] [rbp-28h] BYREF
void *v7; // [rsp+28h] [rbp-18h]
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 560) + 1272LL))(*(_QWORD *)(a1 + 560), 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1072LL))(a1, 1);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 704) + 344LL))(*(_QWORD *)(a1 + 704), 0);
v2 = *(_QWORD *)(a1 + 648);
strcpy((char *)v5, "\"Backup successful");
TextArea::setString(v2, v5);
if ( ((__int64)v5[0] & 1) != 0 )
operator delete(v5[2]);
TextArea::colorAllCharactersTo(*(_QWORD *)(a1 + 648), 65280);
v7 = operator new(0x38u);
v6[0] = 57;
v6[1] = 50;
strcpy((char *)v7, "Your save data has been backed up.");
v3 = FLAlertLayer::create_1(0, "Save Data", v6, "OK", 0, 300.0);
if ( (v6[0] & 1) != 0 )
operator delete(v7);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}