//
// PlayerObject::removePendingCheckpoint from 0x7548bc to 0x75490c (80 bytes)
//
// 7 xrefs:
// > UILayer::onCheck @ 0x6ee5e8
// > PlayerObject::toggleFlyMode @ 0x7599ec
// > PlayerObject::toggleBirdMode @ 0x759cb0
// > PlayerObject::toggleSwingMode @ 0x759f30
// > PlayerObject::toggleDartMode @ 0x75a170
// > PlayerObject::resetObject @ 0x75dec0
// > ??> @ 0xb0188
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:52:56 +0000
//
__int64 __fastcall PlayerObject::removePendingCheckpoint(__int64 this)
{
__int64 v1; // x19
GameObject *Object; // x20
if ( *(_QWORD *)(this + 2120) )
{
v1 = this;
Object = (GameObject *)CheckpointObject::getObject(*(CheckpointObject **)(this + 2120));
GameObject::removeGlow(Object);
(*(void (__fastcall **)(GameObject *))(*(_QWORD *)Object + 536LL))(Object);
this = cocos2d::CCObject::release(*(cocos2d::CCObject **)(v1 + 2120));
*(_QWORD *)(v1 + 2120) = 0;
}
return this;
}