//
// AccountLayer::syncAccountFinished from 0x98d2a4 to 0x98d3d4 (304 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x98d3dc
// > ??> @ 0x92f20
// > ??> @ 0x1472ed8
//
// This function is hookable on this platform (idp: arm, 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:57:57 +0000
//
__int64 __fastcall AccountLayer::syncAccountFinished(__int64 **this)
{
__int64 *v2; // x22
__int64 v3; // x20
__int64 v5; // [xsp+30h] [xbp+30h] BYREF
__int64 v6; // [xsp+38h] [xbp+38h]
void *v7; // [xsp+40h] [xbp+40h]
AccountLayer::hideLoadingUI((AccountLayer *)this);
v2 = *(this + 81);
v5 = 0;
v6 = 0;
v7 = nullptr;
std::string::__init(&v5, "Sync successful", 0xFu);
TextArea::setString(v2, (char *)&v5);
if ( (v5 & 1) != 0 )
operator delete(v7);
TextArea::colorAllCharactersTo((__int64)*(this + 81), 65280);
v5 = 0;
v6 = 0;
v7 = nullptr;
std::string::__init(&v5, "Saved data has been downloaded.", 0x2Fu);
v3 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Load Data", (char *)&v5, (ButtonSprite *)"OK", nullptr, 300.0);
if ( (v5 & 1) != 0 )
operator delete(v7);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
return _stack_chk_guard;
}