//
// ChallengesPage::create from 0x10003557c to 0x100035648 (204 bytes)
//
// 2 xrefs:
// > CreatorLayer::onChallenge @ 0x1000dbbb4
// > PauseLayer::onSideButtonPressed @ 0x1001bfc8c
//
// This function is hookable on this platform (idp: arm, 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 10:57:32 +0000
//
char *ChallengesPage::create()
{
char *v0; // x19
v0 = (char *)operator new(0x2E0u);
FLAlertLayer::FLAlertLayer((__int64)v0);
*(_QWORD *)v0 = off_1008B4170;
*((_QWORD *)v0 + 40) = off_1008B46E0;
*((_QWORD *)v0 + 41) = &off_1008B4750;
*((_QWORD *)v0 + 42) = off_1008B4768;
*((_QWORD *)v0 + 43) = off_1008B4788;
*((_QWORD *)v0 + 44) = off_1008B47B0;
*((_QWORD *)v0 + 51) = off_1008B47E0;
*((_QWORD *)v0 + 54) = off_1008B4860;
*((_QWORD *)v0 + 68) = off_1008B4880;
*((_QWORD *)v0 + 83) = &off_1008B48C8;
*((_QWORD *)v0 + 84) = off_1008B48E0;
*((_QWORD *)v0 + 85) = &off_1008B4900;
*((_QWORD *)v0 + 86) = 0;
*((_WORD *)v0 + 356) = 0;
*(_OWORD *)(v0 + 696) = 0u;
*((_OWORD *)v0 + 45) = 0u;
if ( (unsigned int)ChallengesPage::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}