//
// AccountLayer::syncAccountFinished from 0x14007f040 to 0x14007f1fb (443 bytes)
//
// 2 xrefs:
// > ??> @ 0x14053b160
// > ??> @ 0x1406c6924
//
// 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::syncAccountFinished(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_loginButton->__vftable[1].update)(
a1[-1].m_loginButton,
v2);
LOBYTE(v3) = 1;
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)&a1[-1].m_obAnchorPointInPoints.y + 976LL))(
&a1[-1].m_obAnchorPointInPoints.y,
v3);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_obPosition.y + 320LL))(*(_QWORD *)&a1->m_obPosition.y, 0);
v7 = 15;
v8 = 15;
strcpy((char *)&v6, "Sync successful");
TextArea::setString(*(TextArea **)&a1->m_uAutoReleaseCount, (__int64)&v6);
LOWORD(v10) = -256;
BYTE2(v10) = 0;
TextArea::colorAllCharactersTo(*(TextArea **)&a1->m_uAutoReleaseCount, (cocos2d::ccColor3B *)&v10);
v6 = 0;
v7 = 0;
v8 = 15;
*(_QWORD *)&v6 = sub_14003AA10(0x30u);
v7 = 47;
v8 = 47;
strcpy((char *)v6, "Saved data has been downloaded.");
v10 = &v6;
v4 = sub_14003BDB0((__int64)v9, (__int64)&v6);
v5 = FLAlertLayer::create(0, (int)"Load Data", v4, (__int64)"OK", 0, 1133903872, 0, 0, 1065353216);
sub_14003A830((__int64)&v6);
v5->show(v5);
}