//
// RewardsPage::create from 0x616bbc to 0x616c70 (180 bytes)
//
// 1 xrefs:
// > MenuLayer::onDaily @ 0x3f9364
//
// 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:54:56 +0000
//
FLAlertLayer *__fastcall RewardsPage::create(RewardsPage *this)
{
FLAlertLayer *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (FLAlertLayer *)operator new(0x228u);
FLAlertLayer::FLAlertLayer(v1);
*(_DWORD *)v1 = &off_CC5E30;
*((_DWORD *)v1 + 66) = &off_CC60E4;
*((_DWORD *)v1 + 67) = &off_CC611C;
*((_DWORD *)v1 + 68) = &off_CC6128;
*((_DWORD *)v1 + 69) = &off_CC6138;
*((_DWORD *)v1 + 70) = &off_CC614C;
*((_DWORD *)v1 + 79) = &off_CC6164;
*((_DWORD *)v1 + 83) = &off_CC61A4;
*((_DWORD *)v1 + 110) = &off_CC61B4;
*((_DWORD *)v1 + 130) = &off_CC61D8;
*((_DWORD *)v1 + 131) = &off_CC61E4;
*((_DWORD *)v1 + 132) = 0;
*((_DWORD *)v1 + 133) = 0;
*((_DWORD *)v1 + 134) = 0;
*((_DWORD *)v1 + 135) = 0;
*((_BYTE *)v1 + 544) = 0;
*((_BYTE *)v1 + 545) = 0;
*((_DWORD *)v1 + 137) = 0;
if ( RewardsPage::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}