//
// ChallengesPage::dChallengesPage from 0x10039cdc0 to 0x10039cecb (267 bytes)
//
// 4 xrefs:
// > sub_10039CEE0 @ 0x10039cee5
// > sub_10039CEF0 @ 0x10039cefc
// > sub_10039CF10 @ 0x10039cf19
// > sub_10039CF30 @ 0x10039cf43
//
// 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
//
__int64 __fastcall ChallengesPage::dChallengesPage(GJChallengeDelegate *a1)
{
GJChallengeDelegate_vtbl *v2; // rax
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
a1->__vftable = (GJChallengeDelegate_vtbl *)off_100923B20;
a1[40].__vftable = (GJChallengeDelegate_vtbl *)off_100924060;
a1[41].__vftable = (GJChallengeDelegate_vtbl *)&off_1009240D0;
a1[42].__vftable = (GJChallengeDelegate_vtbl *)off_1009240E8;
a1[43].__vftable = (GJChallengeDelegate_vtbl *)off_100924108;
a1[44].__vftable = (GJChallengeDelegate_vtbl *)off_100924128;
a1[51].__vftable = (GJChallengeDelegate_vtbl *)off_100924150;
a1[54].__vftable = (GJChallengeDelegate_vtbl *)off_1009241D0;
a1[79].__vftable = (GJChallengeDelegate_vtbl *)&off_1009241F0;
a1[80].__vftable = (GJChallengeDelegate_vtbl *)off_100924208;
a1[81].__vftable = (GJChallengeDelegate_vtbl *)&off_100924228;
if ( GameLevelManager::sharedState()->m_GJChallengeDelegate == &a1[80] )
GameLevelManager::sharedState()->m_GJChallengeDelegate = nullptr;
v2 = a1[86].__vftable;
if ( v2 )
v2[25].challengeStatusFailed = nullptr;
v3 = (cocos2d::CCObject *)a1[87].__vftable;
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (cocos2d::CCObject *)a1[82].__vftable;
if ( v4 )
cocos2d::CCObject::release(v4);
return FLAlertLayer::dFLAlertLayer(a1);
}