//
// ChallengesPage::create from 0x14009d810 to 0x14009d95e (334 bytes)
//
// 3 xrefs:
// > CreatorLayer::onChallenge @ 0x14013847f
// > PauseLayer::onSideButtonPressed @ 0x1404d95fa
// > ??> @ 0x140912f98
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:26:05 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *ChallengesPage::create()
{
_QWORD *v0; // rbx
v0 = operator new(0x2E0u);
FLAlertLayer::FLAlertLayer((__int64)v0);
*v0 = &ChallengesPage::`vftable';
v0[40] = &ChallengesPage::`vftable';
v0[41] = &ChallengesPage::`vftable';
v0[42] = &ChallengesPage::`vftable';
v0[43] = &ChallengesPage::`vftable';
v0[44] = &ChallengesPage::`vftable';
v0[51] = &ChallengesPage::`vftable';
v0[54] = &ChallengesPage::`vftable';
v0[68] = &ChallengesPage::`vftable';
v0[83] = &ChallengesPage::`vftable';
v0[84] = &ChallengesPage::`vftable';
v0[85] = &ChallengesPage::`vftable';
v0[86] = 0;
v0[87] = 0;
v0[88] = 0;
*((_WORD *)v0 + 356) = 0;
v0[90] = 0;
v0[91] = 0;
if ( (unsigned __int8)ChallengesPage::init(v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return v0;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v0 + 8LL))(v0, 1);
return nullptr;
}
}