//
// LocalLevelManager::markLevelsAsUnmodified from 0x910854 to 0x91089c (72 bytes)
//
// 2 xrefs:
// > GJAccountManager::onBackupAccountCompleted @ 0x988974
// > ??> @ 0xb1b08
//
// 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:57:16 +0000
//
__int64 __fastcall LocalLevelManager::markLevelsAsUnmodified(cocos2d::CCArray **this)
{
unsigned int v2; // w19
__int64 result; // x0
bool v4; // cf
unsigned int v5; // w1
v2 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 45));
v4 = v2 >= (unsigned int)result;
v5 = v2++;
if ( v4 )
break;
*(_BYTE *)(cocos2d::CCArray::objectAtIndex(*(this + 45), v5) + 786) = 0;
}
return result;
}