//
// sub_10030001C from 0x10030001c to 0x100300098 (124 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x1004729f0
//
// 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:03:04 +0000
//
__int64 __fastcall sub_10030001C(__int64 a1)
{
int v1; // w8
__int64 result; // x0
bool v3; // zf
v1 = *(_DWORD *)(a1 + 1028);
result = 1;
if ( v1 <= 285 )
{
v3 = (unsigned int)v1 > 0x2F || ((1LL << v1) & 0x800000003000LL) == 0;
if ( v3 && v1 != 111 )
return 0;
}
else if ( v1 > 744 )
{
if ( v1 != 745 && v1 != 1331 && v1 != 1933 )
return 0;
}
else if ( (unsigned int)(v1 - 286) >= 2 && v1 != 660 )
{
return 0;
}
return result;
}