//
// EnhancedGameObject::activatedByPlayer from 0x1401a4a90 to 0x1401a4ae8 (88 bytes)
//
// 42 xrefs:
// > ??> @ 0x14055e730
// > ??> @ 0x14060d958
// > ??> @ 0x14060e9c8
// > ??> @ 0x14060f200
// > ??> @ 0x14060f8a8
// > ??> @ 0x14060ff78
// > ??> @ 0x140610630
// > ??> @ 0x140610d78
// > ??> @ 0x1406115d8
// > ??> @ 0x140611d10
// > ??> @ 0x1406124f8
// > ??> @ 0x140612ba0
// > ??> @ 0x140613248
// > ??> @ 0x1406139b8
// > ??> @ 0x140614060
// > ??> @ 0x140614848
// > ??> @ 0x140615080
// > ??> @ 0x1406157c8
// > ??> @ 0x140615e70
// > ??> @ 0x1406165b8
// > ??> @ 0x140616d78
// > ??> @ 0x140617420
// > ??> @ 0x140617ac8
// > ??> @ 0x140618238
// > ??> @ 0x1406188e0
// > ??> @ 0x140619028
// > ??> @ 0x140619ac8
// > ??> @ 0x14061a170
// > ??> @ 0x14061a818
// > ??> @ 0x14061af38
// > ??> @ 0x14061b5e0
// > ??> @ 0x14061bd28
// > ??> @ 0x14061c4c0
// > ??> @ 0x14061cb68
// > ??> @ 0x14061d210
// > ??> @ 0x14061d8b8
// > ??> @ 0x14061df60
// > ??> @ 0x14061e608
// > ??> @ 0x14061ecb0
// > ??> @ 0x14061f4c0
// > ??> @ 0x14061fc58
// > ??> @ 0x1406cc06c
//
// 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 EnhancedGameObject::activatedByPlayer(EnhancedGameObject *a1, PlayerObject *a2)
{
EnhancedGameObject_vtbl *v2; // rax
v2 = a1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_activated = 1;
if ( !v2->canMultiActivate(a1, a2->m_isPlatformer) )
{
if ( a2->m_uniqueID == 1 )
a1->m_activatedByPlayer1 = 1;
else
a1->m_activatedByPlayer2 = 1;
}
}