//
// sub_10020C3BC from 0x10020c3bc to 0x10020c444 (136 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::spawnGroup @ 0x1001ec1b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10020C3BC(__int64 a1, int *a2)
{
__int64 *v2; // x8
int v3; // w9
int v4; // w10
__int64 result; // x0
int v6; // w11
int v7; // w12
int v8; // w12
int v9; // w12
v2 = *(__int64 **)(a1 + 8);
if ( v2 )
{
v3 = *a2;
v4 = a2[1];
result = 1;
v6 = a2[2];
do
{
v7 = *((_DWORD *)v2 + 7);
if ( v3 >= v7 )
{
if ( v7 >= v3 )
{
v8 = *((_DWORD *)v2 + 8);
if ( v4 < v8 || v8 >= v4 && v6 < *((_DWORD *)v2 + 9) )
goto LABEL_7;
v9 = *((_DWORD *)v2 + 8);
if ( v9 >= v4 && (v4 < v9 || *((_DWORD *)v2 + 9) >= v6) )
return result;
}
++v2;
}
LABEL_7:
v2 = (__int64 *)*v2;
}
while ( v2 );
}
return 0;
}