//
// sub_10042CB7C from 0x10042cb7c to 0x10042cc44 (200 bytes)
//
// 5 xrefs:
// > sub_100406930 @ 0x1004069b0
// > sub_100406930 @ 0x100406d1c
// > sub_100407958 @ 0x100407a9c
// > sub_100407958 @ 0x100407e94
// > EffectGameObject::customSetup @ 0x10041c280
//
// 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:05:04 +0000
//
bool __fastcall sub_10042CB7C(__int64 a1)
{
int v2; // w9
_BOOL8 result; // x0
unsigned int v4; // w9
bool v5; // cc
int v6; // w9
bool v8; // zf
v2 = *(_DWORD *)(a1 + 1028);
result = 1;
if ( v2 <= 2062 )
{
if ( v2 <= 1593 )
{
if ( v2 == 142 || v2 == 1268 || v2 == 1329 )
return result;
}
else if ( v2 > 1810 )
{
if ( v2 == 1811 || v2 == 1815 || v2 == 1912 )
return result;
}
else
{
v4 = v2 - 1594;
v5 = v4 > 0x11;
v6 = (1 << v4) & 0x20003;
if ( !v5 && v6 != 0 )
return result;
}
return *(_DWORD *)(a1 + 920) == 30;
}
v8 = (unsigned int)(v2 - 3604) > 0x27 || ((1LL << ((unsigned __int8)v2 - 20)) & 0x9000010029LL) == 0;
if ( v8 && v2 != 2063 && v2 != 2068 )
return *(_DWORD *)(a1 + 920) == 30;
return result;
}