//
// CreatorLayer::onChallenge from 0x140138460 to 0x140138498 (56 bytes)
//
// 2 xrefs:
// > CreatorLayer::init @ 0x140135be1
// > ??> @ 0x1409171bc
//
// 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 11:27:05 +0000
//
__int64 __fastcall CreatorLayer::onChallenge(__int64 a1, __int64 a2)
{
__int64 v2; // rax
_QWORD *v3; // rax
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 952LL))(a2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 568LL))(v2);
v3 = ChallengesPage::create();
return (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 1064LL))(v3);
}