//
// PlayLayer::loadLastCheckpoint from 0x70fb24 to 0x70fb78 (84 bytes)
//
// 2 xrefs:
// > PlayLayer::resetLevel @ 0x711444
// > ??> @ 0x4e748
//
// 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:12 +0000
//
CheckpointObject *__fastcall PlayLayer::loadLastCheckpoint(cocos2d::CCArray **this)
{
CheckpointObject *Object; // x19
if ( !(unsigned int)cocos2d::CCArray::count(*(this + 1781)) )
return nullptr;
Object = (CheckpointObject *)cocos2d::CCArray::lastObject(*(this + 1781));
PlayLayer::loadFromCheckpoint((PlayLayer *)this, Object);
return Object;
}