//
// PlayLayer::removeAllCheckpoints from 0x10014a914 to 0x10014a960 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008dfa40
//
// 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 10:59:36 +0000
//
_DWORD *__fastcall PlayLayer::removeAllCheckpoints(__int64 a1)
{
_DWORD *result; // x0
PlayLayer::writePersistentSave();
while ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 14248)) )
PlayLayer::removeCheckpoint(a1, 0);
result = *(_DWORD **)(a1 + 14176);
if ( result )
{
result = cocos2d::CCObject::release(result);
*(_QWORD *)(a1 + 14176) = 0;
}
return result;
}