//
// sub_100082F38 from 0x100082f38 to 0x100082ff4 (188 bytes)
//
// 4 xrefs:
// > sub_100082FF8 @ 0x100082ff8
// > sub_100082FFC @ 0x100083000
// > sub_100083004 @ 0x10008300c
// > sub_100083018 @ 0x100083024
//
// 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_100082F38(__int64 a1)
{
cocos2d::CCObject *v2; // x0
*(_QWORD *)a1 = off_10077D2D0;
*(_QWORD *)(a1 + 320) = off_10077D820;
*(_QWORD *)(a1 + 328) = &off_10077D890;
*(_QWORD *)(a1 + 336) = off_10077D8A8;
*(_QWORD *)(a1 + 344) = off_10077D8C8;
*(_QWORD *)(a1 + 352) = off_10077D8E8;
*(_QWORD *)(a1 + 408) = off_10077D910;
*(_QWORD *)(a1 + 432) = off_10077D990;
*(_QWORD *)(a1 + 632) = off_10077D9B0;
*(_QWORD *)(a1 + 640) = off_10077D9F8;
*(_QWORD *)(a1 + 648) = &off_10077DA18;
if ( GJAccountManager::sharedState()->m_accountLoginDelegate == (GJAccountLoginDelegate *)(a1 + 640) )
GJAccountManager::sharedState()->m_accountLoginDelegate = nullptr;
v2 = *(cocos2d::CCObject **)(a1 + 688);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(char *)(a1 + 743) < 0 )
operator delete(*(void **)(a1 + 720));
if ( *(char *)(a1 + 719) < 0 )
operator delete(*(void **)(a1 + 696));
return FLAlertLayer::dFLAlertLayer(a1);
}