{"type": "func", "start": 5370136592, "end": 5370136710, "name": "GJNotificationCell::onClaimReward", "pseudocode": "// \n// GJNotificationCell::onClaimReward from 0x14015c810 to 0x14015c886 (118 bytes)\n// \n// 2 xrefs:\n// > GJNotificationCell::loadFromNotification @ 0x14015bb5a\n// > <???> @ 0x140917b70\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:27:23 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJNotificationCell::onClaimReward(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rcx\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  result = *(_QWORD *)(a1 + 568);\n  if ( result && *(int *)(result + 248) > 0 )\n  {\n    v3 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v4 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v4);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v3 = *(_QWORD *)&qword_14090BFB0;\n    }\n    return GameLevelManager::claimNotificationReward(v3, *(unsigned int *)(*(_QWORD *)(a1 + 568) + 56LL));\n  }\n  return result;\n}", "assembly": "; \n; GJNotificationCell::onClaimReward from 0x14015c810 to 0x14015c886 (118 bytes)\n; \n; 2 xrefs:\n; > GJNotificationCell::loadFromNotification @ 0x14015bb5a\n; > <???> @ 0x140917b70\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:27:23 +0000\n; \npush    rbx                                                            ; +0x0, 0x14015c810\nsub     rsp, 20h                                                       ; +0x2, 0x14015c812\nmov     rbx, rcx                                                       ; +0x6, 0x14015c816\nmov     rax, [rcx+238h]                                                ; +0x9, 0x14015c819\ntest    rax, rax                                                       ; +0x10, 0x14015c820\njz      short loc_14015C880                                            ; +0x13, 0x14015c823\ncmp     dword ptr [rax+0F8h], 0                                        ; +0x15, 0x14015c825\njle     short loc_14015C880                                            ; +0x1c, 0x14015c82c\nmov     rcx, cs:qword_14090BFB0                                        ; +0x1e, 0x14015c82e\ntest    rcx, rcx                                                       ; +0x25, 0x14015c835\njnz     short loc_14015C86C                                            ; +0x28, 0x14015c838\nmov     ecx, 690h; Size                                                ; +0x2a, 0x14015c83a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2f, 0x14015c83f\nmov     [rsp+28h+arg_0], rax                                           ; +0x34, 0x14015c844\nmov     rcx, rax                                                       ; +0x39, 0x14015c849\ncall    GameLevelManager__GameLevelManager                             ; +0x3c, 0x14015c84c\nnop                                                                    ; +0x41, 0x14015c851\nmov     cs:qword_14090BFB0, rax                                        ; +0x42, 0x14015c852\nmov     rcx, [rax]                                                     ; +0x49, 0x14015c859\nmov     rdx, [rcx+48h]                                                 ; +0x4c, 0x14015c85c\nmov     rcx, rax                                                       ; +0x50, 0x14015c860\ncall    rdx                                                            ; +0x53, 0x14015c863\nmov     rcx, cs:qword_14090BFB0                                        ; +0x55, 0x14015c865\nmov     rdx, [rbx+238h]                                                ; +0x5c, 0x14015c86c\nmov     edx, [rdx+38h]                                                 ; +0x63, 0x14015c873\nadd     rsp, 20h                                                       ; +0x66, 0x14015c876\npop     rbx                                                            ; +0x6a, 0x14015c87a\njmp     GameLevelManager__claimNotificationReward                      ; +0x6b, 0x14015c87b\nadd     rsp, 20h                                                       ; +0x70, 0x14015c880\npop     rbx                                                            ; +0x74, 0x14015c884\nretn                                                                   ; +0x75, 0x14015c885", "xrefs": ["GJNotificationCell::loadFromNotification @ 0x14015bb5a", "<???> @ 0x140917b70"], "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"}