//
// SecretRewardsLayer::create from 0x1002e7f44 to 0x1002e7fa4 (96 bytes)
//
// 1 xrefs:
// > SecretRewardsLayer::scene @ 0x1002e7f1c
//
// 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::create(bool a1)
{
SecretRewardsLayer *v2; // x19
v2 = (SecretRewardsLayer *)operator new(0x258u);
SecretRewardsLayer::SecretRewardsLayer(v2);
if ( SecretRewardsLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(SecretRewardsLayer *))v2->~SecretRewardsLayer_0)(v2);
return nullptr;
}
return v2;
}