//
// SecretRewardsLayer::SecretRewardsLayer from 0x1002eeb2c to 0x1002eebac (128 bytes)
//
// 1 xrefs:
// > SecretRewardsLayer::create @ 0x1002e7f60
//
// 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
//
SecretRewardsLayer *__fastcall SecretRewardsLayer::SecretRewardsLayer(SecretRewardsLayer *a1)
{
SecretRewardsLayer *result; // x0
result = (SecretRewardsLayer *)cocos2d::CCLayer::CCLayer((__int64)a1);
result->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretRewardsLayer_vtbl *)off_1007E5F50;
result->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007E63E0;
result->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007E6450;
result->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007E6468;
result->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1007E6488;
result->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007E64A8;
result->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_1007E64D0;
result->BoomScrollLayerDelegate::__vftable = (BoomScrollLayerDelegate_vtbl *)off_1007E64E8;
result->m_chestCounter = nullptr;
result->m_chestCounters = nullptr;
result->m_backSprite = nullptr;
result->m_unkSize4_2 = 0;
result->m_secondaryScrollLayer = nullptr;
*(_QWORD *)&result->m_rewardType = 0;
*(_OWORD *)&result->m_mainLayer = 0u;
*(_OWORD *)&result->m_scratchDialogIndex = 0u;
result->m_inMainLayer = 0;
return result;
}