//
// sub_100939530 from 0x100939530 to 0x1009395a2 (114 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:38:28 +0000
//
__int64 __fastcall sub_100939530(__int64 a1, int a2)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // r14
__int64 v5; // r15
signed int v6; // r12d
__int64 v7; // rax
v2 = GameLevelManager::sharedState();
v3 = sub_100575510(v2);
v4 = 0;
if ( v3 )
{
v5 = v3;
v6 = 0;
while ( v6 < (int)sub_1007FEF90(v5) )
{
v7 = sub_1007FEFE0(v5, v6++);
if ( *(_DWORD *)(v7 + 376) == a2 )
return v7;
}
}
return v4;
}