//
// GameObject::isConfigurablePortal from 0x10069d3c0 to 0x10069d42d (109 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x10000a314
//
// 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:35:16 +0000
//
char __fastcall GameObject::isConfigurablePortal(__int64 a1)
{
int v1; // ecx
char result; // al
__int64 v3; // rsi
v1 = *(_DWORD *)(a1 + 1028);
result = 1;
if ( v1 <= 285 )
{
if ( (unsigned int)v1 > 0x2F || (v3 = 0x800000003000LL, !_bittest64(&v3, (unsigned int)v1)) )
{
if ( 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;
}