//
// sub_10009A000 from 0x10009a000 to 0x10009a12a (298 bytes)
//
// 4 xrefs:
// > AccountLayer::dAccountLayer @ 0x10009a145
// > sub_10009A150 @ 0x10009a15c
// > sub_10009A170 @ 0x10009a179
// > sub_10009A190 @ 0x10009a1a3
//
// 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:11 +0000
//
__int64 __fastcall sub_10009A000(_QWORD *a1)
{
*a1 = off_100ABB998;
a1[40] = off_100ABBF40;
a1[41] = &off_100ABBFB0;
a1[42] = off_100ABBFC8;
a1[43] = off_100ABBFE8;
a1[44] = off_100ABC010;
a1[51] = off_100ABC040;
a1[54] = off_100ABC0C0;
a1[76] = &off_100ABC0E0;
a1[77] = off_100ABC0F8;
a1[78] = off_100ABC118;
a1[79] = &off_100ABC138;
if ( *(_QWORD **)(GJAccountManager::sharedState(a1) + 408) == a1 + 76 )
*(_QWORD *)(GJAccountManager::sharedState(a1) + 408) = 0;
if ( *(_QWORD **)(GJAccountManager::sharedState(a1) + 416) == a1 + 77 )
*(_QWORD *)(GJAccountManager::sharedState(a1) + 416) = 0;
if ( *(_QWORD **)(GJAccountManager::sharedState(a1) + 424) == a1 + 78 )
*(_QWORD *)(GJAccountManager::sharedState(a1) + 424) = 0;
return sub_1006BB0D0(a1);
}