//
// GameLevelManager::saveFetchedMapPacks from 0x6f56ac to 0x6f5708 (92 bytes)
//
// 2 xrefs:
// > GameLevelManager::onGetMapPacksCompleted @ 0x70d8bc
// > ??> @ 0x80838
//
// 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 GameLevelManager::saveFetchedMapPacks(GameLevelManager *a1, cocos2d::CCArray *a2)
{
unsigned int v4; // w19
GJMapPack *v5; // x0
bool v6; // cf
unsigned int v7; // w1
v4 = 0;
while ( 1 )
{
v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a2);
v7 = v4++;
if ( v6 )
break;
v5 = (GJMapPack *)cocos2d::CCArray::objectAtIndex(a2, v7);
GameLevelManager::saveMapPack(a1, v5);
}
}