//
// EnhancedGameObject::hasBeenActivatedByPlayer from 0x641c7c to 0x641cd8 (92 bytes)
//
// 43 xrefs:
// > ??> @ 0x9ed78
// > ??> @ 0x1154278
// > ??> @ 0x1162428
// > ??> @ 0x1162c28
// > ??> @ 0x1163428
// > ??> @ 0x1163c28
// > ??> @ 0x1164428
// > ??> @ 0x1164c28
// > ??> @ 0x1165428
// > ??> @ 0x11663f8
// > ??> @ 0x1166bf8
// > ??> @ 0x11673f8
// > ??> @ 0x1167bf8
// > ??> @ 0x11683f8
// > ??> @ 0x1168c38
// > ??> @ 0x1169438
// > ??> @ 0x1169c38
// > ??> @ 0x116a438
// > ??> @ 0x116ac38
// > ??> @ 0x116b448
// > ??> @ 0x116bc48
// > ??> @ 0x116c448
// > ??> @ 0x116cc48
// > ??> @ 0x116d448
// > ??> @ 0x116dc48
// > ??> @ 0x116e448
// > ??> @ 0x116ec48
// > ??> @ 0x116f448
// > ??> @ 0x116fc48
// > ??> @ 0x1170448
// > ??> @ 0x1170c48
// > ??> @ 0x1171448
// > ??> @ 0x1171c48
// > ??> @ 0x1172448
// > ??> @ 0x1172c48
// > ??> @ 0x1173448
// > ??> @ 0x1173c48
// > ??> @ 0x1174448
// > ??> @ 0x1174c48
// > ??> @ 0x1175448
// > ??> @ 0x1175c48
// > ??> @ 0x1176448
// > ??> @ 0x1176c48
//
// 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::hasBeenActivatedByPlayer(EnhancedGameObject *a1, PlayerObject *a2)
{
_BOOL4 v4; // w1
bool result; // w0
v4 = a1->canMultiActivate(a1, a2->m_isPlatformer);
result = 0;
if ( !v4 )
{
if ( a2->m_uniqueID == 1 )
return a1->m_activatedByPlayer1;
else
return a1->m_activatedByPlayer2;
}
return result;
}