//
// SecretRewardsLayer::scene from 0x10062ff30 to 0x10062ff68 (56 bytes)
//
// 2 xrefs:
// > CreatorLayer::onTreasureRoom @ 0x1002991be
// > GJShopLayer::onBack @ 0x100324a30
//
// 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
//
cocos2d::CCScene *__fastcall SecretRewardsLayer::scene(bool a1)
{
cocos2d::CCScene *v1; // r14
SecretRewardsLayer *v2; // rax
v1 = cocos2d::CCScene::create();
AppDelegate::get()->m_runningScene = v1;
v2 = SecretRewardsLayer::create(a1);
((void (__fastcall *)(cocos2d::CCScene *, SecretRewardsLayer *))v1->addChild)(v1, v2);
return v1;
}