//
// SecretRewardsLayer::scene from 0x100383080 to 0x1003830cc (76 bytes)
//
// 2 xrefs:
// > CreatorLayer::onTreasureRoom @ 0x1000dc1f8
// > GJShopLayer::onBack @ 0x1001ca4dc
//
// This function is hookable on this platform (idp: arm, 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 11:03:31 +0000
//
_QWORD *__fastcall SecretRewardsLayer::scene(__int64 a1)
{
_QWORD *v2; // x20
__int64 v3; // x1
__int64 v4; // x0
v2 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get((__int64)v2, v3) + 24) = v2;
v4 = SecretRewardsLayer::create(a1);
(*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 456LL))(v2, v4);
return v2;
}