//
// GameObject::isConfigurablePortal from 0x7731d4 to 0x77324c (120 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x7c8e70
// > ??> @ 0xb6c08
//
// 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 12:53:13 +0000
//
bool __fastcall GameObject::isConfigurablePortal(GameObject *this)
{
int v1; // w0
v1 = *((_DWORD *)this + 257);
if ( v1 <= 287 )
{
if ( v1 < 286 && v1 != 47 )
{
if ( v1 <= 47 )
return (unsigned int)(v1 - 12) <= 1;
if ( v1 != 111 )
return 0;
}
return 1;
}
if ( v1 == 745 )
return 1;
if ( v1 > 745 )
return v1 == 1331 || v1 == 1933;
return v1 == 660;
}