//
// EnhancedGameObject::hasBeenActivatedByPlayer from 0x100263120 to 0x100263178 (88 bytes)
//
// 42 xrefs:
// > ??> @ 0x1007d0668
// > ??> @ 0x1007f56e8
// > ??> @ 0x1007f5f20
// > ??> @ 0x1007f6718
// > ??> @ 0x1007f6f10
// > ??> @ 0x1007f7708
// > ??> @ 0x1007f7f00
// > ??> @ 0x1007f86f8
// > ??> @ 0x1007f96d8
// > ??> @ 0x1007f9ee8
// > ??> @ 0x1007fa750
// > ??> @ 0x1007faf60
// > ??> @ 0x1007fb770
// > ??> @ 0x1007fbf80
// > ??> @ 0x1007fc790
// > ??> @ 0x1007fcfa0
// > ??> @ 0x1007fd7b0
// > ??> @ 0x1007fdfc0
// > ??> @ 0x1007fe7d0
// > ??> @ 0x1007fefe0
// > ??> @ 0x1007ff808
// > ??> @ 0x100800060
// > ??> @ 0x100800888
// > ??> @ 0x1008010b0
// > ??> @ 0x1008018d8
// > ??> @ 0x100802100
// > ??> @ 0x100802910
// > ??> @ 0x100803120
// > ??> @ 0x100803930
// > ??> @ 0x100804140
// > ??> @ 0x100804950
// > ??> @ 0x100805160
// > ??> @ 0x100805970
// > ??> @ 0x100806180
// > ??> @ 0x100806990
// > ??> @ 0x1008071a0
// > ??> @ 0x1008079b0
// > ??> @ 0x1008081c0
// > ??> @ 0x1008089d0
// > ??> @ 0x1008091e0
// > ??> @ 0x1008099f0
// > ??> @ 0x10080a200
//
// 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 ( (((__int64 (__fastcall *)(EnhancedGameObject *, bool))a1->canMultiActivate)(a1, a2->m_isPlatformer) & 1) != 0 )
{
return 0;
}
else if ( a2->m_uniqueID == 1 )
{
return a1->m_activatedByPlayer1;
}
else
{
return a1->m_activatedByPlayer2;
}
}