{"type": "func", "start": 6289076, "end": 6289112, "name": "ChallengesPage::canCollectQuests", "pseudocode": "// \n// ChallengesPage::canCollectQuests from 0x5ff6b4 to 0x5ff6d8 (36 bytes)\n// \n// 2 xrefs:\n// > PauseLayer::checkQuestsStatus @ 0x48ef22\n// > CreatorLayer::checkQuestsStatus @ 0x4938f6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:54:39 +0000\n// \n\nint __fastcall ChallengesPage::canCollectQuests(ChallengesPage *this)\n{\n  const char *v1; // r4\n  GameStatsManager *v2; // r0\n\n  v1 = (_BYTE *)(&dword_0 + 1);\n  do\n  {\n    v2 = (GameStatsManager *)GameStatsManager::sharedState(this);\n    this = (ChallengesPage *)GameStatsManager::getChallenge(v2, v1);\n    if ( this && *((_BYTE *)this + 96) )\n      return 1;\n    ++v1;\n  }\n  while ( v1 != byte_4 );\n  return 0;\n}", "assembly": "; \n; ChallengesPage::canCollectQuests from 0x5ff6b4 to 0x5ff6d8 (36 bytes)\n; \n; 2 xrefs:\n; > PauseLayer::checkQuestsStatus @ 0x48ef22\n; > CreatorLayer::checkQuestsStatus @ 0x4938f6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:54:39 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x5ff6b4\nMOVS            R4, #1                                                 ; +0x2, 0x5ff6b6\nBL              _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x4, 0x5ff6b8\nMOV             R1, R4; int                                            ; +0x8, 0x5ff6bc\nBL              _ZN16GameStatsManager12getChallengeEi; GameStatsManager::getChallenge(int) ; +0xa, 0x5ff6be\nCBZ             R0, loc_5FF6CE                                         ; +0xe, 0x5ff6c2\nLDRB.W          R3, [R0,#0x60]                                         ; +0x10, 0x5ff6c4\nCBZ             R3, loc_5FF6CE                                         ; +0x14, 0x5ff6c8\nMOVS            R0, #1                                                 ; +0x16, 0x5ff6ca\nPOP             {R4,PC}                                                ; +0x18, 0x5ff6cc\nADDS            R4, #1                                                 ; +0x1a, 0x5ff6ce\nCMP             R4, #4                                                 ; +0x1c, 0x5ff6d0\nBNE             loc_5FF6B8                                             ; +0x1e, 0x5ff6d2\nMOVS            R0, #0                                                 ; +0x20, 0x5ff6d4\nPOP             {R4,PC}                                                ; +0x22, 0x5ff6d6", "xrefs": ["PauseLayer::checkQuestsStatus @ 0x48ef22", "CreatorLayer::checkQuestsStatus @ 0x4938f6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}