//
// sub_1003C1E40 from 0x1003c1e40 to 0x1003c1e95 (85 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:33 +0000
//
__int64 __fastcall sub_1003C1E40(__int64 a1)
{
int v1; // ebx
if ( *(_BYTE *)(a1 + 616) == 1
&& (v1 = *(_DWORD *)(a1 + 600), v1 > 0)
&& *(_QWORD *)(a1 + 608)
&& v1 <= (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 608)) )
{
return sub_1007FEFE0(*(_QWORD *)(a1 + 608), (unsigned int)(*(_DWORD *)(a1 + 600) - 1));
}
else
{
return 0;
}
}