//
// AccountLayer::doSync from 0x46714a to 0x46717c (50 bytes)
//
// 1 xrefs:
// > AccountLayer::FLAlert_Clicked @ 0x4671aa
//
// 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; // r0
AccountLayer::updatePage(a1, 0);
v2 = GJAccountManager::sharedState();
if ( GJAccountManager::getAccountSyncURL(v2) )
AccountLayer::showLoadingUI(a1);
else
((void (__fastcall *)(AccountLayer *, int))a1->syncAccountFailed)(a1, -1);
}