//
// ChallengesPage::create from 0x908738 to 0x908870 (312 bytes)
//
// 2 xrefs:
// > CreatorLayer::onChallenge @ 0x6ca734
// > ??> @ 0x66be8
//
// 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
//
ChallengesPage *ChallengesPage::create()
{
ChallengesPage *v0; // x19
v0 = (ChallengesPage *)operator new(0x2C0u);
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->m_reverseKeyBack = 0;
v0->m_mainLayer = nullptr;
v0->m_ZOrder = 0;
v0->m_noElasticity = 0;
v0->m_button1 = nullptr;
v0->m_button2 = nullptr;
v0->m_scrollingLayer = nullptr;
v0->m_containsBorder = 0;
v0->m_noAction = 0;
v0->m_forcePrioRegistered = 0;
v0->m_dots = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ChallengesPage_vtbl *)&off_11A8100;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11A8640;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11A86B0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11A86C8;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11A86E8;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11A8708;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11A8730;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11A87B0;
v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_11A87D0;
v0->GJChallengeDelegate::__vftable = (GJChallengeDelegate_vtbl *)off_11A87E8;
v0->CurrencyRewardDelegate::__vftable = (CurrencyRewardDelegate_vtbl *)&off_11A8808;
v0->m_countdownLabel = nullptr;
v0->m_circle = nullptr;
v0->m_triedToLoad = 0;
v0->m_unkBool = 0;
v0->m_currencyRewardLayer = nullptr;
v0->m_challengeNodes = nullptr;
if ( ChallengesPage::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~ChallengesPage_0(v0);
return nullptr;
}
}