//
// sub_10028F140 from 0x10028f140 to 0x10028f1f9 (185 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b013e0
//
// 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:27:49 +0000
//
__int64 __fastcall sub_10028F140(_QWORD *a1, __int64 a2)
{
*(a1 - 40) = off_100B00E80;
*a1 = off_100B013E0;
a1[1] = &off_100B01450;
a1[2] = off_100B01468;
a1[3] = off_100B01488;
a1[4] = off_100B014B0;
a1[11] = off_100B014E0;
a1[14] = off_100B01560;
a1[28] = off_100B01580;
a1[43] = off_100B015C8;
if ( *(_QWORD **)(GJAccountManager::sharedState((__int64)a1, a2) + 432) == a1 + 43 )
*(_QWORD *)(GJAccountManager::sharedState((__int64)a1, a2) + 432) = 0;
return sub_1004936F0(a1 - 40);
}