//
// PlayLayer::storeCheckpoint from 0x100120e28 to 0x100120e88 (96 bytes)
//
// 2 xrefs:
// > PlayLayer::markCheckpoint @ 0x10011f5d0
// > PlayerObject::tryPlaceCheckpoint @ 0x10021da24
//
// 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
//
void __fastcall PlayLayer::storeCheckpoint(PlayLayer *a1, CheckpointObject *a2)
{
__n128 v4; // q0
v4 = sub_10024A2D0(a1->m_checkpointArray, a2);
((void (__fastcall *)(PlayLayer *, GameObject *, __n128))a1->addToSection)(a1, a2->m_physicalCheckpointObject, v4);
if ( (unsigned int)sub_10024A36C(a1->m_checkpointArray) >= 0x33 )
PlayLayer::removeCheckpoint(a1, 1);
}