//
// PlayLayer::checkpointWithID from 0x312bce to 0x312bfc (46 bytes)
//
// 0 xrefs:
//
// 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
//
CheckpointObject *PlayLayer::checkpointWithID(PlayLayer *a1, int a2)
{
cocos2d::CCArray **p_m_checkpointArray; // r5
unsigned int i; // r4
CheckpointObject *result; // r0
p_m_checkpointArray = &a1->m_checkpointArray;
for ( i = 0; i < cocos2d::CCArray::count(*p_m_checkpointArray); ++i )
{
result = (CheckpointObject *)cocos2d::CCArray::objectAtIndex(*p_m_checkpointArray, i);
if ( result->m_uniqueID == a2 )
return result;
}
return nullptr;
}