//
// sub_100381ED0 from 0x100381ed0 to 0x100381fa2 (210 bytes)
//
// 0 xrefs:
//
// 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_100381ED0(_QWORD *a1, double a2)
{
*a1 = off_100B2A298;
a1[40] = off_100B2A830;
a1[41] = &off_100B2A8A0;
a1[42] = off_100B2A8B8;
a1[43] = off_100B2A8D8;
a1[44] = off_100B2A900;
a1[51] = off_100B2A930;
a1[54] = off_100B2A9B0;
a1[76] = &off_100B2A9D0;
a1[77] = off_100B2A9E8;
a1[78] = &off_100B2AA08;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1360) == a1 + 77 )
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = 0;
return sub_1006BB0D0(a1);
}