//
// AccountLayer::doBackup from 0x10009b5a0 to 0x10009b61b (123 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:20:12 +0000
//
__int64 __fastcall AccountLayer::doBackup(_QWORD **a1)
{
__int64 v1; // rax
AccountLayer::updatePage((__int64)a1, 0);
v1 = GJAccountManager::sharedState(a1);
if ( !(unsigned __int8)GJAccountManager::getAccountBackupURL(v1) )
return ((__int64 (__fastcall *)(_QWORD **, __int64, _QWORD))(*a1)[174])(a1, 0xFFFFFFFFLL, 0);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[70] + 1272LL))(a1[70], 0);
((void (__fastcall *)(_QWORD **, _QWORD))(*a1)[134])(a1, 0);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1[88] + 344LL))(a1[88], 1);
}