//
// ChallengesPage::canCollectQuests from 0x5ff6b4 to 0x5ff6d8 (36 bytes)
//
// 2 xrefs:
// > PauseLayer::checkQuestsStatus @ 0x48ef22
// > CreatorLayer::checkQuestsStatus @ 0x4938f6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:39 +0000
//
int __fastcall ChallengesPage::canCollectQuests(ChallengesPage *this)
{
const char *v1; // r4
GameStatsManager *v2; // r0
v1 = (_BYTE *)(&dword_0 + 1);
do
{
v2 = (GameStatsManager *)GameStatsManager::sharedState(this);
this = (ChallengesPage *)GameStatsManager::getChallenge(v2, v1);
if ( this && *((_BYTE *)this + 96) )
return 1;
++v1;
}
while ( v1 != byte_4 );
return 0;
}