{"type": "func", "start": 10887684, "end": 10887824, "name": "ChallengesPage::challengeStatusFailed", "pseudocode": "// \n// ChallengesPage::challengeStatusFailed from 0xa62204 to 0xa62290 (140 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'ChallengesPage::challengeStatusFailed @ 0xa62294\n// > <???> @ 0xcbd58\n// > <???> @ 0x148f580\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:00:15 +0000\n// \n\n__int64 __fastcall ChallengesPage::challengeStatusFailed(ChallengesPage *this)\n{\n  GameStatsManager *v2; // x0\n  _BOOL8 v3; // x0\n  __int64 result; // x0\n  cocos2d::CCSequence *v5; // x20\n  cocos2d::CCFiniteTimeAction *v6; // x0\n  cocos2d::CCAction *v7; // x0\n\n  v2 = (GameStatsManager *)GameStatsManager::sharedState(this);\n  v3 = GameStatsManager::areChallengesLoaded(v2);\n  if ( !v3 )\n  {\n    v5 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)v3, 5.0);\n    v6 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, ChallengesPage::tryGetChallenges, 0);\n    v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v5, v6, 0);\n    cocos2d::CCNode::runAction(this, v7);\n  }\n  result = *((_QWORD *)this + 88);\n  if ( result )\n  {\n    if ( *((_BYTE *)this + 712) )\n      return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, 0);\n  }\n  return result;\n}", "assembly": "; \n; ChallengesPage::challengeStatusFailed from 0xa62204 to 0xa62290 (140 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'ChallengesPage::challengeStatusFailed @ 0xa62294\n; > <???> @ 0xcbd58\n; > <???> @ 0x148f580\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:00:15 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xa62204\nMOV             X29, SP                                                ; +0x4, 0xa62208\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xa6220c\nMOV             X19, X0                                                ; +0xc, 0xa62210\nBL              _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x10, 0xa62214\nBL              _ZN16GameStatsManager19areChallengesLoadedEv; GameStatsManager::areChallengesLoaded(void) ; +0x14, 0xa62218\nUXTB            W0, W0; this                                           ; +0x18, 0xa6221c\nCBZ             W0, loc_A62250                                         ; +0x1c, 0xa62220\nLDR             X0, [X19,#0x2C0]                                       ; +0x20, 0xa62224\nCBZ             X0, loc_A62244                                         ; +0x24, 0xa62228\nLDRB            W1, [X19,#0x2C8]                                       ; +0x28, 0xa6222c\nCBZ             W1, loc_A62244                                         ; +0x2c, 0xa62230\nLDR             X2, [X0]                                               ; +0x30, 0xa62234\nMOV             W1, #0                                                 ; +0x34, 0xa62238\nLDR             X2, [X2,#0x158]                                        ; +0x38, 0xa6223c\nBLR             X2                                                     ; +0x3c, 0xa62240\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0xa62244\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0xa62248\nRET                                                                    ; +0x48, 0xa6224c\nFMOV            S0, #5.0; float                                        ; +0x4c, 0xa62250\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x50, 0xa62254\nMOV             X20, X0                                                ; +0x54, 0xa62258\nADRP            X1, #_ZN14ChallengesPage16tryGetChallengesEv_ptr@PAGE  ; +0x58, 0xa6225c\nMOV             X2, #0                                                 ; +0x5c, 0xa62260\nMOV             X0, X19                                                ; +0x60, 0xa62264\nLDR             X1, [X1,#_ZN14ChallengesPage16tryGetChallengesEv_ptr@PAGEOFF]; ChallengesPage::tryGetChallenges(void) ... ; +0x64, 0xa62268\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x68, 0xa6226c\nMOV             X1, X0; cocos2d::CCFiniteTimeAction *                  ; +0x6c, 0xa62270\nMOV             X2, #0                                                 ; +0x70, 0xa62274\nMOV             X0, X20; this                                          ; +0x74, 0xa62278\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x78, 0xa6227c\nMOV             X1, X0; cocos2d::CCAction *                            ; +0x7c, 0xa62280\nMOV             X0, X19; this                                          ; +0x80, 0xa62284\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x84, 0xa62288\nB               loc_A62224                                             ; +0x88, 0xa6228c", "xrefs": ["`non-virtual thunk to'ChallengesPage::challengeStatusFailed @ 0xa62294", "<???> @ 0xcbd58", "<???> @ 0x148f580"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}