//
// SecretRewardsLayer::scene from 0x10070cb60 to 0x10070cb98 (56 bytes)
//
// 2 xrefs:
// > CreatorLayer::onTreasureRoom @ 0x10028410e
// > GJShopLayer::onBack @ 0x100310090
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:36:04 +0000
//
_BYTE *__fastcall SecretRewardsLayer::scene(__int64 a1, __int64 a2)
{
_BYTE *v2; // r14
__int64 v3; // rax
v2 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get(a1, a2) + 72) = v2;
v3 = SecretRewardsLayer::create((unsigned int)a1);
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 456LL))(v2, v3);
return v2;
}