//
// PlayLayer::checkpointWithID from 0x6f62d8 to 0x6f6338 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0xab1a8
//
// 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:51:50 +0000
//
__int64 __fastcall PlayLayer::checkpointWithID(cocos2d::CCArray **this, int a2)
{
unsigned int v4; // w19
__int64 result; // x0
bool v6; // cf
unsigned int v7; // w1
v4 = 0;
while ( 1 )
{
v6 = v4 >= (unsigned int)cocos2d::CCArray::count(*(this + 1781));
v7 = v4++;
if ( v6 )
break;
result = cocos2d::CCArray::objectAtIndex(*(this + 1781), v7);
if ( *(_DWORD *)(result + 3140) == a2 )
return result;
}
return 0;
}