//
// RewardsPage::create from 0x4e6c20 to 0x4e6d0c (236 bytes)
//
// 1 xrefs:
// > MenuLayer::onDaily @ 0x309d28
//
// 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
//
RewardsPage *RewardsPage::create()
{
RewardsPage *v0; // r4
RewardsPage_vtbl *v1; // r3
RewardsPage *v2; // r0
v0 = (RewardsPage *)operator new(0x210u);
cocos2d::CCLayerColor::CCLayerColor(v0);
v0->m_controlConnected = -1;
v0->m_joystickConnected = -1;
v0->m_buttonMenu = nullptr;
v0->m_alertProtocol = nullptr;
v0->m_scene = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (RewardsPage_vtbl *)&off_A79D90;
v0->m_reverseKeyBack = 0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A7A02C;
v0->m_mainLayer = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A7A064;
v0->m_ZOrder = 0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A7A070;
v0->m_noElasticity = 0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A7A080;
v0->m_button1 = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A7A090;
v0->m_button2 = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A7A0A4;
v0->m_scrollingLayer = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A7A0E4;
v0->m_containsBorder = 0;
v0->m_noAction = 0;
v0->m_forcePrioRegistered = 0;
v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A7A0F4;
v0->GJRewardDelegate::__vftable = (GJRewardDelegate_vtbl *)&off_A7A100;
v0->m_leftLabel = nullptr;
v0->m_rightLabel = nullptr;
v0->m_leftChest = nullptr;
v0->m_rightChest = nullptr;
v0->m_leftOpen = 0;
v0->m_rightOpen = 0;
v0->m_openLayer = nullptr;
if ( RewardsPage::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = v0;
v0 = nullptr;
v1->~RewardsPage_0(v2);
}
return v0;
}