//
// SecretRewardsLayer::create from 0x6cf3b0 to 0x6cf46c (188 bytes)
//
// 1 xrefs:
// > SecretRewardsLayer::scene @ 0x6cf482
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:02 +0000
//
cocos2d::CCLayer *__fastcall SecretRewardsLayer::create(SecretRewardsLayer *this, bool a2)
{
cocos2d::CCLayer *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (cocos2d::CCLayer *)operator new(0x1ACu);
cocos2d::CCLayer::CCLayer(v3);
*(_DWORD *)v3 = &off_CE6450;
*((_DWORD *)v3 + 66) = &off_CE66A0;
*((_DWORD *)v3 + 67) = &off_CE66D8;
*((_DWORD *)v3 + 68) = &off_CE66E4;
*((_DWORD *)v3 + 69) = &off_CE66F4;
*((_DWORD *)v3 + 70) = &off_CE6708;
*((_DWORD *)v3 + 79) = &off_CE6720;
*((_DWORD *)v3 + 80) = &off_CE672C;
*((_DWORD *)v3 + 81) = 0;
*((_DWORD *)v3 + 82) = 0;
*((_DWORD *)v3 + 84) = 0;
*((_DWORD *)v3 + 86) = 0;
*((_DWORD *)v3 + 94) = 0;
*((_DWORD *)v3 + 96) = 0;
*((_DWORD *)v3 + 98) = 0;
*((_DWORD *)v3 + 100) = 0;
*((_DWORD *)v3 + 101) = 0;
*((_DWORD *)v3 + 102) = 0;
*((_DWORD *)v3 + 103) = 0;
*((_BYTE *)v3 + 416) = 0;
*((_DWORD *)v3 + 105) = 0;
*((_DWORD *)v3 + 106) = 0;
if ( SecretRewardsLayer::init(v3, (int)this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = (int *)v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}