//
// PlayLayer::loadLastCheckpoint from 0x411bdc to 0x411c00 (36 bytes)
//
// 1 xrefs:
// > PlayLayer::resetLevel @ 0x4126c2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:37 +0000
//
CheckpointObject *__fastcall PlayLayer::loadLastCheckpoint(cocos2d::CCArray **this)
{
CheckpointObject *result; // r0
CheckpointObject *Object; // r4
result = (CheckpointObject *)cocos2d::CCArray::count(*(this + 2962));
if ( result )
{
Object = (CheckpointObject *)cocos2d::CCArray::lastObject(*(this + 2962));
PlayLayer::loadFromCheckpoint((int)this, Object);
return Object;
}
return result;
}