//
// MapPackCell::init from 0x100252730 to 0x10025277f (79 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008e3a20
//
// 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
//
bool __fastcall MapPackCell::init(MapPackCell *a1)
{
__int64 v1; // rsi
cocos2d::CCArray *v3; // rax
cocos2d::CCArray *v4; // rdi
cocos2d::CCArray *v5; // rax
v3 = (cocos2d::CCArray *)sub_10071F9E0(a1, v1);
a1->m_rewardSprites = v3;
v4 = v3;
cocos2d::CCObject::retain(v3);
v5 = (cocos2d::CCArray *)sub_10071F9E0(v4, v1);
a1->m_rewardLabels = v5;
cocos2d::CCObject::retain(v5);
*(_OWORD *)&a1->m_mapPack = 0;
a1->m_rewardButton = nullptr;
return 1;
}