{"type": "func", "start": 6288124, "end": 6288220, "name": "ChallengesPage::challengeStatusFailed", "pseudocode": "// \n// ChallengesPage::challengeStatusFailed from 0x5ff2fc to 0x5ff35c (96 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'ChallengesPage::challengeStatusFailed @ 0x5ff368\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::challengeStatusFailed(ChallengesPage *this)\n{\n  GameStatsManager *v2; // r0\n  float v3; // r1\n  cocos2d::CCSequence *v4; // r6\n  cocos2d::CCFiniteTimeAction *v5; // r0\n  int v6; // r3\n  cocos2d::CCAction *v7; // r0\n  int result; // r0\n\n  v2 = (GameStatsManager *)GameStatsManager::sharedState(this);\n  if ( !GameStatsManager::areChallengesLoaded(v2) )\n  {\n    v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x40A00000, v3);\n    v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, ChallengesPage::tryGetChallenges, 0);\n    v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0, v6, ChallengesPage::tryGetChallenges, 0);\n    cocos2d::CCNode::runAction(this, v7);\n  }\n  result = *((_DWORD *)this + 135);\n  if ( result )\n  {\n    if ( *((_BYTE *)this + 544) )\n      return (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)result + 172))(result, 0);\n  }\n  return result;\n}", "assembly": "; \n; ChallengesPage::challengeStatusFailed from 0x5ff2fc to 0x5ff35c (96 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'ChallengesPage::challengeStatusFailed @ 0x5ff368\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            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x5ff2fc\nMOV             R4, R0                                                 ; +0x2, 0x5ff2fe\nBL              _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x4, 0x5ff300\nBL              _ZN16GameStatsManager19areChallengesLoadedEv; GameStatsManager::areChallengesLoaded(void) ; +0x8, 0x5ff304\nMOV             R5, R0                                                 ; +0xc, 0x5ff308\nCBNZ            R0, loc_5FF33C                                         ; +0xe, 0x5ff30a\nLDR             R0, =0x40A00000; this                                  ; +0x10, 0x5ff30c\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x12, 0x5ff30e\nLDR             R3, =(_ZN14ChallengesPage16tryGetChallengesEv_ptr - 0x5FF318) ; +0x16, 0x5ff312\nADD             R3, PC; _ZN14ChallengesPage16tryGetChallengesEv_ptr    ; +0x18, 0x5ff314\nLDR             R3, [R3]; ChallengesPage::tryGetChallenges(void)       ; +0x1a, 0x5ff316\nSTMEA.W         SP, {R3,R5}                                            ; +0x1c, 0x5ff318\nADD             R3, SP, #8+var_s0                                      ; +0x20, 0x5ff31c\nLDMDB.W         R3, {R1,R2}                                            ; +0x22, 0x5ff31e\nMOV             R6, R0                                                 ; +0x26, 0x5ff322\nMOV             R0, R4                                                 ; +0x28, 0x5ff324\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x2a, 0x5ff326\nMOV             R2, R5                                                 ; +0x2e, 0x5ff32a\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x30, 0x5ff32c\nMOV             R0, R6; this                                           ; +0x32, 0x5ff32e\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x34, 0x5ff330\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x38, 0x5ff334\nMOV             R0, R4; this                                           ; +0x3a, 0x5ff336\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x3c, 0x5ff338\nLDR.W           R0, [R4,#0x21C]                                        ; +0x40, 0x5ff33c\nCBZ             R0, loc_5FF358                                         ; +0x44, 0x5ff340\nLDRB.W          R3, [R4,#0x220]                                        ; +0x46, 0x5ff342\nCBZ             R3, loc_5FF358                                         ; +0x4a, 0x5ff346\nLDR             R3, [R0]                                               ; +0x4c, 0x5ff348\nMOVS            R1, #0                                                 ; +0x4e, 0x5ff34a\nLDR.W           R3, [R3,#0xAC]                                         ; +0x50, 0x5ff34c\nADD             SP, SP, #8                                             ; +0x54, 0x5ff350\nPOP.W           {R4-R6,LR}                                             ; +0x56, 0x5ff352\nBX              R3                                                     ; +0x5a, 0x5ff356\nADD             SP, SP, #8                                             ; +0x5c, 0x5ff358\nPOP             {R4-R6,PC}                                             ; +0x5e, 0x5ff35a", "xrefs": ["`non-virtual thunk to'ChallengesPage::challengeStatusFailed @ 0x5ff368"], "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"}