//
// sub_10008C5A0 from 0x10008c5a0 to 0x10008c65c (188 bytes)
//
// 4 xrefs:
// > AccountLoginLayer::dAccountLoginLayer @ 0x10008c660
// > sub_10008C664 @ 0x10008c668
// > sub_10008C66C @ 0x10008c674
// > sub_10008C680 @ 0x10008c68c
//
// This function is hookable on this platform (idp: arm, 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 10:58:21 +0000
//
__int64 __fastcall sub_10008C5A0(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
*(_QWORD *)a1 = off_1008C9AD8;
*(_QWORD *)(a1 + 320) = off_1008CA058;
*(_QWORD *)(a1 + 328) = &off_1008CA0C8;
*(_QWORD *)(a1 + 336) = off_1008CA0E0;
*(_QWORD *)(a1 + 344) = off_1008CA100;
*(_QWORD *)(a1 + 352) = off_1008CA128;
*(_QWORD *)(a1 + 408) = off_1008CA158;
*(_QWORD *)(a1 + 432) = off_1008CA1D8;
*(_QWORD *)(a1 + 544) = off_1008CA1F8;
*(_QWORD *)(a1 + 664) = off_1008CA240;
*(_QWORD *)(a1 + 672) = &off_1008CA260;
v2 = GJAccountManager::sharedState(a1);
if ( *(_QWORD *)(v2 + 400) == a1 + 664 )
*(_QWORD *)(GJAccountManager::sharedState(v2) + 400) = 0;
v3 = *(_QWORD *)(a1 + 712);
if ( v3 )
cocos2d::CCObject::release(v3);
if ( *(char *)(a1 + 767) < 0 )
operator delete(*(void **)(a1 + 744));
if ( *(char *)(a1 + 743) < 0 )
operator delete(*(void **)(a1 + 720));
return sub_10034A834(a1);
}