//
// GJMapPack::totalMaps from 0x1000afbf8 to 0x1000afc08 (16 bytes)
//
// 4 xrefs:
// > MapPackCell::loadFromMapPack @ 0x100103188
// > MapPackCell::loadFromMapPack @ 0x1001033e0
// > MapPackCell::loadFromMapPack @ 0x100103434
// > GameStatsManager::completedMapPack @ 0x100331300
//
// 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 __fastcall GJMapPack::totalMaps(GJMapPack *a1)
{
cocos2d::CCArray *m_levels; // x0
m_levels = a1->m_levels;
if ( m_levels )
LODWORD(m_levels) = sub_10024A36C(m_levels);
return (int)m_levels;
}