{"type": "func", "start": 6288386, "end": 6288434, "name": "ChallengesPage::tryGetChallenges", "pseudocode": "// \n// ChallengesPage::tryGetChallenges from 0x5ff402 to 0x5ff432 (48 bytes)\n// \n// 1 xrefs:\n// > ChallengesPage::updateTimers @ 0x6009a8\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::tryGetChallenges(ChallengesPage *this)\n{\n  int result; // r0\n  GameLevelManager *v2; // r0\n\n  if ( *((_BYTE *)this + 544) )\n  {\n    result = *((_DWORD *)this + 135);\n    if ( result )\n      return (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)result + 172))(result, 0);\n  }\n  else\n  {\n    *((_BYTE *)this + 544) = 1;\n    v2 = (GameLevelManager *)GameLevelManager::sharedState(this);\n    return GameLevelManager::getGJChallenges(v2);\n  }\n  return result;\n}", "assembly": "; \n; ChallengesPage::tryGetChallenges from 0x5ff402 to 0x5ff432 (48 bytes)\n; \n; 1 xrefs:\n; > ChallengesPage::updateTimers @ 0x6009a8\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, 0x5ff402\nLDRB.W          R3, [R0,#0x220]                                        ; +0x2, 0x5ff404\nCBZ             R3, loc_5FF41E                                         ; +0x6, 0x5ff408\nLDR.W           R0, [R0,#0x21C]; this                                  ; +0x8, 0x5ff40a\nCBZ             R0, locret_5FF430                                      ; +0xc, 0x5ff40e\nLDR             R3, [R0]                                               ; +0xe, 0x5ff410\nMOVS            R1, #0                                                 ; +0x10, 0x5ff412\nPOP.W           {R4,LR}                                                ; +0x12, 0x5ff414\nLDR.W           R3, [R3,#0xAC]                                         ; +0x16, 0x5ff418\nBX              R3                                                     ; +0x1a, 0x5ff41c\nMOVS            R3, #1                                                 ; +0x1c, 0x5ff41e\nSTRB.W          R3, [R0,#0x220]                                        ; +0x1e, 0x5ff420\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x22, 0x5ff424\nPOP.W           {R4,LR}                                                ; +0x26, 0x5ff428\nB.W             _ZN16GameLevelManager15getGJChallengesEv; GameLevelManager::getGJChallenges(void) ; +0x2a, 0x5ff42c\nPOP             {R4,PC}                                                ; +0x2e, 0x5ff430", "xrefs": ["ChallengesPage::updateTimers @ 0x6009a8"], "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"}