//
// sub_10087AAC0 from 0x10087aac0 to 0x10087ab79 (185 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba3230
//
// 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:54 +0000
//
__int64 __fastcall sub_10087AAC0(_QWORD *a1)
{
*(a1 - 40) = off_100BA2CA8;
*a1 = off_100BA3230;
a1[1] = &off_100BA32A0;
a1[2] = off_100BA32B8;
a1[3] = off_100BA32D8;
a1[4] = off_100BA3300;
a1[11] = off_100BA3330;
a1[14] = off_100BA33B0;
a1[36] = &off_100BA33D0;
a1[37] = &off_100BA33E8;
if ( *(_QWORD **)(GameManager::sharedState() + 952) == a1 + 37 )
*(_QWORD *)(GameManager::sharedState() + 952) = 0;
return sub_1006BB0D0(a1 - 40);
}