//
// PlayLayer::storeCheckpoint from 0x5d2e68 to 0x5d2ed0 (104 bytes)
//
// 3 xrefs:
// > PlayLayer::markCheckpoint @ 0x5e4254
// > PlayerObject::tryPlaceCheckpoint @ 0x62e350
// > ??> @ 0x76fb0
//
// 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 PlayLayer::storeCheckpoint(PlayLayer *a1, CheckpointObject *a2)
{
GameObject *Object; // x0
cocos2d::CCArray::addObject(a1->m_checkpointArray, a2);
Object = CheckpointObject::getObject(a2);
a1->addToSection(a1, Object);
if ( (unsigned int)cocos2d::CCArray::count(a1->m_checkpointArray) > 0x32 )
PlayLayer::removeCheckpoint(a1, 1);
}