//
// EnhancedGameObject::hasBeenActivatedByPlayer from 0x1005cc270 to 0x1005cc2ba (74 bytes)
//
// 42 xrefs:
// > ??> @ 0x1008c4660
// > ??> @ 0x1008c4e98
// > ??> @ 0x1008c5690
// > ??> @ 0x1008c5e88
// > ??> @ 0x1008c6680
// > ??> @ 0x1008c6e78
// > ??> @ 0x1008c7670
// > ??> @ 0x1008c8650
// > ??> @ 0x1008c8e60
// > ??> @ 0x1008c96d8
// > ??> @ 0x1008c9ee8
// > ??> @ 0x1008ca6f8
// > ??> @ 0x1008caf08
// > ??> @ 0x1008cb718
// > ??> @ 0x1008cbf28
// > ??> @ 0x1008cc738
// > ??> @ 0x1008ccf48
// > ??> @ 0x1008cd758
// > ??> @ 0x1008cdf68
// > ??> @ 0x1008ce790
// > ??> @ 0x1008cefe8
// > ??> @ 0x1008cf810
// > ??> @ 0x1008d0038
// > ??> @ 0x1008d0860
// > ??> @ 0x1008d1088
// > ??> @ 0x1008d1898
// > ??> @ 0x1008d20a8
// > ??> @ 0x1008d28b8
// > ??> @ 0x1008d30c8
// > ??> @ 0x1008d38d8
// > ??> @ 0x1008d40e8
// > ??> @ 0x1008d48f8
// > ??> @ 0x1008d5108
// > ??> @ 0x1008d5918
// > ??> @ 0x1008d6128
// > ??> @ 0x1008d6938
// > ??> @ 0x1008d7148
// > ??> @ 0x1008d7958
// > ??> @ 0x1008d8168
// > ??> @ 0x1008d8978
// > ??> @ 0x1008d9188
// > ??> @ 0x1009721c8
//
// 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::hasBeenActivatedByPlayer(EnhancedGameObject *a1, PlayerObject *a2)
{
if ( ((unsigned __int8 (__fastcall *)(EnhancedGameObject *, bool))a1->canMultiActivate)(a1, a2->m_isPlatformer) )
return 0;
if ( a2->m_uniqueID == 1 )
return a1->m_activatedByPlayer1;
return a1->m_activatedByPlayer2;
}