//
// sub_1001EE350 from 0x1001ee350 to 0x1001ee420 (208 bytes)
//
// 4 xrefs:
// > AccountLayer::dAccountLayer @ 0x1001ee424
// > sub_1001EE428 @ 0x1001ee42c
// > sub_1001EE430 @ 0x1001ee438
// > sub_1001EE444 @ 0x1001ee450
//
// 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 11:00:36 +0000
//
__int64 __fastcall sub_1001EE350(_QWORD *a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
*a1 = off_1008F1470;
a1[40] = off_1008F1A18;
a1[41] = &off_1008F1A88;
a1[42] = off_1008F1AA0;
a1[43] = &off_1008F1AC0;
a1[44] = off_1008F1AE8;
a1[51] = off_1008F1B18;
a1[54] = off_1008F1B98;
a1[76] = &off_1008F1BB8;
a1[77] = off_1008F1BD0;
a1[78] = off_1008F1BF0;
a1[79] = &off_1008F1C10;
v2 = GJAccountManager::sharedState(a1);
if ( *(_QWORD **)(v2 + 408) == a1 + 76 )
{
v2 = GJAccountManager::sharedState(v2);
*(_QWORD *)(v2 + 408) = 0;
}
v3 = GJAccountManager::sharedState(v2);
if ( *(_QWORD **)(v3 + 416) == a1 + 77 )
{
v3 = GJAccountManager::sharedState(v3);
*(_QWORD *)(v3 + 416) = 0;
}
v4 = GJAccountManager::sharedState(v3);
if ( *(_QWORD **)(v4 + 424) == a1 + 78 )
*(_QWORD *)(GJAccountManager::sharedState(v4) + 424) = 0;
return sub_100459174(a1);
}