//
// PlayerObject::addToTouchedRings from 0x34dfe4 to 0x34e02a (70 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::playerTouchedRing @ 0x4922c4
//
// 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 PlayerObject::addToTouchedRings(PlayerObject *a1, RingObject *a2)
{
PlayerObject *m_uniqueID; // [sp+0h] [bp-10h] BYREF
RingObject *v5; // [sp+4h] [bp-Ch] BYREF
m_uniqueID = a1;
v5 = a2;
if ( !cocos2d::CCArray::containsObject(a1->m_touchingRings, a2) )
cocos2d::CCArray::addObject(a1->m_touchingRings, a2);
m_uniqueID = (PlayerObject *)a2->m_uniqueID;
sub_34DF68((int)&v5, &a1->m_touchedRings._M_h._M_buckets, (unsigned int *)&m_uniqueID);
}