//
// SecretRewardsLayer::scene from 0xba0d78 to 0xba0dc4 (76 bytes)
//
// 3 xrefs:
// > CreatorLayer::onTreasureRoom @ 0x7dc9a8
// > GJShopLayer::onBack @ 0xa7cdb8
// > ??> @ 0x7f900
//
// 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 13:02:46 +0000
//
AppDelegate *__fastcall SecretRewardsLayer::scene(SecretRewardsLayer *this)
{
unsigned int v1; // w20
AppDelegate *v2; // x19
__int64 v3; // x0
v1 = (unsigned __int8)this;
v2 = (AppDelegate *)cocos2d::CCScene::create(this);
*(_QWORD *)(AppDelegate::get(v2) + 24) = v2;
v3 = SecretRewardsLayer::create((SecretRewardsLayer *)v1);
(*(void (__fastcall **)(AppDelegate *, __int64))(*(_QWORD *)v2 + 456LL))(v2, v3);
return v2;
}