//
// PlayLayer::loadLastCheckpoint from 0x100120f7c to 0x100120fc8 (76 bytes)
//
// 1 xrefs:
// > PlayLayer::resetLevel @ 0x100121fc0
//
// 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
//
CheckpointObject *__fastcall PlayLayer::loadLastCheckpoint(PlayLayer *a1)
{
CheckpointObject *v2; // x20
if ( !(unsigned int)sub_10024A36C(a1->m_checkpointArray) )
return nullptr;
v2 = (CheckpointObject *)sub_10024A398(a1->m_checkpointArray);
PlayLayer::loadFromCheckpoint(a1, v2);
return v2;
}