//
// PlayLayer::getLastCheckpoint from 0x5cf6d8 to 0x5cf714 (60 bytes)
//
// 5 xrefs:
// > PlayLayer::createCheckpoint @ 0x5e3d30
// > PlayerObject::tryPlaceCheckpoint @ 0x62e380
// > PlayerObject::tryPlaceCheckpoint @ 0x62e3e8
// > PlayerObject::tryPlaceCheckpoint @ 0x62e41c
// > ??> @ 0x65f58
//
// 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
//
CheckpointObject *PlayLayer::getLastCheckpoint(PlayLayer *a1)
{
if ( (unsigned int)cocos2d::CCArray::count(a1->m_checkpointArray) )
return (CheckpointObject *)cocos2d::CCArray::lastObject(a1->m_checkpointArray);
else
return nullptr;
}