{"type": "func", "start": 5372696288, "end": 5372696462, "name": "RewardsPage::rewardsStatusFailed", "pseudocode": "// \n// RewardsPage::rewardsStatusFailed from 0x1403cd6e0 to 0x1403cd78e (174 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405cd4d8\n// > <???> @ 0x1406d7bc8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid RewardsPage::rewardsStatusFailed(RewardsPage *a1)\n{\n  float v1; // xmm3_4\n  __int64 v3; // rcx\n  __int64 v4; // rbx\n  struct cocos2d::CCDelayTime *v5; // rax\n  struct cocos2d::CCSequence *v6; // rax\n  cocos2d::ccColor3B *v7; // r8\n  float v8; // [rsp+20h] [rbp-8h]\n  void *v9; // [rsp+38h] [rbp+10h]\n\n  v3 = qword_1406C2EE8;\n  if ( !qword_1406C2EE8 )\n  {\n    v9 = operator new(0x3E0u);\n    qword_1406C2EE8 = sub_1401D0AE0((__int64)v9);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);\n    v3 = qword_1406C2EE8;\n  }\n  if ( !cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v3 + 528), 1) )\n  {\n    v4 = cocos2d::CCCallFunc::create(&a1[-1].m_fRotationX, RewardsPage::tryGetRewards);\n    v5 = cocos2d::CCDelayTime::create(1.0);\n    v6 = cocos2d::CCSequence::create(v5, v4, 0);\n    cocos2d::CCNode::runAction((CCLightFlash *)&a1[-1].m_fRotationX, (cocos2d::CCPoint)v6, v7, v1, v8);\n  }\n}", "assembly": "; \n; RewardsPage::rewardsStatusFailed from 0x1403cd6e0 to 0x1403cd78e (174 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405cd4d8\n; > <???> @ 0x1406d7bc8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403cd6e0\npush    rdi                                                            ; +0x5, 0x1403cd6e5\nsub     rsp, 20h                                                       ; +0x6, 0x1403cd6e6\nmov     rdi, rcx                                                       ; +0xa, 0x1403cd6ea\nmov     rcx, cs:qword_1406C2EE8                                        ; +0xd, 0x1403cd6ed\ntest    rcx, rcx                                                       ; +0x14, 0x1403cd6f4\njnz     short loc_1403CD728                                            ; +0x17, 0x1403cd6f7\nmov     ecx, 3E0h; Size                                                ; +0x19, 0x1403cd6f9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1e, 0x1403cd6fe\nmov     [rsp+28h+arg_8], rax                                           ; +0x23, 0x1403cd703\nmov     rcx, rax                                                       ; +0x28, 0x1403cd708\ncall    sub_1401D0AE0                                                  ; +0x2b, 0x1403cd70b\nnop                                                                    ; +0x30, 0x1403cd710\nmov     cs:qword_1406C2EE8, rax                                        ; +0x31, 0x1403cd711\nmov     rdx, [rax]                                                     ; +0x38, 0x1403cd718\nmov     rcx, rax                                                       ; +0x3b, 0x1403cd71b\ncall    qword ptr [rdx+48h]                                            ; +0x3e, 0x1403cd71e\nmov     rcx, cs:qword_1406C2EE8                                        ; +0x41, 0x1403cd721\nmov     edx, 1                                                         ; +0x48, 0x1403cd728\nmov     rcx, [rcx+210h]                                                ; +0x4d, 0x1403cd72d\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x54, 0x1403cd734\ntest    rax, rax                                                       ; +0x5a, 0x1403cd73a\njnz     short loc_1403CD783                                            ; +0x5d, 0x1403cd73d\nlea     rdx, RewardsPage__tryGetRewards                                ; +0x5f, 0x1403cd73f\nlea     rcx, [rdi-280h]                                                ; +0x66, 0x1403cd746\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x6d, 0x1403cd74d\nmov     rbx, rax                                                       ; +0x73, 0x1403cd753\nmovss   xmm0, cs:flt_140622C24                                         ; +0x76, 0x1403cd756\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x7e, 0x1403cd75e\nmov     rcx, rax                                                       ; +0x84, 0x1403cd764\nxor     r8d, r8d                                                       ; +0x87, 0x1403cd767\nmov     rdx, rbx                                                       ; +0x8a, 0x1403cd76a\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x8d, 0x1403cd76d\nmov     rdx, rax                                                       ; +0x93, 0x1403cd773\nlea     rcx, [rdi-280h]                                                ; +0x96, 0x1403cd776\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x9d, 0x1403cd77d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa3, 0x1403cd783\nadd     rsp, 20h                                                       ; +0xa8, 0x1403cd788\npop     rdi                                                            ; +0xac, 0x1403cd78c\nretn                                                                   ; +0xad, 0x1403cd78d", "xrefs": ["<???> @ 0x1405cd4d8", "<???> @ 0x1406d7bc8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}