//
// ChallengeNode::create from 0x100032a38 to 0x100032ab0 (120 bytes)
//
// 1 xrefs:
// > ChallengesPage::createChallengeNode @ 0x1000325c8
//
// 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
//
ChallengeNode *__fastcall ChallengeNode::create(GJChallengeItem *a1, ChallengesPage *a2, bool a3)
{
ChallengeNode *v6; // x19
v6 = (ChallengeNode *)operator new(0x168u);
ChallengeNode::ChallengeNode(v6);
if ( ChallengeNode::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
((void (__fastcall *)(ChallengeNode *))v6->~ChallengeNode_0)(v6);
return nullptr;
}
return v6;
}