//
// CreatorLayer::onChallenge from 0x6ca710 to 0x6ca74c (60 bytes)
//
// 3 xrefs:
// > ??> @ 0xa66b0
// > CreatorLayer::init @ 0x6cc588
// > ??> @ 0x122dc10
//
// 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
//
void CreatorLayer::onChallenge(CreatorLayer *a1, cocos2d::CCObject *a2)
{
__int64 v2; // x0
ChallengesPage *v3; // x0
v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->__vftable[13].~CCObject_0)(a2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 560LL))(v2);
v3 = ChallengesPage::create();
v3->show(v3);
}