//
// PlayLayer::getLastCheckpoint from 0x10008a4c0 to 0x10008a4f4 (52 bytes)
//
// 3 xrefs:
// > PlayerObject::tryPlaceCheckpoint @ 0x1003effe6
// > PlayerObject::tryPlaceCheckpoint @ 0x1003f0075
// > PlayerObject::tryPlaceCheckpoint @ 0x1003f0171
//
// This function is hookable on this platform (idp: pc, 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:20:06 +0000
//
__int64 __fastcall PlayLayer::getLastCheckpoint(__int64 a1)
{
if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 14248)) )
return sub_1007FF000(*(_QWORD *)(a1 + 14248));
else
return 0;
}