//
// AccountLayer::backupAccountFinished from 0x14007eb80 to 0x14007ed2d (429 bytes)
//
// 2 xrefs:
// > ??> @ 0x14053b178
// > ??> @ 0x1406c690c
//
// 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
//
// Hidden C++ exception states: #wind=1
void AccountLayer::backupAccountFinished(AccountLayer *a1)
{
char v2; // dl
__int64 v3; // rdx
__int64 v4; // rax
FLAlertLayer *v5; // rbx
__int128 v6; // [rsp+50h] [rbp+17h] BYREF
__int64 v7; // [rsp+60h] [rbp+27h]
__int64 v8; // [rsp+68h] [rbp+2Fh]
_BYTE v9[32]; // [rsp+70h] [rbp+37h] BYREF
__int128 *v10; // [rsp+A0h] [rbp+67h] BYREF
v2 = 1;
((void (__fastcall *)(CCMenuItemSpriteExtra *, char))a1[-1].m_registerButton->__vftable[1].update)(
a1[-1].m_registerButton,
v2);
LOBYTE(v3) = 1;
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)&a1[-1].m_obAnchorPoint.y + 976LL))(
&a1[-1].m_obAnchorPoint.y,
v3);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_fSkewY + 320LL))(*(_QWORD *)&a1->m_fSkewY, 0);
v6 = 0;
v7 = 0;
v8 = 15;
*(_QWORD *)&v6 = sub_14003AA10(0x20u);
v7 = 17;
v8 = 31;
strcpy((char *)v6, "Backup successful");
TextArea::setString(*(TextArea **)&a1->m_uIndexInArray, (__int64)&v6);
LOWORD(v10) = -256;
BYTE2(v10) = 0;
TextArea::colorAllCharactersTo(*(TextArea **)&a1->m_uIndexInArray, (cocos2d::ccColor3B *)&v10);
v6 = 0;
v7 = 0;
v8 = 15;
*(_QWORD *)&v6 = sub_14003AA10(0x40u);
v7 = 50;
v8 = 63;
strcpy((char *)v6, "Your save data has been backed up.");
v10 = &v6;
v4 = sub_14003BDB0((__int64)v9, (__int64)&v6);
v5 = FLAlertLayer::create(0, (int)"Save Data", v4, (__int64)"OK", 0, 1133903872, 0, 0, 1065353216);
sub_14003A830((__int64)&v6);
v5->show(v5);
}