//
// AccountLayer::doSync from 0x84bf38 to 0x84bf94 (92 bytes)
//
// 2 xrefs:
// > AccountLayer::FLAlert_Clicked @ 0x84c020
// > ??> @ 0xc5178
//
// 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
//
void AccountLayer::doSync(AccountLayer *a1)
{
GJAccountManager *v2; // x0
AccountLayer::updatePage(a1, 0);
v2 = GJAccountManager::sharedState();
if ( GJAccountManager::getAccountSyncURL(v2) )
AccountLayer::showLoadingUI(a1);
else
a1->syncAccountFailed(a1, GenericError, 0);
}