//
// PlayerObject::removePendingCheckpoint from 0x62e240 to 0x62e290 (80 bytes)
//
// 7 xrefs:
// > UILayer::onCheck @ 0x5c5ef4
// > PlayerObject::toggleSwingMode @ 0x6308a8
// > PlayerObject::toggleFlyMode @ 0x630fe4
// > PlayerObject::toggleBirdMode @ 0x6312a8
// > PlayerObject::toggleDartMode @ 0x631524
// > PlayerObject::resetObject @ 0x632514
// > ??> @ 0x848a0
//
// 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::removePendingCheckpoint(PlayerObject *a1)
{
GameObject *Object; // x20
if ( a1->m_pendingCheckpoint )
{
Object = CheckpointObject::getObject(a1->m_pendingCheckpoint);
GameObject::removeGlow(Object);
Object->removeMeAndCleanup(Object);
cocos2d::CCObject::release(a1->m_pendingCheckpoint);
a1->m_pendingCheckpoint = nullptr;
}
}