//
// EnhancedGameObject::canAllowMultiActivate from 0x100262e60 to 0x100262f94 (308 bytes)
//
// 42 xrefs:
// > ??> @ 0x1007d06c0
// > ??> @ 0x1007f5740
// > ??> @ 0x1007f5f78
// > ??> @ 0x1007f6770
// > ??> @ 0x1007f6f68
// > ??> @ 0x1007f7760
// > ??> @ 0x1007f7f58
// > ??> @ 0x1007f8750
// > ??> @ 0x1007f9730
// > ??> @ 0x1007f9f40
// > ??> @ 0x1007fa7a8
// > ??> @ 0x1007fafb8
// > ??> @ 0x1007fb7c8
// > ??> @ 0x1007fbfd8
// > ??> @ 0x1007fc7e8
// > ??> @ 0x1007fcff8
// > ??> @ 0x1007fd808
// > ??> @ 0x1007fe018
// > ??> @ 0x1007fe828
// > ??> @ 0x1007ff038
// > ??> @ 0x1007ff860
// > ??> @ 0x1008000b8
// > ??> @ 0x1008008e0
// > ??> @ 0x100801108
// > ??> @ 0x100801930
// > ??> @ 0x100802158
// > ??> @ 0x100802968
// > ??> @ 0x100803178
// > ??> @ 0x100803988
// > ??> @ 0x100804198
// > ??> @ 0x1008049a8
// > ??> @ 0x1008051b8
// > ??> @ 0x1008059c8
// > ??> @ 0x1008061d8
// > ??> @ 0x1008069e8
// > ??> @ 0x1008071f8
// > ??> @ 0x100807a08
// > ??> @ 0x100808218
// > ??> @ 0x100808a28
// > ??> @ 0x100809238
// > ??> @ 0x100809a48
// > ??> @ 0x10080a258
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall EnhancedGameObject::canAllowMultiActivate(EnhancedGameObject *a1)
{
int m_objectID; // w8
bool result; // w0
bool v3; // zf
bool v4; // zf
m_objectID = a1->m_objectID;
result = 1;
if ( m_objectID > 659 )
{
if ( m_objectID > 1703 )
{
if ( m_objectID > 2925 )
{
v4 = (unsigned int)(m_objectID - 3004) > 0x17 || ((1 << (m_objectID + 68)) & 0x800003) == 0;
if ( v4 && m_objectID != 2926 && m_objectID != 3643 )
return 0;
return result;
}
if ( m_objectID > 1932 )
{
if ( m_objectID == 1933 || m_objectID == 2902 )
return result;
}
else if ( m_objectID == 1704 || m_objectID == 1751 )
{
return result;
}
}
else if ( m_objectID <= 1021 )
{
if ( m_objectID == 660 || m_objectID == 745 || m_objectID == 747 )
return result;
}
else if ( (unsigned int)(m_objectID - 1330) < 4 || m_objectID == 1022 || m_objectID == 1594 )
{
return result;
}
return 0;
}
v3 = (unsigned int)(m_objectID - 10) > 0x39
|| ((1LL << ((unsigned __int8)m_objectID - 10)) & 0x20000380600000FLL) == 0;
if ( v3
&& ((unsigned int)(m_objectID - 84) > 0x39
|| ((1LL << ((unsigned __int8)m_objectID - 84)) & 0x300000008028001LL) == 0)
&& (unsigned int)(m_objectID - 286) >= 2 )
{
return 0;
}
return result;
}