{"type": "func", "start": 5369357888, "end": 5369358095, "name": "ChallengesPage::challengeStatusFailed", "pseudocode": "// \n// ChallengesPage::challengeStatusFailed from 0x14009e640 to 0x14009e70f (207 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14071c3d8\n// > <???> @ 0x140912fd4\n// \n// This function is hookable on this platform (idp: pc, 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 11:26:05 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCAction *__fastcall ChallengesPage::challengeStatusFailed(__int64 a1)\n{\n  struct cocos2d::CCAction *result; // rax\n  __int64 v3; // rbx\n  struct cocos2d::CCFiniteTimeAction *v4; // rax\n  struct cocos2d::CCAction *v5; // rax\n  __int64 v6; // rcx\n  void *v7; // [rsp+30h] [rbp+8h]\n\n  result = (struct cocos2d::CCAction *)qword_14090BFE0;\n  if ( !qword_14090BFE0 )\n  {\n    v7 = operator new(0x3E8u);\n    qword_14090BFE0 = sub_1402D6480(v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n    result = (struct cocos2d::CCAction *)qword_14090BFE0;\n  }\n  if ( *((double *)result + 71) <= 0.0 )\n  {\n    v3 = cocos2d::CCCallFunc::create(a1 - 672, ChallengesPage::tryGetChallenges);\n    v4 = cocos2d::CCDelayTime::create(5.0);\n    v5 = cocos2d::CCSequence::create(v4, v3, 0);\n    result = cocos2d::CCNode::runAction((cocos2d::CCNode *)(a1 - 672), v5);\n  }\n  v6 = *(_QWORD *)(a1 + 32);\n  if ( v6 )\n  {\n    if ( *(_BYTE *)(a1 + 40) )\n      return (struct cocos2d::CCAction *)(*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 336LL))(v6, 0);\n  }\n  return result;\n}", "assembly": "; \n; ChallengesPage::challengeStatusFailed from 0x14009e640 to 0x14009e70f (207 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14071c3d8\n; > <???> @ 0x140912fd4\n; \n; This function is hookable on this platform (idp: pc, 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 11:26:05 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14009e640\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14009e645\npush    rdi                                                            ; +0xa, 0x14009e64a\nsub     rsp, 20h                                                       ; +0xb, 0x14009e64b\nmov     rsi, rcx                                                       ; +0xf, 0x14009e64f\nmov     rax, cs:qword_14090BFE0                                        ; +0x12, 0x14009e652\ntest    rax, rax                                                       ; +0x19, 0x14009e659\njnz     short loc_14009E690                                            ; +0x1c, 0x14009e65c\nmov     ecx, 3E8h; Size                                                ; +0x1e, 0x14009e65e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x23, 0x14009e663\nmov     [rsp+28h+arg_0], rax                                           ; +0x28, 0x14009e668\nmov     rcx, rax                                                       ; +0x2d, 0x14009e66d\ncall    sub_1402D6480                                                  ; +0x30, 0x14009e670\nnop                                                                    ; +0x35, 0x14009e675\nmov     cs:qword_14090BFE0, rax                                        ; +0x36, 0x14009e676\nmov     rcx, [rax]                                                     ; +0x3d, 0x14009e67d\nmov     rdx, [rcx+48h]                                                 ; +0x40, 0x14009e680\nmov     rcx, rax                                                       ; +0x44, 0x14009e684\ncall    rdx                                                            ; +0x47, 0x14009e687\nmov     rax, cs:qword_14090BFE0                                        ; +0x49, 0x14009e689\nmovsd   xmm1, qword ptr [rax+238h]                                     ; +0x50, 0x14009e690\nxorps   xmm0, xmm0                                                     ; +0x58, 0x14009e698\ncomisd  xmm1, xmm0                                                     ; +0x5b, 0x14009e69b\nja      short loc_14009E6E5                                            ; +0x5f, 0x14009e69f\nlea     rdx, ChallengesPage__tryGetChallenges                          ; +0x61, 0x14009e6a1\nlea     rcx, [rsi-2A0h]                                                ; +0x68, 0x14009e6a8\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x6f, 0x14009e6af\nmov     rbx, rax                                                       ; +0x75, 0x14009e6b5\nmovss   xmm0, cs:flt_140835470                                         ; +0x78, 0x14009e6b8\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x80, 0x14009e6c0\nmov     rcx, rax                                                       ; +0x86, 0x14009e6c6\nxor     r8d, r8d                                                       ; +0x89, 0x14009e6c9\nmov     rdx, rbx                                                       ; +0x8c, 0x14009e6cc\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x8f, 0x14009e6cf\nmov     rdx, rax                                                       ; +0x95, 0x14009e6d5\nlea     rcx, [rsi-2A0h]                                                ; +0x98, 0x14009e6d8\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x9f, 0x14009e6df\nmov     rcx, [rsi+20h]                                                 ; +0xa5, 0x14009e6e5\ntest    rcx, rcx                                                       ; +0xa9, 0x14009e6e9\njz      short loc_14009E6FF                                            ; +0xac, 0x14009e6ec\ncmp     byte ptr [rsi+28h], 0                                          ; +0xae, 0x14009e6ee\njz      short loc_14009E6FF                                            ; +0xb2, 0x14009e6f2\nmov     rax, [rcx]                                                     ; +0xb4, 0x14009e6f4\nxor     edx, edx                                                       ; +0xb7, 0x14009e6f7\ncall    qword ptr [rax+150h]                                           ; +0xb9, 0x14009e6f9\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xbf, 0x14009e6ff\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xc4, 0x14009e704\nadd     rsp, 20h                                                       ; +0xc9, 0x14009e709\npop     rdi                                                            ; +0xcd, 0x14009e70d\nretn                                                                   ; +0xce, 0x14009e70e", "xrefs": ["<???> @ 0x14071c3d8", "<???> @ 0x140912fd4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}