//
// GJBaseGameLayer::playerTouchedRing from 0x88b68c to 0x88b734 (168 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::collisionCheckObjects @ 0x88bbb4
// > GJBaseGameLayer::collisionCheckObjects @ 0x88c4bc
// > ??> @ 0x7e528
//
// 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 GJBaseGameLayer::playerTouchedRing(GJBaseGameLayer *a1, PlayerObject *a2, RingObject *a3)
{
if ( !a3->m_isRingPoweredOn )
{
GJBaseGameLayer::registerStateObject(a1, a3);
GJBaseGameLayer::gameEventTriggered(a1, OrbTouched, 0, 0);
}
PlayerObject::addToTouchedRings(a2, a3);
a3->powerOnObject(a3, a1->m_gameState.m_commandIndex);
if ( !PlayerObject::isFlying(a2) && !a3->m_claimTouch )
PlayerObject::ringJump(a2, a3, 0);
}