{"type": "func", "start": 5373398672, "end": 5373398928, "name": "NotificationsPage::notificationRewardFailed", "pseudocode": "// \n// NotificationsPage::notificationRewardFailed from 0x140478e90 to 0x140478f90 (256 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407b5430\n// > <???> @ 0x140928544\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:32:41 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 NotificationsPage::notificationRewardFailed()\n{\n  __int64 v0; // rax\n  cocos2d::CCObject *v1; // rbx\n  __int128 v3; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v4; // [rsp+60h] [rbp-38h]\n  __int64 v5; // [rsp+68h] [rbp-30h]\n  _BYTE v6[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v3 = 0;\n  *(_QWORD *)&v3 = sub_14003D460(0x40u);\n  v4 = 51;\n  v5 = 63;\n  strcpy((char *)v3, \"Could not claim the reward.\\nPlease try again later.\");\n  v0 = sub_14003F4F0((__int64)v6, (__int64)&v3);\n  v1 = FLAlertLayer::create(0, (int)\"Reward\", v0, (__int64)\"OK\", 0, 1132068864, 0, 0, 1065353216);\n  sub_14003D310((__int64)&v3);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v1 + 1064LL))(v1);\n}", "assembly": "; \n; NotificationsPage::notificationRewardFailed from 0x140478e90 to 0x140478f90 (256 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407b5430\n; > <???> @ 0x140928544\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:32:41 +0000\n; \npush    rbx                                                            ; +0x0, 0x140478e90\nsub     rsp, 90h                                                       ; +0x2, 0x140478e92\nxorps   xmm0, xmm0                                                     ; +0x9, 0x140478e99\nmovups  [rsp+98h+var_48], xmm0                                         ; +0xc, 0x140478e9c\nxor     ebx, ebx                                                       ; +0x11, 0x140478ea1\nmov     [rsp+98h+var_38], rbx                                          ; +0x13, 0x140478ea3\nmov     [rsp+98h+var_30], rbx                                          ; +0x18, 0x140478ea8\nmov     ecx, 40h ; '@'                                                 ; +0x1d, 0x140478ead\ncall    sub_14003D460                                                  ; +0x22, 0x140478eb2\nmov     rdx, rax                                                       ; +0x27, 0x140478eb7\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x2a, 0x140478eba\nmov     [rsp+98h+var_38], 33h ; '3'                                    ; +0x2f, 0x140478ebf\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x38, 0x140478ec8\nmovups  xmm0, cs:xmmword_1407B50A0                                     ; +0x41, 0x140478ed1\nmovups  xmmword ptr [rax], xmm0                                        ; +0x48, 0x140478ed8\nmovups  xmm1, cs:xmmword_1407B50B0                                     ; +0x4b, 0x140478edb\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x52, 0x140478ee2\nmovups  xmm0, cs:xmmword_1407B50C0                                     ; +0x56, 0x140478ee6\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x5d, 0x140478eed\nmovzx   ecx, cs:word_1407B50D0                                         ; +0x61, 0x140478ef1\nmov     [rax+30h], cx                                                  ; +0x68, 0x140478ef8\nmovzx   eax, cs:byte_1407B50D2                                         ; +0x6c, 0x140478efc\nmov     [rdx+32h], al                                                  ; +0x73, 0x140478f03\nmov     [rdx+33h], bl                                                  ; +0x76, 0x140478f06\nlea     rax, [rsp+98h+var_48]                                          ; +0x79, 0x140478f09\nmov     [rsp+98h+arg_10], rax                                          ; +0x7e, 0x140478f0e\nlea     rdx, [rsp+98h+var_48]                                          ; +0x86, 0x140478f16\nlea     rcx, [rsp+98h+var_28]                                          ; +0x8b, 0x140478f1b\ncall    sub_14003F4F0                                                  ; +0x90, 0x140478f20\nmovss   xmm0, cs:flt_140835080                                         ; +0x95, 0x140478f25\nmovss   [rsp+98h+var_58], xmm0                                         ; +0x9d, 0x140478f2d\nxorps   xmm1, xmm1                                                     ; +0xa3, 0x140478f33\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xa6, 0x140478f36\nmov     [rsp+98h+var_68], bl                                           ; +0xac, 0x140478f3c\nmovss   xmm0, cs:dword_14083595C                                       ; +0xb0, 0x140478f40\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xb8, 0x140478f48\nmov     [rsp+98h+var_78], rbx                                          ; +0xbe, 0x140478f4e\nlea     r9, aOk; \"OK\"                                                  ; +0xc3, 0x140478f53\nmov     r8, rax                                                        ; +0xca, 0x140478f5a\nlea     rdx, aReward; \"Reward\"                                         ; +0xcd, 0x140478f5d\nxor     ecx, ecx                                                       ; +0xd4, 0x140478f64\ncall    FLAlertLayer__create                                           ; +0xd6, 0x140478f66\nmov     rbx, rax                                                       ; +0xdb, 0x140478f6b\nlea     rcx, [rsp+98h+var_48]                                          ; +0xde, 0x140478f6e\ncall    sub_14003D310                                                  ; +0xe3, 0x140478f73\nmov     rcx, [rbx]                                                     ; +0xe8, 0x140478f78\nmov     rdx, [rcx+428h]                                                ; +0xeb, 0x140478f7b\nmov     rcx, rbx                                                       ; +0xf2, 0x140478f82\ncall    rdx                                                            ; +0xf5, 0x140478f85\nadd     rsp, 90h                                                       ; +0xf7, 0x140478f87\npop     rbx                                                            ; +0xfe, 0x140478f8e\nretn                                                                   ; +0xff, 0x140478f8f", "xrefs": ["<???> @ 0x1407b5430", "<???> @ 0x140928544"], "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"}