//
// PlayerObject::removePendingCheckpoint from 0x439648 to 0x439676 (46 bytes)
//
// 6 xrefs:
// > UILayer::onCheck @ 0x3fc4cc
// > PlayerObject::toggleFlyMode @ 0x43e9c8
// > PlayerObject::toggleBirdMode @ 0x43ebcc
// > PlayerObject::toggleSwingMode @ 0x43edb2
// > PlayerObject::toggleDartMode @ 0x43ef5a
// > PlayerObject::resetObject @ 0x44034e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:48:20 +0000
//
CheckpointObject *__fastcall PlayerObject::removePendingCheckpoint(PlayerObject *this)
{
CheckpointObject *result; // r0
GameObject *Object; // r5
result = *((CheckpointObject **)this + 431);
if ( result )
{
Object = (GameObject *)CheckpointObject::getObject(result);
GameObject::removeGlow(Object);
(*(void (__fastcall **)(GameObject *))(*(_DWORD *)Object + 268))(Object);
result = (CheckpointObject *)cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 431));
*((_DWORD *)this + 431) = 0;
}
return result;
}