//
// AccountLayer::syncAccountFinished from 0x5843b8 to 0x584466 (174 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'AccountLayer::syncAccountFinished @ 0x584488
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:56 +0000
//
int __fastcall AccountLayer::syncAccountFinished(AccountLayer *this)
{
int v2; // r7
int *v3; // r5
int v5; // [sp+8h] [bp-14h] BYREF
int v6; // [sp+Ch] [bp-10h]
int v7; // [sp+10h] [bp-Ch]
AccountLayer::hideLoadingUI(this);
v2 = *((_DWORD *)this + 125);
v5 = 0;
v6 = 0;
v7 = 0;
std::string::__init(&v5, "Sync successful", 0xFu);
TextArea::setString(v2, &v5);
std::string::~string((int)&v5);
TextArea::colorAllCharactersTo(*((_DWORD *)this + 125), 65280);
v5 = 0;
v6 = 0;
v7 = 0;
std::string::__init(&v5, "Saved data has been downloaded.", 0x2Fu);
v3 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Load Data", (int)&v5, (ButtonSprite *)"OK", nullptr, 300.0);
std::string::~string((int)&v5);
return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);
}