//
// EnhancedGameObject::activatedByPlayer from 0x1002630c8 to 0x100263120 (88 bytes)
//
// 42 xrefs:
// > ??> @ 0x1007d0660
// > ??> @ 0x1007f56e0
// > ??> @ 0x1007f5f18
// > ??> @ 0x1007f6710
// > ??> @ 0x1007f6f08
// > ??> @ 0x1007f7700
// > ??> @ 0x1007f7ef8
// > ??> @ 0x1007f86f0
// > ??> @ 0x1007f96d0
// > ??> @ 0x1007f9ee0
// > ??> @ 0x1007fa748
// > ??> @ 0x1007faf58
// > ??> @ 0x1007fb768
// > ??> @ 0x1007fbf78
// > ??> @ 0x1007fc788
// > ??> @ 0x1007fcf98
// > ??> @ 0x1007fd7a8
// > ??> @ 0x1007fdfb8
// > ??> @ 0x1007fe7c8
// > ??> @ 0x1007fefd8
// > ??> @ 0x1007ff800
// > ??> @ 0x100800058
// > ??> @ 0x100800880
// > ??> @ 0x1008010a8
// > ??> @ 0x1008018d0
// > ??> @ 0x1008020f8
// > ??> @ 0x100802908
// > ??> @ 0x100803118
// > ??> @ 0x100803928
// > ??> @ 0x100804138
// > ??> @ 0x100804948
// > ??> @ 0x100805158
// > ??> @ 0x100805968
// > ??> @ 0x100806178
// > ??> @ 0x100806988
// > ??> @ 0x100807198
// > ??> @ 0x1008079a8
// > ??> @ 0x1008081b8
// > ??> @ 0x1008089c8
// > ??> @ 0x1008091d8
// > ??> @ 0x1008099e8
// > ??> @ 0x10080a1f8
//
// 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
//
void __fastcall EnhancedGameObject::activatedByPlayer(EnhancedGameObject *a1, PlayerObject *a2)
{
a1->m_activated = 1;
if ( (((__int64 (__fastcall *)(EnhancedGameObject *, bool))a1->canMultiActivate)(a1, a2->m_isPlatformer) & 1) == 0 )
{
if ( a2->m_uniqueID == 1 )
a1->m_activatedByPlayer1 = 1;
else
a1->m_activatedByPlayer2 = 1;
}
}