//
// sub_1003E7720 from 0x1003e7720 to 0x1003e7768 (72 bytes)
//
// 1 xrefs:
// > sub_1003E75A4 @ 0x1003e7670
//
// This function is hookable on this platform (idp: arm, 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 11:04:26 +0000
//
__int64 __fastcall sub_1003E7720(__int64 a1)
{
int v1; // w8
__int64 result; // x0
v1 = *(_DWORD *)(a1 + 1028);
result = 1;
if ( v1 > 2891 )
{
if ( (unsigned int)(v1 - 2892) >= 2 )
return 0;
}
else if ( (unsigned int)(v1 - 1839) >= 4 && v1 != 1591 && v1 != 1593 )
{
return 0;
}
return result;
}