//
// EnhancedGameObject::canAllowMultiActivate from 0x1401a47d0 to 0x1401a489d (205 bytes)
//
// 41 xrefs:
// > ??> @ 0x14055e790
// > ??> @ 0x14060d9b8
// > ??> @ 0x14060ea28
// > ??> @ 0x14060f260
// > ??> @ 0x14060f908
// > ??> @ 0x14060ffd8
// > ??> @ 0x140610690
// > ??> @ 0x140610dd8
// > ??> @ 0x140611638
// > ??> @ 0x140611d70
// > ??> @ 0x140612558
// > ??> @ 0x140612c00
// > ??> @ 0x1406132a8
// > ??> @ 0x140613a18
// > ??> @ 0x1406140c0
// > ??> @ 0x1406148a8
// > ??> @ 0x1406150e0
// > ??> @ 0x140615828
// > ??> @ 0x140615ed0
// > ??> @ 0x140616618
// > ??> @ 0x140616dd8
// > ??> @ 0x140617480
// > ??> @ 0x140617b28
// > ??> @ 0x140618298
// > ??> @ 0x140618940
// > ??> @ 0x140619088
// > ??> @ 0x140619b28
// > ??> @ 0x14061a1d0
// > ??> @ 0x14061a878
// > ??> @ 0x14061af98
// > ??> @ 0x14061b640
// > ??> @ 0x14061bd88
// > ??> @ 0x14061c520
// > ??> @ 0x14061cbc8
// > ??> @ 0x14061d270
// > ??> @ 0x14061d918
// > ??> @ 0x14061dfc0
// > ??> @ 0x14061e668
// > ??> @ 0x14061ed10
// > ??> @ 0x14061f520
// > ??> @ 0x14061fcb8
//
// 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 EnhancedGameObject::canAllowMultiActivate(EnhancedGameObject *a1)
{
int m_objectID; // edx
int v2; // edx
int v3; // edx
int v4; // edx
int v6; // edx
int v7; // edx
int v8; // edx
int v9; // edx
int v10; // edx
int v11; // edx
int v12; // edx
int v13; // edx
int v14; // edx
m_objectID = a1->m_objectID;
if ( m_objectID <= 286 )
{
if ( m_objectID != 286 )
{
switch ( m_objectID )
{
case 10:
case 11:
case 12:
case 13:
case 35:
case 36:
case 45:
case 46:
case 47:
case 67:
case 84:
case 99:
case 101:
case 111:
case 140:
case 141:
return 1;
default:
return 0;
}
}
return 1;
}
if ( m_objectID > 1594 )
{
if ( m_objectID > 2926 )
{
v12 = m_objectID - 3004;
if ( !v12 )
return 1;
v13 = v12 - 1;
if ( !v13 )
return 1;
v14 = v13 - 22;
if ( !v14 )
return 1;
return v14 == 616;
}
else
{
if ( m_objectID == 2926 )
return 1;
v9 = m_objectID - 1704;
if ( !v9 )
return 1;
v10 = v9 - 47;
if ( !v10 )
return 1;
v11 = v10 - 182;
if ( !v11 )
return 1;
return v11 == 969;
}
}
else
{
if ( m_objectID == 1594 )
return 1;
if ( m_objectID > 1022 )
{
v6 = m_objectID - 1330;
if ( !v6 )
return 1;
v7 = v6 - 1;
if ( !v7 )
return 1;
v8 = v7 - 1;
if ( !v8 )
return 1;
return v8 == 1;
}
else
{
if ( m_objectID == 1022 )
return 1;
v2 = m_objectID - 287;
if ( !v2 )
return 1;
v3 = v2 - 373;
if ( !v3 )
return 1;
v4 = v3 - 85;
if ( !v4 )
return 1;
return v4 == 2;
}
}
}