//
// sub_100382090 from 0x100382090 to 0x100382157 (199 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b2a830
//
// 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:29:08 +0000
//
__int64 __fastcall sub_100382090(_QWORD *a1, double a2)
{
*(a1 - 40) = off_100B2A298;
*a1 = off_100B2A830;
a1[1] = &off_100B2A8A0;
a1[2] = off_100B2A8B8;
a1[3] = off_100B2A8D8;
a1[4] = off_100B2A900;
a1[11] = off_100B2A930;
a1[14] = off_100B2A9B0;
a1[36] = &off_100B2A9D0;
a1[37] = off_100B2A9E8;
a1[38] = &off_100B2AA08;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1360) == a1 + 37 )
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = 0;
return sub_1006BB0D0(a1 - 40);
}