//
// PlayerObject::removePlacedCheckpoint from 0x1002c4798 to 0x1002c47d4 (60 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x1002836f4
//
// 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 11:02:32 +0000
//
__int64 __fastcall PlayerObject::removePlacedCheckpoint(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
if ( *(_BYTE *)(result + 1977) == 1 )
{
v1 = result;
v2 = GameManager::sharedState(result);
result = PlayLayer::removeCheckpoint(*(_QWORD *)(v2 + 544), 0);
*(_BYTE *)(v1 + 1977) = 0;
}
return result;
}