//
// sub_1001655AC from 0x1001655ac to 0x10016567c (208 bytes)
//
// 4 xrefs:
// > sub_100165680 @ 0x100165680
// > sub_100165684 @ 0x100165688
// > sub_10016568C @ 0x100165694
// > sub_1001656A0 @ 0x1001656ac
//
// 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
//
__int64 __fastcall sub_1001655AC(__int64 a1)
{
*(_QWORD *)a1 = off_10079BDD0;
*(_QWORD *)(a1 + 320) = off_10079C368;
*(_QWORD *)(a1 + 328) = &off_10079C3D8;
*(_QWORD *)(a1 + 336) = off_10079C3F0;
*(_QWORD *)(a1 + 344) = &off_10079C410;
*(_QWORD *)(a1 + 352) = off_10079C430;
*(_QWORD *)(a1 + 408) = off_10079C458;
*(_QWORD *)(a1 + 432) = off_10079C4D8;
*(_QWORD *)(a1 + 608) = &off_10079C4F8;
*(_QWORD *)(a1 + 616) = off_10079C510;
*(_QWORD *)(a1 + 624) = off_10079C530;
*(_QWORD *)(a1 + 632) = &off_10079C550;
if ( GJAccountManager::sharedState()->m_accountDelegate == (GJAccountDelegate *)(a1 + 608) )
GJAccountManager::sharedState()->m_accountDelegate = nullptr;
if ( GJAccountManager::sharedState()->m_backupDelegate == (GJAccountBackupDelegate *)(a1 + 616) )
GJAccountManager::sharedState()->m_backupDelegate = nullptr;
if ( GJAccountManager::sharedState()->m_syncDelegate == (GJAccountSyncDelegate *)(a1 + 624) )
GJAccountManager::sharedState()->m_syncDelegate = nullptr;
return GJDropDownLayer::dGJDropDownLayer(a1);
}