//
// PlayerObject::removePendingCheckpoint from 0x100412be0 to 0x100412c2e (78 bytes)
//
// 1 xrefs:
// > UILayer::onCheck @ 0x1004c84cd
//
// 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 __fastcall PlayerObject::removePendingCheckpoint(PlayerObject *a1)
{
CheckpointObject *m_pendingCheckpoint; // rdi
GameObject *Object; // r14
m_pendingCheckpoint = a1->m_pendingCheckpoint;
if ( m_pendingCheckpoint )
{
Object = CheckpointObject::getObject(m_pendingCheckpoint);
GameObject::removeGlow(Object);
((void (__fastcall *)(GameObject *))Object->removeMeAndCleanup)(Object);
cocos2d::CCObject::release(a1->m_pendingCheckpoint);
a1->m_pendingCheckpoint = nullptr;
}
}