//
// CreatorLayer::onChallenge from 0x100283520 to 0x10028354e (46 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x1002823d4
//
// This function is hookable on this platform (idp: pc, 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:27:44 +0000
//
__int64 __fastcall CreatorLayer::onChallenge(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rax
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1072LL))(a2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 576LL))(v2);
v3 = ChallengesPage::create();
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}