//
// CreatorLayer::sceneWillResume from 0x1000dc770 to 0x1000dc7bc (76 bytes)
//
// 2 xrefs:
// > sub_1000DC7BC @ 0x1000dc7c0
// > ??> @ 0x1008cf6c8
//
// 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 10:58:59 +0000
//
__int64 __fastcall CreatorLayer::sceneWillResume(_QWORD *a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x20
_BOOL4 canCollectQuests; // w0
v2 = GameManager::sharedState(a1);
if ( *(_QWORD *)(v2 + 1072) )
{
v3 = GameManager::sharedState(v2);
v2 = sub_1002509AC(*(_QWORD *)(v3 + 1072));
}
v4 = a1[55];
canCollectQuests = ChallengesPage::canCollectQuests(v2);
sub_1000DC620(v4, canCollectQuests);
return CreatorLayer::checkTimedStatus(a1);
}