//
// sub_1000CBBB0 from 0x1000cbbb0 to 0x1000cbcda (298 bytes)
//
// 4 xrefs:
// > sub_1000CBCF0 @ 0x1000cbcf5
// > sub_1000CBD00 @ 0x1000cbd0c
// > sub_1000CBD20 @ 0x1000cbd29
// > sub_1000CBD40 @ 0x1000cbd53
//
// 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_1000CBBB0(__int64 a1)
{
*(_QWORD *)a1 = off_1008B83C0;
*(_QWORD *)(a1 + 320) = off_1008B8958;
*(_QWORD *)(a1 + 328) = &off_1008B89C8;
*(_QWORD *)(a1 + 336) = off_1008B89E0;
*(_QWORD *)(a1 + 344) = off_1008B8A00;
*(_QWORD *)(a1 + 352) = off_1008B8A20;
*(_QWORD *)(a1 + 408) = off_1008B8A48;
*(_QWORD *)(a1 + 432) = off_1008B8AC8;
*(_QWORD *)(a1 + 608) = &off_1008B8AE8;
*(_QWORD *)(a1 + 616) = off_1008B8B00;
*(_QWORD *)(a1 + 624) = off_1008B8B20;
*(_QWORD *)(a1 + 632) = &off_1008B8B40;
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);
}