//
// GameLevelManager::saveMapPack from 0x3c0ca0 to 0x3c0cf2 (82 bytes)
//
// 1 xrefs:
// > GameLevelManager::saveFetchedMapPacks @ 0x3c0d18
//
// 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::saveMapPack(GameLevelManager *a1, GJMapPack *a2)
{
cocos2d::CCDictionary *m_savedPacks; // r7
char *MapPackKey; // r0
_BYTE v5[4]; // [sp+8h] [bp-Ch] BYREF
m_savedPacks = a1->m_savedPacks;
MapPackKey = (char *)GameLevelManager::getMapPackKey(a1, a2->m_packID);
sub_776584((int)v5, MapPackKey);
cocos2d::CCDictionary::setObject((int)m_savedPacks, a2);
sub_774008(v5);
}