//
// CreatorLayer::onChallenge from 0x7db7cc to 0x7db808 (60 bytes)
//
// 3 xrefs:
// > ??> @ 0xda8a8
// > CreatorLayer::init @ 0x7dd5c4
// > ??> @ 0x1546890
//
// 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 12:54:23 +0000
//
__int64 __fastcall CreatorLayer::onChallenge(CreatorLayer *this, cocos2d::CCObject *a2)
{
__int64 v2; // x0
ChallengesPage *v3; // x0
__int64 v4; // x0
v2 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 1072LL))(a2);
v3 = (ChallengesPage *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 576LL))(v2);
v4 = ChallengesPage::create(v3);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}