//
// sub_100887070 from 0x100887070 to 0x100887167 (247 bytes)
//
// 4 xrefs:
// > sub_100887170 @ 0x100887175
// > sub_100887180 @ 0x10088718c
// > sub_1008871A0 @ 0x1008871a9
// > sub_1008871C0 @ 0x1008871d3
//
// 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:36:59 +0000
//
__int64 __fastcall sub_100887070(_QWORD *a1, __int64 a2)
{
*a1 = off_100BA5120;
a1[40] = off_100BA5690;
a1[41] = &off_100BA5700;
a1[42] = off_100BA5718;
a1[43] = off_100BA5738;
a1[44] = off_100BA5760;
a1[51] = off_100BA5790;
a1[54] = off_100BA5810;
a1[68] = off_100BA5830;
a1[88] = off_100BA5878;
a1[89] = off_100BA5898;
if ( *(_QWORD **)(GJAccountManager::sharedState((__int64)a1, a2) + 432) == a1 + 88 )
*(_QWORD *)(GJAccountManager::sharedState((__int64)a1, a2) + 432) = 0;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1352) == a1 + 89 )
*(_QWORD *)(GameLevelManager::sharedState() + 1352) = 0;
return sub_100290000((__int64)a1);
}