//
// MapPackCell::onClaimReward from 0x613880 to 0x61390c (140 bytes)
//
// 3 xrefs:
// > ??> @ 0x50010
// > MapPackCell::loadFromMapPack @ 0x61331c
// > ??> @ 0x122a928
//
// 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 MapPackCell::onClaimReward(MapPackCell *a1, cocos2d::CCObject *a2)
{
GameStatsManager *v3; // x0
v3 = GameStatsManager::sharedState();
GameStatsManager::completedMapPack(v3, a1->m_mapPack);
a1->m_rewardButton->setVisible(a1->m_rewardButton, 0);
a1->m_rewardButton->setEnabled(a1->m_rewardButton, 0);
a1->m_viewButton->setVisible(a1->m_viewButton, 1);
a1->m_viewButton->setEnabled(a1->m_viewButton, 1);
MapPackCell::playCompleteEffect(a1);
}