//
// GJMapPack::totalMaps from 0x70e4a8 to 0x70e4bc (20 bytes)
//
// 7 xrefs:
// > MapPackCell::loadFromMapPack @ 0x612de0
// > MapPackCell::loadFromMapPack @ 0x612e44
// > MapPackCell::loadFromMapPack @ 0x6132c4
// > GJMapPack::hasCompletedMapPack @ 0x70e584
// > GJMapPack::hasCompletedMapPack @ 0x70e5a0
// > GameStatsManager::completedMapPack @ 0x7ba8c4
// > ??> @ 0xc65b8
//
// 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
//
int GJMapPack::totalMaps(GJMapPack *a1)
{
cocos2d::CCArray *m_levels; // x0
m_levels = a1->m_levels;
if ( m_levels )
return cocos2d::CCArray::count(m_levels);
else
return 0;
}