//
// MapPackCell::onClaimReward from 0x100252930 to 0x1002529a9 (121 bytes)
//
// 1 xrefs:
// > MapPackCell::loadFromMapPack @ 0x100244d42
//
// 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 __fastcall MapPackCell::onClaimReward(MapPackCell *a1, cocos2d::CCObject *a2)
{
GameStatsManager *v3; // rax
v3 = GameStatsManager::sharedState();
GameStatsManager::completedMapPack(v3, a1->m_mapPack);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_rewardButton->setVisible)(a1->m_rewardButton, 0);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_rewardButton->setEnabled)(a1->m_rewardButton, 0);
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_viewButton->setVisible)(a1->m_viewButton, 1);
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_viewButton->setEnabled)(a1->m_viewButton, 1);
MapPackCell::playCompleteEffect(a1);
}