//
// PlayLayer::removeAllCheckpoints from 0x70342c to 0x703470 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0xd7488
// > ??> @ 0x1428a70
//
// 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:04 +0000
//
__int64 __fastcall PlayLayer::removeAllCheckpoints(cocos2d::CCArray **this)
{
PlayLayer::writePersistentSave((PlayLayer *)this);
while ( (unsigned int)cocos2d::CCArray::count(*(this + 1781)) )
PlayLayer::removeCheckpoint(this, 0);
return PlayLayer::setLastSavedCheckpoint((__int64)this, nullptr);
}